1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for xfce4-notifyd 0.6.2. 4# 5# Report bugs to <https://bugzilla.xfce.org/enter_bug.cgi?product=Xfce4-notifyd>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201test \$(( 1 + 1 )) = 2 || exit 1 202 203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( 204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO 207 PATH=/empty FPATH=/empty; export PATH FPATH 208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ 209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" 210 if (eval "$as_required") 2>/dev/null; then : 211 as_have_required=yes 212else 213 as_have_required=no 214fi 215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 216 217else 218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 219as_found=false 220for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 221do 222 IFS=$as_save_IFS 223 test -z "$as_dir" && as_dir=. 224 as_found=: 225 case $as_dir in #( 226 /*) 227 for as_base in sh bash ksh sh5; do 228 # Try only shells that exist, to save several forks. 229 as_shell=$as_dir/$as_base 230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 232 CONFIG_SHELL=$as_shell as_have_required=yes 233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 234 break 2 235fi 236fi 237 done;; 238 esac 239 as_found=false 240done 241$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 243 CONFIG_SHELL=$SHELL as_have_required=yes 244fi; } 245IFS=$as_save_IFS 246 247 248 if test "x$CONFIG_SHELL" != x; then : 249 export CONFIG_SHELL 250 # We cannot yet assume a decent shell, so we have to provide a 251# neutralization value for shells without unset; and this also 252# works around shells that cannot unset nonexistent variables. 253# Preserve -v and -x to the replacement shell. 254BASH_ENV=/dev/null 255ENV=/dev/null 256(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 257case $- in # (((( 258 *v*x* | *x*v* ) as_opts=-vx ;; 259 *v* ) as_opts=-v ;; 260 *x* ) as_opts=-x ;; 261 * ) as_opts= ;; 262esac 263exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 264# Admittedly, this is quite paranoid, since all the known shells bail 265# out after a failed `exec'. 266$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 267exit 255 268fi 269 270 if test x$as_have_required = xno; then : 271 $as_echo "$0: This script requires a shell more modern than all" 272 $as_echo "$0: the shells that I found on your system." 273 if test x${ZSH_VERSION+set} = xset ; then 274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 275 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 276 else 277 $as_echo "$0: Please tell bug-autoconf@gnu.org and 278$0: https://bugzilla.xfce.org/enter_bug.cgi?product=Xfce4-notifyd 279$0: about your system, including any error possibly output 280$0: before this message. Then install a modern shell, or 281$0: manually run the script under such a shell if you do 282$0: have one." 283 fi 284 exit 1 285fi 286fi 287fi 288SHELL=${CONFIG_SHELL-/bin/sh} 289export SHELL 290# Unset more variables known to interfere with behavior of common tools. 291CLICOLOR_FORCE= GREP_OPTIONS= 292unset CLICOLOR_FORCE GREP_OPTIONS 293 294## --------------------- ## 295## M4sh Shell Functions. ## 296## --------------------- ## 297# as_fn_unset VAR 298# --------------- 299# Portably unset VAR. 300as_fn_unset () 301{ 302 { eval $1=; unset $1;} 303} 304as_unset=as_fn_unset 305 306# as_fn_set_status STATUS 307# ----------------------- 308# Set $? to STATUS, without forking. 309as_fn_set_status () 310{ 311 return $1 312} # as_fn_set_status 313 314# as_fn_exit STATUS 315# ----------------- 316# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 317as_fn_exit () 318{ 319 set +e 320 as_fn_set_status $1 321 exit $1 322} # as_fn_exit 323 324# as_fn_mkdir_p 325# ------------- 326# Create "$as_dir" as a directory, including parents if necessary. 327as_fn_mkdir_p () 328{ 329 330 case $as_dir in #( 331 -*) as_dir=./$as_dir;; 332 esac 333 test -d "$as_dir" || eval $as_mkdir_p || { 334 as_dirs= 335 while :; do 336 case $as_dir in #( 337 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 338 *) as_qdir=$as_dir;; 339 esac 340 as_dirs="'$as_qdir' $as_dirs" 341 as_dir=`$as_dirname -- "$as_dir" || 342$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 343 X"$as_dir" : 'X\(//\)[^/]' \| \ 344 X"$as_dir" : 'X\(//\)$' \| \ 345 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 346$as_echo X"$as_dir" | 347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 348 s//\1/ 349 q 350 } 351 /^X\(\/\/\)[^/].*/{ 352 s//\1/ 353 q 354 } 355 /^X\(\/\/\)$/{ 356 s//\1/ 357 q 358 } 359 /^X\(\/\).*/{ 360 s//\1/ 361 q 362 } 363 s/.*/./; q'` 364 test -d "$as_dir" && break 365 done 366 test -z "$as_dirs" || eval "mkdir $as_dirs" 367 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 368 369 370} # as_fn_mkdir_p 371 372# as_fn_executable_p FILE 373# ----------------------- 374# Test if FILE is an executable regular file. 375as_fn_executable_p () 376{ 377 test -f "$1" && test -x "$1" 378} # as_fn_executable_p 379# as_fn_append VAR VALUE 380# ---------------------- 381# Append the text in VALUE to the end of the definition contained in VAR. Take 382# advantage of any shell optimizations that allow amortized linear growth over 383# repeated appends, instead of the typical quadratic growth present in naive 384# implementations. 385if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 386 eval 'as_fn_append () 387 { 388 eval $1+=\$2 389 }' 390else 391 as_fn_append () 392 { 393 eval $1=\$$1\$2 394 } 395fi # as_fn_append 396 397# as_fn_arith ARG... 398# ------------------ 399# Perform arithmetic evaluation on the ARGs, and store the result in the 400# global $as_val. Take advantage of shells that can avoid forks. The arguments 401# must be portable across $(()) and expr. 402if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 403 eval 'as_fn_arith () 404 { 405 as_val=$(( $* )) 406 }' 407else 408 as_fn_arith () 409 { 410 as_val=`expr "$@" || test $? -eq 1` 411 } 412fi # as_fn_arith 413 414 415# as_fn_error STATUS ERROR [LINENO LOG_FD] 416# ---------------------------------------- 417# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 418# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 419# script with STATUS, using 1 if that was 0. 420as_fn_error () 421{ 422 as_status=$1; test $as_status -eq 0 && as_status=1 423 if test "$4"; then 424 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 425 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 426 fi 427 $as_echo "$as_me: error: $2" >&2 428 as_fn_exit $as_status 429} # as_fn_error 430 431if expr a : '\(a\)' >/dev/null 2>&1 && 432 test "X`expr 00001 : '.*\(...\)'`" = X001; then 433 as_expr=expr 434else 435 as_expr=false 436fi 437 438if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 439 as_basename=basename 440else 441 as_basename=false 442fi 443 444if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 445 as_dirname=dirname 446else 447 as_dirname=false 448fi 449 450as_me=`$as_basename -- "$0" || 451$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 452 X"$0" : 'X\(//\)$' \| \ 453 X"$0" : 'X\(/\)' \| . 2>/dev/null || 454$as_echo X/"$0" | 455 sed '/^.*\/\([^/][^/]*\)\/*$/{ 456 s//\1/ 457 q 458 } 459 /^X\/\(\/\/\)$/{ 460 s//\1/ 461 q 462 } 463 /^X\/\(\/\).*/{ 464 s//\1/ 465 q 466 } 467 s/.*/./; q'` 468 469# Avoid depending upon Character Ranges. 470as_cr_letters='abcdefghijklmnopqrstuvwxyz' 471as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 472as_cr_Letters=$as_cr_letters$as_cr_LETTERS 473as_cr_digits='0123456789' 474as_cr_alnum=$as_cr_Letters$as_cr_digits 475 476 477 as_lineno_1=$LINENO as_lineno_1a=$LINENO 478 as_lineno_2=$LINENO as_lineno_2a=$LINENO 479 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 480 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 481 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 482 sed -n ' 483 p 484 /[$]LINENO/= 485 ' <$as_myself | 486 sed ' 487 s/[$]LINENO.*/&-/ 488 t lineno 489 b 490 :lineno 491 N 492 :loop 493 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 494 t loop 495 s/-\n.*// 496 ' >$as_me.lineno && 497 chmod +x "$as_me.lineno" || 498 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 499 500 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 501 # already done that, so ensure we don't try to do so again and fall 502 # in an infinite loop. This has already happened in practice. 503 _as_can_reexec=no; export _as_can_reexec 504 # Don't try to exec as it changes $[0], causing all sort of problems 505 # (the dirname of $[0] is not the place where we might find the 506 # original and so on. Autoconf is especially sensitive to this). 507 . "./$as_me.lineno" 508 # Exit status is that of the last command. 509 exit 510} 511 512ECHO_C= ECHO_N= ECHO_T= 513case `echo -n x` in #((((( 514-n*) 515 case `echo 'xy\c'` in 516 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 517 xy) ECHO_C='\c';; 518 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 519 ECHO_T=' ';; 520 esac;; 521*) 522 ECHO_N='-n';; 523esac 524 525rm -f conf$$ conf$$.exe conf$$.file 526if test -d conf$$.dir; then 527 rm -f conf$$.dir/conf$$.file 528else 529 rm -f conf$$.dir 530 mkdir conf$$.dir 2>/dev/null 531fi 532if (echo >conf$$.file) 2>/dev/null; then 533 if ln -s conf$$.file conf$$ 2>/dev/null; then 534 as_ln_s='ln -s' 535 # ... but there are two gotchas: 536 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 537 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 538 # In both cases, we have to default to `cp -pR'. 539 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 540 as_ln_s='cp -pR' 541 elif ln conf$$.file conf$$ 2>/dev/null; then 542 as_ln_s=ln 543 else 544 as_ln_s='cp -pR' 545 fi 546else 547 as_ln_s='cp -pR' 548fi 549rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 550rmdir conf$$.dir 2>/dev/null 551 552if mkdir -p . 2>/dev/null; then 553 as_mkdir_p='mkdir -p "$as_dir"' 554else 555 test -d ./-p && rmdir ./-p 556 as_mkdir_p=false 557fi 558 559as_test_x='test -x' 560as_executable_p=as_fn_executable_p 561 562# Sed expression to map a string onto a valid CPP name. 563as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 564 565# Sed expression to map a string onto a valid variable name. 566as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 567 568SHELL=${CONFIG_SHELL-/bin/sh} 569 570 571test -n "$DJDIR" || exec 7<&0 </dev/null 572exec 6>&1 573 574# Name of the host. 575# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 576# so uname gets run too. 577ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 578 579# 580# Initializations. 581# 582ac_default_prefix=/usr/local 583ac_clean_files= 584ac_config_libobj_dir=. 585LIBOBJS= 586cross_compiling=no 587subdirs= 588MFLAGS= 589MAKEFLAGS= 590 591# Identity of this package. 592PACKAGE_NAME='xfce4-notifyd' 593PACKAGE_TARNAME='xfce4-notifyd' 594PACKAGE_VERSION='0.6.2' 595PACKAGE_STRING='xfce4-notifyd 0.6.2' 596PACKAGE_BUGREPORT='https://bugzilla.xfce.org/enter_bug.cgi?product=Xfce4-notifyd' 597PACKAGE_URL='' 598 599ac_unique_file="xfce4-notifyd/main.c" 600# Factoring default headers for most tests. 601ac_includes_default="\ 602#include <stdio.h> 603#ifdef HAVE_SYS_TYPES_H 604# include <sys/types.h> 605#endif 606#ifdef HAVE_SYS_STAT_H 607# include <sys/stat.h> 608#endif 609#ifdef STDC_HEADERS 610# include <stdlib.h> 611# include <stddef.h> 612#else 613# ifdef HAVE_STDLIB_H 614# include <stdlib.h> 615# endif 616#endif 617#ifdef HAVE_STRING_H 618# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 619# include <memory.h> 620# endif 621# include <string.h> 622#endif 623#ifdef HAVE_STRINGS_H 624# include <strings.h> 625#endif 626#ifdef HAVE_INTTYPES_H 627# include <inttypes.h> 628#endif 629#ifdef HAVE_STDINT_H 630# include <stdint.h> 631#endif 632#ifdef HAVE_UNISTD_H 633# include <unistd.h> 634#endif" 635 636ac_subst_vars='am__EXEEXT_FALSE 637am__EXEEXT_TRUE 638LTLIBOBJS 639LIBOBJS 640USE_DBUS_START_DAEMON_FALSE 641USE_DBUS_START_DAEMON_TRUE 642USE_OLD_GET_SERVER_INFORMATION_SIGNATURE_FALSE 643USE_OLD_GET_SERVER_INFORMATION_SIGNATURE_TRUE 644GDBUS_CODEGEN 645HAVE_GTK_320_FALSE 646HAVE_GTK_320_TRUE 647GTK_LIBS 648GTK_CFLAGS 649LIBNOTIFY_REQUIRED_VERSION 650LIBNOTIFY_LIBS 651LIBNOTIFY_CFLAGS 652LIBNOTIFY_VERSION 653GIO_UNIX_REQUIRED_VERSION 654GIO_UNIX_LIBS 655GIO_UNIX_CFLAGS 656GIO_UNIX_VERSION 657GIO_REQUIRED_VERSION 658GIO_LIBS 659GIO_CFLAGS 660GIO_VERSION 661XFCONF_REQUIRED_VERSION 662XFCONF_LIBS 663XFCONF_CFLAGS 664XFCONF_VERSION 665LIBXFCE4PANEL_REQUIRED_VERSION 666LIBXFCE4PANEL_LIBS 667LIBXFCE4PANEL_CFLAGS 668LIBXFCE4PANEL_VERSION 669LIBXFCE4UI_REQUIRED_VERSION 670LIBXFCE4UI_LIBS 671LIBXFCE4UI_CFLAGS 672LIBXFCE4UI_VERSION 673LIBXFCE4UTIL_REQUIRED_VERSION 674LIBXFCE4UTIL_LIBS 675LIBXFCE4UTIL_CFLAGS 676LIBXFCE4UTIL_VERSION 677PKG_CONFIG_LIBDIR 678PKG_CONFIG_PATH 679PKG_CONFIG 680LIBX11_LIBS 681LIBX11_LDFLAGS 682LIBX11_CFLAGS 683X_EXTRA_LIBS 684X_LIBS 685X_PRE_LIBS 686X_CFLAGS 687XMKMF 688XGETTEXT_ARGS 689MKINSTALLDIRS 690POSUB 691POFILES 692PO_IN_DATADIR_FALSE 693PO_IN_DATADIR_TRUE 694INTLLIBS 695INSTOBJEXT 696GMOFILES 697DATADIRNAME 698CATOBJEXT 699CATALOGS 700MSGFMT_OPTS 701INTL_MACOSX_LIBS 702GETTEXT_PACKAGE 703LT_SYS_LIBRARY_PATH 704OTOOL64 705OTOOL 706LIPO 707NMEDIT 708DSYMUTIL 709MANIFEST_TOOL 710RANLIB 711ac_ct_AR 712AR 713DLLTOOL 714OBJDUMP 715LN_S 716NM 717ac_ct_DUMPBIN 718DUMPBIN 719LIBTOOL 720ALL_LINGUAS 721INTLTOOL_PERL 722GMSGFMT 723MSGFMT 724MSGMERGE 725XGETTEXT 726INTLTOOL_POLICY_RULE 727INTLTOOL_SERVICE_RULE 728INTLTOOL_THEME_RULE 729INTLTOOL_SCHEMAS_RULE 730INTLTOOL_CAVES_RULE 731INTLTOOL_XML_NOMERGE_RULE 732INTLTOOL_XML_RULE 733INTLTOOL_KBD_RULE 734INTLTOOL_XAM_RULE 735INTLTOOL_UI_RULE 736INTLTOOL_SOUNDLIST_RULE 737INTLTOOL_SHEET_RULE 738INTLTOOL_SERVER_RULE 739INTLTOOL_PONG_RULE 740INTLTOOL_OAF_RULE 741INTLTOOL_PROP_RULE 742INTLTOOL_KEYS_RULE 743INTLTOOL_DIRECTORY_RULE 744INTLTOOL_DESKTOP_RULE 745intltool__v_merge_options_0 746intltool__v_merge_options_ 747INTLTOOL_V_MERGE_OPTIONS 748INTLTOOL__v_MERGE_0 749INTLTOOL__v_MERGE_ 750INTLTOOL_V_MERGE 751INTLTOOL_EXTRACT 752INTLTOOL_MERGE 753INTLTOOL_UPDATE 754USE_NLS 755LD 756FGREP 757SED 758host_os 759host_vendor 760host_cpu 761host 762build_os 763build_vendor 764build_cpu 765build 766EGREP 767GREP 768CPP 769am__fastdepCC_FALSE 770am__fastdepCC_TRUE 771CCDEPMODE 772am__nodep 773AMDEPBACKSLASH 774AMDEP_FALSE 775AMDEP_TRUE 776am__include 777DEPDIR 778OBJEXT 779EXEEXT 780ac_ct_CC 781CPPFLAGS 782LDFLAGS 783CFLAGS 784CC 785HELPER_PATH_PREFIX 786MAINT 787MAINTAINER_MODE_FALSE 788MAINTAINER_MODE_TRUE 789am__untar 790am__tar 791AMTAR 792am__leading_dot 793SET_MAKE 794AWK 795mkdir_p 796MKDIR_P 797INSTALL_STRIP_PROGRAM 798STRIP 799install_sh 800MAKEINFO 801AUTOHEADER 802AUTOMAKE 803AUTOCONF 804ACLOCAL 805VERSION 806PACKAGE 807CYGPATH_W 808am__isrc 809INSTALL_DATA 810INSTALL_SCRIPT 811INSTALL_PROGRAM 812AM_BACKSLASH 813AM_DEFAULT_VERBOSITY 814AM_DEFAULT_V 815AM_V 816target_alias 817host_alias 818build_alias 819LIBS 820ECHO_T 821ECHO_N 822ECHO_C 823DEFS 824mandir 825localedir 826libdir 827psdir 828pdfdir 829dvidir 830htmldir 831infodir 832docdir 833oldincludedir 834includedir 835runstatedir 836localstatedir 837sharedstatedir 838sysconfdir 839datadir 840datarootdir 841libexecdir 842sbindir 843bindir 844program_transform_name 845prefix 846exec_prefix 847PACKAGE_URL 848PACKAGE_BUGREPORT 849PACKAGE_STRING 850PACKAGE_VERSION 851PACKAGE_TARNAME 852PACKAGE_NAME 853PATH_SEPARATOR 854SHELL 855am__quote' 856ac_subst_files='' 857ac_user_opts=' 858enable_option_checking 859enable_silent_rules 860enable_maintainer_mode 861with_helper_path_prefix 862enable_dependency_tracking 863with_gnu_ld 864enable_nls 865enable_static 866enable_shared 867with_pic 868enable_fast_install 869with_aix_soname 870with_sysroot 871enable_libtool_lock 872with_locales_dir 873with_x 874enable_old_notification_closed_signature 875enable_old_get_server_information_signature 876enable_dbus_start_daemon 877enable_debug 878' 879 ac_precious_vars='build_alias 880host_alias 881target_alias 882CC 883CFLAGS 884LDFLAGS 885LIBS 886CPPFLAGS 887CPP 888LT_SYS_LIBRARY_PATH 889XMKMF 890PKG_CONFIG 891PKG_CONFIG_PATH 892PKG_CONFIG_LIBDIR 893GTK_CFLAGS 894GTK_LIBS 895GDBUS_CODEGEN' 896 897 898# Initialize some variables set by options. 899ac_init_help= 900ac_init_version=false 901ac_unrecognized_opts= 902ac_unrecognized_sep= 903# The variables have the same names as the options, with 904# dashes changed to underlines. 905cache_file=/dev/null 906exec_prefix=NONE 907no_create= 908no_recursion= 909prefix=NONE 910program_prefix=NONE 911program_suffix=NONE 912program_transform_name=s,x,x, 913silent= 914site= 915srcdir= 916verbose= 917x_includes=NONE 918x_libraries=NONE 919 920# Installation directory options. 921# These are left unexpanded so users can "make install exec_prefix=/foo" 922# and all the variables that are supposed to be based on exec_prefix 923# by default will actually change. 924# Use braces instead of parens because sh, perl, etc. also accept them. 925# (The list follows the same order as the GNU Coding Standards.) 926bindir='${exec_prefix}/bin' 927sbindir='${exec_prefix}/sbin' 928libexecdir='${exec_prefix}/libexec' 929datarootdir='${prefix}/share' 930datadir='${datarootdir}' 931sysconfdir='${prefix}/etc' 932sharedstatedir='${prefix}/com' 933localstatedir='${prefix}/var' 934runstatedir='${localstatedir}/run' 935includedir='${prefix}/include' 936oldincludedir='/usr/include' 937docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 938infodir='${datarootdir}/info' 939htmldir='${docdir}' 940dvidir='${docdir}' 941pdfdir='${docdir}' 942psdir='${docdir}' 943libdir='${exec_prefix}/lib' 944localedir='${datarootdir}/locale' 945mandir='${datarootdir}/man' 946 947ac_prev= 948ac_dashdash= 949for ac_option 950do 951 # If the previous option needs an argument, assign it. 952 if test -n "$ac_prev"; then 953 eval $ac_prev=\$ac_option 954 ac_prev= 955 continue 956 fi 957 958 case $ac_option in 959 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 960 *=) ac_optarg= ;; 961 *) ac_optarg=yes ;; 962 esac 963 964 # Accept the important Cygnus configure options, so we can diagnose typos. 965 966 case $ac_dashdash$ac_option in 967 --) 968 ac_dashdash=yes ;; 969 970 -bindir | --bindir | --bindi | --bind | --bin | --bi) 971 ac_prev=bindir ;; 972 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 973 bindir=$ac_optarg ;; 974 975 -build | --build | --buil | --bui | --bu) 976 ac_prev=build_alias ;; 977 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 978 build_alias=$ac_optarg ;; 979 980 -cache-file | --cache-file | --cache-fil | --cache-fi \ 981 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 982 ac_prev=cache_file ;; 983 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 984 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 985 cache_file=$ac_optarg ;; 986 987 --config-cache | -C) 988 cache_file=config.cache ;; 989 990 -datadir | --datadir | --datadi | --datad) 991 ac_prev=datadir ;; 992 -datadir=* | --datadir=* | --datadi=* | --datad=*) 993 datadir=$ac_optarg ;; 994 995 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 996 | --dataroo | --dataro | --datar) 997 ac_prev=datarootdir ;; 998 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 999 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 1000 datarootdir=$ac_optarg ;; 1001 1002 -disable-* | --disable-*) 1003 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 1004 # Reject names that are not valid shell variable names. 1005 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1006 as_fn_error $? "invalid feature name: $ac_useropt" 1007 ac_useropt_orig=$ac_useropt 1008 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1009 case $ac_user_opts in 1010 *" 1011"enable_$ac_useropt" 1012"*) ;; 1013 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 1014 ac_unrecognized_sep=', ';; 1015 esac 1016 eval enable_$ac_useropt=no ;; 1017 1018 -docdir | --docdir | --docdi | --doc | --do) 1019 ac_prev=docdir ;; 1020 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 1021 docdir=$ac_optarg ;; 1022 1023 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 1024 ac_prev=dvidir ;; 1025 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 1026 dvidir=$ac_optarg ;; 1027 1028 -enable-* | --enable-*) 1029 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 1030 # Reject names that are not valid shell variable names. 1031 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1032 as_fn_error $? "invalid feature name: $ac_useropt" 1033 ac_useropt_orig=$ac_useropt 1034 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1035 case $ac_user_opts in 1036 *" 1037"enable_$ac_useropt" 1038"*) ;; 1039 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 1040 ac_unrecognized_sep=', ';; 1041 esac 1042 eval enable_$ac_useropt=\$ac_optarg ;; 1043 1044 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1045 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1046 | --exec | --exe | --ex) 1047 ac_prev=exec_prefix ;; 1048 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1049 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1050 | --exec=* | --exe=* | --ex=*) 1051 exec_prefix=$ac_optarg ;; 1052 1053 -gas | --gas | --ga | --g) 1054 # Obsolete; use --with-gas. 1055 with_gas=yes ;; 1056 1057 -help | --help | --hel | --he | -h) 1058 ac_init_help=long ;; 1059 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1060 ac_init_help=recursive ;; 1061 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1062 ac_init_help=short ;; 1063 1064 -host | --host | --hos | --ho) 1065 ac_prev=host_alias ;; 1066 -host=* | --host=* | --hos=* | --ho=*) 1067 host_alias=$ac_optarg ;; 1068 1069 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1070 ac_prev=htmldir ;; 1071 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1072 | --ht=*) 1073 htmldir=$ac_optarg ;; 1074 1075 -includedir | --includedir | --includedi | --included | --include \ 1076 | --includ | --inclu | --incl | --inc) 1077 ac_prev=includedir ;; 1078 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1079 | --includ=* | --inclu=* | --incl=* | --inc=*) 1080 includedir=$ac_optarg ;; 1081 1082 -infodir | --infodir | --infodi | --infod | --info | --inf) 1083 ac_prev=infodir ;; 1084 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1085 infodir=$ac_optarg ;; 1086 1087 -libdir | --libdir | --libdi | --libd) 1088 ac_prev=libdir ;; 1089 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1090 libdir=$ac_optarg ;; 1091 1092 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1093 | --libexe | --libex | --libe) 1094 ac_prev=libexecdir ;; 1095 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1096 | --libexe=* | --libex=* | --libe=*) 1097 libexecdir=$ac_optarg ;; 1098 1099 -localedir | --localedir | --localedi | --localed | --locale) 1100 ac_prev=localedir ;; 1101 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1102 localedir=$ac_optarg ;; 1103 1104 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1105 | --localstate | --localstat | --localsta | --localst | --locals) 1106 ac_prev=localstatedir ;; 1107 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1108 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1109 localstatedir=$ac_optarg ;; 1110 1111 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1112 ac_prev=mandir ;; 1113 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1114 mandir=$ac_optarg ;; 1115 1116 -nfp | --nfp | --nf) 1117 # Obsolete; use --without-fp. 1118 with_fp=no ;; 1119 1120 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1121 | --no-cr | --no-c | -n) 1122 no_create=yes ;; 1123 1124 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1125 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1126 no_recursion=yes ;; 1127 1128 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1129 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1130 | --oldin | --oldi | --old | --ol | --o) 1131 ac_prev=oldincludedir ;; 1132 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1133 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1134 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1135 oldincludedir=$ac_optarg ;; 1136 1137 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1138 ac_prev=prefix ;; 1139 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1140 prefix=$ac_optarg ;; 1141 1142 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1143 | --program-pre | --program-pr | --program-p) 1144 ac_prev=program_prefix ;; 1145 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1146 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1147 program_prefix=$ac_optarg ;; 1148 1149 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1150 | --program-suf | --program-su | --program-s) 1151 ac_prev=program_suffix ;; 1152 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1153 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1154 program_suffix=$ac_optarg ;; 1155 1156 -program-transform-name | --program-transform-name \ 1157 | --program-transform-nam | --program-transform-na \ 1158 | --program-transform-n | --program-transform- \ 1159 | --program-transform | --program-transfor \ 1160 | --program-transfo | --program-transf \ 1161 | --program-trans | --program-tran \ 1162 | --progr-tra | --program-tr | --program-t) 1163 ac_prev=program_transform_name ;; 1164 -program-transform-name=* | --program-transform-name=* \ 1165 | --program-transform-nam=* | --program-transform-na=* \ 1166 | --program-transform-n=* | --program-transform-=* \ 1167 | --program-transform=* | --program-transfor=* \ 1168 | --program-transfo=* | --program-transf=* \ 1169 | --program-trans=* | --program-tran=* \ 1170 | --progr-tra=* | --program-tr=* | --program-t=*) 1171 program_transform_name=$ac_optarg ;; 1172 1173 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1174 ac_prev=pdfdir ;; 1175 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1176 pdfdir=$ac_optarg ;; 1177 1178 -psdir | --psdir | --psdi | --psd | --ps) 1179 ac_prev=psdir ;; 1180 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1181 psdir=$ac_optarg ;; 1182 1183 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1184 | -silent | --silent | --silen | --sile | --sil) 1185 silent=yes ;; 1186 1187 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1188 | --runstate | --runstat | --runsta | --runst | --runs \ 1189 | --run | --ru | --r) 1190 ac_prev=runstatedir ;; 1191 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1192 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1193 | --run=* | --ru=* | --r=*) 1194 runstatedir=$ac_optarg ;; 1195 1196 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1197 ac_prev=sbindir ;; 1198 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1199 | --sbi=* | --sb=*) 1200 sbindir=$ac_optarg ;; 1201 1202 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1203 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1204 | --sharedst | --shareds | --shared | --share | --shar \ 1205 | --sha | --sh) 1206 ac_prev=sharedstatedir ;; 1207 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1208 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1209 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1210 | --sha=* | --sh=*) 1211 sharedstatedir=$ac_optarg ;; 1212 1213 -site | --site | --sit) 1214 ac_prev=site ;; 1215 -site=* | --site=* | --sit=*) 1216 site=$ac_optarg ;; 1217 1218 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1219 ac_prev=srcdir ;; 1220 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1221 srcdir=$ac_optarg ;; 1222 1223 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1224 | --syscon | --sysco | --sysc | --sys | --sy) 1225 ac_prev=sysconfdir ;; 1226 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1227 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1228 sysconfdir=$ac_optarg ;; 1229 1230 -target | --target | --targe | --targ | --tar | --ta | --t) 1231 ac_prev=target_alias ;; 1232 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1233 target_alias=$ac_optarg ;; 1234 1235 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1236 verbose=yes ;; 1237 1238 -version | --version | --versio | --versi | --vers | -V) 1239 ac_init_version=: ;; 1240 1241 -with-* | --with-*) 1242 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1243 # Reject names that are not valid shell variable names. 1244 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1245 as_fn_error $? "invalid package name: $ac_useropt" 1246 ac_useropt_orig=$ac_useropt 1247 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1248 case $ac_user_opts in 1249 *" 1250"with_$ac_useropt" 1251"*) ;; 1252 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1253 ac_unrecognized_sep=', ';; 1254 esac 1255 eval with_$ac_useropt=\$ac_optarg ;; 1256 1257 -without-* | --without-*) 1258 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1259 # Reject names that are not valid shell variable names. 1260 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1261 as_fn_error $? "invalid package name: $ac_useropt" 1262 ac_useropt_orig=$ac_useropt 1263 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1264 case $ac_user_opts in 1265 *" 1266"with_$ac_useropt" 1267"*) ;; 1268 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1269 ac_unrecognized_sep=', ';; 1270 esac 1271 eval with_$ac_useropt=no ;; 1272 1273 --x) 1274 # Obsolete; use --with-x. 1275 with_x=yes ;; 1276 1277 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1278 | --x-incl | --x-inc | --x-in | --x-i) 1279 ac_prev=x_includes ;; 1280 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1281 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1282 x_includes=$ac_optarg ;; 1283 1284 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1285 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1286 ac_prev=x_libraries ;; 1287 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1288 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1289 x_libraries=$ac_optarg ;; 1290 1291 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1292Try \`$0 --help' for more information" 1293 ;; 1294 1295 *=*) 1296 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1297 # Reject names that are not valid shell variable names. 1298 case $ac_envvar in #( 1299 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1300 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1301 esac 1302 eval $ac_envvar=\$ac_optarg 1303 export $ac_envvar ;; 1304 1305 *) 1306 # FIXME: should be removed in autoconf 3.0. 1307 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1308 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1309 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1310 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1311 ;; 1312 1313 esac 1314done 1315 1316if test -n "$ac_prev"; then 1317 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1318 as_fn_error $? "missing argument to $ac_option" 1319fi 1320 1321if test -n "$ac_unrecognized_opts"; then 1322 case $enable_option_checking in 1323 no) ;; 1324 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1325 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1326 esac 1327fi 1328 1329# Check all directory arguments for consistency. 1330for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1331 datadir sysconfdir sharedstatedir localstatedir includedir \ 1332 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1333 libdir localedir mandir runstatedir 1334do 1335 eval ac_val=\$$ac_var 1336 # Remove trailing slashes. 1337 case $ac_val in 1338 */ ) 1339 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1340 eval $ac_var=\$ac_val;; 1341 esac 1342 # Be sure to have absolute directory names. 1343 case $ac_val in 1344 [\\/$]* | ?:[\\/]* ) continue;; 1345 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1346 esac 1347 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1348done 1349 1350# There might be people who depend on the old broken behavior: `$host' 1351# used to hold the argument of --host etc. 1352# FIXME: To remove some day. 1353build=$build_alias 1354host=$host_alias 1355target=$target_alias 1356 1357# FIXME: To remove some day. 1358if test "x$host_alias" != x; then 1359 if test "x$build_alias" = x; then 1360 cross_compiling=maybe 1361 elif test "x$build_alias" != "x$host_alias"; then 1362 cross_compiling=yes 1363 fi 1364fi 1365 1366ac_tool_prefix= 1367test -n "$host_alias" && ac_tool_prefix=$host_alias- 1368 1369test "$silent" = yes && exec 6>/dev/null 1370 1371 1372ac_pwd=`pwd` && test -n "$ac_pwd" && 1373ac_ls_di=`ls -di .` && 1374ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1375 as_fn_error $? "working directory cannot be determined" 1376test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1377 as_fn_error $? "pwd does not report name of working directory" 1378 1379 1380# Find the source files, if location was not specified. 1381if test -z "$srcdir"; then 1382 ac_srcdir_defaulted=yes 1383 # Try the directory containing this script, then the parent directory. 1384 ac_confdir=`$as_dirname -- "$as_myself" || 1385$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1386 X"$as_myself" : 'X\(//\)[^/]' \| \ 1387 X"$as_myself" : 'X\(//\)$' \| \ 1388 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1389$as_echo X"$as_myself" | 1390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1391 s//\1/ 1392 q 1393 } 1394 /^X\(\/\/\)[^/].*/{ 1395 s//\1/ 1396 q 1397 } 1398 /^X\(\/\/\)$/{ 1399 s//\1/ 1400 q 1401 } 1402 /^X\(\/\).*/{ 1403 s//\1/ 1404 q 1405 } 1406 s/.*/./; q'` 1407 srcdir=$ac_confdir 1408 if test ! -r "$srcdir/$ac_unique_file"; then 1409 srcdir=.. 1410 fi 1411else 1412 ac_srcdir_defaulted=no 1413fi 1414if test ! -r "$srcdir/$ac_unique_file"; then 1415 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1416 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1417fi 1418ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1419ac_abs_confdir=`( 1420 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1421 pwd)` 1422# When building in place, set srcdir=. 1423if test "$ac_abs_confdir" = "$ac_pwd"; then 1424 srcdir=. 1425fi 1426# Remove unnecessary trailing slashes from srcdir. 1427# Double slashes in file names in object file debugging info 1428# mess up M-x gdb in Emacs. 1429case $srcdir in 1430*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1431esac 1432for ac_var in $ac_precious_vars; do 1433 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1434 eval ac_env_${ac_var}_value=\$${ac_var} 1435 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1436 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1437done 1438 1439# 1440# Report the --help message. 1441# 1442if test "$ac_init_help" = "long"; then 1443 # Omit some internal or obsolete options to make the list less imposing. 1444 # This message is too long to be a string in the A/UX 3.1 sh. 1445 cat <<_ACEOF 1446\`configure' configures xfce4-notifyd 0.6.2 to adapt to many kinds of systems. 1447 1448Usage: $0 [OPTION]... [VAR=VALUE]... 1449 1450To assign environment variables (e.g., CC, CFLAGS...), specify them as 1451VAR=VALUE. See below for descriptions of some of the useful variables. 1452 1453Defaults for the options are specified in brackets. 1454 1455Configuration: 1456 -h, --help display this help and exit 1457 --help=short display options specific to this package 1458 --help=recursive display the short help of all the included packages 1459 -V, --version display version information and exit 1460 -q, --quiet, --silent do not print \`checking ...' messages 1461 --cache-file=FILE cache test results in FILE [disabled] 1462 -C, --config-cache alias for \`--cache-file=config.cache' 1463 -n, --no-create do not create output files 1464 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1465 1466Installation directories: 1467 --prefix=PREFIX install architecture-independent files in PREFIX 1468 [$ac_default_prefix] 1469 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1470 [PREFIX] 1471 1472By default, \`make install' will install all the files in 1473\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1474an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1475for instance \`--prefix=\$HOME'. 1476 1477For better control, use the options below. 1478 1479Fine tuning of the installation directories: 1480 --bindir=DIR user executables [EPREFIX/bin] 1481 --sbindir=DIR system admin executables [EPREFIX/sbin] 1482 --libexecdir=DIR program executables [EPREFIX/libexec] 1483 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1484 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1485 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1486 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1487 --libdir=DIR object code libraries [EPREFIX/lib] 1488 --includedir=DIR C header files [PREFIX/include] 1489 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1490 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1491 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1492 --infodir=DIR info documentation [DATAROOTDIR/info] 1493 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1494 --mandir=DIR man documentation [DATAROOTDIR/man] 1495 --docdir=DIR documentation root [DATAROOTDIR/doc/xfce4-notifyd] 1496 --htmldir=DIR html documentation [DOCDIR] 1497 --dvidir=DIR dvi documentation [DOCDIR] 1498 --pdfdir=DIR pdf documentation [DOCDIR] 1499 --psdir=DIR ps documentation [DOCDIR] 1500_ACEOF 1501 1502 cat <<\_ACEOF 1503 1504Program names: 1505 --program-prefix=PREFIX prepend PREFIX to installed program names 1506 --program-suffix=SUFFIX append SUFFIX to installed program names 1507 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1508 1509X features: 1510 --x-includes=DIR X include files are in DIR 1511 --x-libraries=DIR X library files are in DIR 1512 1513System types: 1514 --build=BUILD configure for building on BUILD [guessed] 1515 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1516_ACEOF 1517fi 1518 1519if test -n "$ac_init_help"; then 1520 case $ac_init_help in 1521 short | recursive ) echo "Configuration of xfce4-notifyd 0.6.2:";; 1522 esac 1523 cat <<\_ACEOF 1524 1525Optional Features: 1526 --disable-option-checking ignore unrecognized --enable/--with options 1527 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1528 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1529 --enable-silent-rules less verbose build output (undo: "make V=1") 1530 --disable-silent-rules verbose build output (undo: "make V=0") 1531 --enable-maintainer-mode 1532 enable make rules and dependencies not useful (and 1533 sometimes confusing) to the casual installer 1534 --enable-dependency-tracking 1535 do not reject slow dependency extractors 1536 --disable-dependency-tracking 1537 speeds up one-time build 1538 --disable-nls do not use Native Language Support 1539 --enable-static[=PKGS] build static libraries [default=no] 1540 --enable-shared[=PKGS] build shared libraries [default=yes] 1541 --enable-fast-install[=PKGS] 1542 optimize for fast installation [default=yes] 1543 --disable-libtool-lock avoid locking (might break parallel builds) 1544 --enable-old-notification-closed-signature 1545 Use the old NotificationClosed signal signature that 1546 leaves out the 'reason' parameter. You want to 1547 enable this if your system has libnotify 0.4.4 or 1548 earlier. 1549 --enable-old-get-server-information-signature 1550 Use the old GetServerInformation method signature 1551 that leaves out the 'spec_version' parameter. 1552 (default=no) 1553 --enable-dbus-start-daemon 1554 Start daemon via DBus instead of regular session 1555 autostart. (default=no) 1556 --enable-debug[=no|minimum|yes|full] 1557 Build with debugging support [default=[]] 1558 --disable-debug Include no debugging support 1559 1560Optional Packages: 1561 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1562 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1563 --with-helper-path-prefix=PATH 1564 Path prefix under which helper executables will be 1565 installed (default: $libdir) 1566 --with-gnu-ld assume the C compiler uses GNU ld [default=no] 1567 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use 1568 both] 1569 --with-aix-soname=aix|svr4|both 1570 shared library versioning (aka "SONAME") variant to 1571 provide on AIX, [default=aix]. 1572 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the 1573 compiler's sysroot if not specified). 1574 1575 --with-locales-dir=DIR Install locales into DIR 1576 1577 --with-x use the X Window System 1578 1579Some influential environment variables: 1580 CC C compiler command 1581 CFLAGS C compiler flags 1582 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1583 nonstandard directory <lib dir> 1584 LIBS libraries to pass to the linker, e.g. -l<library> 1585 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1586 you have headers in a nonstandard directory <include dir> 1587 CPP C preprocessor 1588 LT_SYS_LIBRARY_PATH 1589 User-defined run-time library search path. 1590 XMKMF Path to xmkmf, Makefile generator for X Window System 1591 PKG_CONFIG path to pkg-config utility 1592 PKG_CONFIG_PATH 1593 directories to add to pkg-config's search path 1594 PKG_CONFIG_LIBDIR 1595 path overriding pkg-config's built-in search path 1596 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config 1597 GTK_LIBS linker flags for GTK, overriding pkg-config 1598 GDBUS_CODEGEN 1599 D-Bus code and documentation generator from XML D-Bus interface 1600 definitions 1601 1602Use these variables to override the choices made by `configure' or to help 1603it to find libraries and programs with nonstandard names/locations. 1604 1605Report bugs to <https://bugzilla.xfce.org/enter_bug.cgi?product=Xfce4-notifyd>. 1606_ACEOF 1607ac_status=$? 1608fi 1609 1610if test "$ac_init_help" = "recursive"; then 1611 # If there are subdirs, report their specific --help. 1612 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1613 test -d "$ac_dir" || 1614 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1615 continue 1616 ac_builddir=. 1617 1618case "$ac_dir" in 1619.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1620*) 1621 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1622 # A ".." for each directory in $ac_dir_suffix. 1623 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1624 case $ac_top_builddir_sub in 1625 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1626 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1627 esac ;; 1628esac 1629ac_abs_top_builddir=$ac_pwd 1630ac_abs_builddir=$ac_pwd$ac_dir_suffix 1631# for backward compatibility: 1632ac_top_builddir=$ac_top_build_prefix 1633 1634case $srcdir in 1635 .) # We are building in place. 1636 ac_srcdir=. 1637 ac_top_srcdir=$ac_top_builddir_sub 1638 ac_abs_top_srcdir=$ac_pwd ;; 1639 [\\/]* | ?:[\\/]* ) # Absolute name. 1640 ac_srcdir=$srcdir$ac_dir_suffix; 1641 ac_top_srcdir=$srcdir 1642 ac_abs_top_srcdir=$srcdir ;; 1643 *) # Relative name. 1644 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1645 ac_top_srcdir=$ac_top_build_prefix$srcdir 1646 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1647esac 1648ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1649 1650 cd "$ac_dir" || { ac_status=$?; continue; } 1651 # Check for guested configure. 1652 if test -f "$ac_srcdir/configure.gnu"; then 1653 echo && 1654 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1655 elif test -f "$ac_srcdir/configure"; then 1656 echo && 1657 $SHELL "$ac_srcdir/configure" --help=recursive 1658 else 1659 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1660 fi || ac_status=$? 1661 cd "$ac_pwd" || { ac_status=$?; break; } 1662 done 1663fi 1664 1665test -n "$ac_init_help" && exit $ac_status 1666if $ac_init_version; then 1667 cat <<\_ACEOF 1668xfce4-notifyd configure 0.6.2 1669generated by GNU Autoconf 2.69 1670 1671Copyright (C) 2012 Free Software Foundation, Inc. 1672This configure script is free software; the Free Software Foundation 1673gives unlimited permission to copy, distribute and modify it. 1674_ACEOF 1675 exit 1676fi 1677 1678## ------------------------ ## 1679## Autoconf initialization. ## 1680## ------------------------ ## 1681 1682# ac_fn_c_try_compile LINENO 1683# -------------------------- 1684# Try to compile conftest.$ac_ext, and return whether this succeeded. 1685ac_fn_c_try_compile () 1686{ 1687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1688 rm -f conftest.$ac_objext 1689 if { { ac_try="$ac_compile" 1690case "(($ac_try" in 1691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1692 *) ac_try_echo=$ac_try;; 1693esac 1694eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1695$as_echo "$ac_try_echo"; } >&5 1696 (eval "$ac_compile") 2>conftest.err 1697 ac_status=$? 1698 if test -s conftest.err; then 1699 grep -v '^ *+' conftest.err >conftest.er1 1700 cat conftest.er1 >&5 1701 mv -f conftest.er1 conftest.err 1702 fi 1703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1704 test $ac_status = 0; } && { 1705 test -z "$ac_c_werror_flag" || 1706 test ! -s conftest.err 1707 } && test -s conftest.$ac_objext; then : 1708 ac_retval=0 1709else 1710 $as_echo "$as_me: failed program was:" >&5 1711sed 's/^/| /' conftest.$ac_ext >&5 1712 1713 ac_retval=1 1714fi 1715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1716 as_fn_set_status $ac_retval 1717 1718} # ac_fn_c_try_compile 1719 1720# ac_fn_c_try_cpp LINENO 1721# ---------------------- 1722# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1723ac_fn_c_try_cpp () 1724{ 1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1726 if { { ac_try="$ac_cpp conftest.$ac_ext" 1727case "(($ac_try" in 1728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1729 *) ac_try_echo=$ac_try;; 1730esac 1731eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1732$as_echo "$ac_try_echo"; } >&5 1733 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1734 ac_status=$? 1735 if test -s conftest.err; then 1736 grep -v '^ *+' conftest.err >conftest.er1 1737 cat conftest.er1 >&5 1738 mv -f conftest.er1 conftest.err 1739 fi 1740 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1741 test $ac_status = 0; } > conftest.i && { 1742 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1743 test ! -s conftest.err 1744 }; then : 1745 ac_retval=0 1746else 1747 $as_echo "$as_me: failed program was:" >&5 1748sed 's/^/| /' conftest.$ac_ext >&5 1749 1750 ac_retval=1 1751fi 1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1753 as_fn_set_status $ac_retval 1754 1755} # ac_fn_c_try_cpp 1756 1757# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1758# ------------------------------------------------------- 1759# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1760# the include files in INCLUDES and setting the cache variable VAR 1761# accordingly. 1762ac_fn_c_check_header_mongrel () 1763{ 1764 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1765 if eval \${$3+:} false; then : 1766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1767$as_echo_n "checking for $2... " >&6; } 1768if eval \${$3+:} false; then : 1769 $as_echo_n "(cached) " >&6 1770fi 1771eval ac_res=\$$3 1772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1773$as_echo "$ac_res" >&6; } 1774else 1775 # Is the header compilable? 1776{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1777$as_echo_n "checking $2 usability... " >&6; } 1778cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1779/* end confdefs.h. */ 1780$4 1781#include <$2> 1782_ACEOF 1783if ac_fn_c_try_compile "$LINENO"; then : 1784 ac_header_compiler=yes 1785else 1786 ac_header_compiler=no 1787fi 1788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1789{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1790$as_echo "$ac_header_compiler" >&6; } 1791 1792# Is the header present? 1793{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1794$as_echo_n "checking $2 presence... " >&6; } 1795cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1796/* end confdefs.h. */ 1797#include <$2> 1798_ACEOF 1799if ac_fn_c_try_cpp "$LINENO"; then : 1800 ac_header_preproc=yes 1801else 1802 ac_header_preproc=no 1803fi 1804rm -f conftest.err conftest.i conftest.$ac_ext 1805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1806$as_echo "$ac_header_preproc" >&6; } 1807 1808# So? What about this header? 1809case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1810 yes:no: ) 1811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1812$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1814$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1815 ;; 1816 no:yes:* ) 1817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1818$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1820$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1822$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1824$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1826$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1827( $as_echo "## ---------------------------------------------------------------------------- ## 1828## Report this to https://bugzilla.xfce.org/enter_bug.cgi?product=Xfce4-notifyd ## 1829## ---------------------------------------------------------------------------- ##" 1830 ) | sed "s/^/$as_me: WARNING: /" >&2 1831 ;; 1832esac 1833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1834$as_echo_n "checking for $2... " >&6; } 1835if eval \${$3+:} false; then : 1836 $as_echo_n "(cached) " >&6 1837else 1838 eval "$3=\$ac_header_compiler" 1839fi 1840eval ac_res=\$$3 1841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1842$as_echo "$ac_res" >&6; } 1843fi 1844 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1845 1846} # ac_fn_c_check_header_mongrel 1847 1848# ac_fn_c_try_run LINENO 1849# ---------------------- 1850# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1851# that executables *can* be run. 1852ac_fn_c_try_run () 1853{ 1854 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1855 if { { ac_try="$ac_link" 1856case "(($ac_try" in 1857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1858 *) ac_try_echo=$ac_try;; 1859esac 1860eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1861$as_echo "$ac_try_echo"; } >&5 1862 (eval "$ac_link") 2>&5 1863 ac_status=$? 1864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1865 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1866 { { case "(($ac_try" in 1867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1868 *) ac_try_echo=$ac_try;; 1869esac 1870eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1871$as_echo "$ac_try_echo"; } >&5 1872 (eval "$ac_try") 2>&5 1873 ac_status=$? 1874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1875 test $ac_status = 0; }; }; then : 1876 ac_retval=0 1877else 1878 $as_echo "$as_me: program exited with status $ac_status" >&5 1879 $as_echo "$as_me: failed program was:" >&5 1880sed 's/^/| /' conftest.$ac_ext >&5 1881 1882 ac_retval=$ac_status 1883fi 1884 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1886 as_fn_set_status $ac_retval 1887 1888} # ac_fn_c_try_run 1889 1890# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1891# ------------------------------------------------------- 1892# Tests whether HEADER exists and can be compiled using the include files in 1893# INCLUDES, setting the cache variable VAR accordingly. 1894ac_fn_c_check_header_compile () 1895{ 1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1898$as_echo_n "checking for $2... " >&6; } 1899if eval \${$3+:} false; then : 1900 $as_echo_n "(cached) " >&6 1901else 1902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1903/* end confdefs.h. */ 1904$4 1905#include <$2> 1906_ACEOF 1907if ac_fn_c_try_compile "$LINENO"; then : 1908 eval "$3=yes" 1909else 1910 eval "$3=no" 1911fi 1912rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1913fi 1914eval ac_res=\$$3 1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1916$as_echo "$ac_res" >&6; } 1917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1918 1919} # ac_fn_c_check_header_compile 1920 1921# ac_fn_c_try_link LINENO 1922# ----------------------- 1923# Try to link conftest.$ac_ext, and return whether this succeeded. 1924ac_fn_c_try_link () 1925{ 1926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1927 rm -f conftest.$ac_objext conftest$ac_exeext 1928 if { { ac_try="$ac_link" 1929case "(($ac_try" in 1930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1931 *) ac_try_echo=$ac_try;; 1932esac 1933eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1934$as_echo "$ac_try_echo"; } >&5 1935 (eval "$ac_link") 2>conftest.err 1936 ac_status=$? 1937 if test -s conftest.err; then 1938 grep -v '^ *+' conftest.err >conftest.er1 1939 cat conftest.er1 >&5 1940 mv -f conftest.er1 conftest.err 1941 fi 1942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1943 test $ac_status = 0; } && { 1944 test -z "$ac_c_werror_flag" || 1945 test ! -s conftest.err 1946 } && test -s conftest$ac_exeext && { 1947 test "$cross_compiling" = yes || 1948 test -x conftest$ac_exeext 1949 }; then : 1950 ac_retval=0 1951else 1952 $as_echo "$as_me: failed program was:" >&5 1953sed 's/^/| /' conftest.$ac_ext >&5 1954 1955 ac_retval=1 1956fi 1957 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1958 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1959 # interfere with the next link command; also delete a directory that is 1960 # left behind by Apple's compiler. We do this before executing the actions. 1961 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1962 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1963 as_fn_set_status $ac_retval 1964 1965} # ac_fn_c_try_link 1966 1967# ac_fn_c_check_func LINENO FUNC VAR 1968# ---------------------------------- 1969# Tests whether FUNC exists, setting the cache variable VAR accordingly 1970ac_fn_c_check_func () 1971{ 1972 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1974$as_echo_n "checking for $2... " >&6; } 1975if eval \${$3+:} false; then : 1976 $as_echo_n "(cached) " >&6 1977else 1978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1979/* end confdefs.h. */ 1980/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1981 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1982#define $2 innocuous_$2 1983 1984/* System header to define __stub macros and hopefully few prototypes, 1985 which can conflict with char $2 (); below. 1986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1987 <limits.h> exists even on freestanding compilers. */ 1988 1989#ifdef __STDC__ 1990# include <limits.h> 1991#else 1992# include <assert.h> 1993#endif 1994 1995#undef $2 1996 1997/* Override any GCC internal prototype to avoid an error. 1998 Use char because int might match the return type of a GCC 1999 builtin and then its argument prototype would still apply. */ 2000#ifdef __cplusplus 2001extern "C" 2002#endif 2003char $2 (); 2004/* The GNU C library defines this for functions which it implements 2005 to always fail with ENOSYS. Some functions are actually named 2006 something starting with __ and the normal name is an alias. */ 2007#if defined __stub_$2 || defined __stub___$2 2008choke me 2009#endif 2010 2011int 2012main () 2013{ 2014return $2 (); 2015 ; 2016 return 0; 2017} 2018_ACEOF 2019if ac_fn_c_try_link "$LINENO"; then : 2020 eval "$3=yes" 2021else 2022 eval "$3=no" 2023fi 2024rm -f core conftest.err conftest.$ac_objext \ 2025 conftest$ac_exeext conftest.$ac_ext 2026fi 2027eval ac_res=\$$3 2028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2029$as_echo "$ac_res" >&6; } 2030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2031 2032} # ac_fn_c_check_func 2033cat >config.log <<_ACEOF 2034This file contains any messages produced by compilers while 2035running configure, to aid debugging if configure makes a mistake. 2036 2037It was created by xfce4-notifyd $as_me 0.6.2, which was 2038generated by GNU Autoconf 2.69. Invocation command line was 2039 2040 $ $0 $@ 2041 2042_ACEOF 2043exec 5>>config.log 2044{ 2045cat <<_ASUNAME 2046## --------- ## 2047## Platform. ## 2048## --------- ## 2049 2050hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2051uname -m = `(uname -m) 2>/dev/null || echo unknown` 2052uname -r = `(uname -r) 2>/dev/null || echo unknown` 2053uname -s = `(uname -s) 2>/dev/null || echo unknown` 2054uname -v = `(uname -v) 2>/dev/null || echo unknown` 2055 2056/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2057/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2058 2059/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2060/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2061/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2062/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2063/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2064/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2065/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2066 2067_ASUNAME 2068 2069as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2070for as_dir in $PATH 2071do 2072 IFS=$as_save_IFS 2073 test -z "$as_dir" && as_dir=. 2074 $as_echo "PATH: $as_dir" 2075 done 2076IFS=$as_save_IFS 2077 2078} >&5 2079 2080cat >&5 <<_ACEOF 2081 2082 2083## ----------- ## 2084## Core tests. ## 2085## ----------- ## 2086 2087_ACEOF 2088 2089 2090# Keep a trace of the command line. 2091# Strip out --no-create and --no-recursion so they do not pile up. 2092# Strip out --silent because we don't want to record it for future runs. 2093# Also quote any args containing shell meta-characters. 2094# Make two passes to allow for proper duplicate-argument suppression. 2095ac_configure_args= 2096ac_configure_args0= 2097ac_configure_args1= 2098ac_must_keep_next=false 2099for ac_pass in 1 2 2100do 2101 for ac_arg 2102 do 2103 case $ac_arg in 2104 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2105 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2106 | -silent | --silent | --silen | --sile | --sil) 2107 continue ;; 2108 *\'*) 2109 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2110 esac 2111 case $ac_pass in 2112 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2113 2) 2114 as_fn_append ac_configure_args1 " '$ac_arg'" 2115 if test $ac_must_keep_next = true; then 2116 ac_must_keep_next=false # Got value, back to normal. 2117 else 2118 case $ac_arg in 2119 *=* | --config-cache | -C | -disable-* | --disable-* \ 2120 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2121 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2122 | -with-* | --with-* | -without-* | --without-* | --x) 2123 case "$ac_configure_args0 " in 2124 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2125 esac 2126 ;; 2127 -* ) ac_must_keep_next=true ;; 2128 esac 2129 fi 2130 as_fn_append ac_configure_args " '$ac_arg'" 2131 ;; 2132 esac 2133 done 2134done 2135{ ac_configure_args0=; unset ac_configure_args0;} 2136{ ac_configure_args1=; unset ac_configure_args1;} 2137 2138# When interrupted or exit'd, cleanup temporary files, and complete 2139# config.log. We remove comments because anyway the quotes in there 2140# would cause problems or look ugly. 2141# WARNING: Use '\'' to represent an apostrophe within the trap. 2142# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2143trap 'exit_status=$? 2144 # Save into config.log some information that might help in debugging. 2145 { 2146 echo 2147 2148 $as_echo "## ---------------- ## 2149## Cache variables. ## 2150## ---------------- ##" 2151 echo 2152 # The following way of writing the cache mishandles newlines in values, 2153( 2154 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2155 eval ac_val=\$$ac_var 2156 case $ac_val in #( 2157 *${as_nl}*) 2158 case $ac_var in #( 2159 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2160$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2161 esac 2162 case $ac_var in #( 2163 _ | IFS | as_nl) ;; #( 2164 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2165 *) { eval $ac_var=; unset $ac_var;} ;; 2166 esac ;; 2167 esac 2168 done 2169 (set) 2>&1 | 2170 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2171 *${as_nl}ac_space=\ *) 2172 sed -n \ 2173 "s/'\''/'\''\\\\'\'''\''/g; 2174 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2175 ;; #( 2176 *) 2177 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2178 ;; 2179 esac | 2180 sort 2181) 2182 echo 2183 2184 $as_echo "## ----------------- ## 2185## Output variables. ## 2186## ----------------- ##" 2187 echo 2188 for ac_var in $ac_subst_vars 2189 do 2190 eval ac_val=\$$ac_var 2191 case $ac_val in 2192 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2193 esac 2194 $as_echo "$ac_var='\''$ac_val'\''" 2195 done | sort 2196 echo 2197 2198 if test -n "$ac_subst_files"; then 2199 $as_echo "## ------------------- ## 2200## File substitutions. ## 2201## ------------------- ##" 2202 echo 2203 for ac_var in $ac_subst_files 2204 do 2205 eval ac_val=\$$ac_var 2206 case $ac_val in 2207 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2208 esac 2209 $as_echo "$ac_var='\''$ac_val'\''" 2210 done | sort 2211 echo 2212 fi 2213 2214 if test -s confdefs.h; then 2215 $as_echo "## ----------- ## 2216## confdefs.h. ## 2217## ----------- ##" 2218 echo 2219 cat confdefs.h 2220 echo 2221 fi 2222 test "$ac_signal" != 0 && 2223 $as_echo "$as_me: caught signal $ac_signal" 2224 $as_echo "$as_me: exit $exit_status" 2225 } >&5 2226 rm -f core *.core core.conftest.* && 2227 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2228 exit $exit_status 2229' 0 2230for ac_signal in 1 2 13 15; do 2231 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2232done 2233ac_signal=0 2234 2235# confdefs.h avoids OS command line length limits that DEFS can exceed. 2236rm -f -r conftest* confdefs.h 2237 2238$as_echo "/* confdefs.h */" > confdefs.h 2239 2240# Predefined preprocessor variables. 2241 2242cat >>confdefs.h <<_ACEOF 2243#define PACKAGE_NAME "$PACKAGE_NAME" 2244_ACEOF 2245 2246cat >>confdefs.h <<_ACEOF 2247#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2248_ACEOF 2249 2250cat >>confdefs.h <<_ACEOF 2251#define PACKAGE_VERSION "$PACKAGE_VERSION" 2252_ACEOF 2253 2254cat >>confdefs.h <<_ACEOF 2255#define PACKAGE_STRING "$PACKAGE_STRING" 2256_ACEOF 2257 2258cat >>confdefs.h <<_ACEOF 2259#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2260_ACEOF 2261 2262cat >>confdefs.h <<_ACEOF 2263#define PACKAGE_URL "$PACKAGE_URL" 2264_ACEOF 2265 2266 2267# Let the site file select an alternate cache file if it wants to. 2268# Prefer an explicitly selected file to automatically selected ones. 2269ac_site_file1=NONE 2270ac_site_file2=NONE 2271if test -n "$CONFIG_SITE"; then 2272 # We do not want a PATH search for config.site. 2273 case $CONFIG_SITE in #(( 2274 -*) ac_site_file1=./$CONFIG_SITE;; 2275 */*) ac_site_file1=$CONFIG_SITE;; 2276 *) ac_site_file1=./$CONFIG_SITE;; 2277 esac 2278elif test "x$prefix" != xNONE; then 2279 ac_site_file1=$prefix/share/config.site 2280 ac_site_file2=$prefix/etc/config.site 2281else 2282 ac_site_file1=$ac_default_prefix/share/config.site 2283 ac_site_file2=$ac_default_prefix/etc/config.site 2284fi 2285for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2286do 2287 test "x$ac_site_file" = xNONE && continue 2288 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2289 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2290$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2291 sed 's/^/| /' "$ac_site_file" >&5 2292 . "$ac_site_file" \ 2293 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2294$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2295as_fn_error $? "failed to load site script $ac_site_file 2296See \`config.log' for more details" "$LINENO" 5; } 2297 fi 2298done 2299 2300if test -r "$cache_file"; then 2301 # Some versions of bash will fail to source /dev/null (special files 2302 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2303 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2304 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2305$as_echo "$as_me: loading cache $cache_file" >&6;} 2306 case $cache_file in 2307 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2308 *) . "./$cache_file";; 2309 esac 2310 fi 2311else 2312 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2313$as_echo "$as_me: creating cache $cache_file" >&6;} 2314 >$cache_file 2315fi 2316 2317# Check that the precious variables saved in the cache have kept the same 2318# value. 2319ac_cache_corrupted=false 2320for ac_var in $ac_precious_vars; do 2321 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2322 eval ac_new_set=\$ac_env_${ac_var}_set 2323 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2324 eval ac_new_val=\$ac_env_${ac_var}_value 2325 case $ac_old_set,$ac_new_set in 2326 set,) 2327 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2328$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2329 ac_cache_corrupted=: ;; 2330 ,set) 2331 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2332$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2333 ac_cache_corrupted=: ;; 2334 ,);; 2335 *) 2336 if test "x$ac_old_val" != "x$ac_new_val"; then 2337 # differences in whitespace do not lead to failure. 2338 ac_old_val_w=`echo x $ac_old_val` 2339 ac_new_val_w=`echo x $ac_new_val` 2340 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2341 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2342$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2343 ac_cache_corrupted=: 2344 else 2345 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2346$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2347 eval $ac_var=\$ac_old_val 2348 fi 2349 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2350$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2351 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2352$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2353 fi;; 2354 esac 2355 # Pass precious variables to config.status. 2356 if test "$ac_new_set" = set; then 2357 case $ac_new_val in 2358 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2359 *) ac_arg=$ac_var=$ac_new_val ;; 2360 esac 2361 case " $ac_configure_args " in 2362 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2363 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2364 esac 2365 fi 2366done 2367if $ac_cache_corrupted; then 2368 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2369$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2370 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2371$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2372 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2373fi 2374## -------------------- ## 2375## Main body of script. ## 2376## -------------------- ## 2377 2378ac_ext=c 2379ac_cpp='$CPP $CPPFLAGS' 2380ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2381ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2382ac_compiler_gnu=$ac_cv_c_compiler_gnu 2383 2384 2385 2386 2387ac_config_headers="$ac_config_headers config.h" 2388 2389 2390# Check whether --enable-silent-rules was given. 2391if test "${enable_silent_rules+set}" = set; then : 2392 enableval=$enable_silent_rules; 2393fi 2394 2395case $enable_silent_rules in # ((( 2396 yes) AM_DEFAULT_VERBOSITY=0;; 2397 no) AM_DEFAULT_VERBOSITY=1;; 2398 *) AM_DEFAULT_VERBOSITY=0;; 2399esac 2400am_make=${MAKE-make} 2401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2402$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2403if ${am_cv_make_support_nested_variables+:} false; then : 2404 $as_echo_n "(cached) " >&6 2405else 2406 if $as_echo 'TRUE=$(BAR$(V)) 2407BAR0=false 2408BAR1=true 2409V=1 2410am__doit: 2411 @$(TRUE) 2412.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2413 am_cv_make_support_nested_variables=yes 2414else 2415 am_cv_make_support_nested_variables=no 2416fi 2417fi 2418{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2419$as_echo "$am_cv_make_support_nested_variables" >&6; } 2420if test $am_cv_make_support_nested_variables = yes; then 2421 AM_V='$(V)' 2422 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2423else 2424 AM_V=$AM_DEFAULT_VERBOSITY 2425 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2426fi 2427AM_BACKSLASH='\' 2428 2429 2430am__api_version='1.16' 2431 2432ac_aux_dir= 2433for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2434 if test -f "$ac_dir/install-sh"; then 2435 ac_aux_dir=$ac_dir 2436 ac_install_sh="$ac_aux_dir/install-sh -c" 2437 break 2438 elif test -f "$ac_dir/install.sh"; then 2439 ac_aux_dir=$ac_dir 2440 ac_install_sh="$ac_aux_dir/install.sh -c" 2441 break 2442 elif test -f "$ac_dir/shtool"; then 2443 ac_aux_dir=$ac_dir 2444 ac_install_sh="$ac_aux_dir/shtool install -c" 2445 break 2446 fi 2447done 2448if test -z "$ac_aux_dir"; then 2449 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2450fi 2451 2452# These three variables are undocumented and unsupported, 2453# and are intended to be withdrawn in a future Autoconf release. 2454# They can cause serious problems if a builder's source tree is in a directory 2455# whose full name contains unusual characters. 2456ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2457ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2458ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2459 2460 2461# Find a good install program. We prefer a C program (faster), 2462# so one script is as good as another. But avoid the broken or 2463# incompatible versions: 2464# SysV /etc/install, /usr/sbin/install 2465# SunOS /usr/etc/install 2466# IRIX /sbin/install 2467# AIX /bin/install 2468# AmigaOS /C/install, which installs bootblocks on floppy discs 2469# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2470# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2471# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2472# OS/2's system install, which has a completely different semantic 2473# ./install, which can be erroneously created by make from ./install.sh. 2474# Reject install programs that cannot install multiple files. 2475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2476$as_echo_n "checking for a BSD-compatible install... " >&6; } 2477if test -z "$INSTALL"; then 2478if ${ac_cv_path_install+:} false; then : 2479 $as_echo_n "(cached) " >&6 2480else 2481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2482for as_dir in $PATH 2483do 2484 IFS=$as_save_IFS 2485 test -z "$as_dir" && as_dir=. 2486 # Account for people who put trailing slashes in PATH elements. 2487case $as_dir/ in #(( 2488 ./ | .// | /[cC]/* | \ 2489 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2490 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2491 /usr/ucb/* ) ;; 2492 *) 2493 # OSF1 and SCO ODT 3.0 have their own names for install. 2494 # Don't use installbsd from OSF since it installs stuff as root 2495 # by default. 2496 for ac_prog in ginstall scoinst install; do 2497 for ac_exec_ext in '' $ac_executable_extensions; do 2498 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2499 if test $ac_prog = install && 2500 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2501 # AIX install. It has an incompatible calling convention. 2502 : 2503 elif test $ac_prog = install && 2504 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2505 # program-specific install script used by HP pwplus--don't use. 2506 : 2507 else 2508 rm -rf conftest.one conftest.two conftest.dir 2509 echo one > conftest.one 2510 echo two > conftest.two 2511 mkdir conftest.dir 2512 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2513 test -s conftest.one && test -s conftest.two && 2514 test -s conftest.dir/conftest.one && 2515 test -s conftest.dir/conftest.two 2516 then 2517 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2518 break 3 2519 fi 2520 fi 2521 fi 2522 done 2523 done 2524 ;; 2525esac 2526 2527 done 2528IFS=$as_save_IFS 2529 2530rm -rf conftest.one conftest.two conftest.dir 2531 2532fi 2533 if test "${ac_cv_path_install+set}" = set; then 2534 INSTALL=$ac_cv_path_install 2535 else 2536 # As a last resort, use the slow shell script. Don't cache a 2537 # value for INSTALL within a source directory, because that will 2538 # break other packages using the cache if that directory is 2539 # removed, or if the value is a relative name. 2540 INSTALL=$ac_install_sh 2541 fi 2542fi 2543{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2544$as_echo "$INSTALL" >&6; } 2545 2546# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2547# It thinks the first close brace ends the variable substitution. 2548test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2549 2550test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2551 2552test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2553 2554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2555$as_echo_n "checking whether build environment is sane... " >&6; } 2556# Reject unsafe characters in $srcdir or the absolute working directory 2557# name. Accept space and tab only in the latter. 2558am_lf=' 2559' 2560case `pwd` in 2561 *[\\\"\#\$\&\'\`$am_lf]*) 2562 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2563esac 2564case $srcdir in 2565 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2566 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2567esac 2568 2569# Do 'set' in a subshell so we don't clobber the current shell's 2570# arguments. Must try -L first in case configure is actually a 2571# symlink; some systems play weird games with the mod time of symlinks 2572# (eg FreeBSD returns the mod time of the symlink's containing 2573# directory). 2574if ( 2575 am_has_slept=no 2576 for am_try in 1 2; do 2577 echo "timestamp, slept: $am_has_slept" > conftest.file 2578 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2579 if test "$*" = "X"; then 2580 # -L didn't work. 2581 set X `ls -t "$srcdir/configure" conftest.file` 2582 fi 2583 if test "$*" != "X $srcdir/configure conftest.file" \ 2584 && test "$*" != "X conftest.file $srcdir/configure"; then 2585 2586 # If neither matched, then we have a broken ls. This can happen 2587 # if, for instance, CONFIG_SHELL is bash and it inherits a 2588 # broken ls alias from the environment. This has actually 2589 # happened. Such a system could not be considered "sane". 2590 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2591 alias in your environment" "$LINENO" 5 2592 fi 2593 if test "$2" = conftest.file || test $am_try -eq 2; then 2594 break 2595 fi 2596 # Just in case. 2597 sleep 1 2598 am_has_slept=yes 2599 done 2600 test "$2" = conftest.file 2601 ) 2602then 2603 # Ok. 2604 : 2605else 2606 as_fn_error $? "newly created file is older than distributed files! 2607Check your system clock" "$LINENO" 5 2608fi 2609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2610$as_echo "yes" >&6; } 2611# If we didn't sleep, we still need to ensure time stamps of config.status and 2612# generated files are strictly newer. 2613am_sleep_pid= 2614if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2615 ( sleep 1 ) & 2616 am_sleep_pid=$! 2617fi 2618 2619rm -f conftest.file 2620 2621test "$program_prefix" != NONE && 2622 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2623# Use a double $ so make ignores it. 2624test "$program_suffix" != NONE && 2625 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2626# Double any \ or $. 2627# By default was `s,x,x', remove it if useless. 2628ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2629program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2630 2631# Expand $ac_aux_dir to an absolute path. 2632am_aux_dir=`cd "$ac_aux_dir" && pwd` 2633 2634if test x"${MISSING+set}" != xset; then 2635 case $am_aux_dir in 2636 *\ * | *\ *) 2637 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2638 *) 2639 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2640 esac 2641fi 2642# Use eval to expand $SHELL 2643if eval "$MISSING --is-lightweight"; then 2644 am_missing_run="$MISSING " 2645else 2646 am_missing_run= 2647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2648$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2649fi 2650 2651if test x"${install_sh+set}" != xset; then 2652 case $am_aux_dir in 2653 *\ * | *\ *) 2654 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2655 *) 2656 install_sh="\${SHELL} $am_aux_dir/install-sh" 2657 esac 2658fi 2659 2660# Installed binaries are usually stripped using 'strip' when the user 2661# run "make install-strip". However 'strip' might not be the right 2662# tool to use in cross-compilation environments, therefore Automake 2663# will honor the 'STRIP' environment variable to overrule this program. 2664if test "$cross_compiling" != no; then 2665 if test -n "$ac_tool_prefix"; then 2666 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2667set dummy ${ac_tool_prefix}strip; ac_word=$2 2668{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2669$as_echo_n "checking for $ac_word... " >&6; } 2670if ${ac_cv_prog_STRIP+:} false; then : 2671 $as_echo_n "(cached) " >&6 2672else 2673 if test -n "$STRIP"; then 2674 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2675else 2676as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2677for as_dir in $PATH 2678do 2679 IFS=$as_save_IFS 2680 test -z "$as_dir" && as_dir=. 2681 for ac_exec_ext in '' $ac_executable_extensions; do 2682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2683 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2685 break 2 2686 fi 2687done 2688 done 2689IFS=$as_save_IFS 2690 2691fi 2692fi 2693STRIP=$ac_cv_prog_STRIP 2694if test -n "$STRIP"; then 2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2696$as_echo "$STRIP" >&6; } 2697else 2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2699$as_echo "no" >&6; } 2700fi 2701 2702 2703fi 2704if test -z "$ac_cv_prog_STRIP"; then 2705 ac_ct_STRIP=$STRIP 2706 # Extract the first word of "strip", so it can be a program name with args. 2707set dummy strip; ac_word=$2 2708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2709$as_echo_n "checking for $ac_word... " >&6; } 2710if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2711 $as_echo_n "(cached) " >&6 2712else 2713 if test -n "$ac_ct_STRIP"; then 2714 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2715else 2716as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2717for as_dir in $PATH 2718do 2719 IFS=$as_save_IFS 2720 test -z "$as_dir" && as_dir=. 2721 for ac_exec_ext in '' $ac_executable_extensions; do 2722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2723 ac_cv_prog_ac_ct_STRIP="strip" 2724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2725 break 2 2726 fi 2727done 2728 done 2729IFS=$as_save_IFS 2730 2731fi 2732fi 2733ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2734if test -n "$ac_ct_STRIP"; then 2735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2736$as_echo "$ac_ct_STRIP" >&6; } 2737else 2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2739$as_echo "no" >&6; } 2740fi 2741 2742 if test "x$ac_ct_STRIP" = x; then 2743 STRIP=":" 2744 else 2745 case $cross_compiling:$ac_tool_warned in 2746yes:) 2747{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2748$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2749ac_tool_warned=yes ;; 2750esac 2751 STRIP=$ac_ct_STRIP 2752 fi 2753else 2754 STRIP="$ac_cv_prog_STRIP" 2755fi 2756 2757fi 2758INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2759 2760{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2761$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2762if test -z "$MKDIR_P"; then 2763 if ${ac_cv_path_mkdir+:} false; then : 2764 $as_echo_n "(cached) " >&6 2765else 2766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2767for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2768do 2769 IFS=$as_save_IFS 2770 test -z "$as_dir" && as_dir=. 2771 for ac_prog in mkdir gmkdir; do 2772 for ac_exec_ext in '' $ac_executable_extensions; do 2773 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2774 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2775 'mkdir (GNU coreutils) '* | \ 2776 'mkdir (coreutils) '* | \ 2777 'mkdir (fileutils) '4.1*) 2778 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2779 break 3;; 2780 esac 2781 done 2782 done 2783 done 2784IFS=$as_save_IFS 2785 2786fi 2787 2788 test -d ./--version && rmdir ./--version 2789 if test "${ac_cv_path_mkdir+set}" = set; then 2790 MKDIR_P="$ac_cv_path_mkdir -p" 2791 else 2792 # As a last resort, use the slow shell script. Don't cache a 2793 # value for MKDIR_P within a source directory, because that will 2794 # break other packages using the cache if that directory is 2795 # removed, or if the value is a relative name. 2796 MKDIR_P="$ac_install_sh -d" 2797 fi 2798fi 2799{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2800$as_echo "$MKDIR_P" >&6; } 2801 2802for ac_prog in gawk mawk nawk awk 2803do 2804 # Extract the first word of "$ac_prog", so it can be a program name with args. 2805set dummy $ac_prog; ac_word=$2 2806{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2807$as_echo_n "checking for $ac_word... " >&6; } 2808if ${ac_cv_prog_AWK+:} false; then : 2809 $as_echo_n "(cached) " >&6 2810else 2811 if test -n "$AWK"; then 2812 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2813else 2814as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2815for as_dir in $PATH 2816do 2817 IFS=$as_save_IFS 2818 test -z "$as_dir" && as_dir=. 2819 for ac_exec_ext in '' $ac_executable_extensions; do 2820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2821 ac_cv_prog_AWK="$ac_prog" 2822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2823 break 2 2824 fi 2825done 2826 done 2827IFS=$as_save_IFS 2828 2829fi 2830fi 2831AWK=$ac_cv_prog_AWK 2832if test -n "$AWK"; then 2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2834$as_echo "$AWK" >&6; } 2835else 2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2837$as_echo "no" >&6; } 2838fi 2839 2840 2841 test -n "$AWK" && break 2842done 2843 2844{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2845$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2846set x ${MAKE-make} 2847ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2848if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2849 $as_echo_n "(cached) " >&6 2850else 2851 cat >conftest.make <<\_ACEOF 2852SHELL = /bin/sh 2853all: 2854 @echo '@@@%%%=$(MAKE)=@@@%%%' 2855_ACEOF 2856# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2857case `${MAKE-make} -f conftest.make 2>/dev/null` in 2858 *@@@%%%=?*=@@@%%%*) 2859 eval ac_cv_prog_make_${ac_make}_set=yes;; 2860 *) 2861 eval ac_cv_prog_make_${ac_make}_set=no;; 2862esac 2863rm -f conftest.make 2864fi 2865if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2867$as_echo "yes" >&6; } 2868 SET_MAKE= 2869else 2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2871$as_echo "no" >&6; } 2872 SET_MAKE="MAKE=${MAKE-make}" 2873fi 2874 2875rm -rf .tst 2>/dev/null 2876mkdir .tst 2>/dev/null 2877if test -d .tst; then 2878 am__leading_dot=. 2879else 2880 am__leading_dot=_ 2881fi 2882rmdir .tst 2>/dev/null 2883 2884if test "`cd $srcdir && pwd`" != "`pwd`"; then 2885 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2886 # is not polluted with repeated "-I." 2887 am__isrc=' -I$(srcdir)' 2888 # test to see if srcdir already configured 2889 if test -f $srcdir/config.status; then 2890 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2891 fi 2892fi 2893 2894# test whether we have cygpath 2895if test -z "$CYGPATH_W"; then 2896 if (cygpath --version) >/dev/null 2>/dev/null; then 2897 CYGPATH_W='cygpath -w' 2898 else 2899 CYGPATH_W=echo 2900 fi 2901fi 2902 2903 2904# Define the identity of the package. 2905 PACKAGE='xfce4-notifyd' 2906 VERSION='0.6.2' 2907 2908 2909cat >>confdefs.h <<_ACEOF 2910#define PACKAGE "$PACKAGE" 2911_ACEOF 2912 2913 2914cat >>confdefs.h <<_ACEOF 2915#define VERSION "$VERSION" 2916_ACEOF 2917 2918# Some tools Automake needs. 2919 2920ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2921 2922 2923AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2924 2925 2926AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2927 2928 2929AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2930 2931 2932MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2933 2934# For better backward compatibility. To be removed once Automake 1.9.x 2935# dies out for good. For more background, see: 2936# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2937# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2938mkdir_p='$(MKDIR_P)' 2939 2940# We need awk for the "check" target (and possibly the TAP driver). The 2941# system "awk" is bad on some platforms. 2942# Always define AMTAR for backward compatibility. Yes, it's still used 2943# in the wild :-( We should find a proper way to deprecate it ... 2944AMTAR='$${TAR-tar}' 2945 2946 2947# We'll loop over all known methods to create a tar archive until one works. 2948_am_tools='gnutar plaintar pax cpio none' 2949 2950# The POSIX 1988 'ustar' format is defined with fixed-size fields. 2951 # There is notably a 21 bits limit for the UID and the GID. In fact, 2952 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 2953 # and bug#13588). 2954 am_max_uid=2097151 # 2^21 - 1 2955 am_max_gid=$am_max_uid 2956 # The $UID and $GID variables are not portable, so we need to resort 2957 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 2958 # below are definitely unexpected, so allow the users to see them 2959 # (that is, avoid stderr redirection). 2960 am_uid=`id -u || echo unknown` 2961 am_gid=`id -g || echo unknown` 2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 2963$as_echo_n "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 2964 if test $am_uid -le $am_max_uid; then 2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2966$as_echo "yes" >&6; } 2967 else 2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2969$as_echo "no" >&6; } 2970 _am_tools=none 2971 fi 2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 2973$as_echo_n "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 2974 if test $am_gid -le $am_max_gid; then 2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2976$as_echo "yes" >&6; } 2977 else 2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2979$as_echo "no" >&6; } 2980 _am_tools=none 2981 fi 2982 2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 2984$as_echo_n "checking how to create a ustar tar archive... " >&6; } 2985 2986 # Go ahead even if we have the value already cached. We do so because we 2987 # need to set the values for the 'am__tar' and 'am__untar' variables. 2988 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 2989 2990 for _am_tool in $_am_tools; do 2991 case $_am_tool in 2992 gnutar) 2993 for _am_tar in tar gnutar gtar; do 2994 { echo "$as_me:$LINENO: $_am_tar --version" >&5 2995 ($_am_tar --version) >&5 2>&5 2996 ac_status=$? 2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2998 (exit $ac_status); } && break 2999 done 3000 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 3001 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 3002 am__untar="$_am_tar -xf -" 3003 ;; 3004 plaintar) 3005 # Must skip GNU tar: if it does not support --format= it doesn't create 3006 # ustar tarball either. 3007 (tar --version) >/dev/null 2>&1 && continue 3008 am__tar='tar chf - "$$tardir"' 3009 am__tar_='tar chf - "$tardir"' 3010 am__untar='tar xf -' 3011 ;; 3012 pax) 3013 am__tar='pax -L -x ustar -w "$$tardir"' 3014 am__tar_='pax -L -x ustar -w "$tardir"' 3015 am__untar='pax -r' 3016 ;; 3017 cpio) 3018 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3019 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3020 am__untar='cpio -i -H ustar -d' 3021 ;; 3022 none) 3023 am__tar=false 3024 am__tar_=false 3025 am__untar=false 3026 ;; 3027 esac 3028 3029 # If the value was cached, stop now. We just wanted to have am__tar 3030 # and am__untar set. 3031 test -n "${am_cv_prog_tar_ustar}" && break 3032 3033 # tar/untar a dummy directory, and stop if the command works. 3034 rm -rf conftest.dir 3035 mkdir conftest.dir 3036 echo GrepMe > conftest.dir/file 3037 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3038 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3039 ac_status=$? 3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3041 (exit $ac_status); } 3042 rm -rf conftest.dir 3043 if test -s conftest.tar; then 3044 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3045 ($am__untar <conftest.tar) >&5 2>&5 3046 ac_status=$? 3047 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3048 (exit $ac_status); } 3049 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 3050 (cat conftest.dir/file) >&5 2>&5 3051 ac_status=$? 3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3053 (exit $ac_status); } 3054 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3055 fi 3056 done 3057 rm -rf conftest.dir 3058 3059 if ${am_cv_prog_tar_ustar+:} false; then : 3060 $as_echo_n "(cached) " >&6 3061else 3062 am_cv_prog_tar_ustar=$_am_tool 3063fi 3064 3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 3066$as_echo "$am_cv_prog_tar_ustar" >&6; } 3067 3068 3069 3070 3071 3072 3073# POSIX will say in a future version that running "rm -f" with no argument 3074# is OK; and we want to be able to make that assumption in our Makefile 3075# recipes. So use an aggressive probe to check that the usage we want is 3076# actually supported "in the wild" to an acceptable degree. 3077# See automake bug#10828. 3078# To make any issue more visible, cause the running configure to be aborted 3079# by default if the 'rm' program in use doesn't match our expectations; the 3080# user can still override this though. 3081if rm -f && rm -fr && rm -rf; then : OK; else 3082 cat >&2 <<'END' 3083Oops! 3084 3085Your 'rm' program seems unable to run without file operands specified 3086on the command line, even when the '-f' option is present. This is contrary 3087to the behaviour of most rm programs out there, and not conforming with 3088the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3089 3090Please tell bug-automake@gnu.org about your system, including the value 3091of your $PATH and any error possibly output before this message. This 3092can help us improve future automake versions. 3093 3094END 3095 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3096 echo 'Configuration will proceed anyway, since you have set the' >&2 3097 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3098 echo >&2 3099 else 3100 cat >&2 <<'END' 3101Aborting the configuration process, to ensure you take notice of the issue. 3102 3103You can download and install GNU coreutils to get an 'rm' implementation 3104that behaves properly: <https://www.gnu.org/software/coreutils/>. 3105 3106If you want to complete the configuration process using your problematic 3107'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3108to "yes", and re-run configure. 3109 3110END 3111 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3112 fi 3113fi 3114 3115 3116{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3117$as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3118 # Check whether --enable-maintainer-mode was given. 3119if test "${enable_maintainer_mode+set}" = set; then : 3120 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3121else 3122 USE_MAINTAINER_MODE=no 3123fi 3124 3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3126$as_echo "$USE_MAINTAINER_MODE" >&6; } 3127 if test $USE_MAINTAINER_MODE = yes; then 3128 MAINTAINER_MODE_TRUE= 3129 MAINTAINER_MODE_FALSE='#' 3130else 3131 MAINTAINER_MODE_TRUE='#' 3132 MAINTAINER_MODE_FALSE= 3133fi 3134 3135 MAINT=$MAINTAINER_MODE_TRUE 3136 3137 3138 3139 3140# Check whether --with-helper-path-prefix was given. 3141if test "${with_helper_path_prefix+set}" = set; then : 3142 withval=$with_helper_path_prefix; HELPER_PATH_PREFIX="$withval" 3143else 3144 HELPER_PATH_PREFIX="$libdir" 3145fi 3146 3147 3148 3149DEPDIR="${am__leading_dot}deps" 3150 3151ac_config_commands="$ac_config_commands depfiles" 3152 3153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3154$as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; } 3155cat > confinc.mk << 'END' 3156am__doit: 3157 @echo this is the am__doit target >confinc.out 3158.PHONY: am__doit 3159END 3160am__include="#" 3161am__quote= 3162# BSD make does it like this. 3163echo '.include "confinc.mk" # ignored' > confmf.BSD 3164# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3165echo 'include confinc.mk # ignored' > confmf.GNU 3166_am_result=no 3167for s in GNU BSD; do 3168 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3169 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3170 ac_status=$? 3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3172 (exit $ac_status); } 3173 case $?:`cat confinc.out 2>/dev/null` in #( 3174 '0:this is the am__doit target') : 3175 case $s in #( 3176 BSD) : 3177 am__include='.include' am__quote='"' ;; #( 3178 *) : 3179 am__include='include' am__quote='' ;; 3180esac ;; #( 3181 *) : 3182 ;; 3183esac 3184 if test "$am__include" != "#"; then 3185 _am_result="yes ($s style)" 3186 break 3187 fi 3188done 3189rm -f confinc.* confmf.* 3190{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3191$as_echo "${_am_result}" >&6; } 3192 3193# Check whether --enable-dependency-tracking was given. 3194if test "${enable_dependency_tracking+set}" = set; then : 3195 enableval=$enable_dependency_tracking; 3196fi 3197 3198if test "x$enable_dependency_tracking" != xno; then 3199 am_depcomp="$ac_aux_dir/depcomp" 3200 AMDEPBACKSLASH='\' 3201 am__nodep='_no' 3202fi 3203 if test "x$enable_dependency_tracking" != xno; then 3204 AMDEP_TRUE= 3205 AMDEP_FALSE='#' 3206else 3207 AMDEP_TRUE='#' 3208 AMDEP_FALSE= 3209fi 3210 3211 3212ac_ext=c 3213ac_cpp='$CPP $CPPFLAGS' 3214ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3215ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3216ac_compiler_gnu=$ac_cv_c_compiler_gnu 3217if test -n "$ac_tool_prefix"; then 3218 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3219set dummy ${ac_tool_prefix}gcc; ac_word=$2 3220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3221$as_echo_n "checking for $ac_word... " >&6; } 3222if ${ac_cv_prog_CC+:} false; then : 3223 $as_echo_n "(cached) " >&6 3224else 3225 if test -n "$CC"; then 3226 ac_cv_prog_CC="$CC" # Let the user override the test. 3227else 3228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3229for as_dir in $PATH 3230do 3231 IFS=$as_save_IFS 3232 test -z "$as_dir" && as_dir=. 3233 for ac_exec_ext in '' $ac_executable_extensions; do 3234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3235 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3237 break 2 3238 fi 3239done 3240 done 3241IFS=$as_save_IFS 3242 3243fi 3244fi 3245CC=$ac_cv_prog_CC 3246if test -n "$CC"; then 3247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3248$as_echo "$CC" >&6; } 3249else 3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3251$as_echo "no" >&6; } 3252fi 3253 3254 3255fi 3256if test -z "$ac_cv_prog_CC"; then 3257 ac_ct_CC=$CC 3258 # Extract the first word of "gcc", so it can be a program name with args. 3259set dummy gcc; ac_word=$2 3260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3261$as_echo_n "checking for $ac_word... " >&6; } 3262if ${ac_cv_prog_ac_ct_CC+:} false; then : 3263 $as_echo_n "(cached) " >&6 3264else 3265 if test -n "$ac_ct_CC"; then 3266 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3267else 3268as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3269for as_dir in $PATH 3270do 3271 IFS=$as_save_IFS 3272 test -z "$as_dir" && as_dir=. 3273 for ac_exec_ext in '' $ac_executable_extensions; do 3274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3275 ac_cv_prog_ac_ct_CC="gcc" 3276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3277 break 2 3278 fi 3279done 3280 done 3281IFS=$as_save_IFS 3282 3283fi 3284fi 3285ac_ct_CC=$ac_cv_prog_ac_ct_CC 3286if test -n "$ac_ct_CC"; then 3287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3288$as_echo "$ac_ct_CC" >&6; } 3289else 3290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3291$as_echo "no" >&6; } 3292fi 3293 3294 if test "x$ac_ct_CC" = x; then 3295 CC="" 3296 else 3297 case $cross_compiling:$ac_tool_warned in 3298yes:) 3299{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3300$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3301ac_tool_warned=yes ;; 3302esac 3303 CC=$ac_ct_CC 3304 fi 3305else 3306 CC="$ac_cv_prog_CC" 3307fi 3308 3309if test -z "$CC"; then 3310 if test -n "$ac_tool_prefix"; then 3311 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3312set dummy ${ac_tool_prefix}cc; ac_word=$2 3313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3314$as_echo_n "checking for $ac_word... " >&6; } 3315if ${ac_cv_prog_CC+:} false; then : 3316 $as_echo_n "(cached) " >&6 3317else 3318 if test -n "$CC"; then 3319 ac_cv_prog_CC="$CC" # Let the user override the test. 3320else 3321as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3322for as_dir in $PATH 3323do 3324 IFS=$as_save_IFS 3325 test -z "$as_dir" && as_dir=. 3326 for ac_exec_ext in '' $ac_executable_extensions; do 3327 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3328 ac_cv_prog_CC="${ac_tool_prefix}cc" 3329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3330 break 2 3331 fi 3332done 3333 done 3334IFS=$as_save_IFS 3335 3336fi 3337fi 3338CC=$ac_cv_prog_CC 3339if test -n "$CC"; then 3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3341$as_echo "$CC" >&6; } 3342else 3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3344$as_echo "no" >&6; } 3345fi 3346 3347 3348 fi 3349fi 3350if test -z "$CC"; then 3351 # Extract the first word of "cc", so it can be a program name with args. 3352set dummy cc; ac_word=$2 3353{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3354$as_echo_n "checking for $ac_word... " >&6; } 3355if ${ac_cv_prog_CC+:} false; then : 3356 $as_echo_n "(cached) " >&6 3357else 3358 if test -n "$CC"; then 3359 ac_cv_prog_CC="$CC" # Let the user override the test. 3360else 3361 ac_prog_rejected=no 3362as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3363for as_dir in $PATH 3364do 3365 IFS=$as_save_IFS 3366 test -z "$as_dir" && as_dir=. 3367 for ac_exec_ext in '' $ac_executable_extensions; do 3368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3369 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3370 ac_prog_rejected=yes 3371 continue 3372 fi 3373 ac_cv_prog_CC="cc" 3374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3375 break 2 3376 fi 3377done 3378 done 3379IFS=$as_save_IFS 3380 3381if test $ac_prog_rejected = yes; then 3382 # We found a bogon in the path, so make sure we never use it. 3383 set dummy $ac_cv_prog_CC 3384 shift 3385 if test $# != 0; then 3386 # We chose a different compiler from the bogus one. 3387 # However, it has the same basename, so the bogon will be chosen 3388 # first if we set CC to just the basename; use the full file name. 3389 shift 3390 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3391 fi 3392fi 3393fi 3394fi 3395CC=$ac_cv_prog_CC 3396if test -n "$CC"; then 3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3398$as_echo "$CC" >&6; } 3399else 3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3401$as_echo "no" >&6; } 3402fi 3403 3404 3405fi 3406if test -z "$CC"; then 3407 if test -n "$ac_tool_prefix"; then 3408 for ac_prog in cl.exe 3409 do 3410 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3411set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3412{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3413$as_echo_n "checking for $ac_word... " >&6; } 3414if ${ac_cv_prog_CC+:} false; then : 3415 $as_echo_n "(cached) " >&6 3416else 3417 if test -n "$CC"; then 3418 ac_cv_prog_CC="$CC" # Let the user override the test. 3419else 3420as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3421for as_dir in $PATH 3422do 3423 IFS=$as_save_IFS 3424 test -z "$as_dir" && as_dir=. 3425 for ac_exec_ext in '' $ac_executable_extensions; do 3426 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3427 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3429 break 2 3430 fi 3431done 3432 done 3433IFS=$as_save_IFS 3434 3435fi 3436fi 3437CC=$ac_cv_prog_CC 3438if test -n "$CC"; then 3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3440$as_echo "$CC" >&6; } 3441else 3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3443$as_echo "no" >&6; } 3444fi 3445 3446 3447 test -n "$CC" && break 3448 done 3449fi 3450if test -z "$CC"; then 3451 ac_ct_CC=$CC 3452 for ac_prog in cl.exe 3453do 3454 # Extract the first word of "$ac_prog", so it can be a program name with args. 3455set dummy $ac_prog; ac_word=$2 3456{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3457$as_echo_n "checking for $ac_word... " >&6; } 3458if ${ac_cv_prog_ac_ct_CC+:} false; then : 3459 $as_echo_n "(cached) " >&6 3460else 3461 if test -n "$ac_ct_CC"; then 3462 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3463else 3464as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3465for as_dir in $PATH 3466do 3467 IFS=$as_save_IFS 3468 test -z "$as_dir" && as_dir=. 3469 for ac_exec_ext in '' $ac_executable_extensions; do 3470 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3471 ac_cv_prog_ac_ct_CC="$ac_prog" 3472 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3473 break 2 3474 fi 3475done 3476 done 3477IFS=$as_save_IFS 3478 3479fi 3480fi 3481ac_ct_CC=$ac_cv_prog_ac_ct_CC 3482if test -n "$ac_ct_CC"; then 3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3484$as_echo "$ac_ct_CC" >&6; } 3485else 3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3487$as_echo "no" >&6; } 3488fi 3489 3490 3491 test -n "$ac_ct_CC" && break 3492done 3493 3494 if test "x$ac_ct_CC" = x; then 3495 CC="" 3496 else 3497 case $cross_compiling:$ac_tool_warned in 3498yes:) 3499{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3500$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3501ac_tool_warned=yes ;; 3502esac 3503 CC=$ac_ct_CC 3504 fi 3505fi 3506 3507fi 3508 3509 3510test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3511$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3512as_fn_error $? "no acceptable C compiler found in \$PATH 3513See \`config.log' for more details" "$LINENO" 5; } 3514 3515# Provide some information about the compiler. 3516$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3517set X $ac_compile 3518ac_compiler=$2 3519for ac_option in --version -v -V -qversion; do 3520 { { ac_try="$ac_compiler $ac_option >&5" 3521case "(($ac_try" in 3522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3523 *) ac_try_echo=$ac_try;; 3524esac 3525eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3526$as_echo "$ac_try_echo"; } >&5 3527 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3528 ac_status=$? 3529 if test -s conftest.err; then 3530 sed '10a\ 3531... rest of stderr output deleted ... 3532 10q' conftest.err >conftest.er1 3533 cat conftest.er1 >&5 3534 fi 3535 rm -f conftest.er1 conftest.err 3536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3537 test $ac_status = 0; } 3538done 3539 3540cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3541/* end confdefs.h. */ 3542 3543int 3544main () 3545{ 3546 3547 ; 3548 return 0; 3549} 3550_ACEOF 3551ac_clean_files_save=$ac_clean_files 3552ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3553# Try to create an executable without -o first, disregard a.out. 3554# It will help us diagnose broken compilers, and finding out an intuition 3555# of exeext. 3556{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3557$as_echo_n "checking whether the C compiler works... " >&6; } 3558ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3559 3560# The possible output files: 3561ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3562 3563ac_rmfiles= 3564for ac_file in $ac_files 3565do 3566 case $ac_file in 3567 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3568 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3569 esac 3570done 3571rm -f $ac_rmfiles 3572 3573if { { ac_try="$ac_link_default" 3574case "(($ac_try" in 3575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3576 *) ac_try_echo=$ac_try;; 3577esac 3578eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3579$as_echo "$ac_try_echo"; } >&5 3580 (eval "$ac_link_default") 2>&5 3581 ac_status=$? 3582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3583 test $ac_status = 0; }; then : 3584 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3585# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3586# in a Makefile. We should not override ac_cv_exeext if it was cached, 3587# so that the user can short-circuit this test for compilers unknown to 3588# Autoconf. 3589for ac_file in $ac_files '' 3590do 3591 test -f "$ac_file" || continue 3592 case $ac_file in 3593 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3594 ;; 3595 [ab].out ) 3596 # We found the default executable, but exeext='' is most 3597 # certainly right. 3598 break;; 3599 *.* ) 3600 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3601 then :; else 3602 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3603 fi 3604 # We set ac_cv_exeext here because the later test for it is not 3605 # safe: cross compilers may not add the suffix if given an `-o' 3606 # argument, so we may need to know it at that point already. 3607 # Even if this section looks crufty: it has the advantage of 3608 # actually working. 3609 break;; 3610 * ) 3611 break;; 3612 esac 3613done 3614test "$ac_cv_exeext" = no && ac_cv_exeext= 3615 3616else 3617 ac_file='' 3618fi 3619if test -z "$ac_file"; then : 3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3621$as_echo "no" >&6; } 3622$as_echo "$as_me: failed program was:" >&5 3623sed 's/^/| /' conftest.$ac_ext >&5 3624 3625{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3626$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3627as_fn_error 77 "C compiler cannot create executables 3628See \`config.log' for more details" "$LINENO" 5; } 3629else 3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3631$as_echo "yes" >&6; } 3632fi 3633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3634$as_echo_n "checking for C compiler default output file name... " >&6; } 3635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3636$as_echo "$ac_file" >&6; } 3637ac_exeext=$ac_cv_exeext 3638 3639rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3640ac_clean_files=$ac_clean_files_save 3641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3642$as_echo_n "checking for suffix of executables... " >&6; } 3643if { { ac_try="$ac_link" 3644case "(($ac_try" in 3645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3646 *) ac_try_echo=$ac_try;; 3647esac 3648eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3649$as_echo "$ac_try_echo"; } >&5 3650 (eval "$ac_link") 2>&5 3651 ac_status=$? 3652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3653 test $ac_status = 0; }; then : 3654 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3655# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3656# work properly (i.e., refer to `conftest.exe'), while it won't with 3657# `rm'. 3658for ac_file in conftest.exe conftest conftest.*; do 3659 test -f "$ac_file" || continue 3660 case $ac_file in 3661 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3662 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3663 break;; 3664 * ) break;; 3665 esac 3666done 3667else 3668 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3669$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3670as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3671See \`config.log' for more details" "$LINENO" 5; } 3672fi 3673rm -f conftest conftest$ac_cv_exeext 3674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3675$as_echo "$ac_cv_exeext" >&6; } 3676 3677rm -f conftest.$ac_ext 3678EXEEXT=$ac_cv_exeext 3679ac_exeext=$EXEEXT 3680cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3681/* end confdefs.h. */ 3682#include <stdio.h> 3683int 3684main () 3685{ 3686FILE *f = fopen ("conftest.out", "w"); 3687 return ferror (f) || fclose (f) != 0; 3688 3689 ; 3690 return 0; 3691} 3692_ACEOF 3693ac_clean_files="$ac_clean_files conftest.out" 3694# Check that the compiler produces executables we can run. If not, either 3695# the compiler is broken, or we cross compile. 3696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3697$as_echo_n "checking whether we are cross compiling... " >&6; } 3698if test "$cross_compiling" != yes; then 3699 { { ac_try="$ac_link" 3700case "(($ac_try" in 3701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3702 *) ac_try_echo=$ac_try;; 3703esac 3704eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3705$as_echo "$ac_try_echo"; } >&5 3706 (eval "$ac_link") 2>&5 3707 ac_status=$? 3708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3709 test $ac_status = 0; } 3710 if { ac_try='./conftest$ac_cv_exeext' 3711 { { case "(($ac_try" in 3712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3713 *) ac_try_echo=$ac_try;; 3714esac 3715eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3716$as_echo "$ac_try_echo"; } >&5 3717 (eval "$ac_try") 2>&5 3718 ac_status=$? 3719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3720 test $ac_status = 0; }; }; then 3721 cross_compiling=no 3722 else 3723 if test "$cross_compiling" = maybe; then 3724 cross_compiling=yes 3725 else 3726 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3727$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3728as_fn_error $? "cannot run C compiled programs. 3729If you meant to cross compile, use \`--host'. 3730See \`config.log' for more details" "$LINENO" 5; } 3731 fi 3732 fi 3733fi 3734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3735$as_echo "$cross_compiling" >&6; } 3736 3737rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3738ac_clean_files=$ac_clean_files_save 3739{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3740$as_echo_n "checking for suffix of object files... " >&6; } 3741if ${ac_cv_objext+:} false; then : 3742 $as_echo_n "(cached) " >&6 3743else 3744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3745/* end confdefs.h. */ 3746 3747int 3748main () 3749{ 3750 3751 ; 3752 return 0; 3753} 3754_ACEOF 3755rm -f conftest.o conftest.obj 3756if { { ac_try="$ac_compile" 3757case "(($ac_try" in 3758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3759 *) ac_try_echo=$ac_try;; 3760esac 3761eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3762$as_echo "$ac_try_echo"; } >&5 3763 (eval "$ac_compile") 2>&5 3764 ac_status=$? 3765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3766 test $ac_status = 0; }; then : 3767 for ac_file in conftest.o conftest.obj conftest.*; do 3768 test -f "$ac_file" || continue; 3769 case $ac_file in 3770 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3771 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3772 break;; 3773 esac 3774done 3775else 3776 $as_echo "$as_me: failed program was:" >&5 3777sed 's/^/| /' conftest.$ac_ext >&5 3778 3779{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3780$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3781as_fn_error $? "cannot compute suffix of object files: cannot compile 3782See \`config.log' for more details" "$LINENO" 5; } 3783fi 3784rm -f conftest.$ac_cv_objext conftest.$ac_ext 3785fi 3786{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3787$as_echo "$ac_cv_objext" >&6; } 3788OBJEXT=$ac_cv_objext 3789ac_objext=$OBJEXT 3790{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3791$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3792if ${ac_cv_c_compiler_gnu+:} false; then : 3793 $as_echo_n "(cached) " >&6 3794else 3795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3796/* end confdefs.h. */ 3797 3798int 3799main () 3800{ 3801#ifndef __GNUC__ 3802 choke me 3803#endif 3804 3805 ; 3806 return 0; 3807} 3808_ACEOF 3809if ac_fn_c_try_compile "$LINENO"; then : 3810 ac_compiler_gnu=yes 3811else 3812 ac_compiler_gnu=no 3813fi 3814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3815ac_cv_c_compiler_gnu=$ac_compiler_gnu 3816 3817fi 3818{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3819$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3820if test $ac_compiler_gnu = yes; then 3821 GCC=yes 3822else 3823 GCC= 3824fi 3825ac_test_CFLAGS=${CFLAGS+set} 3826ac_save_CFLAGS=$CFLAGS 3827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3828$as_echo_n "checking whether $CC accepts -g... " >&6; } 3829if ${ac_cv_prog_cc_g+:} false; then : 3830 $as_echo_n "(cached) " >&6 3831else 3832 ac_save_c_werror_flag=$ac_c_werror_flag 3833 ac_c_werror_flag=yes 3834 ac_cv_prog_cc_g=no 3835 CFLAGS="-g" 3836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3837/* end confdefs.h. */ 3838 3839int 3840main () 3841{ 3842 3843 ; 3844 return 0; 3845} 3846_ACEOF 3847if ac_fn_c_try_compile "$LINENO"; then : 3848 ac_cv_prog_cc_g=yes 3849else 3850 CFLAGS="" 3851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3852/* end confdefs.h. */ 3853 3854int 3855main () 3856{ 3857 3858 ; 3859 return 0; 3860} 3861_ACEOF 3862if ac_fn_c_try_compile "$LINENO"; then : 3863 3864else 3865 ac_c_werror_flag=$ac_save_c_werror_flag 3866 CFLAGS="-g" 3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3868/* end confdefs.h. */ 3869 3870int 3871main () 3872{ 3873 3874 ; 3875 return 0; 3876} 3877_ACEOF 3878if ac_fn_c_try_compile "$LINENO"; then : 3879 ac_cv_prog_cc_g=yes 3880fi 3881rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3882fi 3883rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3884fi 3885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3886 ac_c_werror_flag=$ac_save_c_werror_flag 3887fi 3888{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3889$as_echo "$ac_cv_prog_cc_g" >&6; } 3890if test "$ac_test_CFLAGS" = set; then 3891 CFLAGS=$ac_save_CFLAGS 3892elif test $ac_cv_prog_cc_g = yes; then 3893 if test "$GCC" = yes; then 3894 CFLAGS="-g -O2" 3895 else 3896 CFLAGS="-g" 3897 fi 3898else 3899 if test "$GCC" = yes; then 3900 CFLAGS="-O2" 3901 else 3902 CFLAGS= 3903 fi 3904fi 3905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3906$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3907if ${ac_cv_prog_cc_c89+:} false; then : 3908 $as_echo_n "(cached) " >&6 3909else 3910 ac_cv_prog_cc_c89=no 3911ac_save_CC=$CC 3912cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3913/* end confdefs.h. */ 3914#include <stdarg.h> 3915#include <stdio.h> 3916struct stat; 3917/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3918struct buf { int x; }; 3919FILE * (*rcsopen) (struct buf *, struct stat *, int); 3920static char *e (p, i) 3921 char **p; 3922 int i; 3923{ 3924 return p[i]; 3925} 3926static char *f (char * (*g) (char **, int), char **p, ...) 3927{ 3928 char *s; 3929 va_list v; 3930 va_start (v,p); 3931 s = g (p, va_arg (v,int)); 3932 va_end (v); 3933 return s; 3934} 3935 3936/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3937 function prototypes and stuff, but not '\xHH' hex character constants. 3938 These don't provoke an error unfortunately, instead are silently treated 3939 as 'x'. The following induces an error, until -std is added to get 3940 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3941 array size at least. It's necessary to write '\x00'==0 to get something 3942 that's true only with -std. */ 3943int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3944 3945/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3946 inside strings and character constants. */ 3947#define FOO(x) 'x' 3948int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3949 3950int test (int i, double x); 3951struct s1 {int (*f) (int a);}; 3952struct s2 {int (*f) (double a);}; 3953int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3954int argc; 3955char **argv; 3956int 3957main () 3958{ 3959return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3960 ; 3961 return 0; 3962} 3963_ACEOF 3964for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3965 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3966do 3967 CC="$ac_save_CC $ac_arg" 3968 if ac_fn_c_try_compile "$LINENO"; then : 3969 ac_cv_prog_cc_c89=$ac_arg 3970fi 3971rm -f core conftest.err conftest.$ac_objext 3972 test "x$ac_cv_prog_cc_c89" != "xno" && break 3973done 3974rm -f conftest.$ac_ext 3975CC=$ac_save_CC 3976 3977fi 3978# AC_CACHE_VAL 3979case "x$ac_cv_prog_cc_c89" in 3980 x) 3981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3982$as_echo "none needed" >&6; } ;; 3983 xno) 3984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3985$as_echo "unsupported" >&6; } ;; 3986 *) 3987 CC="$CC $ac_cv_prog_cc_c89" 3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3989$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3990esac 3991if test "x$ac_cv_prog_cc_c89" != xno; then : 3992 3993fi 3994 3995ac_ext=c 3996ac_cpp='$CPP $CPPFLAGS' 3997ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3998ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3999ac_compiler_gnu=$ac_cv_c_compiler_gnu 4000 4001ac_ext=c 4002ac_cpp='$CPP $CPPFLAGS' 4003ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4004ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4005ac_compiler_gnu=$ac_cv_c_compiler_gnu 4006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4007$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 4008if ${am_cv_prog_cc_c_o+:} false; then : 4009 $as_echo_n "(cached) " >&6 4010else 4011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4012/* end confdefs.h. */ 4013 4014int 4015main () 4016{ 4017 4018 ; 4019 return 0; 4020} 4021_ACEOF 4022 # Make sure it works both with $CC and with simple cc. 4023 # Following AC_PROG_CC_C_O, we do the test twice because some 4024 # compilers refuse to overwrite an existing .o file with -o, 4025 # though they will create one. 4026 am_cv_prog_cc_c_o=yes 4027 for am_i in 1 2; do 4028 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4029 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4030 ac_status=$? 4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4032 (exit $ac_status); } \ 4033 && test -f conftest2.$ac_objext; then 4034 : OK 4035 else 4036 am_cv_prog_cc_c_o=no 4037 break 4038 fi 4039 done 4040 rm -f core conftest* 4041 unset am_i 4042fi 4043{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4044$as_echo "$am_cv_prog_cc_c_o" >&6; } 4045if test "$am_cv_prog_cc_c_o" != yes; then 4046 # Losing compiler, so override with the script. 4047 # FIXME: It is wrong to rewrite CC. 4048 # But if we don't then we get into trouble of one sort or another. 4049 # A longer-term fix would be to have automake use am__CC in this case, 4050 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4051 CC="$am_aux_dir/compile $CC" 4052fi 4053ac_ext=c 4054ac_cpp='$CPP $CPPFLAGS' 4055ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4056ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4057ac_compiler_gnu=$ac_cv_c_compiler_gnu 4058 4059 4060depcc="$CC" am_compiler_list= 4061 4062{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4063$as_echo_n "checking dependency style of $depcc... " >&6; } 4064if ${am_cv_CC_dependencies_compiler_type+:} false; then : 4065 $as_echo_n "(cached) " >&6 4066else 4067 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4068 # We make a subdir and do the tests there. Otherwise we can end up 4069 # making bogus files that we don't know about and never remove. For 4070 # instance it was reported that on HP-UX the gcc test will end up 4071 # making a dummy file named 'D' -- because '-MD' means "put the output 4072 # in D". 4073 rm -rf conftest.dir 4074 mkdir conftest.dir 4075 # Copy depcomp to subdir because otherwise we won't find it if we're 4076 # using a relative directory. 4077 cp "$am_depcomp" conftest.dir 4078 cd conftest.dir 4079 # We will build objects and dependencies in a subdirectory because 4080 # it helps to detect inapplicable dependency modes. For instance 4081 # both Tru64's cc and ICC support -MD to output dependencies as a 4082 # side effect of compilation, but ICC will put the dependencies in 4083 # the current directory while Tru64 will put them in the object 4084 # directory. 4085 mkdir sub 4086 4087 am_cv_CC_dependencies_compiler_type=none 4088 if test "$am_compiler_list" = ""; then 4089 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4090 fi 4091 am__universal=false 4092 case " $depcc " in #( 4093 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4094 esac 4095 4096 for depmode in $am_compiler_list; do 4097 # Setup a source with many dependencies, because some compilers 4098 # like to wrap large dependency lists on column 80 (with \), and 4099 # we should not choose a depcomp mode which is confused by this. 4100 # 4101 # We need to recreate these files for each test, as the compiler may 4102 # overwrite some of them when testing with obscure command lines. 4103 # This happens at least with the AIX C compiler. 4104 : > sub/conftest.c 4105 for i in 1 2 3 4 5 6; do 4106 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4107 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4108 # Solaris 10 /bin/sh. 4109 echo '/* dummy */' > sub/conftst$i.h 4110 done 4111 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4112 4113 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4114 # mode. It turns out that the SunPro C++ compiler does not properly 4115 # handle '-M -o', and we need to detect this. Also, some Intel 4116 # versions had trouble with output in subdirs. 4117 am__obj=sub/conftest.${OBJEXT-o} 4118 am__minus_obj="-o $am__obj" 4119 case $depmode in 4120 gcc) 4121 # This depmode causes a compiler race in universal mode. 4122 test "$am__universal" = false || continue 4123 ;; 4124 nosideeffect) 4125 # After this tag, mechanisms are not by side-effect, so they'll 4126 # only be used when explicitly requested. 4127 if test "x$enable_dependency_tracking" = xyes; then 4128 continue 4129 else 4130 break 4131 fi 4132 ;; 4133 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4134 # This compiler won't grok '-c -o', but also, the minuso test has 4135 # not run yet. These depmodes are late enough in the game, and 4136 # so weak that their functioning should not be impacted. 4137 am__obj=conftest.${OBJEXT-o} 4138 am__minus_obj= 4139 ;; 4140 none) break ;; 4141 esac 4142 if depmode=$depmode \ 4143 source=sub/conftest.c object=$am__obj \ 4144 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4145 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4146 >/dev/null 2>conftest.err && 4147 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4148 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4149 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4150 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4151 # icc doesn't choke on unknown options, it will just issue warnings 4152 # or remarks (even with -Werror). So we grep stderr for any message 4153 # that says an option was ignored or not supported. 4154 # When given -MP, icc 7.0 and 7.1 complain thusly: 4155 # icc: Command line warning: ignoring option '-M'; no argument required 4156 # The diagnosis changed in icc 8.0: 4157 # icc: Command line remark: option '-MP' not supported 4158 if (grep 'ignoring option' conftest.err || 4159 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4160 am_cv_CC_dependencies_compiler_type=$depmode 4161 break 4162 fi 4163 fi 4164 done 4165 4166 cd .. 4167 rm -rf conftest.dir 4168else 4169 am_cv_CC_dependencies_compiler_type=none 4170fi 4171 4172fi 4173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4174$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 4175CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4176 4177 if 4178 test "x$enable_dependency_tracking" != xno \ 4179 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4180 am__fastdepCC_TRUE= 4181 am__fastdepCC_FALSE='#' 4182else 4183 am__fastdepCC_TRUE='#' 4184 am__fastdepCC_FALSE= 4185fi 4186 4187 4188 4189ac_ext=c 4190ac_cpp='$CPP $CPPFLAGS' 4191ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4192ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4193ac_compiler_gnu=$ac_cv_c_compiler_gnu 4194{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4195$as_echo_n "checking how to run the C preprocessor... " >&6; } 4196# On Suns, sometimes $CPP names a directory. 4197if test -n "$CPP" && test -d "$CPP"; then 4198 CPP= 4199fi 4200if test -z "$CPP"; then 4201 if ${ac_cv_prog_CPP+:} false; then : 4202 $as_echo_n "(cached) " >&6 4203else 4204 # Double quotes because CPP needs to be expanded 4205 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4206 do 4207 ac_preproc_ok=false 4208for ac_c_preproc_warn_flag in '' yes 4209do 4210 # Use a header file that comes with gcc, so configuring glibc 4211 # with a fresh cross-compiler works. 4212 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4213 # <limits.h> exists even on freestanding compilers. 4214 # On the NeXT, cc -E runs the code through the compiler's parser, 4215 # not just through cpp. "Syntax error" is here to catch this case. 4216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4217/* end confdefs.h. */ 4218#ifdef __STDC__ 4219# include <limits.h> 4220#else 4221# include <assert.h> 4222#endif 4223 Syntax error 4224_ACEOF 4225if ac_fn_c_try_cpp "$LINENO"; then : 4226 4227else 4228 # Broken: fails on valid input. 4229continue 4230fi 4231rm -f conftest.err conftest.i conftest.$ac_ext 4232 4233 # OK, works on sane cases. Now check whether nonexistent headers 4234 # can be detected and how. 4235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4236/* end confdefs.h. */ 4237#include <ac_nonexistent.h> 4238_ACEOF 4239if ac_fn_c_try_cpp "$LINENO"; then : 4240 # Broken: success on invalid input. 4241continue 4242else 4243 # Passes both tests. 4244ac_preproc_ok=: 4245break 4246fi 4247rm -f conftest.err conftest.i conftest.$ac_ext 4248 4249done 4250# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4251rm -f conftest.i conftest.err conftest.$ac_ext 4252if $ac_preproc_ok; then : 4253 break 4254fi 4255 4256 done 4257 ac_cv_prog_CPP=$CPP 4258 4259fi 4260 CPP=$ac_cv_prog_CPP 4261else 4262 ac_cv_prog_CPP=$CPP 4263fi 4264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4265$as_echo "$CPP" >&6; } 4266ac_preproc_ok=false 4267for ac_c_preproc_warn_flag in '' yes 4268do 4269 # Use a header file that comes with gcc, so configuring glibc 4270 # with a fresh cross-compiler works. 4271 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4272 # <limits.h> exists even on freestanding compilers. 4273 # On the NeXT, cc -E runs the code through the compiler's parser, 4274 # not just through cpp. "Syntax error" is here to catch this case. 4275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4276/* end confdefs.h. */ 4277#ifdef __STDC__ 4278# include <limits.h> 4279#else 4280# include <assert.h> 4281#endif 4282 Syntax error 4283_ACEOF 4284if ac_fn_c_try_cpp "$LINENO"; then : 4285 4286else 4287 # Broken: fails on valid input. 4288continue 4289fi 4290rm -f conftest.err conftest.i conftest.$ac_ext 4291 4292 # OK, works on sane cases. Now check whether nonexistent headers 4293 # can be detected and how. 4294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4295/* end confdefs.h. */ 4296#include <ac_nonexistent.h> 4297_ACEOF 4298if ac_fn_c_try_cpp "$LINENO"; then : 4299 # Broken: success on invalid input. 4300continue 4301else 4302 # Passes both tests. 4303ac_preproc_ok=: 4304break 4305fi 4306rm -f conftest.err conftest.i conftest.$ac_ext 4307 4308done 4309# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4310rm -f conftest.i conftest.err conftest.$ac_ext 4311if $ac_preproc_ok; then : 4312 4313else 4314 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4315$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4316as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4317See \`config.log' for more details" "$LINENO" 5; } 4318fi 4319 4320ac_ext=c 4321ac_cpp='$CPP $CPPFLAGS' 4322ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4323ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4324ac_compiler_gnu=$ac_cv_c_compiler_gnu 4325 4326 4327{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4328$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4329if ${ac_cv_path_GREP+:} false; then : 4330 $as_echo_n "(cached) " >&6 4331else 4332 if test -z "$GREP"; then 4333 ac_path_GREP_found=false 4334 # Loop through the user's path and test for each of PROGNAME-LIST 4335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4336for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4337do 4338 IFS=$as_save_IFS 4339 test -z "$as_dir" && as_dir=. 4340 for ac_prog in grep ggrep; do 4341 for ac_exec_ext in '' $ac_executable_extensions; do 4342 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4343 as_fn_executable_p "$ac_path_GREP" || continue 4344# Check for GNU ac_path_GREP and select it if it is found. 4345 # Check for GNU $ac_path_GREP 4346case `"$ac_path_GREP" --version 2>&1` in 4347*GNU*) 4348 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4349*) 4350 ac_count=0 4351 $as_echo_n 0123456789 >"conftest.in" 4352 while : 4353 do 4354 cat "conftest.in" "conftest.in" >"conftest.tmp" 4355 mv "conftest.tmp" "conftest.in" 4356 cp "conftest.in" "conftest.nl" 4357 $as_echo 'GREP' >> "conftest.nl" 4358 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4359 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4360 as_fn_arith $ac_count + 1 && ac_count=$as_val 4361 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4362 # Best one so far, save it but keep looking for a better one 4363 ac_cv_path_GREP="$ac_path_GREP" 4364 ac_path_GREP_max=$ac_count 4365 fi 4366 # 10*(2^10) chars as input seems more than enough 4367 test $ac_count -gt 10 && break 4368 done 4369 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4370esac 4371 4372 $ac_path_GREP_found && break 3 4373 done 4374 done 4375 done 4376IFS=$as_save_IFS 4377 if test -z "$ac_cv_path_GREP"; then 4378 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4379 fi 4380else 4381 ac_cv_path_GREP=$GREP 4382fi 4383 4384fi 4385{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4386$as_echo "$ac_cv_path_GREP" >&6; } 4387 GREP="$ac_cv_path_GREP" 4388 4389 4390{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4391$as_echo_n "checking for egrep... " >&6; } 4392if ${ac_cv_path_EGREP+:} false; then : 4393 $as_echo_n "(cached) " >&6 4394else 4395 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4396 then ac_cv_path_EGREP="$GREP -E" 4397 else 4398 if test -z "$EGREP"; then 4399 ac_path_EGREP_found=false 4400 # Loop through the user's path and test for each of PROGNAME-LIST 4401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4402for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4403do 4404 IFS=$as_save_IFS 4405 test -z "$as_dir" && as_dir=. 4406 for ac_prog in egrep; do 4407 for ac_exec_ext in '' $ac_executable_extensions; do 4408 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4409 as_fn_executable_p "$ac_path_EGREP" || continue 4410# Check for GNU ac_path_EGREP and select it if it is found. 4411 # Check for GNU $ac_path_EGREP 4412case `"$ac_path_EGREP" --version 2>&1` in 4413*GNU*) 4414 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4415*) 4416 ac_count=0 4417 $as_echo_n 0123456789 >"conftest.in" 4418 while : 4419 do 4420 cat "conftest.in" "conftest.in" >"conftest.tmp" 4421 mv "conftest.tmp" "conftest.in" 4422 cp "conftest.in" "conftest.nl" 4423 $as_echo 'EGREP' >> "conftest.nl" 4424 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4425 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4426 as_fn_arith $ac_count + 1 && ac_count=$as_val 4427 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4428 # Best one so far, save it but keep looking for a better one 4429 ac_cv_path_EGREP="$ac_path_EGREP" 4430 ac_path_EGREP_max=$ac_count 4431 fi 4432 # 10*(2^10) chars as input seems more than enough 4433 test $ac_count -gt 10 && break 4434 done 4435 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4436esac 4437 4438 $ac_path_EGREP_found && break 3 4439 done 4440 done 4441 done 4442IFS=$as_save_IFS 4443 if test -z "$ac_cv_path_EGREP"; then 4444 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4445 fi 4446else 4447 ac_cv_path_EGREP=$EGREP 4448fi 4449 4450 fi 4451fi 4452{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4453$as_echo "$ac_cv_path_EGREP" >&6; } 4454 EGREP="$ac_cv_path_EGREP" 4455 4456 4457{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4458$as_echo_n "checking for ANSI C header files... " >&6; } 4459if ${ac_cv_header_stdc+:} false; then : 4460 $as_echo_n "(cached) " >&6 4461else 4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4463/* end confdefs.h. */ 4464#include <stdlib.h> 4465#include <stdarg.h> 4466#include <string.h> 4467#include <float.h> 4468 4469int 4470main () 4471{ 4472 4473 ; 4474 return 0; 4475} 4476_ACEOF 4477if ac_fn_c_try_compile "$LINENO"; then : 4478 ac_cv_header_stdc=yes 4479else 4480 ac_cv_header_stdc=no 4481fi 4482rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4483 4484if test $ac_cv_header_stdc = yes; then 4485 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4487/* end confdefs.h. */ 4488#include <string.h> 4489 4490_ACEOF 4491if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4492 $EGREP "memchr" >/dev/null 2>&1; then : 4493 4494else 4495 ac_cv_header_stdc=no 4496fi 4497rm -f conftest* 4498 4499fi 4500 4501if test $ac_cv_header_stdc = yes; then 4502 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4504/* end confdefs.h. */ 4505#include <stdlib.h> 4506 4507_ACEOF 4508if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4509 $EGREP "free" >/dev/null 2>&1; then : 4510 4511else 4512 ac_cv_header_stdc=no 4513fi 4514rm -f conftest* 4515 4516fi 4517 4518if test $ac_cv_header_stdc = yes; then 4519 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4520 if test "$cross_compiling" = yes; then : 4521 : 4522else 4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4524/* end confdefs.h. */ 4525#include <ctype.h> 4526#include <stdlib.h> 4527#if ((' ' & 0x0FF) == 0x020) 4528# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4529# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4530#else 4531# define ISLOWER(c) \ 4532 (('a' <= (c) && (c) <= 'i') \ 4533 || ('j' <= (c) && (c) <= 'r') \ 4534 || ('s' <= (c) && (c) <= 'z')) 4535# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4536#endif 4537 4538#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4539int 4540main () 4541{ 4542 int i; 4543 for (i = 0; i < 256; i++) 4544 if (XOR (islower (i), ISLOWER (i)) 4545 || toupper (i) != TOUPPER (i)) 4546 return 2; 4547 return 0; 4548} 4549_ACEOF 4550if ac_fn_c_try_run "$LINENO"; then : 4551 4552else 4553 ac_cv_header_stdc=no 4554fi 4555rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4556 conftest.$ac_objext conftest.beam conftest.$ac_ext 4557fi 4558 4559fi 4560fi 4561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4562$as_echo "$ac_cv_header_stdc" >&6; } 4563if test $ac_cv_header_stdc = yes; then 4564 4565$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4566 4567fi 4568 4569# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4570for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4571 inttypes.h stdint.h unistd.h 4572do : 4573 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4574ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4575" 4576if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4577 cat >>confdefs.h <<_ACEOF 4578#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4579_ACEOF 4580 4581fi 4582 4583done 4584 4585 4586 4587 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" 4588if test "x$ac_cv_header_minix_config_h" = xyes; then : 4589 MINIX=yes 4590else 4591 MINIX= 4592fi 4593 4594 4595 if test "$MINIX" = yes; then 4596 4597$as_echo "#define _POSIX_SOURCE 1" >>confdefs.h 4598 4599 4600$as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h 4601 4602 4603$as_echo "#define _MINIX 1" >>confdefs.h 4604 4605 fi 4606 4607 4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4609$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4610if ${ac_cv_safe_to_define___extensions__+:} false; then : 4611 $as_echo_n "(cached) " >&6 4612else 4613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4614/* end confdefs.h. */ 4615 4616# define __EXTENSIONS__ 1 4617 $ac_includes_default 4618int 4619main () 4620{ 4621 4622 ; 4623 return 0; 4624} 4625_ACEOF 4626if ac_fn_c_try_compile "$LINENO"; then : 4627 ac_cv_safe_to_define___extensions__=yes 4628else 4629 ac_cv_safe_to_define___extensions__=no 4630fi 4631rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4632fi 4633{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 4634$as_echo "$ac_cv_safe_to_define___extensions__" >&6; } 4635 test $ac_cv_safe_to_define___extensions__ = yes && 4636 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h 4637 4638 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h 4639 4640 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h 4641 4642 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 4643 4644 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h 4645 4646 4647 4648ac_ext=c 4649ac_cpp='$CPP $CPPFLAGS' 4650ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4651ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4652ac_compiler_gnu=$ac_cv_c_compiler_gnu 4653if test -n "$ac_tool_prefix"; then 4654 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4655set dummy ${ac_tool_prefix}gcc; ac_word=$2 4656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4657$as_echo_n "checking for $ac_word... " >&6; } 4658if ${ac_cv_prog_CC+:} false; then : 4659 $as_echo_n "(cached) " >&6 4660else 4661 if test -n "$CC"; then 4662 ac_cv_prog_CC="$CC" # Let the user override the test. 4663else 4664as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4665for as_dir in $PATH 4666do 4667 IFS=$as_save_IFS 4668 test -z "$as_dir" && as_dir=. 4669 for ac_exec_ext in '' $ac_executable_extensions; do 4670 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4671 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4673 break 2 4674 fi 4675done 4676 done 4677IFS=$as_save_IFS 4678 4679fi 4680fi 4681CC=$ac_cv_prog_CC 4682if test -n "$CC"; then 4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4684$as_echo "$CC" >&6; } 4685else 4686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4687$as_echo "no" >&6; } 4688fi 4689 4690 4691fi 4692if test -z "$ac_cv_prog_CC"; then 4693 ac_ct_CC=$CC 4694 # Extract the first word of "gcc", so it can be a program name with args. 4695set dummy gcc; ac_word=$2 4696{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4697$as_echo_n "checking for $ac_word... " >&6; } 4698if ${ac_cv_prog_ac_ct_CC+:} false; then : 4699 $as_echo_n "(cached) " >&6 4700else 4701 if test -n "$ac_ct_CC"; then 4702 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4703else 4704as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4705for as_dir in $PATH 4706do 4707 IFS=$as_save_IFS 4708 test -z "$as_dir" && as_dir=. 4709 for ac_exec_ext in '' $ac_executable_extensions; do 4710 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4711 ac_cv_prog_ac_ct_CC="gcc" 4712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4713 break 2 4714 fi 4715done 4716 done 4717IFS=$as_save_IFS 4718 4719fi 4720fi 4721ac_ct_CC=$ac_cv_prog_ac_ct_CC 4722if test -n "$ac_ct_CC"; then 4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4724$as_echo "$ac_ct_CC" >&6; } 4725else 4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4727$as_echo "no" >&6; } 4728fi 4729 4730 if test "x$ac_ct_CC" = x; then 4731 CC="" 4732 else 4733 case $cross_compiling:$ac_tool_warned in 4734yes:) 4735{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4736$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4737ac_tool_warned=yes ;; 4738esac 4739 CC=$ac_ct_CC 4740 fi 4741else 4742 CC="$ac_cv_prog_CC" 4743fi 4744 4745if test -z "$CC"; then 4746 if test -n "$ac_tool_prefix"; then 4747 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4748set dummy ${ac_tool_prefix}cc; ac_word=$2 4749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4750$as_echo_n "checking for $ac_word... " >&6; } 4751if ${ac_cv_prog_CC+:} false; then : 4752 $as_echo_n "(cached) " >&6 4753else 4754 if test -n "$CC"; then 4755 ac_cv_prog_CC="$CC" # Let the user override the test. 4756else 4757as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4758for as_dir in $PATH 4759do 4760 IFS=$as_save_IFS 4761 test -z "$as_dir" && as_dir=. 4762 for ac_exec_ext in '' $ac_executable_extensions; do 4763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4764 ac_cv_prog_CC="${ac_tool_prefix}cc" 4765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4766 break 2 4767 fi 4768done 4769 done 4770IFS=$as_save_IFS 4771 4772fi 4773fi 4774CC=$ac_cv_prog_CC 4775if test -n "$CC"; then 4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4777$as_echo "$CC" >&6; } 4778else 4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4780$as_echo "no" >&6; } 4781fi 4782 4783 4784 fi 4785fi 4786if test -z "$CC"; then 4787 # Extract the first word of "cc", so it can be a program name with args. 4788set dummy cc; ac_word=$2 4789{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4790$as_echo_n "checking for $ac_word... " >&6; } 4791if ${ac_cv_prog_CC+:} false; then : 4792 $as_echo_n "(cached) " >&6 4793else 4794 if test -n "$CC"; then 4795 ac_cv_prog_CC="$CC" # Let the user override the test. 4796else 4797 ac_prog_rejected=no 4798as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4799for as_dir in $PATH 4800do 4801 IFS=$as_save_IFS 4802 test -z "$as_dir" && as_dir=. 4803 for ac_exec_ext in '' $ac_executable_extensions; do 4804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4805 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4806 ac_prog_rejected=yes 4807 continue 4808 fi 4809 ac_cv_prog_CC="cc" 4810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4811 break 2 4812 fi 4813done 4814 done 4815IFS=$as_save_IFS 4816 4817if test $ac_prog_rejected = yes; then 4818 # We found a bogon in the path, so make sure we never use it. 4819 set dummy $ac_cv_prog_CC 4820 shift 4821 if test $# != 0; then 4822 # We chose a different compiler from the bogus one. 4823 # However, it has the same basename, so the bogon will be chosen 4824 # first if we set CC to just the basename; use the full file name. 4825 shift 4826 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4827 fi 4828fi 4829fi 4830fi 4831CC=$ac_cv_prog_CC 4832if test -n "$CC"; then 4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4834$as_echo "$CC" >&6; } 4835else 4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4837$as_echo "no" >&6; } 4838fi 4839 4840 4841fi 4842if test -z "$CC"; then 4843 if test -n "$ac_tool_prefix"; then 4844 for ac_prog in cl.exe 4845 do 4846 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4847set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4848{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4849$as_echo_n "checking for $ac_word... " >&6; } 4850if ${ac_cv_prog_CC+:} false; then : 4851 $as_echo_n "(cached) " >&6 4852else 4853 if test -n "$CC"; then 4854 ac_cv_prog_CC="$CC" # Let the user override the test. 4855else 4856as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4857for as_dir in $PATH 4858do 4859 IFS=$as_save_IFS 4860 test -z "$as_dir" && as_dir=. 4861 for ac_exec_ext in '' $ac_executable_extensions; do 4862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4863 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4865 break 2 4866 fi 4867done 4868 done 4869IFS=$as_save_IFS 4870 4871fi 4872fi 4873CC=$ac_cv_prog_CC 4874if test -n "$CC"; then 4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4876$as_echo "$CC" >&6; } 4877else 4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4879$as_echo "no" >&6; } 4880fi 4881 4882 4883 test -n "$CC" && break 4884 done 4885fi 4886if test -z "$CC"; then 4887 ac_ct_CC=$CC 4888 for ac_prog in cl.exe 4889do 4890 # Extract the first word of "$ac_prog", so it can be a program name with args. 4891set dummy $ac_prog; ac_word=$2 4892{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4893$as_echo_n "checking for $ac_word... " >&6; } 4894if ${ac_cv_prog_ac_ct_CC+:} false; then : 4895 $as_echo_n "(cached) " >&6 4896else 4897 if test -n "$ac_ct_CC"; then 4898 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4899else 4900as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4901for as_dir in $PATH 4902do 4903 IFS=$as_save_IFS 4904 test -z "$as_dir" && as_dir=. 4905 for ac_exec_ext in '' $ac_executable_extensions; do 4906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4907 ac_cv_prog_ac_ct_CC="$ac_prog" 4908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4909 break 2 4910 fi 4911done 4912 done 4913IFS=$as_save_IFS 4914 4915fi 4916fi 4917ac_ct_CC=$ac_cv_prog_ac_ct_CC 4918if test -n "$ac_ct_CC"; then 4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4920$as_echo "$ac_ct_CC" >&6; } 4921else 4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4923$as_echo "no" >&6; } 4924fi 4925 4926 4927 test -n "$ac_ct_CC" && break 4928done 4929 4930 if test "x$ac_ct_CC" = x; then 4931 CC="" 4932 else 4933 case $cross_compiling:$ac_tool_warned in 4934yes:) 4935{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4936$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4937ac_tool_warned=yes ;; 4938esac 4939 CC=$ac_ct_CC 4940 fi 4941fi 4942 4943fi 4944 4945 4946test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4947$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4948as_fn_error $? "no acceptable C compiler found in \$PATH 4949See \`config.log' for more details" "$LINENO" 5; } 4950 4951# Provide some information about the compiler. 4952$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4953set X $ac_compile 4954ac_compiler=$2 4955for ac_option in --version -v -V -qversion; do 4956 { { ac_try="$ac_compiler $ac_option >&5" 4957case "(($ac_try" in 4958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4959 *) ac_try_echo=$ac_try;; 4960esac 4961eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4962$as_echo "$ac_try_echo"; } >&5 4963 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4964 ac_status=$? 4965 if test -s conftest.err; then 4966 sed '10a\ 4967... rest of stderr output deleted ... 4968 10q' conftest.err >conftest.er1 4969 cat conftest.er1 >&5 4970 fi 4971 rm -f conftest.er1 conftest.err 4972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4973 test $ac_status = 0; } 4974done 4975 4976{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4977$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4978if ${ac_cv_c_compiler_gnu+:} false; then : 4979 $as_echo_n "(cached) " >&6 4980else 4981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4982/* end confdefs.h. */ 4983 4984int 4985main () 4986{ 4987#ifndef __GNUC__ 4988 choke me 4989#endif 4990 4991 ; 4992 return 0; 4993} 4994_ACEOF 4995if ac_fn_c_try_compile "$LINENO"; then : 4996 ac_compiler_gnu=yes 4997else 4998 ac_compiler_gnu=no 4999fi 5000rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5001ac_cv_c_compiler_gnu=$ac_compiler_gnu 5002 5003fi 5004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 5005$as_echo "$ac_cv_c_compiler_gnu" >&6; } 5006if test $ac_compiler_gnu = yes; then 5007 GCC=yes 5008else 5009 GCC= 5010fi 5011ac_test_CFLAGS=${CFLAGS+set} 5012ac_save_CFLAGS=$CFLAGS 5013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 5014$as_echo_n "checking whether $CC accepts -g... " >&6; } 5015if ${ac_cv_prog_cc_g+:} false; then : 5016 $as_echo_n "(cached) " >&6 5017else 5018 ac_save_c_werror_flag=$ac_c_werror_flag 5019 ac_c_werror_flag=yes 5020 ac_cv_prog_cc_g=no 5021 CFLAGS="-g" 5022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5023/* end confdefs.h. */ 5024 5025int 5026main () 5027{ 5028 5029 ; 5030 return 0; 5031} 5032_ACEOF 5033if ac_fn_c_try_compile "$LINENO"; then : 5034 ac_cv_prog_cc_g=yes 5035else 5036 CFLAGS="" 5037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5038/* end confdefs.h. */ 5039 5040int 5041main () 5042{ 5043 5044 ; 5045 return 0; 5046} 5047_ACEOF 5048if ac_fn_c_try_compile "$LINENO"; then : 5049 5050else 5051 ac_c_werror_flag=$ac_save_c_werror_flag 5052 CFLAGS="-g" 5053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5054/* end confdefs.h. */ 5055 5056int 5057main () 5058{ 5059 5060 ; 5061 return 0; 5062} 5063_ACEOF 5064if ac_fn_c_try_compile "$LINENO"; then : 5065 ac_cv_prog_cc_g=yes 5066fi 5067rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5068fi 5069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5070fi 5071rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5072 ac_c_werror_flag=$ac_save_c_werror_flag 5073fi 5074{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 5075$as_echo "$ac_cv_prog_cc_g" >&6; } 5076if test "$ac_test_CFLAGS" = set; then 5077 CFLAGS=$ac_save_CFLAGS 5078elif test $ac_cv_prog_cc_g = yes; then 5079 if test "$GCC" = yes; then 5080 CFLAGS="-g -O2" 5081 else 5082 CFLAGS="-g" 5083 fi 5084else 5085 if test "$GCC" = yes; then 5086 CFLAGS="-O2" 5087 else 5088 CFLAGS= 5089 fi 5090fi 5091{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 5092$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 5093if ${ac_cv_prog_cc_c89+:} false; then : 5094 $as_echo_n "(cached) " >&6 5095else 5096 ac_cv_prog_cc_c89=no 5097ac_save_CC=$CC 5098cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5099/* end confdefs.h. */ 5100#include <stdarg.h> 5101#include <stdio.h> 5102struct stat; 5103/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5104struct buf { int x; }; 5105FILE * (*rcsopen) (struct buf *, struct stat *, int); 5106static char *e (p, i) 5107 char **p; 5108 int i; 5109{ 5110 return p[i]; 5111} 5112static char *f (char * (*g) (char **, int), char **p, ...) 5113{ 5114 char *s; 5115 va_list v; 5116 va_start (v,p); 5117 s = g (p, va_arg (v,int)); 5118 va_end (v); 5119 return s; 5120} 5121 5122/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 5123 function prototypes and stuff, but not '\xHH' hex character constants. 5124 These don't provoke an error unfortunately, instead are silently treated 5125 as 'x'. The following induces an error, until -std is added to get 5126 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 5127 array size at least. It's necessary to write '\x00'==0 to get something 5128 that's true only with -std. */ 5129int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 5130 5131/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 5132 inside strings and character constants. */ 5133#define FOO(x) 'x' 5134int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 5135 5136int test (int i, double x); 5137struct s1 {int (*f) (int a);}; 5138struct s2 {int (*f) (double a);}; 5139int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5140int argc; 5141char **argv; 5142int 5143main () 5144{ 5145return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5146 ; 5147 return 0; 5148} 5149_ACEOF 5150for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5151 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5152do 5153 CC="$ac_save_CC $ac_arg" 5154 if ac_fn_c_try_compile "$LINENO"; then : 5155 ac_cv_prog_cc_c89=$ac_arg 5156fi 5157rm -f core conftest.err conftest.$ac_objext 5158 test "x$ac_cv_prog_cc_c89" != "xno" && break 5159done 5160rm -f conftest.$ac_ext 5161CC=$ac_save_CC 5162 5163fi 5164# AC_CACHE_VAL 5165case "x$ac_cv_prog_cc_c89" in 5166 x) 5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5168$as_echo "none needed" >&6; } ;; 5169 xno) 5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5171$as_echo "unsupported" >&6; } ;; 5172 *) 5173 CC="$CC $ac_cv_prog_cc_c89" 5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5175$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5176esac 5177if test "x$ac_cv_prog_cc_c89" != xno; then : 5178 5179fi 5180 5181ac_ext=c 5182ac_cpp='$CPP $CPPFLAGS' 5183ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5184ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5185ac_compiler_gnu=$ac_cv_c_compiler_gnu 5186 5187ac_ext=c 5188ac_cpp='$CPP $CPPFLAGS' 5189ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5190ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5191ac_compiler_gnu=$ac_cv_c_compiler_gnu 5192{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 5193$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 5194if ${am_cv_prog_cc_c_o+:} false; then : 5195 $as_echo_n "(cached) " >&6 5196else 5197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5198/* end confdefs.h. */ 5199 5200int 5201main () 5202{ 5203 5204 ; 5205 return 0; 5206} 5207_ACEOF 5208 # Make sure it works both with $CC and with simple cc. 5209 # Following AC_PROG_CC_C_O, we do the test twice because some 5210 # compilers refuse to overwrite an existing .o file with -o, 5211 # though they will create one. 5212 am_cv_prog_cc_c_o=yes 5213 for am_i in 1 2; do 5214 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 5215 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 5216 ac_status=$? 5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5218 (exit $ac_status); } \ 5219 && test -f conftest2.$ac_objext; then 5220 : OK 5221 else 5222 am_cv_prog_cc_c_o=no 5223 break 5224 fi 5225 done 5226 rm -f core conftest* 5227 unset am_i 5228fi 5229{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 5230$as_echo "$am_cv_prog_cc_c_o" >&6; } 5231if test "$am_cv_prog_cc_c_o" != yes; then 5232 # Losing compiler, so override with the script. 5233 # FIXME: It is wrong to rewrite CC. 5234 # But if we don't then we get into trouble of one sort or another. 5235 # A longer-term fix would be to have automake use am__CC in this case, 5236 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5237 CC="$am_aux_dir/compile $CC" 5238fi 5239ac_ext=c 5240ac_cpp='$CPP $CPPFLAGS' 5241ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5242ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5243ac_compiler_gnu=$ac_cv_c_compiler_gnu 5244 5245 5246depcc="$CC" am_compiler_list= 5247 5248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5249$as_echo_n "checking dependency style of $depcc... " >&6; } 5250if ${am_cv_CC_dependencies_compiler_type+:} false; then : 5251 $as_echo_n "(cached) " >&6 5252else 5253 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5254 # We make a subdir and do the tests there. Otherwise we can end up 5255 # making bogus files that we don't know about and never remove. For 5256 # instance it was reported that on HP-UX the gcc test will end up 5257 # making a dummy file named 'D' -- because '-MD' means "put the output 5258 # in D". 5259 rm -rf conftest.dir 5260 mkdir conftest.dir 5261 # Copy depcomp to subdir because otherwise we won't find it if we're 5262 # using a relative directory. 5263 cp "$am_depcomp" conftest.dir 5264 cd conftest.dir 5265 # We will build objects and dependencies in a subdirectory because 5266 # it helps to detect inapplicable dependency modes. For instance 5267 # both Tru64's cc and ICC support -MD to output dependencies as a 5268 # side effect of compilation, but ICC will put the dependencies in 5269 # the current directory while Tru64 will put them in the object 5270 # directory. 5271 mkdir sub 5272 5273 am_cv_CC_dependencies_compiler_type=none 5274 if test "$am_compiler_list" = ""; then 5275 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5276 fi 5277 am__universal=false 5278 case " $depcc " in #( 5279 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5280 esac 5281 5282 for depmode in $am_compiler_list; do 5283 # Setup a source with many dependencies, because some compilers 5284 # like to wrap large dependency lists on column 80 (with \), and 5285 # we should not choose a depcomp mode which is confused by this. 5286 # 5287 # We need to recreate these files for each test, as the compiler may 5288 # overwrite some of them when testing with obscure command lines. 5289 # This happens at least with the AIX C compiler. 5290 : > sub/conftest.c 5291 for i in 1 2 3 4 5 6; do 5292 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5293 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5294 # Solaris 10 /bin/sh. 5295 echo '/* dummy */' > sub/conftst$i.h 5296 done 5297 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5298 5299 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5300 # mode. It turns out that the SunPro C++ compiler does not properly 5301 # handle '-M -o', and we need to detect this. Also, some Intel 5302 # versions had trouble with output in subdirs. 5303 am__obj=sub/conftest.${OBJEXT-o} 5304 am__minus_obj="-o $am__obj" 5305 case $depmode in 5306 gcc) 5307 # This depmode causes a compiler race in universal mode. 5308 test "$am__universal" = false || continue 5309 ;; 5310 nosideeffect) 5311 # After this tag, mechanisms are not by side-effect, so they'll 5312 # only be used when explicitly requested. 5313 if test "x$enable_dependency_tracking" = xyes; then 5314 continue 5315 else 5316 break 5317 fi 5318 ;; 5319 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5320 # This compiler won't grok '-c -o', but also, the minuso test has 5321 # not run yet. These depmodes are late enough in the game, and 5322 # so weak that their functioning should not be impacted. 5323 am__obj=conftest.${OBJEXT-o} 5324 am__minus_obj= 5325 ;; 5326 none) break ;; 5327 esac 5328 if depmode=$depmode \ 5329 source=sub/conftest.c object=$am__obj \ 5330 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5331 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5332 >/dev/null 2>conftest.err && 5333 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5334 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5335 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5336 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5337 # icc doesn't choke on unknown options, it will just issue warnings 5338 # or remarks (even with -Werror). So we grep stderr for any message 5339 # that says an option was ignored or not supported. 5340 # When given -MP, icc 7.0 and 7.1 complain thusly: 5341 # icc: Command line warning: ignoring option '-M'; no argument required 5342 # The diagnosis changed in icc 8.0: 5343 # icc: Command line remark: option '-MP' not supported 5344 if (grep 'ignoring option' conftest.err || 5345 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5346 am_cv_CC_dependencies_compiler_type=$depmode 5347 break 5348 fi 5349 fi 5350 done 5351 5352 cd .. 5353 rm -rf conftest.dir 5354else 5355 am_cv_CC_dependencies_compiler_type=none 5356fi 5357 5358fi 5359{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5360$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5361CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5362 5363 if 5364 test "x$enable_dependency_tracking" != xno \ 5365 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5366 am__fastdepCC_TRUE= 5367 am__fastdepCC_FALSE='#' 5368else 5369 am__fastdepCC_TRUE='#' 5370 am__fastdepCC_FALSE= 5371fi 5372 5373 5374 5375# Make sure we can run config.sub. 5376$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 5377 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 5378 5379{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 5380$as_echo_n "checking build system type... " >&6; } 5381if ${ac_cv_build+:} false; then : 5382 $as_echo_n "(cached) " >&6 5383else 5384 ac_build_alias=$build_alias 5385test "x$ac_build_alias" = x && 5386 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 5387test "x$ac_build_alias" = x && 5388 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 5389ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 5390 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 5391 5392fi 5393{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 5394$as_echo "$ac_cv_build" >&6; } 5395case $ac_cv_build in 5396*-*-*) ;; 5397*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 5398esac 5399build=$ac_cv_build 5400ac_save_IFS=$IFS; IFS='-' 5401set x $ac_cv_build 5402shift 5403build_cpu=$1 5404build_vendor=$2 5405shift; shift 5406# Remember, the first character of IFS is used to create $*, 5407# except with old shells: 5408build_os=$* 5409IFS=$ac_save_IFS 5410case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 5411 5412 5413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 5414$as_echo_n "checking host system type... " >&6; } 5415if ${ac_cv_host+:} false; then : 5416 $as_echo_n "(cached) " >&6 5417else 5418 if test "x$host_alias" = x; then 5419 ac_cv_host=$ac_cv_build 5420else 5421 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 5422 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 5423fi 5424 5425fi 5426{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 5427$as_echo "$ac_cv_host" >&6; } 5428case $ac_cv_host in 5429*-*-*) ;; 5430*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 5431esac 5432host=$ac_cv_host 5433ac_save_IFS=$IFS; IFS='-' 5434set x $ac_cv_host 5435shift 5436host_cpu=$1 5437host_vendor=$2 5438shift; shift 5439# Remember, the first character of IFS is used to create $*, 5440# except with old shells: 5441host_os=$* 5442IFS=$ac_save_IFS 5443case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 5444 5445 5446{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 5447$as_echo_n "checking for a sed that does not truncate output... " >&6; } 5448if ${ac_cv_path_SED+:} false; then : 5449 $as_echo_n "(cached) " >&6 5450else 5451 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ 5452 for ac_i in 1 2 3 4 5 6 7; do 5453 ac_script="$ac_script$as_nl$ac_script" 5454 done 5455 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed 5456 { ac_script=; unset ac_script;} 5457 if test -z "$SED"; then 5458 ac_path_SED_found=false 5459 # Loop through the user's path and test for each of PROGNAME-LIST 5460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5461for as_dir in $PATH 5462do 5463 IFS=$as_save_IFS 5464 test -z "$as_dir" && as_dir=. 5465 for ac_prog in sed gsed; do 5466 for ac_exec_ext in '' $ac_executable_extensions; do 5467 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" 5468 as_fn_executable_p "$ac_path_SED" || continue 5469# Check for GNU ac_path_SED and select it if it is found. 5470 # Check for GNU $ac_path_SED 5471case `"$ac_path_SED" --version 2>&1` in 5472*GNU*) 5473 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; 5474*) 5475 ac_count=0 5476 $as_echo_n 0123456789 >"conftest.in" 5477 while : 5478 do 5479 cat "conftest.in" "conftest.in" >"conftest.tmp" 5480 mv "conftest.tmp" "conftest.in" 5481 cp "conftest.in" "conftest.nl" 5482 $as_echo '' >> "conftest.nl" 5483 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break 5484 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5485 as_fn_arith $ac_count + 1 && ac_count=$as_val 5486 if test $ac_count -gt ${ac_path_SED_max-0}; then 5487 # Best one so far, save it but keep looking for a better one 5488 ac_cv_path_SED="$ac_path_SED" 5489 ac_path_SED_max=$ac_count 5490 fi 5491 # 10*(2^10) chars as input seems more than enough 5492 test $ac_count -gt 10 && break 5493 done 5494 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5495esac 5496 5497 $ac_path_SED_found && break 3 5498 done 5499 done 5500 done 5501IFS=$as_save_IFS 5502 if test -z "$ac_cv_path_SED"; then 5503 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 5504 fi 5505else 5506 ac_cv_path_SED=$SED 5507fi 5508 5509fi 5510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 5511$as_echo "$ac_cv_path_SED" >&6; } 5512 SED="$ac_cv_path_SED" 5513 rm -f conftest.sed 5514 5515test -z "$SED" && SED=sed 5516Xsed="$SED -e 1s/^X//" 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 5529$as_echo_n "checking for fgrep... " >&6; } 5530if ${ac_cv_path_FGREP+:} false; then : 5531 $as_echo_n "(cached) " >&6 5532else 5533 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 5534 then ac_cv_path_FGREP="$GREP -F" 5535 else 5536 if test -z "$FGREP"; then 5537 ac_path_FGREP_found=false 5538 # Loop through the user's path and test for each of PROGNAME-LIST 5539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5540for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5541do 5542 IFS=$as_save_IFS 5543 test -z "$as_dir" && as_dir=. 5544 for ac_prog in fgrep; do 5545 for ac_exec_ext in '' $ac_executable_extensions; do 5546 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" 5547 as_fn_executable_p "$ac_path_FGREP" || continue 5548# Check for GNU ac_path_FGREP and select it if it is found. 5549 # Check for GNU $ac_path_FGREP 5550case `"$ac_path_FGREP" --version 2>&1` in 5551*GNU*) 5552 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; 5553*) 5554 ac_count=0 5555 $as_echo_n 0123456789 >"conftest.in" 5556 while : 5557 do 5558 cat "conftest.in" "conftest.in" >"conftest.tmp" 5559 mv "conftest.tmp" "conftest.in" 5560 cp "conftest.in" "conftest.nl" 5561 $as_echo 'FGREP' >> "conftest.nl" 5562 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break 5563 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5564 as_fn_arith $ac_count + 1 && ac_count=$as_val 5565 if test $ac_count -gt ${ac_path_FGREP_max-0}; then 5566 # Best one so far, save it but keep looking for a better one 5567 ac_cv_path_FGREP="$ac_path_FGREP" 5568 ac_path_FGREP_max=$ac_count 5569 fi 5570 # 10*(2^10) chars as input seems more than enough 5571 test $ac_count -gt 10 && break 5572 done 5573 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5574esac 5575 5576 $ac_path_FGREP_found && break 3 5577 done 5578 done 5579 done 5580IFS=$as_save_IFS 5581 if test -z "$ac_cv_path_FGREP"; then 5582 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5583 fi 5584else 5585 ac_cv_path_FGREP=$FGREP 5586fi 5587 5588 fi 5589fi 5590{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 5591$as_echo "$ac_cv_path_FGREP" >&6; } 5592 FGREP="$ac_cv_path_FGREP" 5593 5594 5595test -z "$GREP" && GREP=grep 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 5614ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO 5615ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO 5616 5617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 5618$as_echo_n "checking how to print strings... " >&6; } 5619# Test print first, because it will be a builtin if present. 5620if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ 5621 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then 5622 ECHO='print -r --' 5623elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then 5624 ECHO='printf %s\n' 5625else 5626 # Use this function as a fallback that always works. 5627 func_fallback_echo () 5628 { 5629 eval 'cat <<_LTECHO_EOF 5630$1 5631_LTECHO_EOF' 5632 } 5633 ECHO='func_fallback_echo' 5634fi 5635 5636# func_echo_all arg... 5637# Invoke $ECHO with all args, space-separated. 5638func_echo_all () 5639{ 5640 $ECHO "" 5641} 5642 5643case $ECHO in 5644 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 5645$as_echo "printf" >&6; } ;; 5646 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 5647$as_echo "print -r" >&6; } ;; 5648 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 5649$as_echo "cat" >&6; } ;; 5650esac 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667# Check whether --with-gnu-ld was given. 5668if test "${with_gnu_ld+set}" = set; then : 5669 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes 5670else 5671 with_gnu_ld=no 5672fi 5673 5674ac_prog=ld 5675if test yes = "$GCC"; then 5676 # Check if gcc -print-prog-name=ld gives a path. 5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 5678$as_echo_n "checking for ld used by $CC... " >&6; } 5679 case $host in 5680 *-*-mingw*) 5681 # gcc leaves a trailing carriage return, which upsets mingw 5682 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 5683 *) 5684 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 5685 esac 5686 case $ac_prog in 5687 # Accept absolute paths. 5688 [\\/]* | ?:[\\/]*) 5689 re_direlt='/[^/][^/]*/\.\./' 5690 # Canonicalize the pathname of ld 5691 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` 5692 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do 5693 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` 5694 done 5695 test -z "$LD" && LD=$ac_prog 5696 ;; 5697 "") 5698 # If it fails, then pretend we aren't using GCC. 5699 ac_prog=ld 5700 ;; 5701 *) 5702 # If it is relative, then search for the first ld in PATH. 5703 with_gnu_ld=unknown 5704 ;; 5705 esac 5706elif test yes = "$with_gnu_ld"; then 5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 5708$as_echo_n "checking for GNU ld... " >&6; } 5709else 5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 5711$as_echo_n "checking for non-GNU ld... " >&6; } 5712fi 5713if ${lt_cv_path_LD+:} false; then : 5714 $as_echo_n "(cached) " >&6 5715else 5716 if test -z "$LD"; then 5717 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 5718 for ac_dir in $PATH; do 5719 IFS=$lt_save_ifs 5720 test -z "$ac_dir" && ac_dir=. 5721 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 5722 lt_cv_path_LD=$ac_dir/$ac_prog 5723 # Check to see if the program is GNU ld. I'd rather use --version, 5724 # but apparently some variants of GNU ld only accept -v. 5725 # Break only if it was the GNU/non-GNU ld that we prefer. 5726 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in 5727 *GNU* | *'with BFD'*) 5728 test no != "$with_gnu_ld" && break 5729 ;; 5730 *) 5731 test yes != "$with_gnu_ld" && break 5732 ;; 5733 esac 5734 fi 5735 done 5736 IFS=$lt_save_ifs 5737else 5738 lt_cv_path_LD=$LD # Let the user override the test with a path. 5739fi 5740fi 5741 5742LD=$lt_cv_path_LD 5743if test -n "$LD"; then 5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 5745$as_echo "$LD" >&6; } 5746else 5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5748$as_echo "no" >&6; } 5749fi 5750test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 5751{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 5752$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 5753if ${lt_cv_prog_gnu_ld+:} false; then : 5754 $as_echo_n "(cached) " >&6 5755else 5756 # I'd rather use --version here, but apparently some GNU lds only accept -v. 5757case `$LD -v 2>&1 </dev/null` in 5758*GNU* | *'with BFD'*) 5759 lt_cv_prog_gnu_ld=yes 5760 ;; 5761*) 5762 lt_cv_prog_gnu_ld=no 5763 ;; 5764esac 5765fi 5766{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 5767$as_echo "$lt_cv_prog_gnu_ld" >&6; } 5768with_gnu_ld=$lt_cv_prog_gnu_ld 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 5781$as_echo_n "checking whether NLS is requested... " >&6; } 5782 # Check whether --enable-nls was given. 5783if test "${enable_nls+set}" = set; then : 5784 enableval=$enable_nls; USE_NLS=$enableval 5785else 5786 USE_NLS=yes 5787fi 5788 5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 5790$as_echo "$USE_NLS" >&6; } 5791 5792 5793 5794 5795case "$am__api_version" in 5796 1.01234) 5797 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 5798 ;; 5799 *) 5800 ;; 5801esac 5802 5803INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 5804INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 5805INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 5806if test -n ""; then 5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5 5808$as_echo_n "checking for intltool >= ... " >&6; } 5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 5810$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 5811 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 5812 as_fn_error $? "Your intltool is too old. You need intltool or later." "$LINENO" 5 5813fi 5814 5815# Extract the first word of "intltool-update", so it can be a program name with args. 5816set dummy intltool-update; ac_word=$2 5817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5818$as_echo_n "checking for $ac_word... " >&6; } 5819if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : 5820 $as_echo_n "(cached) " >&6 5821else 5822 case $INTLTOOL_UPDATE in 5823 [\\/]* | ?:[\\/]*) 5824 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 5825 ;; 5826 *) 5827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5828for as_dir in $PATH 5829do 5830 IFS=$as_save_IFS 5831 test -z "$as_dir" && as_dir=. 5832 for ac_exec_ext in '' $ac_executable_extensions; do 5833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5834 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 5835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5836 break 2 5837 fi 5838done 5839 done 5840IFS=$as_save_IFS 5841 5842 ;; 5843esac 5844fi 5845INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 5846if test -n "$INTLTOOL_UPDATE"; then 5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 5848$as_echo "$INTLTOOL_UPDATE" >&6; } 5849else 5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5851$as_echo "no" >&6; } 5852fi 5853 5854 5855# Extract the first word of "intltool-merge", so it can be a program name with args. 5856set dummy intltool-merge; ac_word=$2 5857{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5858$as_echo_n "checking for $ac_word... " >&6; } 5859if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : 5860 $as_echo_n "(cached) " >&6 5861else 5862 case $INTLTOOL_MERGE in 5863 [\\/]* | ?:[\\/]*) 5864 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 5865 ;; 5866 *) 5867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5868for as_dir in $PATH 5869do 5870 IFS=$as_save_IFS 5871 test -z "$as_dir" && as_dir=. 5872 for ac_exec_ext in '' $ac_executable_extensions; do 5873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5874 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 5875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5876 break 2 5877 fi 5878done 5879 done 5880IFS=$as_save_IFS 5881 5882 ;; 5883esac 5884fi 5885INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 5886if test -n "$INTLTOOL_MERGE"; then 5887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 5888$as_echo "$INTLTOOL_MERGE" >&6; } 5889else 5890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5891$as_echo "no" >&6; } 5892fi 5893 5894 5895# Extract the first word of "intltool-extract", so it can be a program name with args. 5896set dummy intltool-extract; ac_word=$2 5897{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5898$as_echo_n "checking for $ac_word... " >&6; } 5899if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : 5900 $as_echo_n "(cached) " >&6 5901else 5902 case $INTLTOOL_EXTRACT in 5903 [\\/]* | ?:[\\/]*) 5904 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 5905 ;; 5906 *) 5907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5908for as_dir in $PATH 5909do 5910 IFS=$as_save_IFS 5911 test -z "$as_dir" && as_dir=. 5912 for ac_exec_ext in '' $ac_executable_extensions; do 5913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5914 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 5915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5916 break 2 5917 fi 5918done 5919 done 5920IFS=$as_save_IFS 5921 5922 ;; 5923esac 5924fi 5925INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 5926if test -n "$INTLTOOL_EXTRACT"; then 5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 5928$as_echo "$INTLTOOL_EXTRACT" >&6; } 5929else 5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5931$as_echo "no" >&6; } 5932fi 5933 5934 5935if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 5936 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 5937fi 5938 5939if test -z "$AM_DEFAULT_VERBOSITY"; then 5940 AM_DEFAULT_VERBOSITY=1 5941fi 5942 5943 5944INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' 5945INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' 5946INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' 5947 5948 5949 5950 5951INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' 5952intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' 5953intltool__v_merge_options_0='-q' 5954 5955 5956 5957 5958 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5959INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5960 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5961 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5962 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' 5963 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5964 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5965 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5966INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5967 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5968 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5969if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then 5970 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' 5971else 5972 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' 5973fi 5974 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5975 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5976 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5977 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5978 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5979 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5980 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078# Check the gettext tools to make sure they are GNU 6079# Extract the first word of "xgettext", so it can be a program name with args. 6080set dummy xgettext; ac_word=$2 6081{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6082$as_echo_n "checking for $ac_word... " >&6; } 6083if ${ac_cv_path_XGETTEXT+:} false; then : 6084 $as_echo_n "(cached) " >&6 6085else 6086 case $XGETTEXT in 6087 [\\/]* | ?:[\\/]*) 6088 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 6089 ;; 6090 *) 6091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6092for as_dir in $PATH 6093do 6094 IFS=$as_save_IFS 6095 test -z "$as_dir" && as_dir=. 6096 for ac_exec_ext in '' $ac_executable_extensions; do 6097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6098 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 6099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6100 break 2 6101 fi 6102done 6103 done 6104IFS=$as_save_IFS 6105 6106 ;; 6107esac 6108fi 6109XGETTEXT=$ac_cv_path_XGETTEXT 6110if test -n "$XGETTEXT"; then 6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 6112$as_echo "$XGETTEXT" >&6; } 6113else 6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6115$as_echo "no" >&6; } 6116fi 6117 6118 6119# Extract the first word of "msgmerge", so it can be a program name with args. 6120set dummy msgmerge; ac_word=$2 6121{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6122$as_echo_n "checking for $ac_word... " >&6; } 6123if ${ac_cv_path_MSGMERGE+:} false; then : 6124 $as_echo_n "(cached) " >&6 6125else 6126 case $MSGMERGE in 6127 [\\/]* | ?:[\\/]*) 6128 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 6129 ;; 6130 *) 6131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6132for as_dir in $PATH 6133do 6134 IFS=$as_save_IFS 6135 test -z "$as_dir" && as_dir=. 6136 for ac_exec_ext in '' $ac_executable_extensions; do 6137 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6138 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 6139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6140 break 2 6141 fi 6142done 6143 done 6144IFS=$as_save_IFS 6145 6146 ;; 6147esac 6148fi 6149MSGMERGE=$ac_cv_path_MSGMERGE 6150if test -n "$MSGMERGE"; then 6151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 6152$as_echo "$MSGMERGE" >&6; } 6153else 6154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6155$as_echo "no" >&6; } 6156fi 6157 6158 6159# Extract the first word of "msgfmt", so it can be a program name with args. 6160set dummy msgfmt; ac_word=$2 6161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6162$as_echo_n "checking for $ac_word... " >&6; } 6163if ${ac_cv_path_MSGFMT+:} false; then : 6164 $as_echo_n "(cached) " >&6 6165else 6166 case $MSGFMT in 6167 [\\/]* | ?:[\\/]*) 6168 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 6169 ;; 6170 *) 6171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6172for as_dir in $PATH 6173do 6174 IFS=$as_save_IFS 6175 test -z "$as_dir" && as_dir=. 6176 for ac_exec_ext in '' $ac_executable_extensions; do 6177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6178 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 6179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6180 break 2 6181 fi 6182done 6183 done 6184IFS=$as_save_IFS 6185 6186 ;; 6187esac 6188fi 6189MSGFMT=$ac_cv_path_MSGFMT 6190if test -n "$MSGFMT"; then 6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 6192$as_echo "$MSGFMT" >&6; } 6193else 6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6195$as_echo "no" >&6; } 6196fi 6197 6198 6199# Extract the first word of "gmsgfmt", so it can be a program name with args. 6200set dummy gmsgfmt; ac_word=$2 6201{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6202$as_echo_n "checking for $ac_word... " >&6; } 6203if ${ac_cv_path_GMSGFMT+:} false; then : 6204 $as_echo_n "(cached) " >&6 6205else 6206 case $GMSGFMT in 6207 [\\/]* | ?:[\\/]*) 6208 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 6209 ;; 6210 *) 6211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6212for as_dir in $PATH 6213do 6214 IFS=$as_save_IFS 6215 test -z "$as_dir" && as_dir=. 6216 for ac_exec_ext in '' $ac_executable_extensions; do 6217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6218 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 6219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6220 break 2 6221 fi 6222done 6223 done 6224IFS=$as_save_IFS 6225 6226 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 6227 ;; 6228esac 6229fi 6230GMSGFMT=$ac_cv_path_GMSGFMT 6231if test -n "$GMSGFMT"; then 6232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 6233$as_echo "$GMSGFMT" >&6; } 6234else 6235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6236$as_echo "no" >&6; } 6237fi 6238 6239 6240if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 6241 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 6242fi 6243xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 6244mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 6245mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 6246if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 6247 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 6248fi 6249 6250# Extract the first word of "perl", so it can be a program name with args. 6251set dummy perl; ac_word=$2 6252{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6253$as_echo_n "checking for $ac_word... " >&6; } 6254if ${ac_cv_path_INTLTOOL_PERL+:} false; then : 6255 $as_echo_n "(cached) " >&6 6256else 6257 case $INTLTOOL_PERL in 6258 [\\/]* | ?:[\\/]*) 6259 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 6260 ;; 6261 *) 6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6263for as_dir in $PATH 6264do 6265 IFS=$as_save_IFS 6266 test -z "$as_dir" && as_dir=. 6267 for ac_exec_ext in '' $ac_executable_extensions; do 6268 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6269 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 6270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6271 break 2 6272 fi 6273done 6274 done 6275IFS=$as_save_IFS 6276 6277 ;; 6278esac 6279fi 6280INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 6281if test -n "$INTLTOOL_PERL"; then 6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 6283$as_echo "$INTLTOOL_PERL" >&6; } 6284else 6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6286$as_echo "no" >&6; } 6287fi 6288 6289 6290if test -z "$INTLTOOL_PERL"; then 6291 as_fn_error $? "perl not found" "$LINENO" 5 6292fi 6293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 6294$as_echo_n "checking for perl >= 5.8.1... " >&6; } 6295$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 6296if test $? -ne 0; then 6297 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 6298else 6299 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` 6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 6301$as_echo "$IT_PERL_VERSION" >&6; } 6302fi 6303if test "x" != "xno-xml"; then 6304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 6305$as_echo_n "checking for XML::Parser... " >&6; } 6306 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6308$as_echo "ok" >&6; } 6309 else 6310 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 6311 fi 6312fi 6313 6314# Substitute ALL_LINGUAS so we can use it in po/Makefile 6315 6316 6317 6318 6319 6320 6321case `pwd` in 6322 *\ * | *\ *) 6323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 6324$as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; 6325esac 6326 6327 6328 6329macro_version='2.4.6' 6330macro_revision='2.4.6' 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344ltmain=$ac_aux_dir/ltmain.sh 6345 6346# Backslashify metacharacters that are still active within 6347# double-quoted strings. 6348sed_quote_subst='s/\(["`$\\]\)/\\\1/g' 6349 6350# Same as above, but do not quote variable references. 6351double_quote_subst='s/\(["`\\]\)/\\\1/g' 6352 6353# Sed substitution to delay expansion of an escaped shell variable in a 6354# double_quote_subst'ed string. 6355delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' 6356 6357# Sed substitution to delay expansion of an escaped single quote. 6358delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' 6359 6360# Sed substitution to avoid accidental globbing in evaled expressions 6361no_glob_subst='s/\*/\\\*/g' 6362 6363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 6364$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } 6365if ${lt_cv_path_NM+:} false; then : 6366 $as_echo_n "(cached) " >&6 6367else 6368 if test -n "$NM"; then 6369 # Let the user override the test. 6370 lt_cv_path_NM=$NM 6371else 6372 lt_nm_to_check=${ac_tool_prefix}nm 6373 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then 6374 lt_nm_to_check="$lt_nm_to_check nm" 6375 fi 6376 for lt_tmp_nm in $lt_nm_to_check; do 6377 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 6378 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do 6379 IFS=$lt_save_ifs 6380 test -z "$ac_dir" && ac_dir=. 6381 tmp_nm=$ac_dir/$lt_tmp_nm 6382 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then 6383 # Check to see if the nm accepts a BSD-compat flag. 6384 # Adding the 'sed 1q' prevents false positives on HP-UX, which says: 6385 # nm: unknown option "B" ignored 6386 # Tru64's nm complains that /dev/null is an invalid object file 6387 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty 6388 case $build_os in 6389 mingw*) lt_bad_file=conftest.nm/nofile ;; 6390 *) lt_bad_file=/dev/null ;; 6391 esac 6392 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in 6393 *$lt_bad_file* | *'Invalid file or object type'*) 6394 lt_cv_path_NM="$tmp_nm -B" 6395 break 2 6396 ;; 6397 *) 6398 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in 6399 */dev/null*) 6400 lt_cv_path_NM="$tmp_nm -p" 6401 break 2 6402 ;; 6403 *) 6404 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but 6405 continue # so that we can try to find one that supports BSD flags 6406 ;; 6407 esac 6408 ;; 6409 esac 6410 fi 6411 done 6412 IFS=$lt_save_ifs 6413 done 6414 : ${lt_cv_path_NM=no} 6415fi 6416fi 6417{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 6418$as_echo "$lt_cv_path_NM" >&6; } 6419if test no != "$lt_cv_path_NM"; then 6420 NM=$lt_cv_path_NM 6421else 6422 # Didn't find any BSD compatible name lister, look for dumpbin. 6423 if test -n "$DUMPBIN"; then : 6424 # Let the user override the test. 6425 else 6426 if test -n "$ac_tool_prefix"; then 6427 for ac_prog in dumpbin "link -dump" 6428 do 6429 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 6430set dummy $ac_tool_prefix$ac_prog; ac_word=$2 6431{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6432$as_echo_n "checking for $ac_word... " >&6; } 6433if ${ac_cv_prog_DUMPBIN+:} false; then : 6434 $as_echo_n "(cached) " >&6 6435else 6436 if test -n "$DUMPBIN"; then 6437 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. 6438else 6439as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6440for as_dir in $PATH 6441do 6442 IFS=$as_save_IFS 6443 test -z "$as_dir" && as_dir=. 6444 for ac_exec_ext in '' $ac_executable_extensions; do 6445 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6446 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" 6447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6448 break 2 6449 fi 6450done 6451 done 6452IFS=$as_save_IFS 6453 6454fi 6455fi 6456DUMPBIN=$ac_cv_prog_DUMPBIN 6457if test -n "$DUMPBIN"; then 6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 6459$as_echo "$DUMPBIN" >&6; } 6460else 6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6462$as_echo "no" >&6; } 6463fi 6464 6465 6466 test -n "$DUMPBIN" && break 6467 done 6468fi 6469if test -z "$DUMPBIN"; then 6470 ac_ct_DUMPBIN=$DUMPBIN 6471 for ac_prog in dumpbin "link -dump" 6472do 6473 # Extract the first word of "$ac_prog", so it can be a program name with args. 6474set dummy $ac_prog; ac_word=$2 6475{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6476$as_echo_n "checking for $ac_word... " >&6; } 6477if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : 6478 $as_echo_n "(cached) " >&6 6479else 6480 if test -n "$ac_ct_DUMPBIN"; then 6481 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. 6482else 6483as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6484for as_dir in $PATH 6485do 6486 IFS=$as_save_IFS 6487 test -z "$as_dir" && as_dir=. 6488 for ac_exec_ext in '' $ac_executable_extensions; do 6489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6490 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" 6491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6492 break 2 6493 fi 6494done 6495 done 6496IFS=$as_save_IFS 6497 6498fi 6499fi 6500ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN 6501if test -n "$ac_ct_DUMPBIN"; then 6502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 6503$as_echo "$ac_ct_DUMPBIN" >&6; } 6504else 6505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6506$as_echo "no" >&6; } 6507fi 6508 6509 6510 test -n "$ac_ct_DUMPBIN" && break 6511done 6512 6513 if test "x$ac_ct_DUMPBIN" = x; then 6514 DUMPBIN=":" 6515 else 6516 case $cross_compiling:$ac_tool_warned in 6517yes:) 6518{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6519$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6520ac_tool_warned=yes ;; 6521esac 6522 DUMPBIN=$ac_ct_DUMPBIN 6523 fi 6524fi 6525 6526 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in 6527 *COFF*) 6528 DUMPBIN="$DUMPBIN -symbols -headers" 6529 ;; 6530 *) 6531 DUMPBIN=: 6532 ;; 6533 esac 6534 fi 6535 6536 if test : != "$DUMPBIN"; then 6537 NM=$DUMPBIN 6538 fi 6539fi 6540test -z "$NM" && NM=nm 6541 6542 6543 6544 6545 6546 6547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 6548$as_echo_n "checking the name lister ($NM) interface... " >&6; } 6549if ${lt_cv_nm_interface+:} false; then : 6550 $as_echo_n "(cached) " >&6 6551else 6552 lt_cv_nm_interface="BSD nm" 6553 echo "int some_variable = 0;" > conftest.$ac_ext 6554 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) 6555 (eval "$ac_compile" 2>conftest.err) 6556 cat conftest.err >&5 6557 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) 6558 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) 6559 cat conftest.err >&5 6560 (eval echo "\"\$as_me:$LINENO: output\"" >&5) 6561 cat conftest.out >&5 6562 if $GREP 'External.*some_variable' conftest.out > /dev/null; then 6563 lt_cv_nm_interface="MS dumpbin" 6564 fi 6565 rm -f conftest* 6566fi 6567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 6568$as_echo "$lt_cv_nm_interface" >&6; } 6569 6570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 6571$as_echo_n "checking whether ln -s works... " >&6; } 6572LN_S=$as_ln_s 6573if test "$LN_S" = "ln -s"; then 6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6575$as_echo "yes" >&6; } 6576else 6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 6578$as_echo "no, using $LN_S" >&6; } 6579fi 6580 6581# find the maximum length of command line arguments 6582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 6583$as_echo_n "checking the maximum length of command line arguments... " >&6; } 6584if ${lt_cv_sys_max_cmd_len+:} false; then : 6585 $as_echo_n "(cached) " >&6 6586else 6587 i=0 6588 teststring=ABCD 6589 6590 case $build_os in 6591 msdosdjgpp*) 6592 # On DJGPP, this test can blow up pretty badly due to problems in libc 6593 # (any single argument exceeding 2000 bytes causes a buffer overrun 6594 # during glob expansion). Even if it were fixed, the result of this 6595 # check would be larger than it should be. 6596 lt_cv_sys_max_cmd_len=12288; # 12K is about right 6597 ;; 6598 6599 gnu*) 6600 # Under GNU Hurd, this test is not required because there is 6601 # no limit to the length of command line arguments. 6602 # Libtool will interpret -1 as no limit whatsoever 6603 lt_cv_sys_max_cmd_len=-1; 6604 ;; 6605 6606 cygwin* | mingw* | cegcc*) 6607 # On Win9x/ME, this test blows up -- it succeeds, but takes 6608 # about 5 minutes as the teststring grows exponentially. 6609 # Worse, since 9x/ME are not pre-emptively multitasking, 6610 # you end up with a "frozen" computer, even though with patience 6611 # the test eventually succeeds (with a max line length of 256k). 6612 # Instead, let's just punt: use the minimum linelength reported by 6613 # all of the supported platforms: 8192 (on NT/2K/XP). 6614 lt_cv_sys_max_cmd_len=8192; 6615 ;; 6616 6617 mint*) 6618 # On MiNT this can take a long time and run out of memory. 6619 lt_cv_sys_max_cmd_len=8192; 6620 ;; 6621 6622 amigaos*) 6623 # On AmigaOS with pdksh, this test takes hours, literally. 6624 # So we just punt and use a minimum line length of 8192. 6625 lt_cv_sys_max_cmd_len=8192; 6626 ;; 6627 6628 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) 6629 # This has been around since 386BSD, at least. Likely further. 6630 if test -x /sbin/sysctl; then 6631 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 6632 elif test -x /usr/sbin/sysctl; then 6633 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 6634 else 6635 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs 6636 fi 6637 # And add a safety zone 6638 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6639 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6640 ;; 6641 6642 interix*) 6643 # We know the value 262144 and hardcode it with a safety zone (like BSD) 6644 lt_cv_sys_max_cmd_len=196608 6645 ;; 6646 6647 os2*) 6648 # The test takes a long time on OS/2. 6649 lt_cv_sys_max_cmd_len=8192 6650 ;; 6651 6652 osf*) 6653 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 6654 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 6655 # nice to cause kernel panics so lets avoid the loop below. 6656 # First set a reasonable default. 6657 lt_cv_sys_max_cmd_len=16384 6658 # 6659 if test -x /sbin/sysconfig; then 6660 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 6661 *1*) lt_cv_sys_max_cmd_len=-1 ;; 6662 esac 6663 fi 6664 ;; 6665 sco3.2v5*) 6666 lt_cv_sys_max_cmd_len=102400 6667 ;; 6668 sysv5* | sco5v6* | sysv4.2uw2*) 6669 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` 6670 if test -n "$kargmax"; then 6671 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` 6672 else 6673 lt_cv_sys_max_cmd_len=32768 6674 fi 6675 ;; 6676 *) 6677 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` 6678 if test -n "$lt_cv_sys_max_cmd_len" && \ 6679 test undefined != "$lt_cv_sys_max_cmd_len"; then 6680 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 6681 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` 6682 else 6683 # Make teststring a little bigger before we do anything with it. 6684 # a 1K string should be a reasonable start. 6685 for i in 1 2 3 4 5 6 7 8; do 6686 teststring=$teststring$teststring 6687 done 6688 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 6689 # If test is not a shell built-in, we'll probably end up computing a 6690 # maximum length that is only half of the actual maximum length, but 6691 # we can't tell. 6692 while { test X`env echo "$teststring$teststring" 2>/dev/null` \ 6693 = "X$teststring$teststring"; } >/dev/null 2>&1 && 6694 test 17 != "$i" # 1/2 MB should be enough 6695 do 6696 i=`expr $i + 1` 6697 teststring=$teststring$teststring 6698 done 6699 # Only check the string length outside the loop. 6700 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` 6701 teststring= 6702 # Add a significant safety factor because C++ compilers can tack on 6703 # massive amounts of additional arguments before passing them to the 6704 # linker. It appears as though 1/2 is a usable value. 6705 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` 6706 fi 6707 ;; 6708 esac 6709 6710fi 6711 6712if test -n "$lt_cv_sys_max_cmd_len"; then 6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 6714$as_echo "$lt_cv_sys_max_cmd_len" >&6; } 6715else 6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 6717$as_echo "none" >&6; } 6718fi 6719max_cmd_len=$lt_cv_sys_max_cmd_len 6720 6721 6722 6723 6724 6725 6726: ${CP="cp -f"} 6727: ${MV="mv -f"} 6728: ${RM="rm -f"} 6729 6730if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 6731 lt_unset=unset 6732else 6733 lt_unset=false 6734fi 6735 6736 6737 6738 6739 6740# test EBCDIC or ASCII 6741case `echo X|tr X '\101'` in 6742 A) # ASCII based system 6743 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr 6744 lt_SP2NL='tr \040 \012' 6745 lt_NL2SP='tr \015\012 \040\040' 6746 ;; 6747 *) # EBCDIC based system 6748 lt_SP2NL='tr \100 \n' 6749 lt_NL2SP='tr \r\n \100\100' 6750 ;; 6751esac 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 6762$as_echo_n "checking how to convert $build file names to $host format... " >&6; } 6763if ${lt_cv_to_host_file_cmd+:} false; then : 6764 $as_echo_n "(cached) " >&6 6765else 6766 case $host in 6767 *-*-mingw* ) 6768 case $build in 6769 *-*-mingw* ) # actually msys 6770 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 6771 ;; 6772 *-*-cygwin* ) 6773 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 6774 ;; 6775 * ) # otherwise, assume *nix 6776 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 6777 ;; 6778 esac 6779 ;; 6780 *-*-cygwin* ) 6781 case $build in 6782 *-*-mingw* ) # actually msys 6783 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin 6784 ;; 6785 *-*-cygwin* ) 6786 lt_cv_to_host_file_cmd=func_convert_file_noop 6787 ;; 6788 * ) # otherwise, assume *nix 6789 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin 6790 ;; 6791 esac 6792 ;; 6793 * ) # unhandled hosts (and "normal" native builds) 6794 lt_cv_to_host_file_cmd=func_convert_file_noop 6795 ;; 6796esac 6797 6798fi 6799 6800to_host_file_cmd=$lt_cv_to_host_file_cmd 6801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 6802$as_echo "$lt_cv_to_host_file_cmd" >&6; } 6803 6804 6805 6806 6807 6808{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 6809$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } 6810if ${lt_cv_to_tool_file_cmd+:} false; then : 6811 $as_echo_n "(cached) " >&6 6812else 6813 #assume ordinary cross tools, or native build. 6814lt_cv_to_tool_file_cmd=func_convert_file_noop 6815case $host in 6816 *-*-mingw* ) 6817 case $build in 6818 *-*-mingw* ) # actually msys 6819 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 6820 ;; 6821 esac 6822 ;; 6823esac 6824 6825fi 6826 6827to_tool_file_cmd=$lt_cv_to_tool_file_cmd 6828{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 6829$as_echo "$lt_cv_to_tool_file_cmd" >&6; } 6830 6831 6832 6833 6834 6835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 6836$as_echo_n "checking for $LD option to reload object files... " >&6; } 6837if ${lt_cv_ld_reload_flag+:} false; then : 6838 $as_echo_n "(cached) " >&6 6839else 6840 lt_cv_ld_reload_flag='-r' 6841fi 6842{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 6843$as_echo "$lt_cv_ld_reload_flag" >&6; } 6844reload_flag=$lt_cv_ld_reload_flag 6845case $reload_flag in 6846"" | " "*) ;; 6847*) reload_flag=" $reload_flag" ;; 6848esac 6849reload_cmds='$LD$reload_flag -o $output$reload_objs' 6850case $host_os in 6851 cygwin* | mingw* | pw32* | cegcc*) 6852 if test yes != "$GCC"; then 6853 reload_cmds=false 6854 fi 6855 ;; 6856 darwin*) 6857 if test yes = "$GCC"; then 6858 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' 6859 else 6860 reload_cmds='$LD$reload_flag -o $output$reload_objs' 6861 fi 6862 ;; 6863esac 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873if test -n "$ac_tool_prefix"; then 6874 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. 6875set dummy ${ac_tool_prefix}objdump; ac_word=$2 6876{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6877$as_echo_n "checking for $ac_word... " >&6; } 6878if ${ac_cv_prog_OBJDUMP+:} false; then : 6879 $as_echo_n "(cached) " >&6 6880else 6881 if test -n "$OBJDUMP"; then 6882 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. 6883else 6884as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6885for as_dir in $PATH 6886do 6887 IFS=$as_save_IFS 6888 test -z "$as_dir" && as_dir=. 6889 for ac_exec_ext in '' $ac_executable_extensions; do 6890 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6891 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" 6892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6893 break 2 6894 fi 6895done 6896 done 6897IFS=$as_save_IFS 6898 6899fi 6900fi 6901OBJDUMP=$ac_cv_prog_OBJDUMP 6902if test -n "$OBJDUMP"; then 6903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 6904$as_echo "$OBJDUMP" >&6; } 6905else 6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6907$as_echo "no" >&6; } 6908fi 6909 6910 6911fi 6912if test -z "$ac_cv_prog_OBJDUMP"; then 6913 ac_ct_OBJDUMP=$OBJDUMP 6914 # Extract the first word of "objdump", so it can be a program name with args. 6915set dummy objdump; ac_word=$2 6916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6917$as_echo_n "checking for $ac_word... " >&6; } 6918if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : 6919 $as_echo_n "(cached) " >&6 6920else 6921 if test -n "$ac_ct_OBJDUMP"; then 6922 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. 6923else 6924as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6925for as_dir in $PATH 6926do 6927 IFS=$as_save_IFS 6928 test -z "$as_dir" && as_dir=. 6929 for ac_exec_ext in '' $ac_executable_extensions; do 6930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6931 ac_cv_prog_ac_ct_OBJDUMP="objdump" 6932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6933 break 2 6934 fi 6935done 6936 done 6937IFS=$as_save_IFS 6938 6939fi 6940fi 6941ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP 6942if test -n "$ac_ct_OBJDUMP"; then 6943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 6944$as_echo "$ac_ct_OBJDUMP" >&6; } 6945else 6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6947$as_echo "no" >&6; } 6948fi 6949 6950 if test "x$ac_ct_OBJDUMP" = x; then 6951 OBJDUMP="false" 6952 else 6953 case $cross_compiling:$ac_tool_warned in 6954yes:) 6955{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6956$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6957ac_tool_warned=yes ;; 6958esac 6959 OBJDUMP=$ac_ct_OBJDUMP 6960 fi 6961else 6962 OBJDUMP="$ac_cv_prog_OBJDUMP" 6963fi 6964 6965test -z "$OBJDUMP" && OBJDUMP=objdump 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 6976$as_echo_n "checking how to recognize dependent libraries... " >&6; } 6977if ${lt_cv_deplibs_check_method+:} false; then : 6978 $as_echo_n "(cached) " >&6 6979else 6980 lt_cv_file_magic_cmd='$MAGIC_CMD' 6981lt_cv_file_magic_test_file= 6982lt_cv_deplibs_check_method='unknown' 6983# Need to set the preceding variable on all platforms that support 6984# interlibrary dependencies. 6985# 'none' -- dependencies not supported. 6986# 'unknown' -- same as none, but documents that we really don't know. 6987# 'pass_all' -- all dependencies passed with no checks. 6988# 'test_compile' -- check by making test program. 6989# 'file_magic [[regex]]' -- check by looking for files in library path 6990# that responds to the $file_magic_cmd with a given extended regex. 6991# If you have 'file' or equivalent on your system and you're not sure 6992# whether 'pass_all' will *always* work, you probably want this one. 6993 6994case $host_os in 6995aix[4-9]*) 6996 lt_cv_deplibs_check_method=pass_all 6997 ;; 6998 6999beos*) 7000 lt_cv_deplibs_check_method=pass_all 7001 ;; 7002 7003bsdi[45]*) 7004 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' 7005 lt_cv_file_magic_cmd='/usr/bin/file -L' 7006 lt_cv_file_magic_test_file=/shlib/libc.so 7007 ;; 7008 7009cygwin*) 7010 # func_win32_libid is a shell function defined in ltmain.sh 7011 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7012 lt_cv_file_magic_cmd='func_win32_libid' 7013 ;; 7014 7015mingw* | pw32*) 7016 # Base MSYS/MinGW do not provide the 'file' command needed by 7017 # func_win32_libid shell function, so use a weaker test based on 'objdump', 7018 # unless we find 'file', for example because we are cross-compiling. 7019 if ( file / ) >/dev/null 2>&1; then 7020 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 7021 lt_cv_file_magic_cmd='func_win32_libid' 7022 else 7023 # Keep this pattern in sync with the one in func_win32_libid. 7024 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' 7025 lt_cv_file_magic_cmd='$OBJDUMP -f' 7026 fi 7027 ;; 7028 7029cegcc*) 7030 # use the weaker test based on 'objdump'. See mingw*. 7031 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' 7032 lt_cv_file_magic_cmd='$OBJDUMP -f' 7033 ;; 7034 7035darwin* | rhapsody*) 7036 lt_cv_deplibs_check_method=pass_all 7037 ;; 7038 7039freebsd* | dragonfly*) 7040 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7041 case $host_cpu in 7042 i*86 ) 7043 # Not sure whether the presence of OpenBSD here was a mistake. 7044 # Let's accept both of them until this is cleared up. 7045 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' 7046 lt_cv_file_magic_cmd=/usr/bin/file 7047 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 7048 ;; 7049 esac 7050 else 7051 lt_cv_deplibs_check_method=pass_all 7052 fi 7053 ;; 7054 7055haiku*) 7056 lt_cv_deplibs_check_method=pass_all 7057 ;; 7058 7059hpux10.20* | hpux11*) 7060 lt_cv_file_magic_cmd=/usr/bin/file 7061 case $host_cpu in 7062 ia64*) 7063 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' 7064 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so 7065 ;; 7066 hppa*64*) 7067 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]' 7068 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl 7069 ;; 7070 *) 7071 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' 7072 lt_cv_file_magic_test_file=/usr/lib/libc.sl 7073 ;; 7074 esac 7075 ;; 7076 7077interix[3-9]*) 7078 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here 7079 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' 7080 ;; 7081 7082irix5* | irix6* | nonstopux*) 7083 case $LD in 7084 *-32|*"-32 ") libmagic=32-bit;; 7085 *-n32|*"-n32 ") libmagic=N32;; 7086 *-64|*"-64 ") libmagic=64-bit;; 7087 *) libmagic=never-match;; 7088 esac 7089 lt_cv_deplibs_check_method=pass_all 7090 ;; 7091 7092# This must be glibc/ELF. 7093linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 7094 lt_cv_deplibs_check_method=pass_all 7095 ;; 7096 7097netbsd* | netbsdelf*-gnu) 7098 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then 7099 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7100 else 7101 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' 7102 fi 7103 ;; 7104 7105newos6*) 7106 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' 7107 lt_cv_file_magic_cmd=/usr/bin/file 7108 lt_cv_file_magic_test_file=/usr/lib/libnls.so 7109 ;; 7110 7111*nto* | *qnx*) 7112 lt_cv_deplibs_check_method=pass_all 7113 ;; 7114 7115openbsd* | bitrig*) 7116 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 7117 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' 7118 else 7119 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' 7120 fi 7121 ;; 7122 7123osf3* | osf4* | osf5*) 7124 lt_cv_deplibs_check_method=pass_all 7125 ;; 7126 7127rdos*) 7128 lt_cv_deplibs_check_method=pass_all 7129 ;; 7130 7131solaris*) 7132 lt_cv_deplibs_check_method=pass_all 7133 ;; 7134 7135sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 7136 lt_cv_deplibs_check_method=pass_all 7137 ;; 7138 7139sysv4 | sysv4.3*) 7140 case $host_vendor in 7141 motorola) 7142 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]' 7143 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` 7144 ;; 7145 ncr) 7146 lt_cv_deplibs_check_method=pass_all 7147 ;; 7148 sequent) 7149 lt_cv_file_magic_cmd='/bin/file' 7150 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' 7151 ;; 7152 sni) 7153 lt_cv_file_magic_cmd='/bin/file' 7154 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" 7155 lt_cv_file_magic_test_file=/lib/libc.so 7156 ;; 7157 siemens) 7158 lt_cv_deplibs_check_method=pass_all 7159 ;; 7160 pc) 7161 lt_cv_deplibs_check_method=pass_all 7162 ;; 7163 esac 7164 ;; 7165 7166tpf*) 7167 lt_cv_deplibs_check_method=pass_all 7168 ;; 7169os2*) 7170 lt_cv_deplibs_check_method=pass_all 7171 ;; 7172esac 7173 7174fi 7175{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 7176$as_echo "$lt_cv_deplibs_check_method" >&6; } 7177 7178file_magic_glob= 7179want_nocaseglob=no 7180if test "$build" = "$host"; then 7181 case $host_os in 7182 mingw* | pw32*) 7183 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then 7184 want_nocaseglob=yes 7185 else 7186 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` 7187 fi 7188 ;; 7189 esac 7190fi 7191 7192file_magic_cmd=$lt_cv_file_magic_cmd 7193deplibs_check_method=$lt_cv_deplibs_check_method 7194test -z "$deplibs_check_method" && deplibs_check_method=unknown 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217if test -n "$ac_tool_prefix"; then 7218 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. 7219set dummy ${ac_tool_prefix}dlltool; ac_word=$2 7220{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7221$as_echo_n "checking for $ac_word... " >&6; } 7222if ${ac_cv_prog_DLLTOOL+:} false; then : 7223 $as_echo_n "(cached) " >&6 7224else 7225 if test -n "$DLLTOOL"; then 7226 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. 7227else 7228as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7229for as_dir in $PATH 7230do 7231 IFS=$as_save_IFS 7232 test -z "$as_dir" && as_dir=. 7233 for ac_exec_ext in '' $ac_executable_extensions; do 7234 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7235 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" 7236 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7237 break 2 7238 fi 7239done 7240 done 7241IFS=$as_save_IFS 7242 7243fi 7244fi 7245DLLTOOL=$ac_cv_prog_DLLTOOL 7246if test -n "$DLLTOOL"; then 7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 7248$as_echo "$DLLTOOL" >&6; } 7249else 7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7251$as_echo "no" >&6; } 7252fi 7253 7254 7255fi 7256if test -z "$ac_cv_prog_DLLTOOL"; then 7257 ac_ct_DLLTOOL=$DLLTOOL 7258 # Extract the first word of "dlltool", so it can be a program name with args. 7259set dummy dlltool; ac_word=$2 7260{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7261$as_echo_n "checking for $ac_word... " >&6; } 7262if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : 7263 $as_echo_n "(cached) " >&6 7264else 7265 if test -n "$ac_ct_DLLTOOL"; then 7266 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. 7267else 7268as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7269for as_dir in $PATH 7270do 7271 IFS=$as_save_IFS 7272 test -z "$as_dir" && as_dir=. 7273 for ac_exec_ext in '' $ac_executable_extensions; do 7274 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7275 ac_cv_prog_ac_ct_DLLTOOL="dlltool" 7276 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7277 break 2 7278 fi 7279done 7280 done 7281IFS=$as_save_IFS 7282 7283fi 7284fi 7285ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL 7286if test -n "$ac_ct_DLLTOOL"; then 7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 7288$as_echo "$ac_ct_DLLTOOL" >&6; } 7289else 7290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7291$as_echo "no" >&6; } 7292fi 7293 7294 if test "x$ac_ct_DLLTOOL" = x; then 7295 DLLTOOL="false" 7296 else 7297 case $cross_compiling:$ac_tool_warned in 7298yes:) 7299{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7300$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7301ac_tool_warned=yes ;; 7302esac 7303 DLLTOOL=$ac_ct_DLLTOOL 7304 fi 7305else 7306 DLLTOOL="$ac_cv_prog_DLLTOOL" 7307fi 7308 7309test -z "$DLLTOOL" && DLLTOOL=dlltool 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 7321$as_echo_n "checking how to associate runtime and link libraries... " >&6; } 7322if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : 7323 $as_echo_n "(cached) " >&6 7324else 7325 lt_cv_sharedlib_from_linklib_cmd='unknown' 7326 7327case $host_os in 7328cygwin* | mingw* | pw32* | cegcc*) 7329 # two different shell functions defined in ltmain.sh; 7330 # decide which one to use based on capabilities of $DLLTOOL 7331 case `$DLLTOOL --help 2>&1` in 7332 *--identify-strict*) 7333 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib 7334 ;; 7335 *) 7336 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback 7337 ;; 7338 esac 7339 ;; 7340*) 7341 # fallback: assume linklib IS sharedlib 7342 lt_cv_sharedlib_from_linklib_cmd=$ECHO 7343 ;; 7344esac 7345 7346fi 7347{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 7348$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } 7349sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd 7350test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO 7351 7352 7353 7354 7355 7356 7357 7358if test -n "$ac_tool_prefix"; then 7359 for ac_prog in ar 7360 do 7361 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 7362set dummy $ac_tool_prefix$ac_prog; ac_word=$2 7363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7364$as_echo_n "checking for $ac_word... " >&6; } 7365if ${ac_cv_prog_AR+:} false; then : 7366 $as_echo_n "(cached) " >&6 7367else 7368 if test -n "$AR"; then 7369 ac_cv_prog_AR="$AR" # Let the user override the test. 7370else 7371as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7372for as_dir in $PATH 7373do 7374 IFS=$as_save_IFS 7375 test -z "$as_dir" && as_dir=. 7376 for ac_exec_ext in '' $ac_executable_extensions; do 7377 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7378 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 7379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7380 break 2 7381 fi 7382done 7383 done 7384IFS=$as_save_IFS 7385 7386fi 7387fi 7388AR=$ac_cv_prog_AR 7389if test -n "$AR"; then 7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 7391$as_echo "$AR" >&6; } 7392else 7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7394$as_echo "no" >&6; } 7395fi 7396 7397 7398 test -n "$AR" && break 7399 done 7400fi 7401if test -z "$AR"; then 7402 ac_ct_AR=$AR 7403 for ac_prog in ar 7404do 7405 # Extract the first word of "$ac_prog", so it can be a program name with args. 7406set dummy $ac_prog; ac_word=$2 7407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7408$as_echo_n "checking for $ac_word... " >&6; } 7409if ${ac_cv_prog_ac_ct_AR+:} false; then : 7410 $as_echo_n "(cached) " >&6 7411else 7412 if test -n "$ac_ct_AR"; then 7413 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 7414else 7415as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7416for as_dir in $PATH 7417do 7418 IFS=$as_save_IFS 7419 test -z "$as_dir" && as_dir=. 7420 for ac_exec_ext in '' $ac_executable_extensions; do 7421 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7422 ac_cv_prog_ac_ct_AR="$ac_prog" 7423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7424 break 2 7425 fi 7426done 7427 done 7428IFS=$as_save_IFS 7429 7430fi 7431fi 7432ac_ct_AR=$ac_cv_prog_ac_ct_AR 7433if test -n "$ac_ct_AR"; then 7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 7435$as_echo "$ac_ct_AR" >&6; } 7436else 7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7438$as_echo "no" >&6; } 7439fi 7440 7441 7442 test -n "$ac_ct_AR" && break 7443done 7444 7445 if test "x$ac_ct_AR" = x; then 7446 AR="false" 7447 else 7448 case $cross_compiling:$ac_tool_warned in 7449yes:) 7450{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7451$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7452ac_tool_warned=yes ;; 7453esac 7454 AR=$ac_ct_AR 7455 fi 7456fi 7457 7458: ${AR=ar} 7459: ${AR_FLAGS=cr} 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 7472$as_echo_n "checking for archiver @FILE support... " >&6; } 7473if ${lt_cv_ar_at_file+:} false; then : 7474 $as_echo_n "(cached) " >&6 7475else 7476 lt_cv_ar_at_file=no 7477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7478/* end confdefs.h. */ 7479 7480int 7481main () 7482{ 7483 7484 ; 7485 return 0; 7486} 7487_ACEOF 7488if ac_fn_c_try_compile "$LINENO"; then : 7489 echo conftest.$ac_objext > conftest.lst 7490 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' 7491 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7492 (eval $lt_ar_try) 2>&5 7493 ac_status=$? 7494 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7495 test $ac_status = 0; } 7496 if test 0 -eq "$ac_status"; then 7497 # Ensure the archiver fails upon bogus file names. 7498 rm -f conftest.$ac_objext libconftest.a 7499 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 7500 (eval $lt_ar_try) 2>&5 7501 ac_status=$? 7502 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7503 test $ac_status = 0; } 7504 if test 0 -ne "$ac_status"; then 7505 lt_cv_ar_at_file=@ 7506 fi 7507 fi 7508 rm -f conftest.* libconftest.a 7509 7510fi 7511rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7512 7513fi 7514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 7515$as_echo "$lt_cv_ar_at_file" >&6; } 7516 7517if test no = "$lt_cv_ar_at_file"; then 7518 archiver_list_spec= 7519else 7520 archiver_list_spec=$lt_cv_ar_at_file 7521fi 7522 7523 7524 7525 7526 7527 7528 7529if test -n "$ac_tool_prefix"; then 7530 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 7531set dummy ${ac_tool_prefix}strip; ac_word=$2 7532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7533$as_echo_n "checking for $ac_word... " >&6; } 7534if ${ac_cv_prog_STRIP+:} false; then : 7535 $as_echo_n "(cached) " >&6 7536else 7537 if test -n "$STRIP"; then 7538 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 7539else 7540as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7541for as_dir in $PATH 7542do 7543 IFS=$as_save_IFS 7544 test -z "$as_dir" && as_dir=. 7545 for ac_exec_ext in '' $ac_executable_extensions; do 7546 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7547 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 7548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7549 break 2 7550 fi 7551done 7552 done 7553IFS=$as_save_IFS 7554 7555fi 7556fi 7557STRIP=$ac_cv_prog_STRIP 7558if test -n "$STRIP"; then 7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 7560$as_echo "$STRIP" >&6; } 7561else 7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7563$as_echo "no" >&6; } 7564fi 7565 7566 7567fi 7568if test -z "$ac_cv_prog_STRIP"; then 7569 ac_ct_STRIP=$STRIP 7570 # Extract the first word of "strip", so it can be a program name with args. 7571set dummy strip; ac_word=$2 7572{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7573$as_echo_n "checking for $ac_word... " >&6; } 7574if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 7575 $as_echo_n "(cached) " >&6 7576else 7577 if test -n "$ac_ct_STRIP"; then 7578 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 7579else 7580as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7581for as_dir in $PATH 7582do 7583 IFS=$as_save_IFS 7584 test -z "$as_dir" && as_dir=. 7585 for ac_exec_ext in '' $ac_executable_extensions; do 7586 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7587 ac_cv_prog_ac_ct_STRIP="strip" 7588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7589 break 2 7590 fi 7591done 7592 done 7593IFS=$as_save_IFS 7594 7595fi 7596fi 7597ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 7598if test -n "$ac_ct_STRIP"; then 7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 7600$as_echo "$ac_ct_STRIP" >&6; } 7601else 7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7603$as_echo "no" >&6; } 7604fi 7605 7606 if test "x$ac_ct_STRIP" = x; then 7607 STRIP=":" 7608 else 7609 case $cross_compiling:$ac_tool_warned in 7610yes:) 7611{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7612$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7613ac_tool_warned=yes ;; 7614esac 7615 STRIP=$ac_ct_STRIP 7616 fi 7617else 7618 STRIP="$ac_cv_prog_STRIP" 7619fi 7620 7621test -z "$STRIP" && STRIP=: 7622 7623 7624 7625 7626 7627 7628if test -n "$ac_tool_prefix"; then 7629 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 7630set dummy ${ac_tool_prefix}ranlib; ac_word=$2 7631{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7632$as_echo_n "checking for $ac_word... " >&6; } 7633if ${ac_cv_prog_RANLIB+:} false; then : 7634 $as_echo_n "(cached) " >&6 7635else 7636 if test -n "$RANLIB"; then 7637 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 7638else 7639as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7640for as_dir in $PATH 7641do 7642 IFS=$as_save_IFS 7643 test -z "$as_dir" && as_dir=. 7644 for ac_exec_ext in '' $ac_executable_extensions; do 7645 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7646 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 7647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7648 break 2 7649 fi 7650done 7651 done 7652IFS=$as_save_IFS 7653 7654fi 7655fi 7656RANLIB=$ac_cv_prog_RANLIB 7657if test -n "$RANLIB"; then 7658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 7659$as_echo "$RANLIB" >&6; } 7660else 7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7662$as_echo "no" >&6; } 7663fi 7664 7665 7666fi 7667if test -z "$ac_cv_prog_RANLIB"; then 7668 ac_ct_RANLIB=$RANLIB 7669 # Extract the first word of "ranlib", so it can be a program name with args. 7670set dummy ranlib; ac_word=$2 7671{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7672$as_echo_n "checking for $ac_word... " >&6; } 7673if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 7674 $as_echo_n "(cached) " >&6 7675else 7676 if test -n "$ac_ct_RANLIB"; then 7677 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 7678else 7679as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7680for as_dir in $PATH 7681do 7682 IFS=$as_save_IFS 7683 test -z "$as_dir" && as_dir=. 7684 for ac_exec_ext in '' $ac_executable_extensions; do 7685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7686 ac_cv_prog_ac_ct_RANLIB="ranlib" 7687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7688 break 2 7689 fi 7690done 7691 done 7692IFS=$as_save_IFS 7693 7694fi 7695fi 7696ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 7697if test -n "$ac_ct_RANLIB"; then 7698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 7699$as_echo "$ac_ct_RANLIB" >&6; } 7700else 7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7702$as_echo "no" >&6; } 7703fi 7704 7705 if test "x$ac_ct_RANLIB" = x; then 7706 RANLIB=":" 7707 else 7708 case $cross_compiling:$ac_tool_warned in 7709yes:) 7710{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7711$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7712ac_tool_warned=yes ;; 7713esac 7714 RANLIB=$ac_ct_RANLIB 7715 fi 7716else 7717 RANLIB="$ac_cv_prog_RANLIB" 7718fi 7719 7720test -z "$RANLIB" && RANLIB=: 7721 7722 7723 7724 7725 7726 7727# Determine commands to create old-style static archives. 7728old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' 7729old_postinstall_cmds='chmod 644 $oldlib' 7730old_postuninstall_cmds= 7731 7732if test -n "$RANLIB"; then 7733 case $host_os in 7734 bitrig* | openbsd*) 7735 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" 7736 ;; 7737 *) 7738 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" 7739 ;; 7740 esac 7741 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" 7742fi 7743 7744case $host_os in 7745 darwin*) 7746 lock_old_archive_extraction=yes ;; 7747 *) 7748 lock_old_archive_extraction=no ;; 7749esac 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789# If no C compiler was specified, use CC. 7790LTCC=${LTCC-"$CC"} 7791 7792# If no C compiler flags were specified, use CFLAGS. 7793LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 7794 7795# Allow CC to be a program name with arguments. 7796compiler=$CC 7797 7798 7799# Check for command to grab the raw symbol name followed by C symbol from nm. 7800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 7801$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } 7802if ${lt_cv_sys_global_symbol_pipe+:} false; then : 7803 $as_echo_n "(cached) " >&6 7804else 7805 7806# These are sane defaults that work on at least a few old systems. 7807# [They come from Ultrix. What could be older than Ultrix?!! ;)] 7808 7809# Character class describing NM global symbol codes. 7810symcode='[BCDEGRST]' 7811 7812# Regexp to match symbols that can be accessed directly from C. 7813sympat='\([_A-Za-z][_A-Za-z0-9]*\)' 7814 7815# Define system-specific variables. 7816case $host_os in 7817aix*) 7818 symcode='[BCDT]' 7819 ;; 7820cygwin* | mingw* | pw32* | cegcc*) 7821 symcode='[ABCDGISTW]' 7822 ;; 7823hpux*) 7824 if test ia64 = "$host_cpu"; then 7825 symcode='[ABCDEGRST]' 7826 fi 7827 ;; 7828irix* | nonstopux*) 7829 symcode='[BCDEGRST]' 7830 ;; 7831osf*) 7832 symcode='[BCDEGQRST]' 7833 ;; 7834solaris*) 7835 symcode='[BDRT]' 7836 ;; 7837sco3.2v5*) 7838 symcode='[DT]' 7839 ;; 7840sysv4.2uw2*) 7841 symcode='[DT]' 7842 ;; 7843sysv5* | sco5v6* | unixware* | OpenUNIX*) 7844 symcode='[ABDT]' 7845 ;; 7846sysv4) 7847 symcode='[DFNSTU]' 7848 ;; 7849esac 7850 7851# If we're using GNU nm, then use its standard symbol codes. 7852case `$NM -V 2>&1` in 7853*GNU* | *'with BFD'*) 7854 symcode='[ABCDGIRSTW]' ;; 7855esac 7856 7857if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7858 # Gets list of data symbols to import. 7859 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" 7860 # Adjust the below global symbol transforms to fixup imported variables. 7861 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" 7862 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" 7863 lt_c_name_lib_hook="\ 7864 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ 7865 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" 7866else 7867 # Disable hooks by default. 7868 lt_cv_sys_global_symbol_to_import= 7869 lt_cdecl_hook= 7870 lt_c_name_hook= 7871 lt_c_name_lib_hook= 7872fi 7873 7874# Transform an extracted symbol line into a proper C declaration. 7875# Some systems (esp. on ia64) link data and code symbols differently, 7876# so use this general approach. 7877lt_cv_sys_global_symbol_to_cdecl="sed -n"\ 7878$lt_cdecl_hook\ 7879" -e 's/^T .* \(.*\)$/extern int \1();/p'"\ 7880" -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" 7881 7882# Transform an extracted symbol line into symbol name and symbol address 7883lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ 7884$lt_c_name_hook\ 7885" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7886" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" 7887 7888# Transform an extracted symbol line into symbol name with lib prefix and 7889# symbol address. 7890lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ 7891$lt_c_name_lib_hook\ 7892" -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ 7893" -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ 7894" -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" 7895 7896# Handle CRLF in mingw tool chain 7897opt_cr= 7898case $build_os in 7899mingw*) 7900 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp 7901 ;; 7902esac 7903 7904# Try without a prefix underscore, then with it. 7905for ac_symprfx in "" "_"; do 7906 7907 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. 7908 symxfrm="\\1 $ac_symprfx\\2 \\2" 7909 7910 # Write the raw and C identifiers. 7911 if test "$lt_cv_nm_interface" = "MS dumpbin"; then 7912 # Fake it for dumpbin and say T for any non-static function, 7913 # D for any global variable and I for any imported variable. 7914 # Also find C++ and __fastcall symbols from MSVC++, 7915 # which start with @ or ?. 7916 lt_cv_sys_global_symbol_pipe="$AWK '"\ 7917" {last_section=section; section=\$ 3};"\ 7918" /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ 7919" /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ 7920" /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ 7921" /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ 7922" /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ 7923" \$ 0!~/External *\|/{next};"\ 7924" / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ 7925" {if(hide[section]) next};"\ 7926" {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ 7927" {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ 7928" s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ 7929" s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ 7930" ' prfx=^$ac_symprfx" 7931 else 7932 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" 7933 fi 7934 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" 7935 7936 # Check to see that the pipe works correctly. 7937 pipe_works=no 7938 7939 rm -f conftest* 7940 cat > conftest.$ac_ext <<_LT_EOF 7941#ifdef __cplusplus 7942extern "C" { 7943#endif 7944char nm_test_var; 7945void nm_test_func(void); 7946void nm_test_func(void){} 7947#ifdef __cplusplus 7948} 7949#endif 7950int main(){nm_test_var='a';nm_test_func();return(0);} 7951_LT_EOF 7952 7953 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 7954 (eval $ac_compile) 2>&5 7955 ac_status=$? 7956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7957 test $ac_status = 0; }; then 7958 # Now try to grab the symbols. 7959 nlist=conftest.nm 7960 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5 7961 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then 7962 # Try sorting and uniquifying the output. 7963 if sort "$nlist" | uniq > "$nlist"T; then 7964 mv -f "$nlist"T "$nlist" 7965 else 7966 rm -f "$nlist"T 7967 fi 7968 7969 # Make sure that we snagged all the symbols we need. 7970 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then 7971 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then 7972 cat <<_LT_EOF > conftest.$ac_ext 7973/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ 7974#if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE 7975/* DATA imports from DLLs on WIN32 can't be const, because runtime 7976 relocations are performed -- see ld's documentation on pseudo-relocs. */ 7977# define LT_DLSYM_CONST 7978#elif defined __osf__ 7979/* This system does not cope well with relocations in const data. */ 7980# define LT_DLSYM_CONST 7981#else 7982# define LT_DLSYM_CONST const 7983#endif 7984 7985#ifdef __cplusplus 7986extern "C" { 7987#endif 7988 7989_LT_EOF 7990 # Now generate the symbol file. 7991 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' 7992 7993 cat <<_LT_EOF >> conftest.$ac_ext 7994 7995/* The mapping between symbol names and symbols. */ 7996LT_DLSYM_CONST struct { 7997 const char *name; 7998 void *address; 7999} 8000lt__PROGRAM__LTX_preloaded_symbols[] = 8001{ 8002 { "@PROGRAM@", (void *) 0 }, 8003_LT_EOF 8004 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext 8005 cat <<\_LT_EOF >> conftest.$ac_ext 8006 {0, (void *) 0} 8007}; 8008 8009/* This works around a problem in FreeBSD linker */ 8010#ifdef FREEBSD_WORKAROUND 8011static const void *lt_preloaded_setup() { 8012 return lt__PROGRAM__LTX_preloaded_symbols; 8013} 8014#endif 8015 8016#ifdef __cplusplus 8017} 8018#endif 8019_LT_EOF 8020 # Now try linking the two files. 8021 mv conftest.$ac_objext conftstm.$ac_objext 8022 lt_globsym_save_LIBS=$LIBS 8023 lt_globsym_save_CFLAGS=$CFLAGS 8024 LIBS=conftstm.$ac_objext 8025 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" 8026 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 8027 (eval $ac_link) 2>&5 8028 ac_status=$? 8029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8030 test $ac_status = 0; } && test -s conftest$ac_exeext; then 8031 pipe_works=yes 8032 fi 8033 LIBS=$lt_globsym_save_LIBS 8034 CFLAGS=$lt_globsym_save_CFLAGS 8035 else 8036 echo "cannot find nm_test_func in $nlist" >&5 8037 fi 8038 else 8039 echo "cannot find nm_test_var in $nlist" >&5 8040 fi 8041 else 8042 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 8043 fi 8044 else 8045 echo "$progname: failed program was:" >&5 8046 cat conftest.$ac_ext >&5 8047 fi 8048 rm -rf conftest* conftst* 8049 8050 # Do not use the global_symbol_pipe unless it works. 8051 if test yes = "$pipe_works"; then 8052 break 8053 else 8054 lt_cv_sys_global_symbol_pipe= 8055 fi 8056done 8057 8058fi 8059 8060if test -z "$lt_cv_sys_global_symbol_pipe"; then 8061 lt_cv_sys_global_symbol_to_cdecl= 8062fi 8063if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then 8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 8065$as_echo "failed" >&6; } 8066else 8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 8068$as_echo "ok" >&6; } 8069fi 8070 8071# Response file support. 8072if test "$lt_cv_nm_interface" = "MS dumpbin"; then 8073 nm_file_list_spec='@' 8074elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then 8075 nm_file_list_spec='@' 8076fi 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 8115$as_echo_n "checking for sysroot... " >&6; } 8116 8117# Check whether --with-sysroot was given. 8118if test "${with_sysroot+set}" = set; then : 8119 withval=$with_sysroot; 8120else 8121 with_sysroot=no 8122fi 8123 8124 8125lt_sysroot= 8126case $with_sysroot in #( 8127 yes) 8128 if test yes = "$GCC"; then 8129 lt_sysroot=`$CC --print-sysroot 2>/dev/null` 8130 fi 8131 ;; #( 8132 /*) 8133 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` 8134 ;; #( 8135 no|'') 8136 ;; #( 8137 *) 8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 8139$as_echo "$with_sysroot" >&6; } 8140 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 8141 ;; 8142esac 8143 8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 8145$as_echo "${lt_sysroot:-no}" >&6; } 8146 8147 8148 8149 8150 8151{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 8152$as_echo_n "checking for a working dd... " >&6; } 8153if ${ac_cv_path_lt_DD+:} false; then : 8154 $as_echo_n "(cached) " >&6 8155else 8156 printf 0123456789abcdef0123456789abcdef >conftest.i 8157cat conftest.i conftest.i >conftest2.i 8158: ${lt_DD:=$DD} 8159if test -z "$lt_DD"; then 8160 ac_path_lt_DD_found=false 8161 # Loop through the user's path and test for each of PROGNAME-LIST 8162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8163for as_dir in $PATH 8164do 8165 IFS=$as_save_IFS 8166 test -z "$as_dir" && as_dir=. 8167 for ac_prog in dd; do 8168 for ac_exec_ext in '' $ac_executable_extensions; do 8169 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" 8170 as_fn_executable_p "$ac_path_lt_DD" || continue 8171if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8172 cmp -s conftest.i conftest.out \ 8173 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: 8174fi 8175 $ac_path_lt_DD_found && break 3 8176 done 8177 done 8178 done 8179IFS=$as_save_IFS 8180 if test -z "$ac_cv_path_lt_DD"; then 8181 : 8182 fi 8183else 8184 ac_cv_path_lt_DD=$lt_DD 8185fi 8186 8187rm -f conftest.i conftest2.i conftest.out 8188fi 8189{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 8190$as_echo "$ac_cv_path_lt_DD" >&6; } 8191 8192 8193{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 8194$as_echo_n "checking how to truncate binary pipes... " >&6; } 8195if ${lt_cv_truncate_bin+:} false; then : 8196 $as_echo_n "(cached) " >&6 8197else 8198 printf 0123456789abcdef0123456789abcdef >conftest.i 8199cat conftest.i conftest.i >conftest2.i 8200lt_cv_truncate_bin= 8201if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then 8202 cmp -s conftest.i conftest.out \ 8203 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" 8204fi 8205rm -f conftest.i conftest2.i conftest.out 8206test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" 8207fi 8208{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 8209$as_echo "$lt_cv_truncate_bin" >&6; } 8210 8211 8212 8213 8214 8215 8216 8217# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 8218func_cc_basename () 8219{ 8220 for cc_temp in $*""; do 8221 case $cc_temp in 8222 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 8223 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 8224 \-*) ;; 8225 *) break;; 8226 esac 8227 done 8228 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 8229} 8230 8231# Check whether --enable-libtool-lock was given. 8232if test "${enable_libtool_lock+set}" = set; then : 8233 enableval=$enable_libtool_lock; 8234fi 8235 8236test no = "$enable_libtool_lock" || enable_libtool_lock=yes 8237 8238# Some flags need to be propagated to the compiler or linker for good 8239# libtool support. 8240case $host in 8241ia64-*-hpux*) 8242 # Find out what ABI is being produced by ac_compile, and set mode 8243 # options accordingly. 8244 echo 'int i;' > conftest.$ac_ext 8245 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8246 (eval $ac_compile) 2>&5 8247 ac_status=$? 8248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8249 test $ac_status = 0; }; then 8250 case `/usr/bin/file conftest.$ac_objext` in 8251 *ELF-32*) 8252 HPUX_IA64_MODE=32 8253 ;; 8254 *ELF-64*) 8255 HPUX_IA64_MODE=64 8256 ;; 8257 esac 8258 fi 8259 rm -rf conftest* 8260 ;; 8261*-*-irix6*) 8262 # Find out what ABI is being produced by ac_compile, and set linker 8263 # options accordingly. 8264 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8265 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8266 (eval $ac_compile) 2>&5 8267 ac_status=$? 8268 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8269 test $ac_status = 0; }; then 8270 if test yes = "$lt_cv_prog_gnu_ld"; then 8271 case `/usr/bin/file conftest.$ac_objext` in 8272 *32-bit*) 8273 LD="${LD-ld} -melf32bsmip" 8274 ;; 8275 *N32*) 8276 LD="${LD-ld} -melf32bmipn32" 8277 ;; 8278 *64-bit*) 8279 LD="${LD-ld} -melf64bmip" 8280 ;; 8281 esac 8282 else 8283 case `/usr/bin/file conftest.$ac_objext` in 8284 *32-bit*) 8285 LD="${LD-ld} -32" 8286 ;; 8287 *N32*) 8288 LD="${LD-ld} -n32" 8289 ;; 8290 *64-bit*) 8291 LD="${LD-ld} -64" 8292 ;; 8293 esac 8294 fi 8295 fi 8296 rm -rf conftest* 8297 ;; 8298 8299mips64*-*linux*) 8300 # Find out what ABI is being produced by ac_compile, and set linker 8301 # options accordingly. 8302 echo '#line '$LINENO' "configure"' > conftest.$ac_ext 8303 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8304 (eval $ac_compile) 2>&5 8305 ac_status=$? 8306 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8307 test $ac_status = 0; }; then 8308 emul=elf 8309 case `/usr/bin/file conftest.$ac_objext` in 8310 *32-bit*) 8311 emul="${emul}32" 8312 ;; 8313 *64-bit*) 8314 emul="${emul}64" 8315 ;; 8316 esac 8317 case `/usr/bin/file conftest.$ac_objext` in 8318 *MSB*) 8319 emul="${emul}btsmip" 8320 ;; 8321 *LSB*) 8322 emul="${emul}ltsmip" 8323 ;; 8324 esac 8325 case `/usr/bin/file conftest.$ac_objext` in 8326 *N32*) 8327 emul="${emul}n32" 8328 ;; 8329 esac 8330 LD="${LD-ld} -m $emul" 8331 fi 8332 rm -rf conftest* 8333 ;; 8334 8335x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ 8336s390*-*linux*|s390*-*tpf*|sparc*-*linux*) 8337 # Find out what ABI is being produced by ac_compile, and set linker 8338 # options accordingly. Note that the listed cases only cover the 8339 # situations where additional linker options are needed (such as when 8340 # doing 32-bit compilation for a host where ld defaults to 64-bit, or 8341 # vice versa); the common cases where no linker options are needed do 8342 # not appear in the list. 8343 echo 'int i;' > conftest.$ac_ext 8344 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8345 (eval $ac_compile) 2>&5 8346 ac_status=$? 8347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8348 test $ac_status = 0; }; then 8349 case `/usr/bin/file conftest.o` in 8350 *32-bit*) 8351 case $host in 8352 x86_64-*kfreebsd*-gnu) 8353 LD="${LD-ld} -m elf_i386_fbsd" 8354 ;; 8355 x86_64-*linux*) 8356 case `/usr/bin/file conftest.o` in 8357 *x86-64*) 8358 LD="${LD-ld} -m elf32_x86_64" 8359 ;; 8360 *) 8361 LD="${LD-ld} -m elf_i386" 8362 ;; 8363 esac 8364 ;; 8365 powerpc64le-*linux*) 8366 LD="${LD-ld} -m elf32lppclinux" 8367 ;; 8368 powerpc64-*linux*) 8369 LD="${LD-ld} -m elf32ppclinux" 8370 ;; 8371 s390x-*linux*) 8372 LD="${LD-ld} -m elf_s390" 8373 ;; 8374 sparc64-*linux*) 8375 LD="${LD-ld} -m elf32_sparc" 8376 ;; 8377 esac 8378 ;; 8379 *64-bit*) 8380 case $host in 8381 x86_64-*kfreebsd*-gnu) 8382 LD="${LD-ld} -m elf_x86_64_fbsd" 8383 ;; 8384 x86_64-*linux*) 8385 LD="${LD-ld} -m elf_x86_64" 8386 ;; 8387 powerpcle-*linux*) 8388 LD="${LD-ld} -m elf64lppc" 8389 ;; 8390 powerpc-*linux*) 8391 LD="${LD-ld} -m elf64ppc" 8392 ;; 8393 s390*-*linux*|s390*-*tpf*) 8394 LD="${LD-ld} -m elf64_s390" 8395 ;; 8396 sparc*-*linux*) 8397 LD="${LD-ld} -m elf64_sparc" 8398 ;; 8399 esac 8400 ;; 8401 esac 8402 fi 8403 rm -rf conftest* 8404 ;; 8405 8406*-*-sco3.2v5*) 8407 # On SCO OpenServer 5, we need -belf to get full-featured binaries. 8408 SAVE_CFLAGS=$CFLAGS 8409 CFLAGS="$CFLAGS -belf" 8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 8411$as_echo_n "checking whether the C compiler needs -belf... " >&6; } 8412if ${lt_cv_cc_needs_belf+:} false; then : 8413 $as_echo_n "(cached) " >&6 8414else 8415 ac_ext=c 8416ac_cpp='$CPP $CPPFLAGS' 8417ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8418ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8419ac_compiler_gnu=$ac_cv_c_compiler_gnu 8420 8421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8422/* end confdefs.h. */ 8423 8424int 8425main () 8426{ 8427 8428 ; 8429 return 0; 8430} 8431_ACEOF 8432if ac_fn_c_try_link "$LINENO"; then : 8433 lt_cv_cc_needs_belf=yes 8434else 8435 lt_cv_cc_needs_belf=no 8436fi 8437rm -f core conftest.err conftest.$ac_objext \ 8438 conftest$ac_exeext conftest.$ac_ext 8439 ac_ext=c 8440ac_cpp='$CPP $CPPFLAGS' 8441ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8442ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8443ac_compiler_gnu=$ac_cv_c_compiler_gnu 8444 8445fi 8446{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 8447$as_echo "$lt_cv_cc_needs_belf" >&6; } 8448 if test yes != "$lt_cv_cc_needs_belf"; then 8449 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf 8450 CFLAGS=$SAVE_CFLAGS 8451 fi 8452 ;; 8453*-*solaris*) 8454 # Find out what ABI is being produced by ac_compile, and set linker 8455 # options accordingly. 8456 echo 'int i;' > conftest.$ac_ext 8457 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 8458 (eval $ac_compile) 2>&5 8459 ac_status=$? 8460 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8461 test $ac_status = 0; }; then 8462 case `/usr/bin/file conftest.o` in 8463 *64-bit*) 8464 case $lt_cv_prog_gnu_ld in 8465 yes*) 8466 case $host in 8467 i?86-*-solaris*|x86_64-*-solaris*) 8468 LD="${LD-ld} -m elf_x86_64" 8469 ;; 8470 sparc*-*-solaris*) 8471 LD="${LD-ld} -m elf64_sparc" 8472 ;; 8473 esac 8474 # GNU ld 2.21 introduced _sol2 emulations. Use them if available. 8475 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then 8476 LD=${LD-ld}_sol2 8477 fi 8478 ;; 8479 *) 8480 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then 8481 LD="${LD-ld} -64" 8482 fi 8483 ;; 8484 esac 8485 ;; 8486 esac 8487 fi 8488 rm -rf conftest* 8489 ;; 8490esac 8491 8492need_locks=$enable_libtool_lock 8493 8494if test -n "$ac_tool_prefix"; then 8495 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. 8496set dummy ${ac_tool_prefix}mt; ac_word=$2 8497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8498$as_echo_n "checking for $ac_word... " >&6; } 8499if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : 8500 $as_echo_n "(cached) " >&6 8501else 8502 if test -n "$MANIFEST_TOOL"; then 8503 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. 8504else 8505as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8506for as_dir in $PATH 8507do 8508 IFS=$as_save_IFS 8509 test -z "$as_dir" && as_dir=. 8510 for ac_exec_ext in '' $ac_executable_extensions; do 8511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8512 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" 8513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8514 break 2 8515 fi 8516done 8517 done 8518IFS=$as_save_IFS 8519 8520fi 8521fi 8522MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL 8523if test -n "$MANIFEST_TOOL"; then 8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 8525$as_echo "$MANIFEST_TOOL" >&6; } 8526else 8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8528$as_echo "no" >&6; } 8529fi 8530 8531 8532fi 8533if test -z "$ac_cv_prog_MANIFEST_TOOL"; then 8534 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL 8535 # Extract the first word of "mt", so it can be a program name with args. 8536set dummy mt; ac_word=$2 8537{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8538$as_echo_n "checking for $ac_word... " >&6; } 8539if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : 8540 $as_echo_n "(cached) " >&6 8541else 8542 if test -n "$ac_ct_MANIFEST_TOOL"; then 8543 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. 8544else 8545as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8546for as_dir in $PATH 8547do 8548 IFS=$as_save_IFS 8549 test -z "$as_dir" && as_dir=. 8550 for ac_exec_ext in '' $ac_executable_extensions; do 8551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8552 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" 8553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8554 break 2 8555 fi 8556done 8557 done 8558IFS=$as_save_IFS 8559 8560fi 8561fi 8562ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL 8563if test -n "$ac_ct_MANIFEST_TOOL"; then 8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 8565$as_echo "$ac_ct_MANIFEST_TOOL" >&6; } 8566else 8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8568$as_echo "no" >&6; } 8569fi 8570 8571 if test "x$ac_ct_MANIFEST_TOOL" = x; then 8572 MANIFEST_TOOL=":" 8573 else 8574 case $cross_compiling:$ac_tool_warned in 8575yes:) 8576{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8577$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8578ac_tool_warned=yes ;; 8579esac 8580 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL 8581 fi 8582else 8583 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" 8584fi 8585 8586test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt 8587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 8588$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } 8589if ${lt_cv_path_mainfest_tool+:} false; then : 8590 $as_echo_n "(cached) " >&6 8591else 8592 lt_cv_path_mainfest_tool=no 8593 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 8594 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out 8595 cat conftest.err >&5 8596 if $GREP 'Manifest Tool' conftest.out > /dev/null; then 8597 lt_cv_path_mainfest_tool=yes 8598 fi 8599 rm -f conftest* 8600fi 8601{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 8602$as_echo "$lt_cv_path_mainfest_tool" >&6; } 8603if test yes != "$lt_cv_path_mainfest_tool"; then 8604 MANIFEST_TOOL=: 8605fi 8606 8607 8608 8609 8610 8611 8612 case $host_os in 8613 rhapsody* | darwin*) 8614 if test -n "$ac_tool_prefix"; then 8615 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. 8616set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 8617{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8618$as_echo_n "checking for $ac_word... " >&6; } 8619if ${ac_cv_prog_DSYMUTIL+:} false; then : 8620 $as_echo_n "(cached) " >&6 8621else 8622 if test -n "$DSYMUTIL"; then 8623 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. 8624else 8625as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8626for as_dir in $PATH 8627do 8628 IFS=$as_save_IFS 8629 test -z "$as_dir" && as_dir=. 8630 for ac_exec_ext in '' $ac_executable_extensions; do 8631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8632 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" 8633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8634 break 2 8635 fi 8636done 8637 done 8638IFS=$as_save_IFS 8639 8640fi 8641fi 8642DSYMUTIL=$ac_cv_prog_DSYMUTIL 8643if test -n "$DSYMUTIL"; then 8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 8645$as_echo "$DSYMUTIL" >&6; } 8646else 8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8648$as_echo "no" >&6; } 8649fi 8650 8651 8652fi 8653if test -z "$ac_cv_prog_DSYMUTIL"; then 8654 ac_ct_DSYMUTIL=$DSYMUTIL 8655 # Extract the first word of "dsymutil", so it can be a program name with args. 8656set dummy dsymutil; ac_word=$2 8657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8658$as_echo_n "checking for $ac_word... " >&6; } 8659if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : 8660 $as_echo_n "(cached) " >&6 8661else 8662 if test -n "$ac_ct_DSYMUTIL"; then 8663 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. 8664else 8665as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8666for as_dir in $PATH 8667do 8668 IFS=$as_save_IFS 8669 test -z "$as_dir" && as_dir=. 8670 for ac_exec_ext in '' $ac_executable_extensions; do 8671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8672 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" 8673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8674 break 2 8675 fi 8676done 8677 done 8678IFS=$as_save_IFS 8679 8680fi 8681fi 8682ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL 8683if test -n "$ac_ct_DSYMUTIL"; then 8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 8685$as_echo "$ac_ct_DSYMUTIL" >&6; } 8686else 8687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8688$as_echo "no" >&6; } 8689fi 8690 8691 if test "x$ac_ct_DSYMUTIL" = x; then 8692 DSYMUTIL=":" 8693 else 8694 case $cross_compiling:$ac_tool_warned in 8695yes:) 8696{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8697$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8698ac_tool_warned=yes ;; 8699esac 8700 DSYMUTIL=$ac_ct_DSYMUTIL 8701 fi 8702else 8703 DSYMUTIL="$ac_cv_prog_DSYMUTIL" 8704fi 8705 8706 if test -n "$ac_tool_prefix"; then 8707 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. 8708set dummy ${ac_tool_prefix}nmedit; ac_word=$2 8709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8710$as_echo_n "checking for $ac_word... " >&6; } 8711if ${ac_cv_prog_NMEDIT+:} false; then : 8712 $as_echo_n "(cached) " >&6 8713else 8714 if test -n "$NMEDIT"; then 8715 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. 8716else 8717as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8718for as_dir in $PATH 8719do 8720 IFS=$as_save_IFS 8721 test -z "$as_dir" && as_dir=. 8722 for ac_exec_ext in '' $ac_executable_extensions; do 8723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8724 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" 8725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8726 break 2 8727 fi 8728done 8729 done 8730IFS=$as_save_IFS 8731 8732fi 8733fi 8734NMEDIT=$ac_cv_prog_NMEDIT 8735if test -n "$NMEDIT"; then 8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 8737$as_echo "$NMEDIT" >&6; } 8738else 8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8740$as_echo "no" >&6; } 8741fi 8742 8743 8744fi 8745if test -z "$ac_cv_prog_NMEDIT"; then 8746 ac_ct_NMEDIT=$NMEDIT 8747 # Extract the first word of "nmedit", so it can be a program name with args. 8748set dummy nmedit; ac_word=$2 8749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8750$as_echo_n "checking for $ac_word... " >&6; } 8751if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : 8752 $as_echo_n "(cached) " >&6 8753else 8754 if test -n "$ac_ct_NMEDIT"; then 8755 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. 8756else 8757as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8758for as_dir in $PATH 8759do 8760 IFS=$as_save_IFS 8761 test -z "$as_dir" && as_dir=. 8762 for ac_exec_ext in '' $ac_executable_extensions; do 8763 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8764 ac_cv_prog_ac_ct_NMEDIT="nmedit" 8765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8766 break 2 8767 fi 8768done 8769 done 8770IFS=$as_save_IFS 8771 8772fi 8773fi 8774ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT 8775if test -n "$ac_ct_NMEDIT"; then 8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 8777$as_echo "$ac_ct_NMEDIT" >&6; } 8778else 8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8780$as_echo "no" >&6; } 8781fi 8782 8783 if test "x$ac_ct_NMEDIT" = x; then 8784 NMEDIT=":" 8785 else 8786 case $cross_compiling:$ac_tool_warned in 8787yes:) 8788{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8789$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8790ac_tool_warned=yes ;; 8791esac 8792 NMEDIT=$ac_ct_NMEDIT 8793 fi 8794else 8795 NMEDIT="$ac_cv_prog_NMEDIT" 8796fi 8797 8798 if test -n "$ac_tool_prefix"; then 8799 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. 8800set dummy ${ac_tool_prefix}lipo; ac_word=$2 8801{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8802$as_echo_n "checking for $ac_word... " >&6; } 8803if ${ac_cv_prog_LIPO+:} false; then : 8804 $as_echo_n "(cached) " >&6 8805else 8806 if test -n "$LIPO"; then 8807 ac_cv_prog_LIPO="$LIPO" # Let the user override the test. 8808else 8809as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8810for as_dir in $PATH 8811do 8812 IFS=$as_save_IFS 8813 test -z "$as_dir" && as_dir=. 8814 for ac_exec_ext in '' $ac_executable_extensions; do 8815 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8816 ac_cv_prog_LIPO="${ac_tool_prefix}lipo" 8817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8818 break 2 8819 fi 8820done 8821 done 8822IFS=$as_save_IFS 8823 8824fi 8825fi 8826LIPO=$ac_cv_prog_LIPO 8827if test -n "$LIPO"; then 8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 8829$as_echo "$LIPO" >&6; } 8830else 8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8832$as_echo "no" >&6; } 8833fi 8834 8835 8836fi 8837if test -z "$ac_cv_prog_LIPO"; then 8838 ac_ct_LIPO=$LIPO 8839 # Extract the first word of "lipo", so it can be a program name with args. 8840set dummy lipo; ac_word=$2 8841{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8842$as_echo_n "checking for $ac_word... " >&6; } 8843if ${ac_cv_prog_ac_ct_LIPO+:} false; then : 8844 $as_echo_n "(cached) " >&6 8845else 8846 if test -n "$ac_ct_LIPO"; then 8847 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. 8848else 8849as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8850for as_dir in $PATH 8851do 8852 IFS=$as_save_IFS 8853 test -z "$as_dir" && as_dir=. 8854 for ac_exec_ext in '' $ac_executable_extensions; do 8855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8856 ac_cv_prog_ac_ct_LIPO="lipo" 8857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8858 break 2 8859 fi 8860done 8861 done 8862IFS=$as_save_IFS 8863 8864fi 8865fi 8866ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO 8867if test -n "$ac_ct_LIPO"; then 8868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 8869$as_echo "$ac_ct_LIPO" >&6; } 8870else 8871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8872$as_echo "no" >&6; } 8873fi 8874 8875 if test "x$ac_ct_LIPO" = x; then 8876 LIPO=":" 8877 else 8878 case $cross_compiling:$ac_tool_warned in 8879yes:) 8880{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8881$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8882ac_tool_warned=yes ;; 8883esac 8884 LIPO=$ac_ct_LIPO 8885 fi 8886else 8887 LIPO="$ac_cv_prog_LIPO" 8888fi 8889 8890 if test -n "$ac_tool_prefix"; then 8891 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. 8892set dummy ${ac_tool_prefix}otool; ac_word=$2 8893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8894$as_echo_n "checking for $ac_word... " >&6; } 8895if ${ac_cv_prog_OTOOL+:} false; then : 8896 $as_echo_n "(cached) " >&6 8897else 8898 if test -n "$OTOOL"; then 8899 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. 8900else 8901as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8902for as_dir in $PATH 8903do 8904 IFS=$as_save_IFS 8905 test -z "$as_dir" && as_dir=. 8906 for ac_exec_ext in '' $ac_executable_extensions; do 8907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8908 ac_cv_prog_OTOOL="${ac_tool_prefix}otool" 8909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8910 break 2 8911 fi 8912done 8913 done 8914IFS=$as_save_IFS 8915 8916fi 8917fi 8918OTOOL=$ac_cv_prog_OTOOL 8919if test -n "$OTOOL"; then 8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 8921$as_echo "$OTOOL" >&6; } 8922else 8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8924$as_echo "no" >&6; } 8925fi 8926 8927 8928fi 8929if test -z "$ac_cv_prog_OTOOL"; then 8930 ac_ct_OTOOL=$OTOOL 8931 # Extract the first word of "otool", so it can be a program name with args. 8932set dummy otool; ac_word=$2 8933{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8934$as_echo_n "checking for $ac_word... " >&6; } 8935if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : 8936 $as_echo_n "(cached) " >&6 8937else 8938 if test -n "$ac_ct_OTOOL"; then 8939 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. 8940else 8941as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8942for as_dir in $PATH 8943do 8944 IFS=$as_save_IFS 8945 test -z "$as_dir" && as_dir=. 8946 for ac_exec_ext in '' $ac_executable_extensions; do 8947 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8948 ac_cv_prog_ac_ct_OTOOL="otool" 8949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8950 break 2 8951 fi 8952done 8953 done 8954IFS=$as_save_IFS 8955 8956fi 8957fi 8958ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL 8959if test -n "$ac_ct_OTOOL"; then 8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 8961$as_echo "$ac_ct_OTOOL" >&6; } 8962else 8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8964$as_echo "no" >&6; } 8965fi 8966 8967 if test "x$ac_ct_OTOOL" = x; then 8968 OTOOL=":" 8969 else 8970 case $cross_compiling:$ac_tool_warned in 8971yes:) 8972{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 8973$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 8974ac_tool_warned=yes ;; 8975esac 8976 OTOOL=$ac_ct_OTOOL 8977 fi 8978else 8979 OTOOL="$ac_cv_prog_OTOOL" 8980fi 8981 8982 if test -n "$ac_tool_prefix"; then 8983 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. 8984set dummy ${ac_tool_prefix}otool64; ac_word=$2 8985{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8986$as_echo_n "checking for $ac_word... " >&6; } 8987if ${ac_cv_prog_OTOOL64+:} false; then : 8988 $as_echo_n "(cached) " >&6 8989else 8990 if test -n "$OTOOL64"; then 8991 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. 8992else 8993as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8994for as_dir in $PATH 8995do 8996 IFS=$as_save_IFS 8997 test -z "$as_dir" && as_dir=. 8998 for ac_exec_ext in '' $ac_executable_extensions; do 8999 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9000 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" 9001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9002 break 2 9003 fi 9004done 9005 done 9006IFS=$as_save_IFS 9007 9008fi 9009fi 9010OTOOL64=$ac_cv_prog_OTOOL64 9011if test -n "$OTOOL64"; then 9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 9013$as_echo "$OTOOL64" >&6; } 9014else 9015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9016$as_echo "no" >&6; } 9017fi 9018 9019 9020fi 9021if test -z "$ac_cv_prog_OTOOL64"; then 9022 ac_ct_OTOOL64=$OTOOL64 9023 # Extract the first word of "otool64", so it can be a program name with args. 9024set dummy otool64; ac_word=$2 9025{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9026$as_echo_n "checking for $ac_word... " >&6; } 9027if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : 9028 $as_echo_n "(cached) " >&6 9029else 9030 if test -n "$ac_ct_OTOOL64"; then 9031 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. 9032else 9033as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9034for as_dir in $PATH 9035do 9036 IFS=$as_save_IFS 9037 test -z "$as_dir" && as_dir=. 9038 for ac_exec_ext in '' $ac_executable_extensions; do 9039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9040 ac_cv_prog_ac_ct_OTOOL64="otool64" 9041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9042 break 2 9043 fi 9044done 9045 done 9046IFS=$as_save_IFS 9047 9048fi 9049fi 9050ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 9051if test -n "$ac_ct_OTOOL64"; then 9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 9053$as_echo "$ac_ct_OTOOL64" >&6; } 9054else 9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9056$as_echo "no" >&6; } 9057fi 9058 9059 if test "x$ac_ct_OTOOL64" = x; then 9060 OTOOL64=":" 9061 else 9062 case $cross_compiling:$ac_tool_warned in 9063yes:) 9064{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 9065$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 9066ac_tool_warned=yes ;; 9067esac 9068 OTOOL64=$ac_ct_OTOOL64 9069 fi 9070else 9071 OTOOL64="$ac_cv_prog_OTOOL64" 9072fi 9073 9074 9075 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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 9101$as_echo_n "checking for -single_module linker flag... " >&6; } 9102if ${lt_cv_apple_cc_single_mod+:} false; then : 9103 $as_echo_n "(cached) " >&6 9104else 9105 lt_cv_apple_cc_single_mod=no 9106 if test -z "$LT_MULTI_MODULE"; then 9107 # By default we will add the -single_module flag. You can override 9108 # by either setting the environment variable LT_MULTI_MODULE 9109 # non-empty at configure time, or by adding -multi_module to the 9110 # link flags. 9111 rm -rf libconftest.dylib* 9112 echo "int foo(void){return 1;}" > conftest.c 9113 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9114-dynamiclib -Wl,-single_module conftest.c" >&5 9115 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ 9116 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err 9117 _lt_result=$? 9118 # If there is a non-empty error log, and "single_module" 9119 # appears in it, assume the flag caused a linker warning 9120 if test -s conftest.err && $GREP single_module conftest.err; then 9121 cat conftest.err >&5 9122 # Otherwise, if the output was created with a 0 exit code from 9123 # the compiler, it worked. 9124 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then 9125 lt_cv_apple_cc_single_mod=yes 9126 else 9127 cat conftest.err >&5 9128 fi 9129 rm -rf libconftest.dylib* 9130 rm -f conftest.* 9131 fi 9132fi 9133{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 9134$as_echo "$lt_cv_apple_cc_single_mod" >&6; } 9135 9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 9137$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } 9138if ${lt_cv_ld_exported_symbols_list+:} false; then : 9139 $as_echo_n "(cached) " >&6 9140else 9141 lt_cv_ld_exported_symbols_list=no 9142 save_LDFLAGS=$LDFLAGS 9143 echo "_main" > conftest.sym 9144 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" 9145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9146/* end confdefs.h. */ 9147 9148int 9149main () 9150{ 9151 9152 ; 9153 return 0; 9154} 9155_ACEOF 9156if ac_fn_c_try_link "$LINENO"; then : 9157 lt_cv_ld_exported_symbols_list=yes 9158else 9159 lt_cv_ld_exported_symbols_list=no 9160fi 9161rm -f core conftest.err conftest.$ac_objext \ 9162 conftest$ac_exeext conftest.$ac_ext 9163 LDFLAGS=$save_LDFLAGS 9164 9165fi 9166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 9167$as_echo "$lt_cv_ld_exported_symbols_list" >&6; } 9168 9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 9170$as_echo_n "checking for -force_load linker flag... " >&6; } 9171if ${lt_cv_ld_force_load+:} false; then : 9172 $as_echo_n "(cached) " >&6 9173else 9174 lt_cv_ld_force_load=no 9175 cat > conftest.c << _LT_EOF 9176int forced_loaded() { return 2;} 9177_LT_EOF 9178 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 9179 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 9180 echo "$AR cr libconftest.a conftest.o" >&5 9181 $AR cr libconftest.a conftest.o 2>&5 9182 echo "$RANLIB libconftest.a" >&5 9183 $RANLIB libconftest.a 2>&5 9184 cat > conftest.c << _LT_EOF 9185int main() { return 0;} 9186_LT_EOF 9187 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 9188 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err 9189 _lt_result=$? 9190 if test -s conftest.err && $GREP force_load conftest.err; then 9191 cat conftest.err >&5 9192 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then 9193 lt_cv_ld_force_load=yes 9194 else 9195 cat conftest.err >&5 9196 fi 9197 rm -f conftest.err libconftest.a conftest conftest.c 9198 rm -rf conftest.dSYM 9199 9200fi 9201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 9202$as_echo "$lt_cv_ld_force_load" >&6; } 9203 case $host_os in 9204 rhapsody* | darwin1.[012]) 9205 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; 9206 darwin1.*) 9207 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9208 darwin*) # darwin 5.x on 9209 # if running on 10.5 or later, the deployment target defaults 9210 # to the OS version, if on x86, and 10.4, the deployment 9211 # target defaults to 10.4. Don't you love it? 9212 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 9213 10.0,*86*-darwin8*|10.0,*-darwin[91]*) 9214 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9215 10.[012][,.]*) 9216 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 9217 10.*) 9218 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 9219 esac 9220 ;; 9221 esac 9222 if test yes = "$lt_cv_apple_cc_single_mod"; then 9223 _lt_dar_single_mod='$single_module' 9224 fi 9225 if test yes = "$lt_cv_ld_exported_symbols_list"; then 9226 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' 9227 else 9228 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' 9229 fi 9230 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then 9231 _lt_dsymutil='~$DSYMUTIL $lib || :' 9232 else 9233 _lt_dsymutil= 9234 fi 9235 ;; 9236 esac 9237 9238# func_munge_path_list VARIABLE PATH 9239# ----------------------------------- 9240# VARIABLE is name of variable containing _space_ separated list of 9241# directories to be munged by the contents of PATH, which is string 9242# having a format: 9243# "DIR[:DIR]:" 9244# string "DIR[ DIR]" will be prepended to VARIABLE 9245# ":DIR[:DIR]" 9246# string "DIR[ DIR]" will be appended to VARIABLE 9247# "DIRP[:DIRP]::[DIRA:]DIRA" 9248# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 9249# "DIRA[ DIRA]" will be appended to VARIABLE 9250# "DIR[:DIR]" 9251# VARIABLE will be replaced by "DIR[ DIR]" 9252func_munge_path_list () 9253{ 9254 case x$2 in 9255 x) 9256 ;; 9257 *:) 9258 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 9259 ;; 9260 x:*) 9261 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 9262 ;; 9263 *::*) 9264 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 9265 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 9266 ;; 9267 *) 9268 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 9269 ;; 9270 esac 9271} 9272 9273for ac_header in dlfcn.h 9274do : 9275 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default 9276" 9277if test "x$ac_cv_header_dlfcn_h" = xyes; then : 9278 cat >>confdefs.h <<_ACEOF 9279#define HAVE_DLFCN_H 1 9280_ACEOF 9281 9282fi 9283 9284done 9285 9286 9287 9288 9289 9290# Set options 9291# Check whether --enable-static was given. 9292if test "${enable_static+set}" = set; then : 9293 enableval=$enable_static; p=${PACKAGE-default} 9294 case $enableval in 9295 yes) enable_static=yes ;; 9296 no) enable_static=no ;; 9297 *) 9298 enable_static=no 9299 # Look at the argument we got. We use all the common list separators. 9300 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9301 for pkg in $enableval; do 9302 IFS=$lt_save_ifs 9303 if test "X$pkg" = "X$p"; then 9304 enable_static=yes 9305 fi 9306 done 9307 IFS=$lt_save_ifs 9308 ;; 9309 esac 9310else 9311 enable_static=no 9312fi 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 enable_dlopen=no 9324 9325 9326 enable_win32_dll=no 9327 9328 9329 # Check whether --enable-shared was given. 9330if test "${enable_shared+set}" = set; then : 9331 enableval=$enable_shared; p=${PACKAGE-default} 9332 case $enableval in 9333 yes) enable_shared=yes ;; 9334 no) enable_shared=no ;; 9335 *) 9336 enable_shared=no 9337 # Look at the argument we got. We use all the common list separators. 9338 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9339 for pkg in $enableval; do 9340 IFS=$lt_save_ifs 9341 if test "X$pkg" = "X$p"; then 9342 enable_shared=yes 9343 fi 9344 done 9345 IFS=$lt_save_ifs 9346 ;; 9347 esac 9348else 9349 enable_shared=yes 9350fi 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362# Check whether --with-pic was given. 9363if test "${with_pic+set}" = set; then : 9364 withval=$with_pic; lt_p=${PACKAGE-default} 9365 case $withval in 9366 yes|no) pic_mode=$withval ;; 9367 *) 9368 pic_mode=default 9369 # Look at the argument we got. We use all the common list separators. 9370 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9371 for lt_pkg in $withval; do 9372 IFS=$lt_save_ifs 9373 if test "X$lt_pkg" = "X$lt_p"; then 9374 pic_mode=yes 9375 fi 9376 done 9377 IFS=$lt_save_ifs 9378 ;; 9379 esac 9380else 9381 pic_mode=default 9382fi 9383 9384 9385 9386 9387 9388 9389 9390 9391 # Check whether --enable-fast-install was given. 9392if test "${enable_fast_install+set}" = set; then : 9393 enableval=$enable_fast_install; p=${PACKAGE-default} 9394 case $enableval in 9395 yes) enable_fast_install=yes ;; 9396 no) enable_fast_install=no ;; 9397 *) 9398 enable_fast_install=no 9399 # Look at the argument we got. We use all the common list separators. 9400 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, 9401 for pkg in $enableval; do 9402 IFS=$lt_save_ifs 9403 if test "X$pkg" = "X$p"; then 9404 enable_fast_install=yes 9405 fi 9406 done 9407 IFS=$lt_save_ifs 9408 ;; 9409 esac 9410else 9411 enable_fast_install=yes 9412fi 9413 9414 9415 9416 9417 9418 9419 9420 9421 shared_archive_member_spec= 9422case $host,$enable_shared in 9423power*-*-aix[5-9]*,yes) 9424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 9425$as_echo_n "checking which variant of shared library versioning to provide... " >&6; } 9426 9427# Check whether --with-aix-soname was given. 9428if test "${with_aix_soname+set}" = set; then : 9429 withval=$with_aix_soname; case $withval in 9430 aix|svr4|both) 9431 ;; 9432 *) 9433 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 9434 ;; 9435 esac 9436 lt_cv_with_aix_soname=$with_aix_soname 9437else 9438 if ${lt_cv_with_aix_soname+:} false; then : 9439 $as_echo_n "(cached) " >&6 9440else 9441 lt_cv_with_aix_soname=aix 9442fi 9443 9444 with_aix_soname=$lt_cv_with_aix_soname 9445fi 9446 9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 9448$as_echo "$with_aix_soname" >&6; } 9449 if test aix != "$with_aix_soname"; then 9450 # For the AIX way of multilib, we name the shared archive member 9451 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', 9452 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. 9453 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, 9454 # the AIX toolchain works better with OBJECT_MODE set (default 32). 9455 if test 64 = "${OBJECT_MODE-32}"; then 9456 shared_archive_member_spec=shr_64 9457 else 9458 shared_archive_member_spec=shr 9459 fi 9460 fi 9461 ;; 9462*) 9463 with_aix_soname=aix 9464 ;; 9465esac 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476# This can be used to rebuild libtool when needed 9477LIBTOOL_DEPS=$ltmain 9478 9479# Always use our own libtool. 9480LIBTOOL='$(SHELL) $(top_builddir)/libtool' 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511test -z "$LN_S" && LN_S="ln -s" 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526if test -n "${ZSH_VERSION+set}"; then 9527 setopt NO_GLOB_SUBST 9528fi 9529 9530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 9531$as_echo_n "checking for objdir... " >&6; } 9532if ${lt_cv_objdir+:} false; then : 9533 $as_echo_n "(cached) " >&6 9534else 9535 rm -f .libs 2>/dev/null 9536mkdir .libs 2>/dev/null 9537if test -d .libs; then 9538 lt_cv_objdir=.libs 9539else 9540 # MS-DOS does not allow filenames that begin with a dot. 9541 lt_cv_objdir=_libs 9542fi 9543rmdir .libs 2>/dev/null 9544fi 9545{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 9546$as_echo "$lt_cv_objdir" >&6; } 9547objdir=$lt_cv_objdir 9548 9549 9550 9551 9552 9553cat >>confdefs.h <<_ACEOF 9554#define LT_OBJDIR "$lt_cv_objdir/" 9555_ACEOF 9556 9557 9558 9559 9560case $host_os in 9561aix3*) 9562 # AIX sometimes has problems with the GCC collect2 program. For some 9563 # reason, if we set the COLLECT_NAMES environment variable, the problems 9564 # vanish in a puff of smoke. 9565 if test set != "${COLLECT_NAMES+set}"; then 9566 COLLECT_NAMES= 9567 export COLLECT_NAMES 9568 fi 9569 ;; 9570esac 9571 9572# Global variables: 9573ofile=libtool 9574can_build_shared=yes 9575 9576# All known linkers require a '.a' archive for static linking (except MSVC, 9577# which needs '.lib'). 9578libext=a 9579 9580with_gnu_ld=$lt_cv_prog_gnu_ld 9581 9582old_CC=$CC 9583old_CFLAGS=$CFLAGS 9584 9585# Set sane defaults for various variables 9586test -z "$CC" && CC=cc 9587test -z "$LTCC" && LTCC=$CC 9588test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS 9589test -z "$LD" && LD=ld 9590test -z "$ac_objext" && ac_objext=o 9591 9592func_cc_basename $compiler 9593cc_basename=$func_cc_basename_result 9594 9595 9596# Only perform the check for file, if the check method requires it 9597test -z "$MAGIC_CMD" && MAGIC_CMD=file 9598case $deplibs_check_method in 9599file_magic*) 9600 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 9602$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } 9603if ${lt_cv_path_MAGIC_CMD+:} false; then : 9604 $as_echo_n "(cached) " >&6 9605else 9606 case $MAGIC_CMD in 9607[\\/*] | ?:[\\/]*) 9608 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9609 ;; 9610*) 9611 lt_save_MAGIC_CMD=$MAGIC_CMD 9612 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9613 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9614 for ac_dir in $ac_dummy; do 9615 IFS=$lt_save_ifs 9616 test -z "$ac_dir" && ac_dir=. 9617 if test -f "$ac_dir/${ac_tool_prefix}file"; then 9618 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" 9619 if test -n "$file_magic_test_file"; then 9620 case $deplibs_check_method in 9621 "file_magic "*) 9622 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9623 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9624 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9625 $EGREP "$file_magic_regex" > /dev/null; then 9626 : 9627 else 9628 cat <<_LT_EOF 1>&2 9629 9630*** Warning: the command libtool uses to detect shared libraries, 9631*** $file_magic_cmd, produces output that libtool cannot recognize. 9632*** The result is that libtool may fail to recognize shared libraries 9633*** as such. This will affect the creation of libtool libraries that 9634*** depend on shared libraries, but programs linked with such libtool 9635*** libraries will work regardless of this problem. Nevertheless, you 9636*** may want to report the problem to your system manager and/or to 9637*** bug-libtool@gnu.org 9638 9639_LT_EOF 9640 fi ;; 9641 esac 9642 fi 9643 break 9644 fi 9645 done 9646 IFS=$lt_save_ifs 9647 MAGIC_CMD=$lt_save_MAGIC_CMD 9648 ;; 9649esac 9650fi 9651 9652MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9653if test -n "$MAGIC_CMD"; then 9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9655$as_echo "$MAGIC_CMD" >&6; } 9656else 9657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9658$as_echo "no" >&6; } 9659fi 9660 9661 9662 9663 9664 9665if test -z "$lt_cv_path_MAGIC_CMD"; then 9666 if test -n "$ac_tool_prefix"; then 9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 9668$as_echo_n "checking for file... " >&6; } 9669if ${lt_cv_path_MAGIC_CMD+:} false; then : 9670 $as_echo_n "(cached) " >&6 9671else 9672 case $MAGIC_CMD in 9673[\\/*] | ?:[\\/]*) 9674 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. 9675 ;; 9676*) 9677 lt_save_MAGIC_CMD=$MAGIC_CMD 9678 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR 9679 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" 9680 for ac_dir in $ac_dummy; do 9681 IFS=$lt_save_ifs 9682 test -z "$ac_dir" && ac_dir=. 9683 if test -f "$ac_dir/file"; then 9684 lt_cv_path_MAGIC_CMD=$ac_dir/"file" 9685 if test -n "$file_magic_test_file"; then 9686 case $deplibs_check_method in 9687 "file_magic "*) 9688 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` 9689 MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9690 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | 9691 $EGREP "$file_magic_regex" > /dev/null; then 9692 : 9693 else 9694 cat <<_LT_EOF 1>&2 9695 9696*** Warning: the command libtool uses to detect shared libraries, 9697*** $file_magic_cmd, produces output that libtool cannot recognize. 9698*** The result is that libtool may fail to recognize shared libraries 9699*** as such. This will affect the creation of libtool libraries that 9700*** depend on shared libraries, but programs linked with such libtool 9701*** libraries will work regardless of this problem. Nevertheless, you 9702*** may want to report the problem to your system manager and/or to 9703*** bug-libtool@gnu.org 9704 9705_LT_EOF 9706 fi ;; 9707 esac 9708 fi 9709 break 9710 fi 9711 done 9712 IFS=$lt_save_ifs 9713 MAGIC_CMD=$lt_save_MAGIC_CMD 9714 ;; 9715esac 9716fi 9717 9718MAGIC_CMD=$lt_cv_path_MAGIC_CMD 9719if test -n "$MAGIC_CMD"; then 9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 9721$as_echo "$MAGIC_CMD" >&6; } 9722else 9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9724$as_echo "no" >&6; } 9725fi 9726 9727 9728 else 9729 MAGIC_CMD=: 9730 fi 9731fi 9732 9733 fi 9734 ;; 9735esac 9736 9737# Use C for the default configuration in the libtool script 9738 9739lt_save_CC=$CC 9740ac_ext=c 9741ac_cpp='$CPP $CPPFLAGS' 9742ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 9743ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 9744ac_compiler_gnu=$ac_cv_c_compiler_gnu 9745 9746 9747# Source file extension for C test sources. 9748ac_ext=c 9749 9750# Object file extension for compiled C test sources. 9751objext=o 9752objext=$objext 9753 9754# Code to be used in simple compile tests 9755lt_simple_compile_test_code="int some_variable = 0;" 9756 9757# Code to be used in simple link tests 9758lt_simple_link_test_code='int main(){return(0);}' 9759 9760 9761 9762 9763 9764 9765 9766# If no C compiler was specified, use CC. 9767LTCC=${LTCC-"$CC"} 9768 9769# If no C compiler flags were specified, use CFLAGS. 9770LTCFLAGS=${LTCFLAGS-"$CFLAGS"} 9771 9772# Allow CC to be a program name with arguments. 9773compiler=$CC 9774 9775# Save the default compiler, since it gets overwritten when the other 9776# tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. 9777compiler_DEFAULT=$CC 9778 9779# save warnings/boilerplate of simple test code 9780ac_outfile=conftest.$ac_objext 9781echo "$lt_simple_compile_test_code" >conftest.$ac_ext 9782eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9783_lt_compiler_boilerplate=`cat conftest.err` 9784$RM conftest* 9785 9786ac_outfile=conftest.$ac_objext 9787echo "$lt_simple_link_test_code" >conftest.$ac_ext 9788eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 9789_lt_linker_boilerplate=`cat conftest.err` 9790$RM -r conftest* 9791 9792 9793if test -n "$compiler"; then 9794 9795lt_prog_compiler_no_builtin_flag= 9796 9797if test yes = "$GCC"; then 9798 case $cc_basename in 9799 nvcc*) 9800 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; 9801 *) 9802 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; 9803 esac 9804 9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 9806$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } 9807if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : 9808 $as_echo_n "(cached) " >&6 9809else 9810 lt_cv_prog_compiler_rtti_exceptions=no 9811 ac_outfile=conftest.$ac_objext 9812 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 9813 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment 9814 # Insert the option either (1) after the last *FLAGS variable, or 9815 # (2) before a word containing "conftest.", or (3) at the end. 9816 # Note that $ac_compile itself does not contain backslashes and begins 9817 # with a dollar sign (not a hyphen), so the echo should work correctly. 9818 # The option is referenced via a variable to avoid confusing sed. 9819 lt_compile=`echo "$ac_compile" | $SED \ 9820 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 9821 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 9822 -e 's:$: $lt_compiler_flag:'` 9823 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 9824 (eval "$lt_compile" 2>conftest.err) 9825 ac_status=$? 9826 cat conftest.err >&5 9827 echo "$as_me:$LINENO: \$? = $ac_status" >&5 9828 if (exit $ac_status) && test -s "$ac_outfile"; then 9829 # The compiler can only warn and ignore the option if not recognized 9830 # So say no if there are warnings other than the usual output. 9831 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 9832 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 9833 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 9834 lt_cv_prog_compiler_rtti_exceptions=yes 9835 fi 9836 fi 9837 $RM conftest* 9838 9839fi 9840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 9841$as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } 9842 9843if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then 9844 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" 9845else 9846 : 9847fi 9848 9849fi 9850 9851 9852 9853 9854 9855 9856 lt_prog_compiler_wl= 9857lt_prog_compiler_pic= 9858lt_prog_compiler_static= 9859 9860 9861 if test yes = "$GCC"; then 9862 lt_prog_compiler_wl='-Wl,' 9863 lt_prog_compiler_static='-static' 9864 9865 case $host_os in 9866 aix*) 9867 # All AIX code is PIC. 9868 if test ia64 = "$host_cpu"; then 9869 # AIX 5 now supports IA64 processor 9870 lt_prog_compiler_static='-Bstatic' 9871 fi 9872 lt_prog_compiler_pic='-fPIC' 9873 ;; 9874 9875 amigaos*) 9876 case $host_cpu in 9877 powerpc) 9878 # see comment about AmigaOS4 .so support 9879 lt_prog_compiler_pic='-fPIC' 9880 ;; 9881 m68k) 9882 # FIXME: we need at least 68020 code to build shared libraries, but 9883 # adding the '-m68020' flag to GCC prevents building anything better, 9884 # like '-m68040'. 9885 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' 9886 ;; 9887 esac 9888 ;; 9889 9890 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 9891 # PIC is the default for these OSes. 9892 ;; 9893 9894 mingw* | cygwin* | pw32* | os2* | cegcc*) 9895 # This hack is so that the source file can tell whether it is being 9896 # built for inclusion in a dll (and should export symbols for example). 9897 # Although the cygwin gcc ignores -fPIC, still need this for old-style 9898 # (--disable-auto-import) libraries 9899 lt_prog_compiler_pic='-DDLL_EXPORT' 9900 case $host_os in 9901 os2*) 9902 lt_prog_compiler_static='$wl-static' 9903 ;; 9904 esac 9905 ;; 9906 9907 darwin* | rhapsody*) 9908 # PIC is the default on this platform 9909 # Common symbols not allowed in MH_DYLIB files 9910 lt_prog_compiler_pic='-fno-common' 9911 ;; 9912 9913 haiku*) 9914 # PIC is the default for Haiku. 9915 # The "-static" flag exists, but is broken. 9916 lt_prog_compiler_static= 9917 ;; 9918 9919 hpux*) 9920 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit 9921 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag 9922 # sets the default TLS model and affects inlining. 9923 case $host_cpu in 9924 hppa*64*) 9925 # +Z the default 9926 ;; 9927 *) 9928 lt_prog_compiler_pic='-fPIC' 9929 ;; 9930 esac 9931 ;; 9932 9933 interix[3-9]*) 9934 # Interix 3.x gcc -fpic/-fPIC options generate broken code. 9935 # Instead, we relocate shared libraries at runtime. 9936 ;; 9937 9938 msdosdjgpp*) 9939 # Just because we use GCC doesn't mean we suddenly get shared libraries 9940 # on systems that don't support them. 9941 lt_prog_compiler_can_build_shared=no 9942 enable_shared=no 9943 ;; 9944 9945 *nto* | *qnx*) 9946 # QNX uses GNU C++, but need to define -shared option too, otherwise 9947 # it will coredump. 9948 lt_prog_compiler_pic='-fPIC -shared' 9949 ;; 9950 9951 sysv4*MP*) 9952 if test -d /usr/nec; then 9953 lt_prog_compiler_pic=-Kconform_pic 9954 fi 9955 ;; 9956 9957 *) 9958 lt_prog_compiler_pic='-fPIC' 9959 ;; 9960 esac 9961 9962 case $cc_basename in 9963 nvcc*) # Cuda Compiler Driver 2.2 9964 lt_prog_compiler_wl='-Xlinker ' 9965 if test -n "$lt_prog_compiler_pic"; then 9966 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" 9967 fi 9968 ;; 9969 esac 9970 else 9971 # PORTME Check for flag to pass linker flags through the system compiler. 9972 case $host_os in 9973 aix*) 9974 lt_prog_compiler_wl='-Wl,' 9975 if test ia64 = "$host_cpu"; then 9976 # AIX 5 now supports IA64 processor 9977 lt_prog_compiler_static='-Bstatic' 9978 else 9979 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' 9980 fi 9981 ;; 9982 9983 darwin* | rhapsody*) 9984 # PIC is the default on this platform 9985 # Common symbols not allowed in MH_DYLIB files 9986 lt_prog_compiler_pic='-fno-common' 9987 case $cc_basename in 9988 nagfor*) 9989 # NAG Fortran compiler 9990 lt_prog_compiler_wl='-Wl,-Wl,,' 9991 lt_prog_compiler_pic='-PIC' 9992 lt_prog_compiler_static='-Bstatic' 9993 ;; 9994 esac 9995 ;; 9996 9997 mingw* | cygwin* | pw32* | os2* | cegcc*) 9998 # This hack is so that the source file can tell whether it is being 9999 # built for inclusion in a dll (and should export symbols for example). 10000 lt_prog_compiler_pic='-DDLL_EXPORT' 10001 case $host_os in 10002 os2*) 10003 lt_prog_compiler_static='$wl-static' 10004 ;; 10005 esac 10006 ;; 10007 10008 hpux9* | hpux10* | hpux11*) 10009 lt_prog_compiler_wl='-Wl,' 10010 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 10011 # not for PA HP-UX. 10012 case $host_cpu in 10013 hppa*64*|ia64*) 10014 # +Z the default 10015 ;; 10016 *) 10017 lt_prog_compiler_pic='+Z' 10018 ;; 10019 esac 10020 # Is there a better lt_prog_compiler_static that works with the bundled CC? 10021 lt_prog_compiler_static='$wl-a ${wl}archive' 10022 ;; 10023 10024 irix5* | irix6* | nonstopux*) 10025 lt_prog_compiler_wl='-Wl,' 10026 # PIC (with -KPIC) is the default. 10027 lt_prog_compiler_static='-non_shared' 10028 ;; 10029 10030 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 10031 case $cc_basename in 10032 # old Intel for x86_64, which still supported -KPIC. 10033 ecc*) 10034 lt_prog_compiler_wl='-Wl,' 10035 lt_prog_compiler_pic='-KPIC' 10036 lt_prog_compiler_static='-static' 10037 ;; 10038 # flang / f18. f95 an alias for gfortran or flang on Debian 10039 flang* | f18* | f95*) 10040 lt_prog_compiler_wl='-Wl,' 10041 lt_prog_compiler_pic='-fPIC' 10042 lt_prog_compiler_static='-static' 10043 ;; 10044 # icc used to be incompatible with GCC. 10045 # ICC 10 doesn't accept -KPIC any more. 10046 icc* | ifort*) 10047 lt_prog_compiler_wl='-Wl,' 10048 lt_prog_compiler_pic='-fPIC' 10049 lt_prog_compiler_static='-static' 10050 ;; 10051 # Lahey Fortran 8.1. 10052 lf95*) 10053 lt_prog_compiler_wl='-Wl,' 10054 lt_prog_compiler_pic='--shared' 10055 lt_prog_compiler_static='--static' 10056 ;; 10057 nagfor*) 10058 # NAG Fortran compiler 10059 lt_prog_compiler_wl='-Wl,-Wl,,' 10060 lt_prog_compiler_pic='-PIC' 10061 lt_prog_compiler_static='-Bstatic' 10062 ;; 10063 tcc*) 10064 # Fabrice Bellard et al's Tiny C Compiler 10065 lt_prog_compiler_wl='-Wl,' 10066 lt_prog_compiler_pic='-fPIC' 10067 lt_prog_compiler_static='-static' 10068 ;; 10069 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) 10070 # Portland Group compilers (*not* the Pentium gcc compiler, 10071 # which looks to be a dead project) 10072 lt_prog_compiler_wl='-Wl,' 10073 lt_prog_compiler_pic='-fpic' 10074 lt_prog_compiler_static='-Bstatic' 10075 ;; 10076 ccc*) 10077 lt_prog_compiler_wl='-Wl,' 10078 # All Alpha code is PIC. 10079 lt_prog_compiler_static='-non_shared' 10080 ;; 10081 xl* | bgxl* | bgf* | mpixl*) 10082 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene 10083 lt_prog_compiler_wl='-Wl,' 10084 lt_prog_compiler_pic='-qpic' 10085 lt_prog_compiler_static='-qstaticlink' 10086 ;; 10087 *) 10088 case `$CC -V 2>&1 | sed 5q` in 10089 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) 10090 # Sun Fortran 8.3 passes all unrecognized flags to the linker 10091 lt_prog_compiler_pic='-KPIC' 10092 lt_prog_compiler_static='-Bstatic' 10093 lt_prog_compiler_wl='' 10094 ;; 10095 *Sun\ F* | *Sun*Fortran*) 10096 lt_prog_compiler_pic='-KPIC' 10097 lt_prog_compiler_static='-Bstatic' 10098 lt_prog_compiler_wl='-Qoption ld ' 10099 ;; 10100 *Sun\ C*) 10101 # Sun C 5.9 10102 lt_prog_compiler_pic='-KPIC' 10103 lt_prog_compiler_static='-Bstatic' 10104 lt_prog_compiler_wl='-Wl,' 10105 ;; 10106 *Intel*\ [CF]*Compiler*) 10107 lt_prog_compiler_wl='-Wl,' 10108 lt_prog_compiler_pic='-fPIC' 10109 lt_prog_compiler_static='-static' 10110 ;; 10111 *Portland\ Group*) 10112 lt_prog_compiler_wl='-Wl,' 10113 lt_prog_compiler_pic='-fpic' 10114 lt_prog_compiler_static='-Bstatic' 10115 ;; 10116 esac 10117 ;; 10118 esac 10119 ;; 10120 10121 newsos6) 10122 lt_prog_compiler_pic='-KPIC' 10123 lt_prog_compiler_static='-Bstatic' 10124 ;; 10125 10126 *nto* | *qnx*) 10127 # QNX uses GNU C++, but need to define -shared option too, otherwise 10128 # it will coredump. 10129 lt_prog_compiler_pic='-fPIC -shared' 10130 ;; 10131 10132 osf3* | osf4* | osf5*) 10133 lt_prog_compiler_wl='-Wl,' 10134 # All OSF/1 code is PIC. 10135 lt_prog_compiler_static='-non_shared' 10136 ;; 10137 10138 rdos*) 10139 lt_prog_compiler_static='-non_shared' 10140 ;; 10141 10142 solaris*) 10143 lt_prog_compiler_pic='-KPIC' 10144 lt_prog_compiler_static='-Bstatic' 10145 case $cc_basename in 10146 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) 10147 lt_prog_compiler_wl='-Qoption ld ';; 10148 *) 10149 lt_prog_compiler_wl='-Wl,';; 10150 esac 10151 ;; 10152 10153 sunos4*) 10154 lt_prog_compiler_wl='-Qoption ld ' 10155 lt_prog_compiler_pic='-PIC' 10156 lt_prog_compiler_static='-Bstatic' 10157 ;; 10158 10159 sysv4 | sysv4.2uw2* | sysv4.3*) 10160 lt_prog_compiler_wl='-Wl,' 10161 lt_prog_compiler_pic='-KPIC' 10162 lt_prog_compiler_static='-Bstatic' 10163 ;; 10164 10165 sysv4*MP*) 10166 if test -d /usr/nec; then 10167 lt_prog_compiler_pic='-Kconform_pic' 10168 lt_prog_compiler_static='-Bstatic' 10169 fi 10170 ;; 10171 10172 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) 10173 lt_prog_compiler_wl='-Wl,' 10174 lt_prog_compiler_pic='-KPIC' 10175 lt_prog_compiler_static='-Bstatic' 10176 ;; 10177 10178 unicos*) 10179 lt_prog_compiler_wl='-Wl,' 10180 lt_prog_compiler_can_build_shared=no 10181 ;; 10182 10183 uts4*) 10184 lt_prog_compiler_pic='-pic' 10185 lt_prog_compiler_static='-Bstatic' 10186 ;; 10187 10188 *) 10189 lt_prog_compiler_can_build_shared=no 10190 ;; 10191 esac 10192 fi 10193 10194case $host_os in 10195 # For platforms that do not support PIC, -DPIC is meaningless: 10196 *djgpp*) 10197 lt_prog_compiler_pic= 10198 ;; 10199 *) 10200 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" 10201 ;; 10202esac 10203 10204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 10205$as_echo_n "checking for $compiler option to produce PIC... " >&6; } 10206if ${lt_cv_prog_compiler_pic+:} false; then : 10207 $as_echo_n "(cached) " >&6 10208else 10209 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic 10210fi 10211{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 10212$as_echo "$lt_cv_prog_compiler_pic" >&6; } 10213lt_prog_compiler_pic=$lt_cv_prog_compiler_pic 10214 10215# 10216# Check to make sure the PIC flag actually works. 10217# 10218if test -n "$lt_prog_compiler_pic"; then 10219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 10220$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } 10221if ${lt_cv_prog_compiler_pic_works+:} false; then : 10222 $as_echo_n "(cached) " >&6 10223else 10224 lt_cv_prog_compiler_pic_works=no 10225 ac_outfile=conftest.$ac_objext 10226 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10227 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment 10228 # Insert the option either (1) after the last *FLAGS variable, or 10229 # (2) before a word containing "conftest.", or (3) at the end. 10230 # Note that $ac_compile itself does not contain backslashes and begins 10231 # with a dollar sign (not a hyphen), so the echo should work correctly. 10232 # The option is referenced via a variable to avoid confusing sed. 10233 lt_compile=`echo "$ac_compile" | $SED \ 10234 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10235 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10236 -e 's:$: $lt_compiler_flag:'` 10237 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10238 (eval "$lt_compile" 2>conftest.err) 10239 ac_status=$? 10240 cat conftest.err >&5 10241 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10242 if (exit $ac_status) && test -s "$ac_outfile"; then 10243 # The compiler can only warn and ignore the option if not recognized 10244 # So say no if there are warnings other than the usual output. 10245 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp 10246 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10247 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then 10248 lt_cv_prog_compiler_pic_works=yes 10249 fi 10250 fi 10251 $RM conftest* 10252 10253fi 10254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 10255$as_echo "$lt_cv_prog_compiler_pic_works" >&6; } 10256 10257if test yes = "$lt_cv_prog_compiler_pic_works"; then 10258 case $lt_prog_compiler_pic in 10259 "" | " "*) ;; 10260 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; 10261 esac 10262else 10263 lt_prog_compiler_pic= 10264 lt_prog_compiler_can_build_shared=no 10265fi 10266 10267fi 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279# 10280# Check to make sure the static flag actually works. 10281# 10282wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" 10283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 10284$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } 10285if ${lt_cv_prog_compiler_static_works+:} false; then : 10286 $as_echo_n "(cached) " >&6 10287else 10288 lt_cv_prog_compiler_static_works=no 10289 save_LDFLAGS=$LDFLAGS 10290 LDFLAGS="$LDFLAGS $lt_tmp_static_flag" 10291 echo "$lt_simple_link_test_code" > conftest.$ac_ext 10292 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 10293 # The linker can only warn and ignore the option if not recognized 10294 # So say no if there are warnings 10295 if test -s conftest.err; then 10296 # Append any errors to the config.log. 10297 cat conftest.err 1>&5 10298 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 10299 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 10300 if diff conftest.exp conftest.er2 >/dev/null; then 10301 lt_cv_prog_compiler_static_works=yes 10302 fi 10303 else 10304 lt_cv_prog_compiler_static_works=yes 10305 fi 10306 fi 10307 $RM -r conftest* 10308 LDFLAGS=$save_LDFLAGS 10309 10310fi 10311{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 10312$as_echo "$lt_cv_prog_compiler_static_works" >&6; } 10313 10314if test yes = "$lt_cv_prog_compiler_static_works"; then 10315 : 10316else 10317 lt_prog_compiler_static= 10318fi 10319 10320 10321 10322 10323 10324 10325 10326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10327$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10328if ${lt_cv_prog_compiler_c_o+:} false; then : 10329 $as_echo_n "(cached) " >&6 10330else 10331 lt_cv_prog_compiler_c_o=no 10332 $RM -r conftest 2>/dev/null 10333 mkdir conftest 10334 cd conftest 10335 mkdir out 10336 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10337 10338 lt_compiler_flag="-o out/conftest2.$ac_objext" 10339 # Insert the option either (1) after the last *FLAGS variable, or 10340 # (2) before a word containing "conftest.", or (3) at the end. 10341 # Note that $ac_compile itself does not contain backslashes and begins 10342 # with a dollar sign (not a hyphen), so the echo should work correctly. 10343 lt_compile=`echo "$ac_compile" | $SED \ 10344 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10345 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10346 -e 's:$: $lt_compiler_flag:'` 10347 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10348 (eval "$lt_compile" 2>out/conftest.err) 10349 ac_status=$? 10350 cat out/conftest.err >&5 10351 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10352 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10353 then 10354 # The compiler can only warn and ignore the option if not recognized 10355 # So say no if there are warnings 10356 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10357 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10358 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10359 lt_cv_prog_compiler_c_o=yes 10360 fi 10361 fi 10362 chmod u+w . 2>&5 10363 $RM conftest* 10364 # SGI C++ compiler will create directory out/ii_files/ for 10365 # template instantiation 10366 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10367 $RM out/* && rmdir out 10368 cd .. 10369 $RM -r conftest 10370 $RM conftest* 10371 10372fi 10373{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10374$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10375 10376 10377 10378 10379 10380 10381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 10382$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } 10383if ${lt_cv_prog_compiler_c_o+:} false; then : 10384 $as_echo_n "(cached) " >&6 10385else 10386 lt_cv_prog_compiler_c_o=no 10387 $RM -r conftest 2>/dev/null 10388 mkdir conftest 10389 cd conftest 10390 mkdir out 10391 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 10392 10393 lt_compiler_flag="-o out/conftest2.$ac_objext" 10394 # Insert the option either (1) after the last *FLAGS variable, or 10395 # (2) before a word containing "conftest.", or (3) at the end. 10396 # Note that $ac_compile itself does not contain backslashes and begins 10397 # with a dollar sign (not a hyphen), so the echo should work correctly. 10398 lt_compile=`echo "$ac_compile" | $SED \ 10399 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ 10400 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ 10401 -e 's:$: $lt_compiler_flag:'` 10402 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) 10403 (eval "$lt_compile" 2>out/conftest.err) 10404 ac_status=$? 10405 cat out/conftest.err >&5 10406 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10407 if (exit $ac_status) && test -s out/conftest2.$ac_objext 10408 then 10409 # The compiler can only warn and ignore the option if not recognized 10410 # So say no if there are warnings 10411 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp 10412 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 10413 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then 10414 lt_cv_prog_compiler_c_o=yes 10415 fi 10416 fi 10417 chmod u+w . 2>&5 10418 $RM conftest* 10419 # SGI C++ compiler will create directory out/ii_files/ for 10420 # template instantiation 10421 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files 10422 $RM out/* && rmdir out 10423 cd .. 10424 $RM -r conftest 10425 $RM conftest* 10426 10427fi 10428{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 10429$as_echo "$lt_cv_prog_compiler_c_o" >&6; } 10430 10431 10432 10433 10434hard_links=nottested 10435if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then 10436 # do not overwrite the value of need_locks provided by the user 10437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 10438$as_echo_n "checking if we can lock with hard links... " >&6; } 10439 hard_links=yes 10440 $RM conftest* 10441 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10442 touch conftest.a 10443 ln conftest.a conftest.b 2>&5 || hard_links=no 10444 ln conftest.a conftest.b 2>/dev/null && hard_links=no 10445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 10446$as_echo "$hard_links" >&6; } 10447 if test no = "$hard_links"; then 10448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 10449$as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} 10450 need_locks=warn 10451 fi 10452else 10453 need_locks=no 10454fi 10455 10456 10457 10458 10459 10460 10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 10462$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } 10463 10464 runpath_var= 10465 allow_undefined_flag= 10466 always_export_symbols=no 10467 archive_cmds= 10468 archive_expsym_cmds= 10469 compiler_needs_object=no 10470 enable_shared_with_static_runtimes=no 10471 export_dynamic_flag_spec= 10472 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 10473 hardcode_automatic=no 10474 hardcode_direct=no 10475 hardcode_direct_absolute=no 10476 hardcode_libdir_flag_spec= 10477 hardcode_libdir_separator= 10478 hardcode_minus_L=no 10479 hardcode_shlibpath_var=unsupported 10480 inherit_rpath=no 10481 link_all_deplibs=unknown 10482 module_cmds= 10483 module_expsym_cmds= 10484 old_archive_from_new_cmds= 10485 old_archive_from_expsyms_cmds= 10486 thread_safe_flag_spec= 10487 whole_archive_flag_spec= 10488 # include_expsyms should be a list of space-separated symbols to be *always* 10489 # included in the symbol list 10490 include_expsyms= 10491 # exclude_expsyms can be an extended regexp of symbols to exclude 10492 # it will be wrapped by ' (' and ')$', so one must not match beginning or 10493 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', 10494 # as well as any symbol that contains 'd'. 10495 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' 10496 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 10497 # platforms (ab)use it in PIC code, but their linkers get confused if 10498 # the symbol is explicitly referenced. Since portable code cannot 10499 # rely on this symbol name, it's probably fine to never include it in 10500 # preloaded symbol tables. 10501 # Exclude shared library initialization/finalization symbols. 10502 extract_expsyms_cmds= 10503 10504 case $host_os in 10505 cygwin* | mingw* | pw32* | cegcc*) 10506 # FIXME: the MSVC++ port hasn't been tested in a loooong time 10507 # When not using gcc, we currently assume that we are using 10508 # Microsoft Visual C++. 10509 if test yes != "$GCC"; then 10510 with_gnu_ld=no 10511 fi 10512 ;; 10513 interix*) 10514 # we just hope/assume this is gcc and not c89 (= MSVC++) 10515 with_gnu_ld=yes 10516 ;; 10517 openbsd* | bitrig*) 10518 with_gnu_ld=no 10519 ;; 10520 linux* | k*bsd*-gnu | gnu*) 10521 link_all_deplibs=no 10522 ;; 10523 esac 10524 10525 ld_shlibs=yes 10526 10527 # On some targets, GNU ld is compatible enough with the native linker 10528 # that we're better off using the native interface for both. 10529 lt_use_gnu_ld_interface=no 10530 if test yes = "$with_gnu_ld"; then 10531 case $host_os in 10532 aix*) 10533 # The AIX port of GNU ld has always aspired to compatibility 10534 # with the native linker. However, as the warning in the GNU ld 10535 # block says, versions before 2.19.5* couldn't really create working 10536 # shared libraries, regardless of the interface used. 10537 case `$LD -v 2>&1` in 10538 *\ \(GNU\ Binutils\)\ 2.19.5*) ;; 10539 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; 10540 *\ \(GNU\ Binutils\)\ [3-9]*) ;; 10541 *) 10542 lt_use_gnu_ld_interface=yes 10543 ;; 10544 esac 10545 ;; 10546 *) 10547 lt_use_gnu_ld_interface=yes 10548 ;; 10549 esac 10550 fi 10551 10552 if test yes = "$lt_use_gnu_ld_interface"; then 10553 # If archive_cmds runs LD, not CC, wlarc should be empty 10554 wlarc='$wl' 10555 10556 # Set some defaults for GNU ld with shared library support. These 10557 # are reset later if shared libraries are not supported. Putting them 10558 # here allows them to be overridden if necessary. 10559 runpath_var=LD_RUN_PATH 10560 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10561 export_dynamic_flag_spec='$wl--export-dynamic' 10562 # ancient GNU ld didn't support --whole-archive et. al. 10563 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then 10564 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' 10565 else 10566 whole_archive_flag_spec= 10567 fi 10568 supports_anon_versioning=no 10569 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in 10570 *GNU\ gold*) supports_anon_versioning=yes ;; 10571 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 10572 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 10573 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 10574 *\ 2.11.*) ;; # other 2.11 versions 10575 *) supports_anon_versioning=yes ;; 10576 esac 10577 10578 # See if GNU ld supports shared libraries. 10579 case $host_os in 10580 aix[3-9]*) 10581 # On AIX/PPC, the GNU linker is very broken 10582 if test ia64 != "$host_cpu"; then 10583 ld_shlibs=no 10584 cat <<_LT_EOF 1>&2 10585 10586*** Warning: the GNU linker, at least up to release 2.19, is reported 10587*** to be unable to reliably create shared libraries on AIX. 10588*** Therefore, libtool is disabling shared libraries support. If you 10589*** really care for shared libraries, you may want to install binutils 10590*** 2.20 or above, or modify your PATH so that a non-GNU linker is found. 10591*** You will then need to restart the configuration process. 10592 10593_LT_EOF 10594 fi 10595 ;; 10596 10597 amigaos*) 10598 case $host_cpu in 10599 powerpc) 10600 # see comment about AmigaOS4 .so support 10601 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10602 archive_expsym_cmds='' 10603 ;; 10604 m68k) 10605 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)' 10606 hardcode_libdir_flag_spec='-L$libdir' 10607 hardcode_minus_L=yes 10608 ;; 10609 esac 10610 ;; 10611 10612 beos*) 10613 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10614 allow_undefined_flag=unsupported 10615 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc 10616 # support --undefined. This deserves some investigation. FIXME 10617 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10618 else 10619 ld_shlibs=no 10620 fi 10621 ;; 10622 10623 cygwin* | mingw* | pw32* | cegcc*) 10624 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, 10625 # as there is no search path for DLLs. 10626 hardcode_libdir_flag_spec='-L$libdir' 10627 export_dynamic_flag_spec='$wl--export-all-symbols' 10628 allow_undefined_flag=unsupported 10629 always_export_symbols=no 10630 enable_shared_with_static_runtimes=yes 10631 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' 10632 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' 10633 10634 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then 10635 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10636 # If the export-symbols file already is a .def file, use it as 10637 # is; otherwise, prepend EXPORTS... 10638 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 10639 cp $export_symbols $output_objdir/$soname.def; 10640 else 10641 echo EXPORTS > $output_objdir/$soname.def; 10642 cat $export_symbols >> $output_objdir/$soname.def; 10643 fi~ 10644 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 10645 else 10646 ld_shlibs=no 10647 fi 10648 ;; 10649 10650 haiku*) 10651 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10652 link_all_deplibs=yes 10653 ;; 10654 10655 os2*) 10656 hardcode_libdir_flag_spec='-L$libdir' 10657 hardcode_minus_L=yes 10658 allow_undefined_flag=unsupported 10659 shrext_cmds=.dll 10660 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10661 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10662 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10663 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10664 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 10665 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10666 emximp -o $lib $output_objdir/$libname.def' 10667 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 10668 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 10669 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 10670 $ECHO EXPORTS >> $output_objdir/$libname.def~ 10671 prefix_cmds="$SED"~ 10672 if test EXPORTS = "`$SED 1q $export_symbols`"; then 10673 prefix_cmds="$prefix_cmds -e 1d"; 10674 fi~ 10675 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 10676 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 10677 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 10678 emximp -o $lib $output_objdir/$libname.def' 10679 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 10680 enable_shared_with_static_runtimes=yes 10681 ;; 10682 10683 interix[3-9]*) 10684 hardcode_direct=no 10685 hardcode_shlibpath_var=no 10686 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 10687 export_dynamic_flag_spec='$wl-E' 10688 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. 10689 # Instead, shared libraries are loaded at an image base (0x10000000 by 10690 # default) and relocated if they conflict, which is a slow very memory 10691 # consuming and fragmenting process. To avoid this, we pick a random, 10692 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link 10693 # time. Moving up from 0x10000000 also allows more sbrk(2) space. 10694 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' 10695 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' 10696 ;; 10697 10698 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) 10699 tmp_diet=no 10700 if test linux-dietlibc = "$host_os"; then 10701 case $cc_basename in 10702 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) 10703 esac 10704 fi 10705 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ 10706 && test no = "$tmp_diet" 10707 then 10708 tmp_addflag=' $pic_flag' 10709 tmp_sharedflag='-shared' 10710 case $cc_basename,$host_cpu in 10711 pgcc*) # Portland Group C compiler 10712 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' 10713 tmp_addflag=' $pic_flag' 10714 ;; 10715 pgf77* | pgf90* | pgf95* | pgfortran*) 10716 # Portland Group f77 and f90 compilers 10717 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' 10718 tmp_addflag=' $pic_flag -Mnomain' ;; 10719 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 10720 tmp_addflag=' -i_dynamic' ;; 10721 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 10722 tmp_addflag=' -i_dynamic -nofor_main' ;; 10723 ifc* | ifort*) # Intel Fortran compiler 10724 tmp_addflag=' -nofor_main' ;; 10725 lf95*) # Lahey Fortran 8.1 10726 whole_archive_flag_spec= 10727 tmp_sharedflag='--shared' ;; 10728 nagfor*) # NAGFOR 5.3 10729 tmp_sharedflag='-Wl,-shared' ;; 10730 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) 10731 tmp_sharedflag='-qmkshrobj' 10732 tmp_addflag= ;; 10733 nvcc*) # Cuda Compiler Driver 2.2 10734 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' 10735 compiler_needs_object=yes 10736 ;; 10737 esac 10738 case `$CC -V 2>&1 | sed 5q` in 10739 *Sun\ C*) # Sun C 5.9 10740 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' 10741 compiler_needs_object=yes 10742 tmp_sharedflag='-G' ;; 10743 *Sun\ F*) # Sun Fortran 8.3 10744 tmp_sharedflag='-G' ;; 10745 esac 10746 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10747 10748 if test yes = "$supports_anon_versioning"; then 10749 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10750 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10751 echo "local: *; };" >> $output_objdir/$libname.ver~ 10752 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' 10753 fi 10754 10755 case $cc_basename in 10756 tcc*) 10757 export_dynamic_flag_spec='-rdynamic' 10758 ;; 10759 xlf* | bgf* | bgxlf* | mpixlf*) 10760 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself 10761 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' 10762 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10763 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' 10764 if test yes = "$supports_anon_versioning"; then 10765 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ 10766 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ 10767 echo "local: *; };" >> $output_objdir/$libname.ver~ 10768 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' 10769 fi 10770 ;; 10771 esac 10772 else 10773 ld_shlibs=no 10774 fi 10775 ;; 10776 10777 netbsd* | netbsdelf*-gnu) 10778 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 10779 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' 10780 wlarc= 10781 else 10782 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10783 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10784 fi 10785 ;; 10786 10787 solaris*) 10788 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then 10789 ld_shlibs=no 10790 cat <<_LT_EOF 1>&2 10791 10792*** Warning: The releases 2.8.* of the GNU linker cannot reliably 10793*** create shared libraries on Solaris systems. Therefore, libtool 10794*** is disabling shared libraries support. We urge you to upgrade GNU 10795*** binutils to release 2.9.1 or newer. Another option is to modify 10796*** your PATH or compiler configuration so that the native linker is 10797*** used, and then restart. 10798 10799_LT_EOF 10800 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10801 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10802 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10803 else 10804 ld_shlibs=no 10805 fi 10806 ;; 10807 10808 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) 10809 case `$LD -v 2>&1` in 10810 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) 10811 ld_shlibs=no 10812 cat <<_LT_EOF 1>&2 10813 10814*** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot 10815*** reliably create shared libraries on SCO systems. Therefore, libtool 10816*** is disabling shared libraries support. We urge you to upgrade GNU 10817*** binutils to release 2.16.91.0.3 or newer. Another option is to modify 10818*** your PATH or compiler configuration so that the native linker is 10819*** used, and then restart. 10820 10821_LT_EOF 10822 ;; 10823 *) 10824 # For security reasons, it is highly recommended that you always 10825 # use absolute paths for naming shared libraries, and exclude the 10826 # DT_RUNPATH tag from executables and libraries. But doing so 10827 # requires that you compile everything twice, which is a pain. 10828 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10829 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 10830 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10831 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10832 else 10833 ld_shlibs=no 10834 fi 10835 ;; 10836 esac 10837 ;; 10838 10839 sunos4*) 10840 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' 10841 wlarc= 10842 hardcode_direct=yes 10843 hardcode_shlibpath_var=no 10844 ;; 10845 10846 *) 10847 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then 10848 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 10849 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' 10850 else 10851 ld_shlibs=no 10852 fi 10853 ;; 10854 esac 10855 10856 if test no = "$ld_shlibs"; then 10857 runpath_var= 10858 hardcode_libdir_flag_spec= 10859 export_dynamic_flag_spec= 10860 whole_archive_flag_spec= 10861 fi 10862 else 10863 # PORTME fill in a description of your system's linker (not GNU ld) 10864 case $host_os in 10865 aix3*) 10866 allow_undefined_flag=unsupported 10867 always_export_symbols=yes 10868 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' 10869 # Note: this linker hardcodes the directories in LIBPATH if there 10870 # are no directories specified by -L. 10871 hardcode_minus_L=yes 10872 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then 10873 # Neither direct hardcoding nor static linking is supported with a 10874 # broken collect2. 10875 hardcode_direct=unsupported 10876 fi 10877 ;; 10878 10879 aix[4-9]*) 10880 if test ia64 = "$host_cpu"; then 10881 # On IA64, the linker does run time linking by default, so we don't 10882 # have to do anything special. 10883 aix_use_runtimelinking=no 10884 exp_sym_flag='-Bexport' 10885 no_entry_flag= 10886 else 10887 # If we're using GNU nm, then we don't want the "-C" option. 10888 # -C means demangle to GNU nm, but means don't demangle to AIX nm. 10889 # Without the "-l" option, or with the "-B" option, AIX nm treats 10890 # weak defined symbols like other global defined symbols, whereas 10891 # GNU nm marks them as "W". 10892 # While the 'weak' keyword is ignored in the Export File, we need 10893 # it in the Import File for the 'aix-soname' feature, so we have 10894 # to replace the "-B" option with "-P" for AIX nm. 10895 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then 10896 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' 10897 else 10898 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' 10899 fi 10900 aix_use_runtimelinking=no 10901 10902 # Test if we are trying to use run time linking or normal 10903 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 10904 # have runtime linking enabled, and use it for executables. 10905 # For shared libraries, we enable/disable runtime linking 10906 # depending on the kind of the shared library created - 10907 # when "with_aix_soname,aix_use_runtimelinking" is: 10908 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables 10909 # "aix,yes" lib.so shared, rtl:yes, for executables 10910 # lib.a static archive 10911 # "both,no" lib.so.V(shr.o) shared, rtl:yes 10912 # lib.a(lib.so.V) shared, rtl:no, for executables 10913 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables 10914 # lib.a(lib.so.V) shared, rtl:no 10915 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables 10916 # lib.a static archive 10917 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) 10918 for ld_flag in $LDFLAGS; do 10919 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then 10920 aix_use_runtimelinking=yes 10921 break 10922 fi 10923 done 10924 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then 10925 # With aix-soname=svr4, we create the lib.so.V shared archives only, 10926 # so we don't have lib.a shared libs to link our executables. 10927 # We have to force runtime linking in this case. 10928 aix_use_runtimelinking=yes 10929 LDFLAGS="$LDFLAGS -Wl,-brtl" 10930 fi 10931 ;; 10932 esac 10933 10934 exp_sym_flag='-bexport' 10935 no_entry_flag='-bnoentry' 10936 fi 10937 10938 # When large executables or shared objects are built, AIX ld can 10939 # have problems creating the table of contents. If linking a library 10940 # or program results in "error TOC overflow" add -mminimal-toc to 10941 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not 10942 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. 10943 10944 archive_cmds='' 10945 hardcode_direct=yes 10946 hardcode_direct_absolute=yes 10947 hardcode_libdir_separator=':' 10948 link_all_deplibs=yes 10949 file_list_spec='$wl-f,' 10950 case $with_aix_soname,$aix_use_runtimelinking in 10951 aix,*) ;; # traditional, no import file 10952 svr4,* | *,yes) # use import file 10953 # The Import File defines what to hardcode. 10954 hardcode_direct=no 10955 hardcode_direct_absolute=no 10956 ;; 10957 esac 10958 10959 if test yes = "$GCC"; then 10960 case $host_os in aix4.[012]|aix4.[012].*) 10961 # We only want to do this on AIX 4.2 and lower, the check 10962 # below for broken collect2 doesn't work under 4.3+ 10963 collect2name=`$CC -print-prog-name=collect2` 10964 if test -f "$collect2name" && 10965 strings "$collect2name" | $GREP resolve_lib_name >/dev/null 10966 then 10967 # We have reworked collect2 10968 : 10969 else 10970 # We have old collect2 10971 hardcode_direct=unsupported 10972 # It fails to find uninstalled libraries when the uninstalled 10973 # path is not listed in the libpath. Setting hardcode_minus_L 10974 # to unsupported forces relinking 10975 hardcode_minus_L=yes 10976 hardcode_libdir_flag_spec='-L$libdir' 10977 hardcode_libdir_separator= 10978 fi 10979 ;; 10980 esac 10981 shared_flag='-shared' 10982 if test yes = "$aix_use_runtimelinking"; then 10983 shared_flag="$shared_flag "'$wl-G' 10984 fi 10985 # Need to ensure runtime linking is disabled for the traditional 10986 # shared library, or the linker may eventually find shared libraries 10987 # /with/ Import File - we do not want to mix them. 10988 shared_flag_aix='-shared' 10989 shared_flag_svr4='-shared $wl-G' 10990 else 10991 # not using gcc 10992 if test ia64 = "$host_cpu"; then 10993 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release 10994 # chokes on -Wl,-G. The following line is correct: 10995 shared_flag='-G' 10996 else 10997 if test yes = "$aix_use_runtimelinking"; then 10998 shared_flag='$wl-G' 10999 else 11000 shared_flag='$wl-bM:SRE' 11001 fi 11002 shared_flag_aix='$wl-bM:SRE' 11003 shared_flag_svr4='$wl-G' 11004 fi 11005 fi 11006 11007 export_dynamic_flag_spec='$wl-bexpall' 11008 # It seems that -bexpall does not export symbols beginning with 11009 # underscore (_), so it is better to generate a list of symbols to export. 11010 always_export_symbols=yes 11011 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then 11012 # Warning - without using the other runtime loading flags (-brtl), 11013 # -berok will link without error, but may produce a broken library. 11014 allow_undefined_flag='-berok' 11015 # Determine the default libpath from the value encoded in an 11016 # empty executable. 11017 if test set = "${lt_cv_aix_libpath+set}"; then 11018 aix_libpath=$lt_cv_aix_libpath 11019else 11020 if ${lt_cv_aix_libpath_+:} false; then : 11021 $as_echo_n "(cached) " >&6 11022else 11023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11024/* end confdefs.h. */ 11025 11026int 11027main () 11028{ 11029 11030 ; 11031 return 0; 11032} 11033_ACEOF 11034if ac_fn_c_try_link "$LINENO"; then : 11035 11036 lt_aix_libpath_sed=' 11037 /Import File Strings/,/^$/ { 11038 /^0/ { 11039 s/^0 *\([^ ]*\) *$/\1/ 11040 p 11041 } 11042 }' 11043 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11044 # Check for a 64-bit object if we didn't find anything. 11045 if test -z "$lt_cv_aix_libpath_"; then 11046 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11047 fi 11048fi 11049rm -f core conftest.err conftest.$ac_objext \ 11050 conftest$ac_exeext conftest.$ac_ext 11051 if test -z "$lt_cv_aix_libpath_"; then 11052 lt_cv_aix_libpath_=/usr/lib:/lib 11053 fi 11054 11055fi 11056 11057 aix_libpath=$lt_cv_aix_libpath_ 11058fi 11059 11060 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11061 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag 11062 else 11063 if test ia64 = "$host_cpu"; then 11064 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' 11065 allow_undefined_flag="-z nodefs" 11066 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" 11067 else 11068 # Determine the default libpath from the value encoded in an 11069 # empty executable. 11070 if test set = "${lt_cv_aix_libpath+set}"; then 11071 aix_libpath=$lt_cv_aix_libpath 11072else 11073 if ${lt_cv_aix_libpath_+:} false; then : 11074 $as_echo_n "(cached) " >&6 11075else 11076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11077/* end confdefs.h. */ 11078 11079int 11080main () 11081{ 11082 11083 ; 11084 return 0; 11085} 11086_ACEOF 11087if ac_fn_c_try_link "$LINENO"; then : 11088 11089 lt_aix_libpath_sed=' 11090 /Import File Strings/,/^$/ { 11091 /^0/ { 11092 s/^0 *\([^ ]*\) *$/\1/ 11093 p 11094 } 11095 }' 11096 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11097 # Check for a 64-bit object if we didn't find anything. 11098 if test -z "$lt_cv_aix_libpath_"; then 11099 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` 11100 fi 11101fi 11102rm -f core conftest.err conftest.$ac_objext \ 11103 conftest$ac_exeext conftest.$ac_ext 11104 if test -z "$lt_cv_aix_libpath_"; then 11105 lt_cv_aix_libpath_=/usr/lib:/lib 11106 fi 11107 11108fi 11109 11110 aix_libpath=$lt_cv_aix_libpath_ 11111fi 11112 11113 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" 11114 # Warning - without using the other run time loading flags, 11115 # -berok will link without error, but may produce a broken library. 11116 no_undefined_flag=' $wl-bernotok' 11117 allow_undefined_flag=' $wl-berok' 11118 if test yes = "$with_gnu_ld"; then 11119 # We only use this code for GNU lds that support --whole-archive. 11120 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' 11121 else 11122 # Exported symbols can be pulled into shared objects from archives 11123 whole_archive_flag_spec='$convenience' 11124 fi 11125 archive_cmds_need_lc=yes 11126 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' 11127 # -brtl affects multiple linker settings, -berok does not and is overridden later 11128 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' 11129 if test svr4 != "$with_aix_soname"; then 11130 # This is similar to how AIX traditionally builds its shared libraries. 11131 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' 11132 fi 11133 if test aix != "$with_aix_soname"; then 11134 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' 11135 else 11136 # used by -dlpreopen to get the symbols 11137 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' 11138 fi 11139 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' 11140 fi 11141 fi 11142 ;; 11143 11144 amigaos*) 11145 case $host_cpu in 11146 powerpc) 11147 # see comment about AmigaOS4 .so support 11148 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' 11149 archive_expsym_cmds='' 11150 ;; 11151 m68k) 11152 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)' 11153 hardcode_libdir_flag_spec='-L$libdir' 11154 hardcode_minus_L=yes 11155 ;; 11156 esac 11157 ;; 11158 11159 bsdi[45]*) 11160 export_dynamic_flag_spec=-rdynamic 11161 ;; 11162 11163 cygwin* | mingw* | pw32* | cegcc*) 11164 # When not using gcc, we currently assume that we are using 11165 # Microsoft Visual C++. 11166 # hardcode_libdir_flag_spec is actually meaningless, as there is 11167 # no search path for DLLs. 11168 case $cc_basename in 11169 cl*) 11170 # Native MSVC 11171 hardcode_libdir_flag_spec=' ' 11172 allow_undefined_flag=unsupported 11173 always_export_symbols=yes 11174 file_list_spec='@' 11175 # Tell ltmain to make .lib files, not .a files. 11176 libext=lib 11177 # Tell ltmain to make .dll files, not .so files. 11178 shrext_cmds=.dll 11179 # FIXME: Setting linknames here is a bad hack. 11180 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' 11181 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then 11182 cp "$export_symbols" "$output_objdir/$soname.def"; 11183 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; 11184 else 11185 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; 11186 fi~ 11187 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ 11188 linknames=' 11189 # The linker will not automatically build a static lib if we build a DLL. 11190 # _LT_TAGVAR(old_archive_from_new_cmds, )='true' 11191 enable_shared_with_static_runtimes=yes 11192 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' 11193 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' 11194 # Don't use ranlib 11195 old_postinstall_cmds='chmod 644 $oldlib' 11196 postlink_cmds='lt_outputfile="@OUTPUT@"~ 11197 lt_tool_outputfile="@TOOL_OUTPUT@"~ 11198 case $lt_outputfile in 11199 *.exe|*.EXE) ;; 11200 *) 11201 lt_outputfile=$lt_outputfile.exe 11202 lt_tool_outputfile=$lt_tool_outputfile.exe 11203 ;; 11204 esac~ 11205 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then 11206 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; 11207 $RM "$lt_outputfile.manifest"; 11208 fi' 11209 ;; 11210 *) 11211 # Assume MSVC wrapper 11212 hardcode_libdir_flag_spec=' ' 11213 allow_undefined_flag=unsupported 11214 # Tell ltmain to make .lib files, not .a files. 11215 libext=lib 11216 # Tell ltmain to make .dll files, not .so files. 11217 shrext_cmds=.dll 11218 # FIXME: Setting linknames here is a bad hack. 11219 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' 11220 # The linker will automatically build a .lib file if we build a DLL. 11221 old_archive_from_new_cmds='true' 11222 # FIXME: Should let the user specify the lib program. 11223 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' 11224 enable_shared_with_static_runtimes=yes 11225 ;; 11226 esac 11227 ;; 11228 11229 darwin* | rhapsody*) 11230 11231 11232 archive_cmds_need_lc=no 11233 hardcode_direct=no 11234 hardcode_automatic=yes 11235 hardcode_shlibpath_var=unsupported 11236 if test yes = "$lt_cv_ld_force_load"; then 11237 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\"`' 11238 11239 else 11240 whole_archive_flag_spec='' 11241 fi 11242 link_all_deplibs=yes 11243 allow_undefined_flag=$_lt_dar_allow_undefined 11244 case $cc_basename in 11245 ifort*|nagfor*) _lt_dar_can_shared=yes ;; 11246 *) _lt_dar_can_shared=$GCC ;; 11247 esac 11248 if test yes = "$_lt_dar_can_shared"; then 11249 output_verbose_link_cmd=func_echo_all 11250 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" 11251 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" 11252 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" 11253 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" 11254 11255 else 11256 ld_shlibs=no 11257 fi 11258 11259 ;; 11260 11261 dgux*) 11262 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11263 hardcode_libdir_flag_spec='-L$libdir' 11264 hardcode_shlibpath_var=no 11265 ;; 11266 11267 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor 11268 # support. Future versions do this automatically, but an explicit c++rt0.o 11269 # does not break anything, and helps significantly (at the cost of a little 11270 # extra space). 11271 freebsd2.2*) 11272 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' 11273 hardcode_libdir_flag_spec='-R$libdir' 11274 hardcode_direct=yes 11275 hardcode_shlibpath_var=no 11276 ;; 11277 11278 # Unfortunately, older versions of FreeBSD 2 do not have this feature. 11279 freebsd2.*) 11280 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' 11281 hardcode_direct=yes 11282 hardcode_minus_L=yes 11283 hardcode_shlibpath_var=no 11284 ;; 11285 11286 # FreeBSD 3 and greater uses gcc -shared to do shared libraries. 11287 freebsd* | dragonfly*) 11288 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11289 hardcode_libdir_flag_spec='-R$libdir' 11290 hardcode_direct=yes 11291 hardcode_shlibpath_var=no 11292 ;; 11293 11294 hpux9*) 11295 if test yes = "$GCC"; then 11296 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 11297 else 11298 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' 11299 fi 11300 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11301 hardcode_libdir_separator=: 11302 hardcode_direct=yes 11303 11304 # hardcode_minus_L: Not really in the search PATH, 11305 # but as the default location of the library. 11306 hardcode_minus_L=yes 11307 export_dynamic_flag_spec='$wl-E' 11308 ;; 11309 11310 hpux10*) 11311 if test yes,no = "$GCC,$with_gnu_ld"; then 11312 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11313 else 11314 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11315 fi 11316 if test no = "$with_gnu_ld"; then 11317 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11318 hardcode_libdir_separator=: 11319 hardcode_direct=yes 11320 hardcode_direct_absolute=yes 11321 export_dynamic_flag_spec='$wl-E' 11322 # hardcode_minus_L: Not really in the search PATH, 11323 # but as the default location of the library. 11324 hardcode_minus_L=yes 11325 fi 11326 ;; 11327 11328 hpux11*) 11329 if test yes,no = "$GCC,$with_gnu_ld"; then 11330 case $host_cpu in 11331 hppa*64*) 11332 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11333 ;; 11334 ia64*) 11335 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11336 ;; 11337 *) 11338 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11339 ;; 11340 esac 11341 else 11342 case $host_cpu in 11343 hppa*64*) 11344 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11345 ;; 11346 ia64*) 11347 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' 11348 ;; 11349 *) 11350 11351 # Older versions of the 11.00 compiler do not understand -b yet 11352 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) 11353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 11354$as_echo_n "checking if $CC understands -b... " >&6; } 11355if ${lt_cv_prog_compiler__b+:} false; then : 11356 $as_echo_n "(cached) " >&6 11357else 11358 lt_cv_prog_compiler__b=no 11359 save_LDFLAGS=$LDFLAGS 11360 LDFLAGS="$LDFLAGS -b" 11361 echo "$lt_simple_link_test_code" > conftest.$ac_ext 11362 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then 11363 # The linker can only warn and ignore the option if not recognized 11364 # So say no if there are warnings 11365 if test -s conftest.err; then 11366 # Append any errors to the config.log. 11367 cat conftest.err 1>&5 11368 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp 11369 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 11370 if diff conftest.exp conftest.er2 >/dev/null; then 11371 lt_cv_prog_compiler__b=yes 11372 fi 11373 else 11374 lt_cv_prog_compiler__b=yes 11375 fi 11376 fi 11377 $RM -r conftest* 11378 LDFLAGS=$save_LDFLAGS 11379 11380fi 11381{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 11382$as_echo "$lt_cv_prog_compiler__b" >&6; } 11383 11384if test yes = "$lt_cv_prog_compiler__b"; then 11385 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' 11386else 11387 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' 11388fi 11389 11390 ;; 11391 esac 11392 fi 11393 if test no = "$with_gnu_ld"; then 11394 hardcode_libdir_flag_spec='$wl+b $wl$libdir' 11395 hardcode_libdir_separator=: 11396 11397 case $host_cpu in 11398 hppa*64*|ia64*) 11399 hardcode_direct=no 11400 hardcode_shlibpath_var=no 11401 ;; 11402 *) 11403 hardcode_direct=yes 11404 hardcode_direct_absolute=yes 11405 export_dynamic_flag_spec='$wl-E' 11406 11407 # hardcode_minus_L: Not really in the search PATH, 11408 # but as the default location of the library. 11409 hardcode_minus_L=yes 11410 ;; 11411 esac 11412 fi 11413 ;; 11414 11415 irix5* | irix6* | nonstopux*) 11416 if test yes = "$GCC"; then 11417 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' 11418 # Try to use the -exported_symbol ld option, if it does not 11419 # work, assume that -exports_file does not work either and 11420 # implicitly export all symbols. 11421 # This should be the same for all languages, so no per-tag cache variable. 11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 11423$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } 11424if ${lt_cv_irix_exported_symbol+:} false; then : 11425 $as_echo_n "(cached) " >&6 11426else 11427 save_LDFLAGS=$LDFLAGS 11428 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" 11429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 11430/* end confdefs.h. */ 11431int foo (void) { return 0; } 11432_ACEOF 11433if ac_fn_c_try_link "$LINENO"; then : 11434 lt_cv_irix_exported_symbol=yes 11435else 11436 lt_cv_irix_exported_symbol=no 11437fi 11438rm -f core conftest.err conftest.$ac_objext \ 11439 conftest$ac_exeext conftest.$ac_ext 11440 LDFLAGS=$save_LDFLAGS 11441fi 11442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 11443$as_echo "$lt_cv_irix_exported_symbol" >&6; } 11444 if test yes = "$lt_cv_irix_exported_symbol"; then 11445 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' 11446 fi 11447 link_all_deplibs=no 11448 else 11449 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' 11450 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' 11451 fi 11452 archive_cmds_need_lc='no' 11453 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11454 hardcode_libdir_separator=: 11455 inherit_rpath=yes 11456 link_all_deplibs=yes 11457 ;; 11458 11459 linux*) 11460 case $cc_basename in 11461 tcc*) 11462 # Fabrice Bellard et al's Tiny C Compiler 11463 ld_shlibs=yes 11464 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11465 ;; 11466 esac 11467 ;; 11468 11469 netbsd* | netbsdelf*-gnu) 11470 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 11471 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out 11472 else 11473 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF 11474 fi 11475 hardcode_libdir_flag_spec='-R$libdir' 11476 hardcode_direct=yes 11477 hardcode_shlibpath_var=no 11478 ;; 11479 11480 newsos6) 11481 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11482 hardcode_direct=yes 11483 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11484 hardcode_libdir_separator=: 11485 hardcode_shlibpath_var=no 11486 ;; 11487 11488 *nto* | *qnx*) 11489 ;; 11490 11491 openbsd* | bitrig*) 11492 if test -f /usr/libexec/ld.so; then 11493 hardcode_direct=yes 11494 hardcode_shlibpath_var=no 11495 hardcode_direct_absolute=yes 11496 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 11497 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11498 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' 11499 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11500 export_dynamic_flag_spec='$wl-E' 11501 else 11502 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' 11503 hardcode_libdir_flag_spec='$wl-rpath,$libdir' 11504 fi 11505 else 11506 ld_shlibs=no 11507 fi 11508 ;; 11509 11510 os2*) 11511 hardcode_libdir_flag_spec='-L$libdir' 11512 hardcode_minus_L=yes 11513 allow_undefined_flag=unsupported 11514 shrext_cmds=.dll 11515 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11516 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11517 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11518 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11519 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ 11520 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11521 emximp -o $lib $output_objdir/$libname.def' 11522 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ 11523 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ 11524 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ 11525 $ECHO EXPORTS >> $output_objdir/$libname.def~ 11526 prefix_cmds="$SED"~ 11527 if test EXPORTS = "`$SED 1q $export_symbols`"; then 11528 prefix_cmds="$prefix_cmds -e 1d"; 11529 fi~ 11530 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ 11531 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ 11532 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ 11533 emximp -o $lib $output_objdir/$libname.def' 11534 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' 11535 enable_shared_with_static_runtimes=yes 11536 ;; 11537 11538 osf3*) 11539 if test yes = "$GCC"; then 11540 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11541 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' 11542 else 11543 allow_undefined_flag=' -expect_unresolved \*' 11544 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' 11545 fi 11546 archive_cmds_need_lc='no' 11547 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11548 hardcode_libdir_separator=: 11549 ;; 11550 11551 osf4* | osf5*) # as osf3* with the addition of -msym flag 11552 if test yes = "$GCC"; then 11553 allow_undefined_flag=' $wl-expect_unresolved $wl\*' 11554 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' 11555 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' 11556 else 11557 allow_undefined_flag=' -expect_unresolved \*' 11558 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' 11559 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~ 11560 $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' 11561 11562 # Both c and cxx compiler support -rpath directly 11563 hardcode_libdir_flag_spec='-rpath $libdir' 11564 fi 11565 archive_cmds_need_lc='no' 11566 hardcode_libdir_separator=: 11567 ;; 11568 11569 solaris*) 11570 no_undefined_flag=' -z defs' 11571 if test yes = "$GCC"; then 11572 wlarc='$wl' 11573 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' 11574 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11575 $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' 11576 else 11577 case `$CC -V 2>&1` in 11578 *"Compilers 5.0"*) 11579 wlarc='' 11580 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' 11581 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11582 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' 11583 ;; 11584 *) 11585 wlarc='$wl' 11586 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' 11587 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ 11588 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' 11589 ;; 11590 esac 11591 fi 11592 hardcode_libdir_flag_spec='-R$libdir' 11593 hardcode_shlibpath_var=no 11594 case $host_os in 11595 solaris2.[0-5] | solaris2.[0-5].*) ;; 11596 *) 11597 # The compiler driver will combine and reorder linker options, 11598 # but understands '-z linker_flag'. GCC discards it without '$wl', 11599 # but is careful enough not to reorder. 11600 # Supported since Solaris 2.6 (maybe 2.5.1?) 11601 if test yes = "$GCC"; then 11602 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' 11603 else 11604 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' 11605 fi 11606 ;; 11607 esac 11608 link_all_deplibs=yes 11609 ;; 11610 11611 sunos4*) 11612 if test sequent = "$host_vendor"; then 11613 # Use $CC to link under sequent, because it throws in some extra .o 11614 # files that make .init and .fini sections work. 11615 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' 11616 else 11617 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' 11618 fi 11619 hardcode_libdir_flag_spec='-L$libdir' 11620 hardcode_direct=yes 11621 hardcode_minus_L=yes 11622 hardcode_shlibpath_var=no 11623 ;; 11624 11625 sysv4) 11626 case $host_vendor in 11627 sni) 11628 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11629 hardcode_direct=yes # is this really true??? 11630 ;; 11631 siemens) 11632 ## LD is ld it makes a PLAMLIB 11633 ## CC just makes a GrossModule. 11634 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' 11635 reload_cmds='$CC -r -o $output$reload_objs' 11636 hardcode_direct=no 11637 ;; 11638 motorola) 11639 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11640 hardcode_direct=no #Motorola manual says yes, but my tests say they lie 11641 ;; 11642 esac 11643 runpath_var='LD_RUN_PATH' 11644 hardcode_shlibpath_var=no 11645 ;; 11646 11647 sysv4.3*) 11648 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11649 hardcode_shlibpath_var=no 11650 export_dynamic_flag_spec='-Bexport' 11651 ;; 11652 11653 sysv4*MP*) 11654 if test -d /usr/nec; then 11655 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11656 hardcode_shlibpath_var=no 11657 runpath_var=LD_RUN_PATH 11658 hardcode_runpath_var=yes 11659 ld_shlibs=yes 11660 fi 11661 ;; 11662 11663 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) 11664 no_undefined_flag='$wl-z,text' 11665 archive_cmds_need_lc=no 11666 hardcode_shlibpath_var=no 11667 runpath_var='LD_RUN_PATH' 11668 11669 if test yes = "$GCC"; then 11670 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11671 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11672 else 11673 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11674 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11675 fi 11676 ;; 11677 11678 sysv5* | sco3.2v5* | sco5v6*) 11679 # Note: We CANNOT use -z defs as we might desire, because we do not 11680 # link with -lc, and that would cause any symbols used from libc to 11681 # always be unresolved, which means just about no library would 11682 # ever link correctly. If we're not using GNU ld we use -z text 11683 # though, which does catch some bad symbols but isn't as heavy-handed 11684 # as -z defs. 11685 no_undefined_flag='$wl-z,text' 11686 allow_undefined_flag='$wl-z,nodefs' 11687 archive_cmds_need_lc=no 11688 hardcode_shlibpath_var=no 11689 hardcode_libdir_flag_spec='$wl-R,$libdir' 11690 hardcode_libdir_separator=':' 11691 link_all_deplibs=yes 11692 export_dynamic_flag_spec='$wl-Bexport' 11693 runpath_var='LD_RUN_PATH' 11694 11695 if test yes = "$GCC"; then 11696 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11697 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11698 else 11699 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11700 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' 11701 fi 11702 ;; 11703 11704 uts4*) 11705 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' 11706 hardcode_libdir_flag_spec='-L$libdir' 11707 hardcode_shlibpath_var=no 11708 ;; 11709 11710 *) 11711 ld_shlibs=no 11712 ;; 11713 esac 11714 11715 if test sni = "$host_vendor"; then 11716 case $host in 11717 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) 11718 export_dynamic_flag_spec='$wl-Blargedynsym' 11719 ;; 11720 esac 11721 fi 11722 fi 11723 11724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 11725$as_echo "$ld_shlibs" >&6; } 11726test no = "$ld_shlibs" && can_build_shared=no 11727 11728with_gnu_ld=$with_gnu_ld 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744# 11745# Do we need to explicitly link libc? 11746# 11747case "x$archive_cmds_need_lc" in 11748x|xyes) 11749 # Assume -lc should be added 11750 archive_cmds_need_lc=yes 11751 11752 if test yes,yes = "$GCC,$enable_shared"; then 11753 case $archive_cmds in 11754 *'~'*) 11755 # FIXME: we may have to deal with multi-command sequences. 11756 ;; 11757 '$CC '*) 11758 # Test whether the compiler implicitly links with -lc since on some 11759 # systems, -lgcc has to come before -lc. If gcc already passes -lc 11760 # to ld, don't add -lc before -lgcc. 11761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 11762$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } 11763if ${lt_cv_archive_cmds_need_lc+:} false; then : 11764 $as_echo_n "(cached) " >&6 11765else 11766 $RM conftest* 11767 echo "$lt_simple_compile_test_code" > conftest.$ac_ext 11768 11769 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 11770 (eval $ac_compile) 2>&5 11771 ac_status=$? 11772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11773 test $ac_status = 0; } 2>conftest.err; then 11774 soname=conftest 11775 lib=conftest 11776 libobjs=conftest.$ac_objext 11777 deplibs= 11778 wl=$lt_prog_compiler_wl 11779 pic_flag=$lt_prog_compiler_pic 11780 compiler_flags=-v 11781 linker_flags=-v 11782 verstring= 11783 output_objdir=. 11784 libname=conftest 11785 lt_save_allow_undefined_flag=$allow_undefined_flag 11786 allow_undefined_flag= 11787 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 11788 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 11789 ac_status=$? 11790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 11791 test $ac_status = 0; } 11792 then 11793 lt_cv_archive_cmds_need_lc=no 11794 else 11795 lt_cv_archive_cmds_need_lc=yes 11796 fi 11797 allow_undefined_flag=$lt_save_allow_undefined_flag 11798 else 11799 cat conftest.err 1>&5 11800 fi 11801 $RM conftest* 11802 11803fi 11804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 11805$as_echo "$lt_cv_archive_cmds_need_lc" >&6; } 11806 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc 11807 ;; 11808 esac 11809 fi 11810 ;; 11811esac 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 11965$as_echo_n "checking dynamic linker characteristics... " >&6; } 11966 11967if test yes = "$GCC"; then 11968 case $host_os in 11969 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; 11970 *) lt_awk_arg='/^libraries:/' ;; 11971 esac 11972 case $host_os in 11973 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; 11974 *) lt_sed_strip_eq='s|=/|/|g' ;; 11975 esac 11976 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` 11977 case $lt_search_path_spec in 11978 *\;*) 11979 # if the path contains ";" then we assume it to be the separator 11980 # otherwise default to the standard path separator (i.e. ":") - it is 11981 # assumed that no part of a normal pathname contains ";" but that should 11982 # okay in the real world where ";" in dirpaths is itself problematic. 11983 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` 11984 ;; 11985 *) 11986 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` 11987 ;; 11988 esac 11989 # Ok, now we have the path, separated by spaces, we can step through it 11990 # and add multilib dir if necessary... 11991 lt_tmp_lt_search_path_spec= 11992 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` 11993 # ...but if some path component already ends with the multilib dir we assume 11994 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). 11995 case "$lt_multi_os_dir; $lt_search_path_spec " in 11996 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) 11997 lt_multi_os_dir= 11998 ;; 11999 esac 12000 for lt_sys_path in $lt_search_path_spec; do 12001 if test -d "$lt_sys_path$lt_multi_os_dir"; then 12002 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" 12003 elif test -n "$lt_multi_os_dir"; then 12004 test -d "$lt_sys_path" && \ 12005 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" 12006 fi 12007 done 12008 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' 12009BEGIN {RS = " "; FS = "/|\n";} { 12010 lt_foo = ""; 12011 lt_count = 0; 12012 for (lt_i = NF; lt_i > 0; lt_i--) { 12013 if ($lt_i != "" && $lt_i != ".") { 12014 if ($lt_i == "..") { 12015 lt_count++; 12016 } else { 12017 if (lt_count == 0) { 12018 lt_foo = "/" $lt_i lt_foo; 12019 } else { 12020 lt_count--; 12021 } 12022 } 12023 } 12024 } 12025 if (lt_foo != "") { lt_freq[lt_foo]++; } 12026 if (lt_freq[lt_foo] == 1) { print lt_foo; } 12027}'` 12028 # AWK program above erroneously prepends '/' to C:/dos/paths 12029 # for these hosts. 12030 case $host_os in 12031 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ 12032 $SED 's|/\([A-Za-z]:\)|\1|g'` ;; 12033 esac 12034 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` 12035else 12036 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12037fi 12038library_names_spec= 12039libname_spec='lib$name' 12040soname_spec= 12041shrext_cmds=.so 12042postinstall_cmds= 12043postuninstall_cmds= 12044finish_cmds= 12045finish_eval= 12046shlibpath_var= 12047shlibpath_overrides_runpath=unknown 12048version_type=none 12049dynamic_linker="$host_os ld.so" 12050sys_lib_dlsearch_path_spec="/lib /usr/lib" 12051need_lib_prefix=unknown 12052hardcode_into_libs=no 12053 12054# when you set need_version to no, make sure it does not cause -set_version 12055# flags to be left without arguments 12056need_version=unknown 12057 12058 12059 12060case $host_os in 12061aix3*) 12062 version_type=linux # correct to gnu/linux during the next big refactor 12063 library_names_spec='$libname$release$shared_ext$versuffix $libname.a' 12064 shlibpath_var=LIBPATH 12065 12066 # AIX 3 has no versioning support, so we append a major version to the name. 12067 soname_spec='$libname$release$shared_ext$major' 12068 ;; 12069 12070aix[4-9]*) 12071 version_type=linux # correct to gnu/linux during the next big refactor 12072 need_lib_prefix=no 12073 need_version=no 12074 hardcode_into_libs=yes 12075 if test ia64 = "$host_cpu"; then 12076 # AIX 5 supports IA64 12077 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' 12078 shlibpath_var=LD_LIBRARY_PATH 12079 else 12080 # With GCC up to 2.95.x, collect2 would create an import file 12081 # for dependence libraries. The import file would start with 12082 # the line '#! .'. This would cause the generated library to 12083 # depend on '.', always an invalid library. This was fixed in 12084 # development snapshots of GCC prior to 3.0. 12085 case $host_os in 12086 aix4 | aix4.[01] | aix4.[01].*) 12087 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' 12088 echo ' yes ' 12089 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then 12090 : 12091 else 12092 can_build_shared=no 12093 fi 12094 ;; 12095 esac 12096 # Using Import Files as archive members, it is possible to support 12097 # filename-based versioning of shared library archives on AIX. While 12098 # this would work for both with and without runtime linking, it will 12099 # prevent static linking of such archives. So we do filename-based 12100 # shared library versioning with .so extension only, which is used 12101 # when both runtime linking and shared linking is enabled. 12102 # Unfortunately, runtime linking may impact performance, so we do 12103 # not want this to be the default eventually. Also, we use the 12104 # versioned .so libs for executables only if there is the -brtl 12105 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. 12106 # To allow for filename-based versioning support, we need to create 12107 # libNAME.so.V as an archive file, containing: 12108 # *) an Import File, referring to the versioned filename of the 12109 # archive as well as the shared archive member, telling the 12110 # bitwidth (32 or 64) of that shared object, and providing the 12111 # list of exported symbols of that shared object, eventually 12112 # decorated with the 'weak' keyword 12113 # *) the shared object with the F_LOADONLY flag set, to really avoid 12114 # it being seen by the linker. 12115 # At run time we better use the real file rather than another symlink, 12116 # but for link time we create the symlink libNAME.so -> libNAME.so.V 12117 12118 case $with_aix_soname,$aix_use_runtimelinking in 12119 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct 12120 # soname into executable. Probably we can add versioning support to 12121 # collect2, so additional links can be useful in future. 12122 aix,yes) # traditional libtool 12123 dynamic_linker='AIX unversionable lib.so' 12124 # If using run time linking (on AIX 4.2 or later) use lib<name>.so 12125 # instead of lib<name>.a to let people know that these are not 12126 # typical AIX shared libraries. 12127 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12128 ;; 12129 aix,no) # traditional AIX only 12130 dynamic_linker='AIX lib.a(lib.so.V)' 12131 # We preserve .a as extension for shared libraries through AIX4.2 12132 # and later when we are not doing run time linking. 12133 library_names_spec='$libname$release.a $libname.a' 12134 soname_spec='$libname$release$shared_ext$major' 12135 ;; 12136 svr4,*) # full svr4 only 12137 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" 12138 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12139 # We do not specify a path in Import Files, so LIBPATH fires. 12140 shlibpath_overrides_runpath=yes 12141 ;; 12142 *,yes) # both, prefer svr4 12143 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" 12144 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' 12145 # unpreferred sharedlib libNAME.a needs extra handling 12146 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' 12147 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' 12148 # We do not specify a path in Import Files, so LIBPATH fires. 12149 shlibpath_overrides_runpath=yes 12150 ;; 12151 *,no) # both, prefer aix 12152 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" 12153 library_names_spec='$libname$release.a $libname.a' 12154 soname_spec='$libname$release$shared_ext$major' 12155 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling 12156 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' 12157 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' 12158 ;; 12159 esac 12160 shlibpath_var=LIBPATH 12161 fi 12162 ;; 12163 12164amigaos*) 12165 case $host_cpu in 12166 powerpc) 12167 # Since July 2007 AmigaOS4 officially supports .so libraries. 12168 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. 12169 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12170 ;; 12171 m68k) 12172 library_names_spec='$libname.ixlibrary $libname.a' 12173 # Create ${libname}_ixlibrary.a entries in /sys/libs. 12174 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 12175 ;; 12176 esac 12177 ;; 12178 12179beos*) 12180 library_names_spec='$libname$shared_ext' 12181 dynamic_linker="$host_os ld.so" 12182 shlibpath_var=LIBRARY_PATH 12183 ;; 12184 12185bsdi[45]*) 12186 version_type=linux # correct to gnu/linux during the next big refactor 12187 need_version=no 12188 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12189 soname_spec='$libname$release$shared_ext$major' 12190 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' 12191 shlibpath_var=LD_LIBRARY_PATH 12192 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" 12193 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" 12194 # the default ld.so.conf also contains /usr/contrib/lib and 12195 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow 12196 # libtool to hard-code these into programs 12197 ;; 12198 12199cygwin* | mingw* | pw32* | cegcc*) 12200 version_type=windows 12201 shrext_cmds=.dll 12202 need_version=no 12203 need_lib_prefix=no 12204 12205 case $GCC,$cc_basename in 12206 yes,*) 12207 # gcc 12208 library_names_spec='$libname.dll.a' 12209 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12210 postinstall_cmds='base_file=`basename \$file`~ 12211 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12212 dldir=$destdir/`dirname \$dlpath`~ 12213 test -d \$dldir || mkdir -p \$dldir~ 12214 $install_prog $dir/$dlname \$dldir/$dlname~ 12215 chmod a+x \$dldir/$dlname~ 12216 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12217 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12218 fi' 12219 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12220 dlpath=$dir/\$dldll~ 12221 $RM \$dlpath' 12222 shlibpath_overrides_runpath=yes 12223 12224 case $host_os in 12225 cygwin*) 12226 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 12227 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12228 12229 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" 12230 ;; 12231 mingw* | cegcc*) 12232 # MinGW DLLs use traditional 'lib' prefix 12233 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12234 ;; 12235 pw32*) 12236 # pw32 DLLs use 'pw' prefix rather than 'lib' 12237 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12238 ;; 12239 esac 12240 dynamic_linker='Win32 ld.exe' 12241 ;; 12242 12243 *,cl*) 12244 # Native MSVC 12245 libname_spec='$name' 12246 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' 12247 library_names_spec='$libname.dll.lib' 12248 12249 case $build_os in 12250 mingw*) 12251 sys_lib_search_path_spec= 12252 lt_save_ifs=$IFS 12253 IFS=';' 12254 for lt_path in $LIB 12255 do 12256 IFS=$lt_save_ifs 12257 # Let DOS variable expansion print the short 8.3 style file name. 12258 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` 12259 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" 12260 done 12261 IFS=$lt_save_ifs 12262 # Convert to MSYS style. 12263 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` 12264 ;; 12265 cygwin*) 12266 # Convert to unix form, then to dos form, then back to unix form 12267 # but this time dos style (no spaces!) so that the unix form looks 12268 # like /cygdrive/c/PROGRA~1:/cygdr... 12269 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` 12270 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` 12271 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12272 ;; 12273 *) 12274 sys_lib_search_path_spec=$LIB 12275 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then 12276 # It is most probably a Windows format PATH. 12277 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` 12278 else 12279 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` 12280 fi 12281 # FIXME: find the short name or the path components, as spaces are 12282 # common. (e.g. "Program Files" -> "PROGRA~1") 12283 ;; 12284 esac 12285 12286 # DLL is installed to $(libdir)/../bin by postinstall_cmds 12287 postinstall_cmds='base_file=`basename \$file`~ 12288 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ 12289 dldir=$destdir/`dirname \$dlpath`~ 12290 test -d \$dldir || mkdir -p \$dldir~ 12291 $install_prog $dir/$dlname \$dldir/$dlname' 12292 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ 12293 dlpath=$dir/\$dldll~ 12294 $RM \$dlpath' 12295 shlibpath_overrides_runpath=yes 12296 dynamic_linker='Win32 link.exe' 12297 ;; 12298 12299 *) 12300 # Assume MSVC wrapper 12301 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' 12302 dynamic_linker='Win32 ld.exe' 12303 ;; 12304 esac 12305 # FIXME: first we should search . and the directory the executable is in 12306 shlibpath_var=PATH 12307 ;; 12308 12309darwin* | rhapsody*) 12310 dynamic_linker="$host_os dyld" 12311 version_type=darwin 12312 need_lib_prefix=no 12313 need_version=no 12314 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' 12315 soname_spec='$libname$release$major$shared_ext' 12316 shlibpath_overrides_runpath=yes 12317 shlibpath_var=DYLD_LIBRARY_PATH 12318 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' 12319 12320 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" 12321 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' 12322 ;; 12323 12324dgux*) 12325 version_type=linux # correct to gnu/linux during the next big refactor 12326 need_lib_prefix=no 12327 need_version=no 12328 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12329 soname_spec='$libname$release$shared_ext$major' 12330 shlibpath_var=LD_LIBRARY_PATH 12331 ;; 12332 12333freebsd* | dragonfly*) 12334 # DragonFly does not have aout. When/if they implement a new 12335 # versioning mechanism, adjust this. 12336 if test -x /usr/bin/objformat; then 12337 objformat=`/usr/bin/objformat` 12338 else 12339 case $host_os in 12340 freebsd[23].*) objformat=aout ;; 12341 *) objformat=elf ;; 12342 esac 12343 fi 12344 version_type=freebsd-$objformat 12345 case $version_type in 12346 freebsd-elf*) 12347 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12348 soname_spec='$libname$release$shared_ext$major' 12349 need_version=no 12350 need_lib_prefix=no 12351 ;; 12352 freebsd-*) 12353 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12354 need_version=yes 12355 ;; 12356 esac 12357 shlibpath_var=LD_LIBRARY_PATH 12358 case $host_os in 12359 freebsd2.*) 12360 shlibpath_overrides_runpath=yes 12361 ;; 12362 freebsd3.[01]* | freebsdelf3.[01]*) 12363 shlibpath_overrides_runpath=yes 12364 hardcode_into_libs=yes 12365 ;; 12366 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ 12367 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) 12368 shlibpath_overrides_runpath=no 12369 hardcode_into_libs=yes 12370 ;; 12371 *) # from 4.6 on, and DragonFly 12372 shlibpath_overrides_runpath=yes 12373 hardcode_into_libs=yes 12374 ;; 12375 esac 12376 ;; 12377 12378haiku*) 12379 version_type=linux # correct to gnu/linux during the next big refactor 12380 need_lib_prefix=no 12381 need_version=no 12382 dynamic_linker="$host_os runtime_loader" 12383 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12384 soname_spec='$libname$release$shared_ext$major' 12385 shlibpath_var=LIBRARY_PATH 12386 shlibpath_overrides_runpath=no 12387 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' 12388 hardcode_into_libs=yes 12389 ;; 12390 12391hpux9* | hpux10* | hpux11*) 12392 # Give a soname corresponding to the major version so that dld.sl refuses to 12393 # link against other versions. 12394 version_type=sunos 12395 need_lib_prefix=no 12396 need_version=no 12397 case $host_cpu in 12398 ia64*) 12399 shrext_cmds='.so' 12400 hardcode_into_libs=yes 12401 dynamic_linker="$host_os dld.so" 12402 shlibpath_var=LD_LIBRARY_PATH 12403 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 12404 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12405 soname_spec='$libname$release$shared_ext$major' 12406 if test 32 = "$HPUX_IA64_MODE"; then 12407 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" 12408 sys_lib_dlsearch_path_spec=/usr/lib/hpux32 12409 else 12410 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" 12411 sys_lib_dlsearch_path_spec=/usr/lib/hpux64 12412 fi 12413 ;; 12414 hppa*64*) 12415 shrext_cmds='.sl' 12416 hardcode_into_libs=yes 12417 dynamic_linker="$host_os dld.sl" 12418 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH 12419 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. 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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" 12423 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12424 ;; 12425 *) 12426 shrext_cmds='.sl' 12427 dynamic_linker="$host_os dld.sl" 12428 shlibpath_var=SHLIB_PATH 12429 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH 12430 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12431 soname_spec='$libname$release$shared_ext$major' 12432 ;; 12433 esac 12434 # HP-UX runs *really* slowly unless shared libraries are mode 555, ... 12435 postinstall_cmds='chmod 555 $lib' 12436 # or fails outright, so override atomically: 12437 install_override_mode=555 12438 ;; 12439 12440interix[3-9]*) 12441 version_type=linux # correct to gnu/linux during the next big refactor 12442 need_lib_prefix=no 12443 need_version=no 12444 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12445 soname_spec='$libname$release$shared_ext$major' 12446 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' 12447 shlibpath_var=LD_LIBRARY_PATH 12448 shlibpath_overrides_runpath=no 12449 hardcode_into_libs=yes 12450 ;; 12451 12452irix5* | irix6* | nonstopux*) 12453 case $host_os in 12454 nonstopux*) version_type=nonstopux ;; 12455 *) 12456 if test yes = "$lt_cv_prog_gnu_ld"; then 12457 version_type=linux # correct to gnu/linux during the next big refactor 12458 else 12459 version_type=irix 12460 fi ;; 12461 esac 12462 need_lib_prefix=no 12463 need_version=no 12464 soname_spec='$libname$release$shared_ext$major' 12465 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' 12466 case $host_os in 12467 irix5* | nonstopux*) 12468 libsuff= shlibsuff= 12469 ;; 12470 *) 12471 case $LD in # libtool.m4 will add one of these switches to LD 12472 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") 12473 libsuff= shlibsuff= libmagic=32-bit;; 12474 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") 12475 libsuff=32 shlibsuff=N32 libmagic=N32;; 12476 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") 12477 libsuff=64 shlibsuff=64 libmagic=64-bit;; 12478 *) libsuff= shlibsuff= libmagic=never-match;; 12479 esac 12480 ;; 12481 esac 12482 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH 12483 shlibpath_overrides_runpath=no 12484 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" 12485 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" 12486 hardcode_into_libs=yes 12487 ;; 12488 12489# No shared lib support for Linux oldld, aout, or coff. 12490linux*oldld* | linux*aout* | linux*coff*) 12491 dynamic_linker=no 12492 ;; 12493 12494linux*android*) 12495 version_type=none # Android doesn't support versioned libraries. 12496 need_lib_prefix=no 12497 need_version=no 12498 library_names_spec='$libname$release$shared_ext' 12499 soname_spec='$libname$release$shared_ext' 12500 finish_cmds= 12501 shlibpath_var=LD_LIBRARY_PATH 12502 shlibpath_overrides_runpath=yes 12503 12504 # This implies no fast_install, which is unacceptable. 12505 # Some rework will be needed to allow for fast_install 12506 # before this can be enabled. 12507 hardcode_into_libs=yes 12508 12509 dynamic_linker='Android linker' 12510 # Don't embed -rpath directories since the linker doesn't support them. 12511 hardcode_libdir_flag_spec='-L$libdir' 12512 ;; 12513 12514# This must be glibc/ELF. 12515linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) 12516 version_type=linux # correct to gnu/linux during the next big refactor 12517 need_lib_prefix=no 12518 need_version=no 12519 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12520 soname_spec='$libname$release$shared_ext$major' 12521 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' 12522 shlibpath_var=LD_LIBRARY_PATH 12523 shlibpath_overrides_runpath=no 12524 12525 # Some binutils ld are patched to set DT_RUNPATH 12526 if ${lt_cv_shlibpath_overrides_runpath+:} false; then : 12527 $as_echo_n "(cached) " >&6 12528else 12529 lt_cv_shlibpath_overrides_runpath=no 12530 save_LDFLAGS=$LDFLAGS 12531 save_libdir=$libdir 12532 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ 12533 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" 12534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12535/* end confdefs.h. */ 12536 12537int 12538main () 12539{ 12540 12541 ; 12542 return 0; 12543} 12544_ACEOF 12545if ac_fn_c_try_link "$LINENO"; then : 12546 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : 12547 lt_cv_shlibpath_overrides_runpath=yes 12548fi 12549fi 12550rm -f core conftest.err conftest.$ac_objext \ 12551 conftest$ac_exeext conftest.$ac_ext 12552 LDFLAGS=$save_LDFLAGS 12553 libdir=$save_libdir 12554 12555fi 12556 12557 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath 12558 12559 # This implies no fast_install, which is unacceptable. 12560 # Some rework will be needed to allow for fast_install 12561 # before this can be enabled. 12562 hardcode_into_libs=yes 12563 12564 # Ideally, we could use ldconfig to report *all* directores which are 12565 # searched for libraries, however this is still not possible. Aside from not 12566 # being certain /sbin/ldconfig is available, command 12567 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, 12568 # even though it is searched at run-time. Try to do the best guess by 12569 # appending ld.so.conf contents (and includes) to the search path. 12570 if test -f /etc/ld.so.conf; then 12571 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' ' '` 12572 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 12573 fi 12574 12575 # We used to test for /lib/ld.so.1 and disable shared libraries on 12576 # powerpc, because MkLinux only supported shared libraries with the 12577 # GNU dynamic linker. Since this was broken with cross compilers, 12578 # most powerpc-linux boxes support dynamic linking these days and 12579 # people can always --disable-shared, the test was removed, and we 12580 # assume the GNU/Linux dynamic linker is in use. 12581 dynamic_linker='GNU/Linux ld.so' 12582 ;; 12583 12584netbsdelf*-gnu) 12585 version_type=linux 12586 need_lib_prefix=no 12587 need_version=no 12588 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 12589 soname_spec='${libname}${release}${shared_ext}$major' 12590 shlibpath_var=LD_LIBRARY_PATH 12591 shlibpath_overrides_runpath=no 12592 hardcode_into_libs=yes 12593 dynamic_linker='NetBSD ld.elf_so' 12594 ;; 12595 12596netbsd*) 12597 version_type=sunos 12598 need_lib_prefix=no 12599 need_version=no 12600 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then 12601 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12602 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12603 dynamic_linker='NetBSD (a.out) ld.so' 12604 else 12605 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12606 soname_spec='$libname$release$shared_ext$major' 12607 dynamic_linker='NetBSD ld.elf_so' 12608 fi 12609 shlibpath_var=LD_LIBRARY_PATH 12610 shlibpath_overrides_runpath=yes 12611 hardcode_into_libs=yes 12612 ;; 12613 12614newsos6) 12615 version_type=linux # correct to gnu/linux during the next big refactor 12616 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12617 shlibpath_var=LD_LIBRARY_PATH 12618 shlibpath_overrides_runpath=yes 12619 ;; 12620 12621*nto* | *qnx*) 12622 version_type=qnx 12623 need_lib_prefix=no 12624 need_version=no 12625 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12626 soname_spec='$libname$release$shared_ext$major' 12627 shlibpath_var=LD_LIBRARY_PATH 12628 shlibpath_overrides_runpath=no 12629 hardcode_into_libs=yes 12630 dynamic_linker='ldqnx.so' 12631 ;; 12632 12633openbsd* | bitrig*) 12634 version_type=sunos 12635 sys_lib_dlsearch_path_spec=/usr/lib 12636 need_lib_prefix=no 12637 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then 12638 need_version=no 12639 else 12640 need_version=yes 12641 fi 12642 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12643 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' 12644 shlibpath_var=LD_LIBRARY_PATH 12645 shlibpath_overrides_runpath=yes 12646 ;; 12647 12648os2*) 12649 libname_spec='$name' 12650 version_type=windows 12651 shrext_cmds=.dll 12652 need_version=no 12653 need_lib_prefix=no 12654 # OS/2 can only load a DLL with a base name of 8 characters or less. 12655 soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; 12656 v=$($ECHO $release$versuffix | tr -d .-); 12657 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); 12658 $ECHO $n$v`$shared_ext' 12659 library_names_spec='${libname}_dll.$libext' 12660 dynamic_linker='OS/2 ld.exe' 12661 shlibpath_var=BEGINLIBPATH 12662 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" 12663 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12664 postinstall_cmds='base_file=`basename \$file`~ 12665 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ 12666 dldir=$destdir/`dirname \$dlpath`~ 12667 test -d \$dldir || mkdir -p \$dldir~ 12668 $install_prog $dir/$dlname \$dldir/$dlname~ 12669 chmod a+x \$dldir/$dlname~ 12670 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then 12671 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; 12672 fi' 12673 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ 12674 dlpath=$dir/\$dldll~ 12675 $RM \$dlpath' 12676 ;; 12677 12678osf3* | osf4* | osf5*) 12679 version_type=osf 12680 need_lib_prefix=no 12681 need_version=no 12682 soname_spec='$libname$release$shared_ext$major' 12683 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12684 shlibpath_var=LD_LIBRARY_PATH 12685 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" 12686 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec 12687 ;; 12688 12689rdos*) 12690 dynamic_linker=no 12691 ;; 12692 12693solaris*) 12694 version_type=linux # correct to gnu/linux during the next big refactor 12695 need_lib_prefix=no 12696 need_version=no 12697 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12698 soname_spec='$libname$release$shared_ext$major' 12699 shlibpath_var=LD_LIBRARY_PATH 12700 shlibpath_overrides_runpath=yes 12701 hardcode_into_libs=yes 12702 # ldd complains unless libraries are executable 12703 postinstall_cmds='chmod +x $lib' 12704 ;; 12705 12706sunos4*) 12707 version_type=sunos 12708 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' 12709 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' 12710 shlibpath_var=LD_LIBRARY_PATH 12711 shlibpath_overrides_runpath=yes 12712 if test yes = "$with_gnu_ld"; then 12713 need_lib_prefix=no 12714 fi 12715 need_version=yes 12716 ;; 12717 12718sysv4 | sysv4.3*) 12719 version_type=linux # correct to gnu/linux during the next big refactor 12720 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12721 soname_spec='$libname$release$shared_ext$major' 12722 shlibpath_var=LD_LIBRARY_PATH 12723 case $host_vendor in 12724 sni) 12725 shlibpath_overrides_runpath=no 12726 need_lib_prefix=no 12727 runpath_var=LD_RUN_PATH 12728 ;; 12729 siemens) 12730 need_lib_prefix=no 12731 ;; 12732 motorola) 12733 need_lib_prefix=no 12734 need_version=no 12735 shlibpath_overrides_runpath=no 12736 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' 12737 ;; 12738 esac 12739 ;; 12740 12741sysv4*MP*) 12742 if test -d /usr/nec; then 12743 version_type=linux # correct to gnu/linux during the next big refactor 12744 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' 12745 soname_spec='$libname$shared_ext.$major' 12746 shlibpath_var=LD_LIBRARY_PATH 12747 fi 12748 ;; 12749 12750sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) 12751 version_type=sco 12752 need_lib_prefix=no 12753 need_version=no 12754 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' 12755 soname_spec='$libname$release$shared_ext$major' 12756 shlibpath_var=LD_LIBRARY_PATH 12757 shlibpath_overrides_runpath=yes 12758 hardcode_into_libs=yes 12759 if test yes = "$with_gnu_ld"; then 12760 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' 12761 else 12762 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' 12763 case $host_os in 12764 sco3.2v5*) 12765 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" 12766 ;; 12767 esac 12768 fi 12769 sys_lib_dlsearch_path_spec='/usr/lib' 12770 ;; 12771 12772tpf*) 12773 # TPF is a cross-target only. Preferred cross-host = GNU/Linux. 12774 version_type=linux # correct to gnu/linux during the next big refactor 12775 need_lib_prefix=no 12776 need_version=no 12777 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12778 shlibpath_var=LD_LIBRARY_PATH 12779 shlibpath_overrides_runpath=no 12780 hardcode_into_libs=yes 12781 ;; 12782 12783uts4*) 12784 version_type=linux # correct to gnu/linux during the next big refactor 12785 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' 12786 soname_spec='$libname$release$shared_ext$major' 12787 shlibpath_var=LD_LIBRARY_PATH 12788 ;; 12789 12790*) 12791 dynamic_linker=no 12792 ;; 12793esac 12794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 12795$as_echo "$dynamic_linker" >&6; } 12796test no = "$dynamic_linker" && can_build_shared=no 12797 12798variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 12799if test yes = "$GCC"; then 12800 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 12801fi 12802 12803if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then 12804 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec 12805fi 12806 12807if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then 12808 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec 12809fi 12810 12811# remember unaugmented sys_lib_dlsearch_path content for libtool script decls... 12812configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec 12813 12814# ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code 12815func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" 12816 12817# to be used as default LT_SYS_LIBRARY_PATH value in generated libtool 12818configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 12917$as_echo_n "checking how to hardcode library paths into programs... " >&6; } 12918hardcode_action= 12919if test -n "$hardcode_libdir_flag_spec" || 12920 test -n "$runpath_var" || 12921 test yes = "$hardcode_automatic"; then 12922 12923 # We can hardcode non-existent directories. 12924 if test no != "$hardcode_direct" && 12925 # If the only mechanism to avoid hardcoding is shlibpath_var, we 12926 # have to relink, otherwise we might link with an installed library 12927 # when we should be linking with a yet-to-be-installed one 12928 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && 12929 test no != "$hardcode_minus_L"; then 12930 # Linking always hardcodes the temporary library directory. 12931 hardcode_action=relink 12932 else 12933 # We can link without hardcoding, and we can hardcode nonexisting dirs. 12934 hardcode_action=immediate 12935 fi 12936else 12937 # We cannot hardcode anything, or else we can only hardcode existing 12938 # directories. 12939 hardcode_action=unsupported 12940fi 12941{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 12942$as_echo "$hardcode_action" >&6; } 12943 12944if test relink = "$hardcode_action" || 12945 test yes = "$inherit_rpath"; then 12946 # Fast installation is not supported 12947 enable_fast_install=no 12948elif test yes = "$shlibpath_overrides_runpath" || 12949 test no = "$enable_shared"; then 12950 # Fast installation is not necessary 12951 enable_fast_install=needless 12952fi 12953 12954 12955 12956 12957 12958 12959 if test yes != "$enable_dlopen"; then 12960 enable_dlopen=unknown 12961 enable_dlopen_self=unknown 12962 enable_dlopen_self_static=unknown 12963else 12964 lt_cv_dlopen=no 12965 lt_cv_dlopen_libs= 12966 12967 case $host_os in 12968 beos*) 12969 lt_cv_dlopen=load_add_on 12970 lt_cv_dlopen_libs= 12971 lt_cv_dlopen_self=yes 12972 ;; 12973 12974 mingw* | pw32* | cegcc*) 12975 lt_cv_dlopen=LoadLibrary 12976 lt_cv_dlopen_libs= 12977 ;; 12978 12979 cygwin*) 12980 lt_cv_dlopen=dlopen 12981 lt_cv_dlopen_libs= 12982 ;; 12983 12984 darwin*) 12985 # if libdl is installed we need to link against it 12986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 12987$as_echo_n "checking for dlopen in -ldl... " >&6; } 12988if ${ac_cv_lib_dl_dlopen+:} false; then : 12989 $as_echo_n "(cached) " >&6 12990else 12991 ac_check_lib_save_LIBS=$LIBS 12992LIBS="-ldl $LIBS" 12993cat confdefs.h - <<_ACEOF >conftest.$ac_ext 12994/* end confdefs.h. */ 12995 12996/* Override any GCC internal prototype to avoid an error. 12997 Use char because int might match the return type of a GCC 12998 builtin and then its argument prototype would still apply. */ 12999#ifdef __cplusplus 13000extern "C" 13001#endif 13002char dlopen (); 13003int 13004main () 13005{ 13006return dlopen (); 13007 ; 13008 return 0; 13009} 13010_ACEOF 13011if ac_fn_c_try_link "$LINENO"; then : 13012 ac_cv_lib_dl_dlopen=yes 13013else 13014 ac_cv_lib_dl_dlopen=no 13015fi 13016rm -f core conftest.err conftest.$ac_objext \ 13017 conftest$ac_exeext conftest.$ac_ext 13018LIBS=$ac_check_lib_save_LIBS 13019fi 13020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13021$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13022if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13023 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13024else 13025 13026 lt_cv_dlopen=dyld 13027 lt_cv_dlopen_libs= 13028 lt_cv_dlopen_self=yes 13029 13030fi 13031 13032 ;; 13033 13034 tpf*) 13035 # Don't try to run any link tests for TPF. We know it's impossible 13036 # because TPF is a cross-compiler, and we know how we open DSOs. 13037 lt_cv_dlopen=dlopen 13038 lt_cv_dlopen_libs= 13039 lt_cv_dlopen_self=no 13040 ;; 13041 13042 *) 13043 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" 13044if test "x$ac_cv_func_shl_load" = xyes; then : 13045 lt_cv_dlopen=shl_load 13046else 13047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 13048$as_echo_n "checking for shl_load in -ldld... " >&6; } 13049if ${ac_cv_lib_dld_shl_load+:} false; then : 13050 $as_echo_n "(cached) " >&6 13051else 13052 ac_check_lib_save_LIBS=$LIBS 13053LIBS="-ldld $LIBS" 13054cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13055/* end confdefs.h. */ 13056 13057/* Override any GCC internal prototype to avoid an error. 13058 Use char because int might match the return type of a GCC 13059 builtin and then its argument prototype would still apply. */ 13060#ifdef __cplusplus 13061extern "C" 13062#endif 13063char shl_load (); 13064int 13065main () 13066{ 13067return shl_load (); 13068 ; 13069 return 0; 13070} 13071_ACEOF 13072if ac_fn_c_try_link "$LINENO"; then : 13073 ac_cv_lib_dld_shl_load=yes 13074else 13075 ac_cv_lib_dld_shl_load=no 13076fi 13077rm -f core conftest.err conftest.$ac_objext \ 13078 conftest$ac_exeext conftest.$ac_ext 13079LIBS=$ac_check_lib_save_LIBS 13080fi 13081{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 13082$as_echo "$ac_cv_lib_dld_shl_load" >&6; } 13083if test "x$ac_cv_lib_dld_shl_load" = xyes; then : 13084 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld 13085else 13086 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" 13087if test "x$ac_cv_func_dlopen" = xyes; then : 13088 lt_cv_dlopen=dlopen 13089else 13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 13091$as_echo_n "checking for dlopen in -ldl... " >&6; } 13092if ${ac_cv_lib_dl_dlopen+:} false; then : 13093 $as_echo_n "(cached) " >&6 13094else 13095 ac_check_lib_save_LIBS=$LIBS 13096LIBS="-ldl $LIBS" 13097cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13098/* end confdefs.h. */ 13099 13100/* Override any GCC internal prototype to avoid an error. 13101 Use char because int might match the return type of a GCC 13102 builtin and then its argument prototype would still apply. */ 13103#ifdef __cplusplus 13104extern "C" 13105#endif 13106char dlopen (); 13107int 13108main () 13109{ 13110return dlopen (); 13111 ; 13112 return 0; 13113} 13114_ACEOF 13115if ac_fn_c_try_link "$LINENO"; then : 13116 ac_cv_lib_dl_dlopen=yes 13117else 13118 ac_cv_lib_dl_dlopen=no 13119fi 13120rm -f core conftest.err conftest.$ac_objext \ 13121 conftest$ac_exeext conftest.$ac_ext 13122LIBS=$ac_check_lib_save_LIBS 13123fi 13124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 13125$as_echo "$ac_cv_lib_dl_dlopen" >&6; } 13126if test "x$ac_cv_lib_dl_dlopen" = xyes; then : 13127 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl 13128else 13129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 13130$as_echo_n "checking for dlopen in -lsvld... " >&6; } 13131if ${ac_cv_lib_svld_dlopen+:} false; then : 13132 $as_echo_n "(cached) " >&6 13133else 13134 ac_check_lib_save_LIBS=$LIBS 13135LIBS="-lsvld $LIBS" 13136cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13137/* end confdefs.h. */ 13138 13139/* Override any GCC internal prototype to avoid an error. 13140 Use char because int might match the return type of a GCC 13141 builtin and then its argument prototype would still apply. */ 13142#ifdef __cplusplus 13143extern "C" 13144#endif 13145char dlopen (); 13146int 13147main () 13148{ 13149return dlopen (); 13150 ; 13151 return 0; 13152} 13153_ACEOF 13154if ac_fn_c_try_link "$LINENO"; then : 13155 ac_cv_lib_svld_dlopen=yes 13156else 13157 ac_cv_lib_svld_dlopen=no 13158fi 13159rm -f core conftest.err conftest.$ac_objext \ 13160 conftest$ac_exeext conftest.$ac_ext 13161LIBS=$ac_check_lib_save_LIBS 13162fi 13163{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 13164$as_echo "$ac_cv_lib_svld_dlopen" >&6; } 13165if test "x$ac_cv_lib_svld_dlopen" = xyes; then : 13166 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld 13167else 13168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 13169$as_echo_n "checking for dld_link in -ldld... " >&6; } 13170if ${ac_cv_lib_dld_dld_link+:} false; then : 13171 $as_echo_n "(cached) " >&6 13172else 13173 ac_check_lib_save_LIBS=$LIBS 13174LIBS="-ldld $LIBS" 13175cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13176/* end confdefs.h. */ 13177 13178/* Override any GCC internal prototype to avoid an error. 13179 Use char because int might match the return type of a GCC 13180 builtin and then its argument prototype would still apply. */ 13181#ifdef __cplusplus 13182extern "C" 13183#endif 13184char dld_link (); 13185int 13186main () 13187{ 13188return dld_link (); 13189 ; 13190 return 0; 13191} 13192_ACEOF 13193if ac_fn_c_try_link "$LINENO"; then : 13194 ac_cv_lib_dld_dld_link=yes 13195else 13196 ac_cv_lib_dld_dld_link=no 13197fi 13198rm -f core conftest.err conftest.$ac_objext \ 13199 conftest$ac_exeext conftest.$ac_ext 13200LIBS=$ac_check_lib_save_LIBS 13201fi 13202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 13203$as_echo "$ac_cv_lib_dld_dld_link" >&6; } 13204if test "x$ac_cv_lib_dld_dld_link" = xyes; then : 13205 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld 13206fi 13207 13208 13209fi 13210 13211 13212fi 13213 13214 13215fi 13216 13217 13218fi 13219 13220 13221fi 13222 13223 ;; 13224 esac 13225 13226 if test no = "$lt_cv_dlopen"; then 13227 enable_dlopen=no 13228 else 13229 enable_dlopen=yes 13230 fi 13231 13232 case $lt_cv_dlopen in 13233 dlopen) 13234 save_CPPFLAGS=$CPPFLAGS 13235 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" 13236 13237 save_LDFLAGS=$LDFLAGS 13238 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" 13239 13240 save_LIBS=$LIBS 13241 LIBS="$lt_cv_dlopen_libs $LIBS" 13242 13243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 13244$as_echo_n "checking whether a program can dlopen itself... " >&6; } 13245if ${lt_cv_dlopen_self+:} false; then : 13246 $as_echo_n "(cached) " >&6 13247else 13248 if test yes = "$cross_compiling"; then : 13249 lt_cv_dlopen_self=cross 13250else 13251 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13252 lt_status=$lt_dlunknown 13253 cat > conftest.$ac_ext <<_LT_EOF 13254#line $LINENO "configure" 13255#include "confdefs.h" 13256 13257#if HAVE_DLFCN_H 13258#include <dlfcn.h> 13259#endif 13260 13261#include <stdio.h> 13262 13263#ifdef RTLD_GLOBAL 13264# define LT_DLGLOBAL RTLD_GLOBAL 13265#else 13266# ifdef DL_GLOBAL 13267# define LT_DLGLOBAL DL_GLOBAL 13268# else 13269# define LT_DLGLOBAL 0 13270# endif 13271#endif 13272 13273/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13274 find out it does not work in some platform. */ 13275#ifndef LT_DLLAZY_OR_NOW 13276# ifdef RTLD_LAZY 13277# define LT_DLLAZY_OR_NOW RTLD_LAZY 13278# else 13279# ifdef DL_LAZY 13280# define LT_DLLAZY_OR_NOW DL_LAZY 13281# else 13282# ifdef RTLD_NOW 13283# define LT_DLLAZY_OR_NOW RTLD_NOW 13284# else 13285# ifdef DL_NOW 13286# define LT_DLLAZY_OR_NOW DL_NOW 13287# else 13288# define LT_DLLAZY_OR_NOW 0 13289# endif 13290# endif 13291# endif 13292# endif 13293#endif 13294 13295/* When -fvisibility=hidden is used, assume the code has been annotated 13296 correspondingly for the symbols needed. */ 13297#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13298int fnord () __attribute__((visibility("default"))); 13299#endif 13300 13301int fnord () { return 42; } 13302int main () 13303{ 13304 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13305 int status = $lt_dlunknown; 13306 13307 if (self) 13308 { 13309 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13310 else 13311 { 13312 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13313 else puts (dlerror ()); 13314 } 13315 /* dlclose (self); */ 13316 } 13317 else 13318 puts (dlerror ()); 13319 13320 return status; 13321} 13322_LT_EOF 13323 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13324 (eval $ac_link) 2>&5 13325 ac_status=$? 13326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13327 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13328 (./conftest; exit; ) >&5 2>/dev/null 13329 lt_status=$? 13330 case x$lt_status in 13331 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; 13332 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; 13333 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; 13334 esac 13335 else : 13336 # compilation failed 13337 lt_cv_dlopen_self=no 13338 fi 13339fi 13340rm -fr conftest* 13341 13342 13343fi 13344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 13345$as_echo "$lt_cv_dlopen_self" >&6; } 13346 13347 if test yes = "$lt_cv_dlopen_self"; then 13348 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" 13349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 13350$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } 13351if ${lt_cv_dlopen_self_static+:} false; then : 13352 $as_echo_n "(cached) " >&6 13353else 13354 if test yes = "$cross_compiling"; then : 13355 lt_cv_dlopen_self_static=cross 13356else 13357 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 13358 lt_status=$lt_dlunknown 13359 cat > conftest.$ac_ext <<_LT_EOF 13360#line $LINENO "configure" 13361#include "confdefs.h" 13362 13363#if HAVE_DLFCN_H 13364#include <dlfcn.h> 13365#endif 13366 13367#include <stdio.h> 13368 13369#ifdef RTLD_GLOBAL 13370# define LT_DLGLOBAL RTLD_GLOBAL 13371#else 13372# ifdef DL_GLOBAL 13373# define LT_DLGLOBAL DL_GLOBAL 13374# else 13375# define LT_DLGLOBAL 0 13376# endif 13377#endif 13378 13379/* We may have to define LT_DLLAZY_OR_NOW in the command line if we 13380 find out it does not work in some platform. */ 13381#ifndef LT_DLLAZY_OR_NOW 13382# ifdef RTLD_LAZY 13383# define LT_DLLAZY_OR_NOW RTLD_LAZY 13384# else 13385# ifdef DL_LAZY 13386# define LT_DLLAZY_OR_NOW DL_LAZY 13387# else 13388# ifdef RTLD_NOW 13389# define LT_DLLAZY_OR_NOW RTLD_NOW 13390# else 13391# ifdef DL_NOW 13392# define LT_DLLAZY_OR_NOW DL_NOW 13393# else 13394# define LT_DLLAZY_OR_NOW 0 13395# endif 13396# endif 13397# endif 13398# endif 13399#endif 13400 13401/* When -fvisibility=hidden is used, assume the code has been annotated 13402 correspondingly for the symbols needed. */ 13403#if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) 13404int fnord () __attribute__((visibility("default"))); 13405#endif 13406 13407int fnord () { return 42; } 13408int main () 13409{ 13410 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); 13411 int status = $lt_dlunknown; 13412 13413 if (self) 13414 { 13415 if (dlsym (self,"fnord")) status = $lt_dlno_uscore; 13416 else 13417 { 13418 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; 13419 else puts (dlerror ()); 13420 } 13421 /* dlclose (self); */ 13422 } 13423 else 13424 puts (dlerror ()); 13425 13426 return status; 13427} 13428_LT_EOF 13429 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 13430 (eval $ac_link) 2>&5 13431 ac_status=$? 13432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 13433 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then 13434 (./conftest; exit; ) >&5 2>/dev/null 13435 lt_status=$? 13436 case x$lt_status in 13437 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; 13438 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; 13439 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; 13440 esac 13441 else : 13442 # compilation failed 13443 lt_cv_dlopen_self_static=no 13444 fi 13445fi 13446rm -fr conftest* 13447 13448 13449fi 13450{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 13451$as_echo "$lt_cv_dlopen_self_static" >&6; } 13452 fi 13453 13454 CPPFLAGS=$save_CPPFLAGS 13455 LDFLAGS=$save_LDFLAGS 13456 LIBS=$save_LIBS 13457 ;; 13458 esac 13459 13460 case $lt_cv_dlopen_self in 13461 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; 13462 *) enable_dlopen_self=unknown ;; 13463 esac 13464 13465 case $lt_cv_dlopen_self_static in 13466 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; 13467 *) enable_dlopen_self_static=unknown ;; 13468 esac 13469fi 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487striplib= 13488old_striplib= 13489{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 13490$as_echo_n "checking whether stripping libraries is possible... " >&6; } 13491if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then 13492 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" 13493 test -z "$striplib" && striplib="$STRIP --strip-unneeded" 13494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13495$as_echo "yes" >&6; } 13496else 13497# FIXME - insert some real tests, host_os isn't really good enough 13498 case $host_os in 13499 darwin*) 13500 if test -n "$STRIP"; then 13501 striplib="$STRIP -x" 13502 old_striplib="$STRIP -S" 13503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 13504$as_echo "yes" >&6; } 13505 else 13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13507$as_echo "no" >&6; } 13508 fi 13509 ;; 13510 *) 13511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 13512$as_echo "no" >&6; } 13513 ;; 13514 esac 13515fi 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 # Report what library types will actually be built 13529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 13530$as_echo_n "checking if libtool supports shared libraries... " >&6; } 13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 13532$as_echo "$can_build_shared" >&6; } 13533 13534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 13535$as_echo_n "checking whether to build shared libraries... " >&6; } 13536 test no = "$can_build_shared" && enable_shared=no 13537 13538 # On AIX, shared libraries and static libraries use the same namespace, and 13539 # are all built from PIC. 13540 case $host_os in 13541 aix3*) 13542 test yes = "$enable_shared" && enable_static=no 13543 if test -n "$RANLIB"; then 13544 archive_cmds="$archive_cmds~\$RANLIB \$lib" 13545 postinstall_cmds='$RANLIB $lib' 13546 fi 13547 ;; 13548 13549 aix[4-9]*) 13550 if test ia64 != "$host_cpu"; then 13551 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in 13552 yes,aix,yes) ;; # shared object as lib.so file only 13553 yes,svr4,*) ;; # shared object as lib.so archive member only 13554 yes,*) enable_static=no ;; # shared object in lib.a archive as well 13555 esac 13556 fi 13557 ;; 13558 esac 13559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 13560$as_echo "$enable_shared" >&6; } 13561 13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 13563$as_echo_n "checking whether to build static libraries... " >&6; } 13564 # Make sure either enable_shared or enable_static is yes. 13565 test yes = "$enable_shared" || enable_static=yes 13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 13567$as_echo "$enable_static" >&6; } 13568 13569 13570 13571 13572fi 13573ac_ext=c 13574ac_cpp='$CPP $CPPFLAGS' 13575ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 13576ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 13577ac_compiler_gnu=$ac_cv_c_compiler_gnu 13578 13579CC=$lt_save_CC 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 ac_config_commands="$ac_config_commands libtool" 13596 13597 13598 13599 13600# Only expand once: 13601 13602 13603 13604{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 13605$as_echo_n "checking for ANSI C header files... " >&6; } 13606if ${ac_cv_header_stdc+:} false; then : 13607 $as_echo_n "(cached) " >&6 13608else 13609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13610/* end confdefs.h. */ 13611#include <stdlib.h> 13612#include <stdarg.h> 13613#include <string.h> 13614#include <float.h> 13615 13616int 13617main () 13618{ 13619 13620 ; 13621 return 0; 13622} 13623_ACEOF 13624if ac_fn_c_try_compile "$LINENO"; then : 13625 ac_cv_header_stdc=yes 13626else 13627 ac_cv_header_stdc=no 13628fi 13629rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13630 13631if test $ac_cv_header_stdc = yes; then 13632 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 13633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13634/* end confdefs.h. */ 13635#include <string.h> 13636 13637_ACEOF 13638if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13639 $EGREP "memchr" >/dev/null 2>&1; then : 13640 13641else 13642 ac_cv_header_stdc=no 13643fi 13644rm -f conftest* 13645 13646fi 13647 13648if test $ac_cv_header_stdc = yes; then 13649 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 13650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13651/* end confdefs.h. */ 13652#include <stdlib.h> 13653 13654_ACEOF 13655if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 13656 $EGREP "free" >/dev/null 2>&1; then : 13657 13658else 13659 ac_cv_header_stdc=no 13660fi 13661rm -f conftest* 13662 13663fi 13664 13665if test $ac_cv_header_stdc = yes; then 13666 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 13667 if test "$cross_compiling" = yes; then : 13668 : 13669else 13670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13671/* end confdefs.h. */ 13672#include <ctype.h> 13673#include <stdlib.h> 13674#if ((' ' & 0x0FF) == 0x020) 13675# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 13676# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 13677#else 13678# define ISLOWER(c) \ 13679 (('a' <= (c) && (c) <= 'i') \ 13680 || ('j' <= (c) && (c) <= 'r') \ 13681 || ('s' <= (c) && (c) <= 'z')) 13682# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 13683#endif 13684 13685#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 13686int 13687main () 13688{ 13689 int i; 13690 for (i = 0; i < 256; i++) 13691 if (XOR (islower (i), ISLOWER (i)) 13692 || toupper (i) != TOUPPER (i)) 13693 return 2; 13694 return 0; 13695} 13696_ACEOF 13697if ac_fn_c_try_run "$LINENO"; then : 13698 13699else 13700 ac_cv_header_stdc=no 13701fi 13702rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 13703 conftest.$ac_objext conftest.beam conftest.$ac_ext 13704fi 13705 13706fi 13707fi 13708{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 13709$as_echo "$ac_cv_header_stdc" >&6; } 13710if test $ac_cv_header_stdc = yes; then 13711 13712$as_echo "#define STDC_HEADERS 1" >>confdefs.h 13713 13714fi 13715 13716for ac_header in errno.h fcntl.h grp.h signal.h stdlib.h string.h \ 13717 sys/stat.h sys/time.h sys/types.h sys/wait.h \ 13718 unistd.h 13719do : 13720 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 13721ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 13722if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 13723 cat >>confdefs.h <<_ACEOF 13724#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 13725_ACEOF 13726 13727fi 13728 13729done 13730 13731 13732 13733 GETTEXT_PACKAGE=xfce4-notifyd 13734 13735cat >>confdefs.h <<_ACEOF 13736#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 13737_ACEOF 13738 13739 13740 13741 ALL_LINGUAS="ar ast be bg ca cs da de el en_AU en_GB es et eu fi fr gl he hr hu hy_AM hye id ie is it ja ka kk ko lt lv ms nb nl oc pa pl pt pt_BR ro ru si sk sl sq sr sv th tr ug uk vi zh_CN zh_TW" 13742 13743 for ac_header in locale.h 13744do : 13745 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 13746if test "x$ac_cv_header_locale_h" = xyes; then : 13747 cat >>confdefs.h <<_ACEOF 13748#define HAVE_LOCALE_H 1 13749_ACEOF 13750 13751fi 13752 13753done 13754 13755 if test $ac_cv_header_locale_h = yes; then 13756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 13757$as_echo_n "checking for LC_MESSAGES... " >&6; } 13758if ${am_cv_val_LC_MESSAGES+:} false; then : 13759 $as_echo_n "(cached) " >&6 13760else 13761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13762/* end confdefs.h. */ 13763#include <locale.h> 13764int 13765main () 13766{ 13767return LC_MESSAGES 13768 ; 13769 return 0; 13770} 13771_ACEOF 13772if ac_fn_c_try_link "$LINENO"; then : 13773 am_cv_val_LC_MESSAGES=yes 13774else 13775 am_cv_val_LC_MESSAGES=no 13776fi 13777rm -f core conftest.err conftest.$ac_objext \ 13778 conftest$ac_exeext conftest.$ac_ext 13779fi 13780{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 13781$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 13782 if test $am_cv_val_LC_MESSAGES = yes; then 13783 13784$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h 13785 13786 fi 13787 fi 13788 USE_NLS=yes 13789 13790 13791 gt_cv_have_gettext=no 13792 13793 CATOBJEXT=NONE 13794 XGETTEXT=: 13795 INTLLIBS= 13796 13797 13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 13799$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 13800if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 13801 $as_echo_n "(cached) " >&6 13802else 13803 gt_save_LIBS="$LIBS" 13804 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 13805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13806/* end confdefs.h. */ 13807#include <CoreFoundation/CFPreferences.h> 13808int 13809main () 13810{ 13811CFPreferencesCopyAppValue(NULL, NULL) 13812 ; 13813 return 0; 13814} 13815_ACEOF 13816if ac_fn_c_try_link "$LINENO"; then : 13817 gt_cv_func_CFPreferencesCopyAppValue=yes 13818else 13819 gt_cv_func_CFPreferencesCopyAppValue=no 13820fi 13821rm -f core conftest.err conftest.$ac_objext \ 13822 conftest$ac_exeext conftest.$ac_ext 13823 LIBS="$gt_save_LIBS" 13824fi 13825{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 13826$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 13827 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 13828 13829$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 13830 13831 fi 13832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 13833$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 13834if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 13835 $as_echo_n "(cached) " >&6 13836else 13837 gt_save_LIBS="$LIBS" 13838 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 13839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13840/* end confdefs.h. */ 13841#include <CoreFoundation/CFLocale.h> 13842int 13843main () 13844{ 13845CFLocaleCopyCurrent(); 13846 ; 13847 return 0; 13848} 13849_ACEOF 13850if ac_fn_c_try_link "$LINENO"; then : 13851 gt_cv_func_CFLocaleCopyCurrent=yes 13852else 13853 gt_cv_func_CFLocaleCopyCurrent=no 13854fi 13855rm -f core conftest.err conftest.$ac_objext \ 13856 conftest$ac_exeext conftest.$ac_ext 13857 LIBS="$gt_save_LIBS" 13858fi 13859{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 13860$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 13861 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 13862 13863$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 13864 13865 fi 13866 INTL_MACOSX_LIBS= 13867 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 13868 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 13869 fi 13870 13871 13872 13873 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 13874if test "x$ac_cv_header_libintl_h" = xyes; then : 13875 gt_cv_func_dgettext_libintl="no" 13876 libintl_extra_libs="" 13877 13878 # 13879 # First check in libc 13880 # 13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 13882$as_echo_n "checking for ngettext in libc... " >&6; } 13883if ${gt_cv_func_ngettext_libc+:} false; then : 13884 $as_echo_n "(cached) " >&6 13885else 13886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13887/* end confdefs.h. */ 13888 13889#include <libintl.h> 13890 13891int 13892main () 13893{ 13894return !ngettext ("","", 1) 13895 ; 13896 return 0; 13897} 13898_ACEOF 13899if ac_fn_c_try_link "$LINENO"; then : 13900 gt_cv_func_ngettext_libc=yes 13901else 13902 gt_cv_func_ngettext_libc=no 13903fi 13904rm -f core conftest.err conftest.$ac_objext \ 13905 conftest$ac_exeext conftest.$ac_ext 13906 13907fi 13908{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 13909$as_echo "$gt_cv_func_ngettext_libc" >&6; } 13910 13911 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 13912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 13913$as_echo_n "checking for dgettext in libc... " >&6; } 13914if ${gt_cv_func_dgettext_libc+:} false; then : 13915 $as_echo_n "(cached) " >&6 13916else 13917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13918/* end confdefs.h. */ 13919 13920#include <libintl.h> 13921 13922int 13923main () 13924{ 13925return !dgettext ("","") 13926 ; 13927 return 0; 13928} 13929_ACEOF 13930if ac_fn_c_try_link "$LINENO"; then : 13931 gt_cv_func_dgettext_libc=yes 13932else 13933 gt_cv_func_dgettext_libc=no 13934fi 13935rm -f core conftest.err conftest.$ac_objext \ 13936 conftest$ac_exeext conftest.$ac_ext 13937 13938fi 13939{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 13940$as_echo "$gt_cv_func_dgettext_libc" >&6; } 13941 fi 13942 13943 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 13944 for ac_func in bind_textdomain_codeset 13945do : 13946 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 13947if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 13948 cat >>confdefs.h <<_ACEOF 13949#define HAVE_BIND_TEXTDOMAIN_CODESET 1 13950_ACEOF 13951 13952fi 13953done 13954 13955 fi 13956 13957 # 13958 # If we don't have everything we want, check in libintl 13959 # 13960 if test "$gt_cv_func_dgettext_libc" != "yes" \ 13961 || test "$gt_cv_func_ngettext_libc" != "yes" \ 13962 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 13963 13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 13965$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } 13966if ${ac_cv_lib_intl_bindtextdomain+:} false; then : 13967 $as_echo_n "(cached) " >&6 13968else 13969 ac_check_lib_save_LIBS=$LIBS 13970LIBS="-lintl $LIBS" 13971cat confdefs.h - <<_ACEOF >conftest.$ac_ext 13972/* end confdefs.h. */ 13973 13974/* Override any GCC internal prototype to avoid an error. 13975 Use char because int might match the return type of a GCC 13976 builtin and then its argument prototype would still apply. */ 13977#ifdef __cplusplus 13978extern "C" 13979#endif 13980char bindtextdomain (); 13981int 13982main () 13983{ 13984return bindtextdomain (); 13985 ; 13986 return 0; 13987} 13988_ACEOF 13989if ac_fn_c_try_link "$LINENO"; then : 13990 ac_cv_lib_intl_bindtextdomain=yes 13991else 13992 ac_cv_lib_intl_bindtextdomain=no 13993fi 13994rm -f core conftest.err conftest.$ac_objext \ 13995 conftest$ac_exeext conftest.$ac_ext 13996LIBS=$ac_check_lib_save_LIBS 13997fi 13998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 13999$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 14000if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : 14001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 14002$as_echo_n "checking for ngettext in -lintl... " >&6; } 14003if ${ac_cv_lib_intl_ngettext+:} false; then : 14004 $as_echo_n "(cached) " >&6 14005else 14006 ac_check_lib_save_LIBS=$LIBS 14007LIBS="-lintl $LIBS" 14008cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14009/* end confdefs.h. */ 14010 14011/* Override any GCC internal prototype to avoid an error. 14012 Use char because int might match the return type of a GCC 14013 builtin and then its argument prototype would still apply. */ 14014#ifdef __cplusplus 14015extern "C" 14016#endif 14017char ngettext (); 14018int 14019main () 14020{ 14021return ngettext (); 14022 ; 14023 return 0; 14024} 14025_ACEOF 14026if ac_fn_c_try_link "$LINENO"; then : 14027 ac_cv_lib_intl_ngettext=yes 14028else 14029 ac_cv_lib_intl_ngettext=no 14030fi 14031rm -f core conftest.err conftest.$ac_objext \ 14032 conftest$ac_exeext conftest.$ac_ext 14033LIBS=$ac_check_lib_save_LIBS 14034fi 14035{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 14036$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 14037if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 14038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 14039$as_echo_n "checking for dgettext in -lintl... " >&6; } 14040if ${ac_cv_lib_intl_dgettext+:} false; then : 14041 $as_echo_n "(cached) " >&6 14042else 14043 ac_check_lib_save_LIBS=$LIBS 14044LIBS="-lintl $LIBS" 14045cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14046/* end confdefs.h. */ 14047 14048/* Override any GCC internal prototype to avoid an error. 14049 Use char because int might match the return type of a GCC 14050 builtin and then its argument prototype would still apply. */ 14051#ifdef __cplusplus 14052extern "C" 14053#endif 14054char dgettext (); 14055int 14056main () 14057{ 14058return dgettext (); 14059 ; 14060 return 0; 14061} 14062_ACEOF 14063if ac_fn_c_try_link "$LINENO"; then : 14064 ac_cv_lib_intl_dgettext=yes 14065else 14066 ac_cv_lib_intl_dgettext=no 14067fi 14068rm -f core conftest.err conftest.$ac_objext \ 14069 conftest$ac_exeext conftest.$ac_ext 14070LIBS=$ac_check_lib_save_LIBS 14071fi 14072{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 14073$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 14074if test "x$ac_cv_lib_intl_dgettext" = xyes; then : 14075 gt_cv_func_dgettext_libintl=yes 14076fi 14077 14078fi 14079 14080fi 14081 14082 14083 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 14084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 14085$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } 14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 14087$as_echo "" >&6; } 14088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 14089$as_echo_n "checking for ngettext in -lintl... " >&6; } 14090if ${ac_cv_lib_intl_ngettext+:} false; then : 14091 $as_echo_n "(cached) " >&6 14092else 14093 ac_check_lib_save_LIBS=$LIBS 14094LIBS="-lintl -liconv $LIBS" 14095cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14096/* end confdefs.h. */ 14097 14098/* Override any GCC internal prototype to avoid an error. 14099 Use char because int might match the return type of a GCC 14100 builtin and then its argument prototype would still apply. */ 14101#ifdef __cplusplus 14102extern "C" 14103#endif 14104char ngettext (); 14105int 14106main () 14107{ 14108return ngettext (); 14109 ; 14110 return 0; 14111} 14112_ACEOF 14113if ac_fn_c_try_link "$LINENO"; then : 14114 ac_cv_lib_intl_ngettext=yes 14115else 14116 ac_cv_lib_intl_ngettext=no 14117fi 14118rm -f core conftest.err conftest.$ac_objext \ 14119 conftest$ac_exeext conftest.$ac_ext 14120LIBS=$ac_check_lib_save_LIBS 14121fi 14122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 14123$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 14124if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 14125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 14126$as_echo_n "checking for dcgettext in -lintl... " >&6; } 14127if ${ac_cv_lib_intl_dcgettext+:} false; then : 14128 $as_echo_n "(cached) " >&6 14129else 14130 ac_check_lib_save_LIBS=$LIBS 14131LIBS="-lintl -liconv $LIBS" 14132cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14133/* end confdefs.h. */ 14134 14135/* Override any GCC internal prototype to avoid an error. 14136 Use char because int might match the return type of a GCC 14137 builtin and then its argument prototype would still apply. */ 14138#ifdef __cplusplus 14139extern "C" 14140#endif 14141char dcgettext (); 14142int 14143main () 14144{ 14145return dcgettext (); 14146 ; 14147 return 0; 14148} 14149_ACEOF 14150if ac_fn_c_try_link "$LINENO"; then : 14151 ac_cv_lib_intl_dcgettext=yes 14152else 14153 ac_cv_lib_intl_dcgettext=no 14154fi 14155rm -f core conftest.err conftest.$ac_objext \ 14156 conftest$ac_exeext conftest.$ac_ext 14157LIBS=$ac_check_lib_save_LIBS 14158fi 14159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 14160$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } 14161if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : 14162 gt_cv_func_dgettext_libintl=yes 14163 libintl_extra_libs=-liconv 14164else 14165 : 14166fi 14167 14168else 14169 : 14170fi 14171 14172 fi 14173 14174 # 14175 # If we found libintl, then check in it for bind_textdomain_codeset(); 14176 # we'll prefer libc if neither have bind_textdomain_codeset(), 14177 # and both have dgettext and ngettext 14178 # 14179 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 14180 glib_save_LIBS="$LIBS" 14181 LIBS="$LIBS -lintl $libintl_extra_libs" 14182 unset ac_cv_func_bind_textdomain_codeset 14183 for ac_func in bind_textdomain_codeset 14184do : 14185 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 14186if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 14187 cat >>confdefs.h <<_ACEOF 14188#define HAVE_BIND_TEXTDOMAIN_CODESET 1 14189_ACEOF 14190 14191fi 14192done 14193 14194 LIBS="$glib_save_LIBS" 14195 14196 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 14197 gt_cv_func_dgettext_libc=no 14198 else 14199 if test "$gt_cv_func_dgettext_libc" = "yes" \ 14200 && test "$gt_cv_func_ngettext_libc" = "yes"; then 14201 gt_cv_func_dgettext_libintl=no 14202 fi 14203 fi 14204 fi 14205 fi 14206 14207 if test "$gt_cv_func_dgettext_libc" = "yes" \ 14208 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 14209 gt_cv_have_gettext=yes 14210 fi 14211 14212 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 14213 INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS" 14214 fi 14215 14216 if test "$gt_cv_have_gettext" = "yes"; then 14217 14218$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 14219 14220 # Extract the first word of "msgfmt", so it can be a program name with args. 14221set dummy msgfmt; ac_word=$2 14222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14223$as_echo_n "checking for $ac_word... " >&6; } 14224if ${ac_cv_path_MSGFMT+:} false; then : 14225 $as_echo_n "(cached) " >&6 14226else 14227 case "$MSGFMT" in 14228 /*) 14229 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 14230 ;; 14231 *) 14232 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 14233 for ac_dir in $PATH; do 14234 test -z "$ac_dir" && ac_dir=. 14235 if test -f $ac_dir/$ac_word; then 14236 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 14237 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 14238 break 14239 fi 14240 fi 14241 done 14242 IFS="$ac_save_ifs" 14243 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 14244 ;; 14245esac 14246fi 14247MSGFMT="$ac_cv_path_MSGFMT" 14248if test "$MSGFMT" != "no"; then 14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 14250$as_echo "$MSGFMT" >&6; } 14251else 14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14253$as_echo "no" >&6; } 14254fi 14255 if test "$MSGFMT" != "no"; then 14256 glib_save_LIBS="$LIBS" 14257 LIBS="$LIBS $INTLLIBS" 14258 for ac_func in dcgettext 14259do : 14260 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" 14261if test "x$ac_cv_func_dcgettext" = xyes; then : 14262 cat >>confdefs.h <<_ACEOF 14263#define HAVE_DCGETTEXT 1 14264_ACEOF 14265 14266fi 14267done 14268 14269 MSGFMT_OPTS= 14270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 14271$as_echo_n "checking if msgfmt accepts -c... " >&6; } 14272 cat >conftest.foo <<_ACEOF 14273 14274msgid "" 14275msgstr "" 14276"Content-Type: text/plain; charset=UTF-8\n" 14277"Project-Id-Version: test 1.0\n" 14278"PO-Revision-Date: 2007-02-15 12:01+0100\n" 14279"Last-Translator: test <foo@bar.xx>\n" 14280"Language-Team: C <LL@li.org>\n" 14281"MIME-Version: 1.0\n" 14282"Content-Transfer-Encoding: 8bit\n" 14283 14284_ACEOF 14285if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 14286 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 14287 ac_status=$? 14288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 14289 test $ac_status = 0; }; then 14290 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14291$as_echo "yes" >&6; } 14292else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14293$as_echo "no" >&6; } 14294echo "$as_me: failed input was:" >&5 14295sed 's/^/| /' conftest.foo >&5 14296fi 14297 14298 # Extract the first word of "gmsgfmt", so it can be a program name with args. 14299set dummy gmsgfmt; ac_word=$2 14300{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14301$as_echo_n "checking for $ac_word... " >&6; } 14302if ${ac_cv_path_GMSGFMT+:} false; then : 14303 $as_echo_n "(cached) " >&6 14304else 14305 case $GMSGFMT in 14306 [\\/]* | ?:[\\/]*) 14307 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 14308 ;; 14309 *) 14310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 14311for as_dir in $PATH 14312do 14313 IFS=$as_save_IFS 14314 test -z "$as_dir" && as_dir=. 14315 for ac_exec_ext in '' $ac_executable_extensions; do 14316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 14317 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 14318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 14319 break 2 14320 fi 14321done 14322 done 14323IFS=$as_save_IFS 14324 14325 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 14326 ;; 14327esac 14328fi 14329GMSGFMT=$ac_cv_path_GMSGFMT 14330if test -n "$GMSGFMT"; then 14331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 14332$as_echo "$GMSGFMT" >&6; } 14333else 14334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14335$as_echo "no" >&6; } 14336fi 14337 14338 14339 # Extract the first word of "xgettext", so it can be a program name with args. 14340set dummy xgettext; ac_word=$2 14341{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 14342$as_echo_n "checking for $ac_word... " >&6; } 14343if ${ac_cv_path_XGETTEXT+:} false; then : 14344 $as_echo_n "(cached) " >&6 14345else 14346 case "$XGETTEXT" in 14347 /*) 14348 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 14349 ;; 14350 *) 14351 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 14352 for ac_dir in $PATH; do 14353 test -z "$ac_dir" && ac_dir=. 14354 if test -f $ac_dir/$ac_word; then 14355 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 14356 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 14357 break 14358 fi 14359 fi 14360 done 14361 IFS="$ac_save_ifs" 14362 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 14363 ;; 14364esac 14365fi 14366XGETTEXT="$ac_cv_path_XGETTEXT" 14367if test "$XGETTEXT" != ":"; then 14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 14369$as_echo "$XGETTEXT" >&6; } 14370else 14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14372$as_echo "no" >&6; } 14373fi 14374 14375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14376/* end confdefs.h. */ 14377 14378int 14379main () 14380{ 14381extern int _nl_msg_cat_cntr; 14382 return _nl_msg_cat_cntr 14383 ; 14384 return 0; 14385} 14386_ACEOF 14387if ac_fn_c_try_link "$LINENO"; then : 14388 CATOBJEXT=.gmo 14389 DATADIRNAME=share 14390else 14391 case $host in 14392 *-*-solaris*) 14393 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 14394if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 14395 CATOBJEXT=.gmo 14396 DATADIRNAME=share 14397else 14398 CATOBJEXT=.mo 14399 DATADIRNAME=lib 14400fi 14401 14402 ;; 14403 *-*-openbsd*) 14404 CATOBJEXT=.mo 14405 DATADIRNAME=share 14406 ;; 14407 *) 14408 CATOBJEXT=.mo 14409 DATADIRNAME=lib 14410 ;; 14411 esac 14412fi 14413rm -f core conftest.err conftest.$ac_objext \ 14414 conftest$ac_exeext conftest.$ac_ext 14415 LIBS="$glib_save_LIBS" 14416 INSTOBJEXT=.mo 14417 else 14418 gt_cv_have_gettext=no 14419 fi 14420 fi 14421 14422fi 14423 14424 14425 14426 if test "$gt_cv_have_gettext" = "yes" ; then 14427 14428$as_echo "#define ENABLE_NLS 1" >>confdefs.h 14429 14430 fi 14431 14432 if test "$XGETTEXT" != ":"; then 14433 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 14434 : ; 14435 else 14436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 14437$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 14438 XGETTEXT=":" 14439 fi 14440 fi 14441 14442 # We need to process the po/ directory. 14443 POSUB=po 14444 14445 ac_config_commands="$ac_config_commands default-1" 14446 14447 14448 for lang in $ALL_LINGUAS; do 14449 GMOFILES="$GMOFILES $lang.gmo" 14450 POFILES="$POFILES $lang.po" 14451 done 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 if test "$gt_cv_have_gettext" = "yes"; then 14466 if test "x$ALL_LINGUAS" = "x"; then 14467 LINGUAS= 14468 else 14469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 14470$as_echo_n "checking for catalogs to be installed... " >&6; } 14471 NEW_LINGUAS= 14472 for presentlang in $ALL_LINGUAS; do 14473 useit=no 14474 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 14475 desiredlanguages="$LINGUAS" 14476 else 14477 desiredlanguages="$ALL_LINGUAS" 14478 fi 14479 for desiredlang in $desiredlanguages; do 14480 # Use the presentlang catalog if desiredlang is 14481 # a. equal to presentlang, or 14482 # b. a variant of presentlang (because in this case, 14483 # presentlang can be used as a fallback for messages 14484 # which are not translated in the desiredlang catalog). 14485 case "$desiredlang" in 14486 "$presentlang"*) useit=yes;; 14487 esac 14488 done 14489 if test $useit = yes; then 14490 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 14491 fi 14492 done 14493 LINGUAS=$NEW_LINGUAS 14494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 14495$as_echo "$LINGUAS" >&6; } 14496 fi 14497 14498 if test -n "$LINGUAS"; then 14499 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 14500 fi 14501 fi 14502 14503 MKINSTALLDIRS= 14504 if test -n "$ac_aux_dir"; then 14505 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 14506 fi 14507 if test -z "$MKINSTALLDIRS"; then 14508 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 14509 fi 14510 14511 14512 test -d po || mkdir po 14513 if test "x$srcdir" != "x."; then 14514 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 14515 posrcprefix="$srcdir/" 14516 else 14517 posrcprefix="../$srcdir/" 14518 fi 14519 else 14520 posrcprefix="../" 14521 fi 14522 rm -f po/POTFILES 14523 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 14524 < $srcdir/po/POTFILES.in > po/POTFILES 14525 14526 14527 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 14528if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 14529 14530fi 14531 14532 14533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5 14534$as_echo_n "checking for locales directory... " >&6; } 14535 14536# Check whether --with-locales-dir was given. 14537if test "${with_locales_dir+set}" = set; then : 14538 withval=$with_locales_dir; localedir=$withval 14539else 14540 14541 if test x"$CATOBJEXT" = x".mo"; then 14542 localedir=$libdir/locale 14543 else 14544 localedir=$datarootdir/locale 14545 fi 14546 14547fi 14548 14549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5 14550$as_echo "$localedir" >&6; } 14551 14552 14553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional xgettext flags" >&5 14554$as_echo_n "checking for additional xgettext flags... " >&6; } 14555 if test x"$XGETTEXT_ARGS" = x""; then 14556 XGETTEXT_ARGS="--keyword=Q_ --from-code=UTF-8"; 14557 else 14558 XGETTEXT_ARGS="$XGETTEXT_ARGS --keyword=Q_ --from-code=UTF-8"; 14559 fi 14560 14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT_ARGS" >&5 14562$as_echo "$XGETTEXT_ARGS" >&6; } 14563 14564 14565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 14566$as_echo_n "checking for X... " >&6; } 14567 14568 14569# Check whether --with-x was given. 14570if test "${with_x+set}" = set; then : 14571 withval=$with_x; 14572fi 14573 14574# $have_x is `yes', `no', `disabled', or empty when we do not yet know. 14575if test "x$with_x" = xno; then 14576 # The user explicitly disabled X. 14577 have_x=disabled 14578else 14579 case $x_includes,$x_libraries in #( 14580 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 14581 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 14582 $as_echo_n "(cached) " >&6 14583else 14584 # One or both of the vars are not set, and there is no cached value. 14585ac_x_includes=no ac_x_libraries=no 14586rm -f -r conftest.dir 14587if mkdir conftest.dir; then 14588 cd conftest.dir 14589 cat >Imakefile <<'_ACEOF' 14590incroot: 14591 @echo incroot='${INCROOT}' 14592usrlibdir: 14593 @echo usrlibdir='${USRLIBDIR}' 14594libdir: 14595 @echo libdir='${LIBDIR}' 14596_ACEOF 14597 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 14598 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 14599 for ac_var in incroot usrlibdir libdir; do 14600 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 14601 done 14602 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 14603 for ac_extension in a so sl dylib la dll; do 14604 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && 14605 test -f "$ac_im_libdir/libX11.$ac_extension"; then 14606 ac_im_usrlibdir=$ac_im_libdir; break 14607 fi 14608 done 14609 # Screen out bogus values from the imake configuration. They are 14610 # bogus both because they are the default anyway, and because 14611 # using them would break gcc on systems where it needs fixed includes. 14612 case $ac_im_incroot in 14613 /usr/include) ac_x_includes= ;; 14614 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 14615 esac 14616 case $ac_im_usrlibdir in 14617 /usr/lib | /usr/lib64 | /lib | /lib64) ;; 14618 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 14619 esac 14620 fi 14621 cd .. 14622 rm -f -r conftest.dir 14623fi 14624 14625# Standard set of common directories for X headers. 14626# Check X11 before X11Rn because it is often a symlink to the current release. 14627ac_x_header_dirs=' 14628/usr/X11/include 14629/usr/X11R7/include 14630/usr/X11R6/include 14631/usr/X11R5/include 14632/usr/X11R4/include 14633 14634/usr/include/X11 14635/usr/include/X11R7 14636/usr/include/X11R6 14637/usr/include/X11R5 14638/usr/include/X11R4 14639 14640/usr/local/X11/include 14641/usr/local/X11R7/include 14642/usr/local/X11R6/include 14643/usr/local/X11R5/include 14644/usr/local/X11R4/include 14645 14646/usr/local/include/X11 14647/usr/local/include/X11R7 14648/usr/local/include/X11R6 14649/usr/local/include/X11R5 14650/usr/local/include/X11R4 14651 14652/usr/X386/include 14653/usr/x386/include 14654/usr/XFree86/include/X11 14655 14656/usr/include 14657/usr/local/include 14658/usr/unsupported/include 14659/usr/athena/include 14660/usr/local/x11r5/include 14661/usr/lpp/Xamples/include 14662 14663/usr/openwin/include 14664/usr/openwin/share/include' 14665 14666if test "$ac_x_includes" = no; then 14667 # Guess where to find include files, by looking for Xlib.h. 14668 # First, try using that file with no special directory specified. 14669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14670/* end confdefs.h. */ 14671#include <X11/Xlib.h> 14672_ACEOF 14673if ac_fn_c_try_cpp "$LINENO"; then : 14674 # We can compile using X headers with no special include directory. 14675ac_x_includes= 14676else 14677 for ac_dir in $ac_x_header_dirs; do 14678 if test -r "$ac_dir/X11/Xlib.h"; then 14679 ac_x_includes=$ac_dir 14680 break 14681 fi 14682done 14683fi 14684rm -f conftest.err conftest.i conftest.$ac_ext 14685fi # $ac_x_includes = no 14686 14687if test "$ac_x_libraries" = no; then 14688 # Check for the libraries. 14689 # See if we find them without any special options. 14690 # Don't add to $LIBS permanently. 14691 ac_save_LIBS=$LIBS 14692 LIBS="-lX11 $LIBS" 14693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14694/* end confdefs.h. */ 14695#include <X11/Xlib.h> 14696int 14697main () 14698{ 14699XrmInitialize () 14700 ; 14701 return 0; 14702} 14703_ACEOF 14704if ac_fn_c_try_link "$LINENO"; then : 14705 LIBS=$ac_save_LIBS 14706# We can link X programs with no special library path. 14707ac_x_libraries= 14708else 14709 LIBS=$ac_save_LIBS 14710for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 14711do 14712 # Don't even attempt the hair of trying to link an X program! 14713 for ac_extension in a so sl dylib la dll; do 14714 if test -r "$ac_dir/libX11.$ac_extension"; then 14715 ac_x_libraries=$ac_dir 14716 break 2 14717 fi 14718 done 14719done 14720fi 14721rm -f core conftest.err conftest.$ac_objext \ 14722 conftest$ac_exeext conftest.$ac_ext 14723fi # $ac_x_libraries = no 14724 14725case $ac_x_includes,$ac_x_libraries in #( 14726 no,* | *,no | *\'*) 14727 # Didn't find X, or a directory has "'" in its name. 14728 ac_cv_have_x="have_x=no";; #( 14729 *) 14730 # Record where we found X for the cache. 14731 ac_cv_have_x="have_x=yes\ 14732 ac_x_includes='$ac_x_includes'\ 14733 ac_x_libraries='$ac_x_libraries'" 14734esac 14735fi 14736;; #( 14737 *) have_x=yes;; 14738 esac 14739 eval "$ac_cv_have_x" 14740fi # $with_x != no 14741 14742if test "$have_x" != yes; then 14743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 14744$as_echo "$have_x" >&6; } 14745 no_x=yes 14746else 14747 # If each of the values was on the command line, it overrides each guess. 14748 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 14749 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 14750 # Update the cache value to reflect the command line values. 14751 ac_cv_have_x="have_x=yes\ 14752 ac_x_includes='$x_includes'\ 14753 ac_x_libraries='$x_libraries'" 14754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 14755$as_echo "libraries $x_libraries, headers $x_includes" >&6; } 14756fi 14757 14758if test "$no_x" = yes; then 14759 # Not all programs may use this symbol, but it does not hurt to define it. 14760 14761$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h 14762 14763 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= 14764else 14765 if test -n "$x_includes"; then 14766 X_CFLAGS="$X_CFLAGS -I$x_includes" 14767 fi 14768 14769 # It would also be nice to do this for all -L options, not just this one. 14770 if test -n "$x_libraries"; then 14771 X_LIBS="$X_LIBS -L$x_libraries" 14772 # For Solaris; some versions of Sun CC require a space after -R and 14773 # others require no space. Words are not sufficient . . . . 14774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 14775$as_echo_n "checking whether -R must be followed by a space... " >&6; } 14776 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" 14777 ac_xsave_c_werror_flag=$ac_c_werror_flag 14778 ac_c_werror_flag=yes 14779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14780/* end confdefs.h. */ 14781 14782int 14783main () 14784{ 14785 14786 ; 14787 return 0; 14788} 14789_ACEOF 14790if ac_fn_c_try_link "$LINENO"; then : 14791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 14792$as_echo "no" >&6; } 14793 X_LIBS="$X_LIBS -R$x_libraries" 14794else 14795 LIBS="$ac_xsave_LIBS -R $x_libraries" 14796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14797/* end confdefs.h. */ 14798 14799int 14800main () 14801{ 14802 14803 ; 14804 return 0; 14805} 14806_ACEOF 14807if ac_fn_c_try_link "$LINENO"; then : 14808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 14809$as_echo "yes" >&6; } 14810 X_LIBS="$X_LIBS -R $x_libraries" 14811else 14812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 14813$as_echo "neither works" >&6; } 14814fi 14815rm -f core conftest.err conftest.$ac_objext \ 14816 conftest$ac_exeext conftest.$ac_ext 14817fi 14818rm -f core conftest.err conftest.$ac_objext \ 14819 conftest$ac_exeext conftest.$ac_ext 14820 ac_c_werror_flag=$ac_xsave_c_werror_flag 14821 LIBS=$ac_xsave_LIBS 14822 fi 14823 14824 # Check for system-dependent libraries X programs must link with. 14825 # Do this before checking for the system-independent R6 libraries 14826 # (-lICE), since we may need -lsocket or whatever for X linking. 14827 14828 if test "$ISC" = yes; then 14829 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" 14830 else 14831 # Martyn Johnson says this is needed for Ultrix, if the X 14832 # libraries were built with DECnet support. And Karl Berry says 14833 # the Alpha needs dnet_stub (dnet does not exist). 14834 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" 14835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14836/* end confdefs.h. */ 14837 14838/* Override any GCC internal prototype to avoid an error. 14839 Use char because int might match the return type of a GCC 14840 builtin and then its argument prototype would still apply. */ 14841#ifdef __cplusplus 14842extern "C" 14843#endif 14844char XOpenDisplay (); 14845int 14846main () 14847{ 14848return XOpenDisplay (); 14849 ; 14850 return 0; 14851} 14852_ACEOF 14853if ac_fn_c_try_link "$LINENO"; then : 14854 14855else 14856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 14857$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } 14858if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then : 14859 $as_echo_n "(cached) " >&6 14860else 14861 ac_check_lib_save_LIBS=$LIBS 14862LIBS="-ldnet $LIBS" 14863cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14864/* end confdefs.h. */ 14865 14866/* Override any GCC internal prototype to avoid an error. 14867 Use char because int might match the return type of a GCC 14868 builtin and then its argument prototype would still apply. */ 14869#ifdef __cplusplus 14870extern "C" 14871#endif 14872char dnet_ntoa (); 14873int 14874main () 14875{ 14876return dnet_ntoa (); 14877 ; 14878 return 0; 14879} 14880_ACEOF 14881if ac_fn_c_try_link "$LINENO"; then : 14882 ac_cv_lib_dnet_dnet_ntoa=yes 14883else 14884 ac_cv_lib_dnet_dnet_ntoa=no 14885fi 14886rm -f core conftest.err conftest.$ac_objext \ 14887 conftest$ac_exeext conftest.$ac_ext 14888LIBS=$ac_check_lib_save_LIBS 14889fi 14890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 14891$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 14892if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then : 14893 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" 14894fi 14895 14896 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 14897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 14898$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } 14899if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then : 14900 $as_echo_n "(cached) " >&6 14901else 14902 ac_check_lib_save_LIBS=$LIBS 14903LIBS="-ldnet_stub $LIBS" 14904cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14905/* end confdefs.h. */ 14906 14907/* Override any GCC internal prototype to avoid an error. 14908 Use char because int might match the return type of a GCC 14909 builtin and then its argument prototype would still apply. */ 14910#ifdef __cplusplus 14911extern "C" 14912#endif 14913char dnet_ntoa (); 14914int 14915main () 14916{ 14917return dnet_ntoa (); 14918 ; 14919 return 0; 14920} 14921_ACEOF 14922if ac_fn_c_try_link "$LINENO"; then : 14923 ac_cv_lib_dnet_stub_dnet_ntoa=yes 14924else 14925 ac_cv_lib_dnet_stub_dnet_ntoa=no 14926fi 14927rm -f core conftest.err conftest.$ac_objext \ 14928 conftest$ac_exeext conftest.$ac_ext 14929LIBS=$ac_check_lib_save_LIBS 14930fi 14931{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 14932$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } 14933if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then : 14934 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" 14935fi 14936 14937 fi 14938fi 14939rm -f core conftest.err conftest.$ac_objext \ 14940 conftest$ac_exeext conftest.$ac_ext 14941 LIBS="$ac_xsave_LIBS" 14942 14943 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, 14944 # to get the SysV transport functions. 14945 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) 14946 # needs -lnsl. 14947 # The nsl library prevents programs from opening the X display 14948 # on Irix 5.2, according to T.E. Dickey. 14949 # The functions gethostbyname, getservbyname, and inet_addr are 14950 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. 14951 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 14952if test "x$ac_cv_func_gethostbyname" = xyes; then : 14953 14954fi 14955 14956 if test $ac_cv_func_gethostbyname = no; then 14957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 14958$as_echo_n "checking for gethostbyname in -lnsl... " >&6; } 14959if ${ac_cv_lib_nsl_gethostbyname+:} false; then : 14960 $as_echo_n "(cached) " >&6 14961else 14962 ac_check_lib_save_LIBS=$LIBS 14963LIBS="-lnsl $LIBS" 14964cat confdefs.h - <<_ACEOF >conftest.$ac_ext 14965/* end confdefs.h. */ 14966 14967/* Override any GCC internal prototype to avoid an error. 14968 Use char because int might match the return type of a GCC 14969 builtin and then its argument prototype would still apply. */ 14970#ifdef __cplusplus 14971extern "C" 14972#endif 14973char gethostbyname (); 14974int 14975main () 14976{ 14977return gethostbyname (); 14978 ; 14979 return 0; 14980} 14981_ACEOF 14982if ac_fn_c_try_link "$LINENO"; then : 14983 ac_cv_lib_nsl_gethostbyname=yes 14984else 14985 ac_cv_lib_nsl_gethostbyname=no 14986fi 14987rm -f core conftest.err conftest.$ac_objext \ 14988 conftest$ac_exeext conftest.$ac_ext 14989LIBS=$ac_check_lib_save_LIBS 14990fi 14991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 14992$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } 14993if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then : 14994 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" 14995fi 14996 14997 if test $ac_cv_lib_nsl_gethostbyname = no; then 14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 14999$as_echo_n "checking for gethostbyname in -lbsd... " >&6; } 15000if ${ac_cv_lib_bsd_gethostbyname+:} false; then : 15001 $as_echo_n "(cached) " >&6 15002else 15003 ac_check_lib_save_LIBS=$LIBS 15004LIBS="-lbsd $LIBS" 15005cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15006/* end confdefs.h. */ 15007 15008/* Override any GCC internal prototype to avoid an error. 15009 Use char because int might match the return type of a GCC 15010 builtin and then its argument prototype would still apply. */ 15011#ifdef __cplusplus 15012extern "C" 15013#endif 15014char gethostbyname (); 15015int 15016main () 15017{ 15018return gethostbyname (); 15019 ; 15020 return 0; 15021} 15022_ACEOF 15023if ac_fn_c_try_link "$LINENO"; then : 15024 ac_cv_lib_bsd_gethostbyname=yes 15025else 15026 ac_cv_lib_bsd_gethostbyname=no 15027fi 15028rm -f core conftest.err conftest.$ac_objext \ 15029 conftest$ac_exeext conftest.$ac_ext 15030LIBS=$ac_check_lib_save_LIBS 15031fi 15032{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 15033$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } 15034if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then : 15035 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" 15036fi 15037 15038 fi 15039 fi 15040 15041 # lieder@skyler.mavd.honeywell.com says without -lsocket, 15042 # socket/setsockopt and other routines are undefined under SCO ODT 15043 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary 15044 # on later versions), says Simon Leinen: it contains gethostby* 15045 # variants that don't use the name server (or something). -lsocket 15046 # must be given before -lnsl if both are needed. We assume that 15047 # if connect needs -lnsl, so does gethostbyname. 15048 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" 15049if test "x$ac_cv_func_connect" = xyes; then : 15050 15051fi 15052 15053 if test $ac_cv_func_connect = no; then 15054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 15055$as_echo_n "checking for connect in -lsocket... " >&6; } 15056if ${ac_cv_lib_socket_connect+:} false; then : 15057 $as_echo_n "(cached) " >&6 15058else 15059 ac_check_lib_save_LIBS=$LIBS 15060LIBS="-lsocket $X_EXTRA_LIBS $LIBS" 15061cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15062/* end confdefs.h. */ 15063 15064/* Override any GCC internal prototype to avoid an error. 15065 Use char because int might match the return type of a GCC 15066 builtin and then its argument prototype would still apply. */ 15067#ifdef __cplusplus 15068extern "C" 15069#endif 15070char connect (); 15071int 15072main () 15073{ 15074return connect (); 15075 ; 15076 return 0; 15077} 15078_ACEOF 15079if ac_fn_c_try_link "$LINENO"; then : 15080 ac_cv_lib_socket_connect=yes 15081else 15082 ac_cv_lib_socket_connect=no 15083fi 15084rm -f core conftest.err conftest.$ac_objext \ 15085 conftest$ac_exeext conftest.$ac_ext 15086LIBS=$ac_check_lib_save_LIBS 15087fi 15088{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 15089$as_echo "$ac_cv_lib_socket_connect" >&6; } 15090if test "x$ac_cv_lib_socket_connect" = xyes; then : 15091 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" 15092fi 15093 15094 fi 15095 15096 # Guillermo Gomez says -lposix is necessary on A/UX. 15097 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove" 15098if test "x$ac_cv_func_remove" = xyes; then : 15099 15100fi 15101 15102 if test $ac_cv_func_remove = no; then 15103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 15104$as_echo_n "checking for remove in -lposix... " >&6; } 15105if ${ac_cv_lib_posix_remove+:} false; then : 15106 $as_echo_n "(cached) " >&6 15107else 15108 ac_check_lib_save_LIBS=$LIBS 15109LIBS="-lposix $LIBS" 15110cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15111/* end confdefs.h. */ 15112 15113/* Override any GCC internal prototype to avoid an error. 15114 Use char because int might match the return type of a GCC 15115 builtin and then its argument prototype would still apply. */ 15116#ifdef __cplusplus 15117extern "C" 15118#endif 15119char remove (); 15120int 15121main () 15122{ 15123return remove (); 15124 ; 15125 return 0; 15126} 15127_ACEOF 15128if ac_fn_c_try_link "$LINENO"; then : 15129 ac_cv_lib_posix_remove=yes 15130else 15131 ac_cv_lib_posix_remove=no 15132fi 15133rm -f core conftest.err conftest.$ac_objext \ 15134 conftest$ac_exeext conftest.$ac_ext 15135LIBS=$ac_check_lib_save_LIBS 15136fi 15137{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 15138$as_echo "$ac_cv_lib_posix_remove" >&6; } 15139if test "x$ac_cv_lib_posix_remove" = xyes; then : 15140 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" 15141fi 15142 15143 fi 15144 15145 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 15146 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" 15147if test "x$ac_cv_func_shmat" = xyes; then : 15148 15149fi 15150 15151 if test $ac_cv_func_shmat = no; then 15152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 15153$as_echo_n "checking for shmat in -lipc... " >&6; } 15154if ${ac_cv_lib_ipc_shmat+:} false; then : 15155 $as_echo_n "(cached) " >&6 15156else 15157 ac_check_lib_save_LIBS=$LIBS 15158LIBS="-lipc $LIBS" 15159cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15160/* end confdefs.h. */ 15161 15162/* Override any GCC internal prototype to avoid an error. 15163 Use char because int might match the return type of a GCC 15164 builtin and then its argument prototype would still apply. */ 15165#ifdef __cplusplus 15166extern "C" 15167#endif 15168char shmat (); 15169int 15170main () 15171{ 15172return shmat (); 15173 ; 15174 return 0; 15175} 15176_ACEOF 15177if ac_fn_c_try_link "$LINENO"; then : 15178 ac_cv_lib_ipc_shmat=yes 15179else 15180 ac_cv_lib_ipc_shmat=no 15181fi 15182rm -f core conftest.err conftest.$ac_objext \ 15183 conftest$ac_exeext conftest.$ac_ext 15184LIBS=$ac_check_lib_save_LIBS 15185fi 15186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 15187$as_echo "$ac_cv_lib_ipc_shmat" >&6; } 15188if test "x$ac_cv_lib_ipc_shmat" = xyes; then : 15189 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" 15190fi 15191 15192 fi 15193 fi 15194 15195 # Check for libraries that X11R6 Xt/Xaw programs need. 15196 ac_save_LDFLAGS=$LDFLAGS 15197 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" 15198 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to 15199 # check for ICE first), but we must link in the order -lSM -lICE or 15200 # we get undefined symbols. So assume we have SM if we have ICE. 15201 # These have to be linked with before -lX11, unlike the other 15202 # libraries we check for below, so use a different variable. 15203 # John Interrante, Karl Berry 15204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 15205$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } 15206if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then : 15207 $as_echo_n "(cached) " >&6 15208else 15209 ac_check_lib_save_LIBS=$LIBS 15210LIBS="-lICE $X_EXTRA_LIBS $LIBS" 15211cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15212/* end confdefs.h. */ 15213 15214/* Override any GCC internal prototype to avoid an error. 15215 Use char because int might match the return type of a GCC 15216 builtin and then its argument prototype would still apply. */ 15217#ifdef __cplusplus 15218extern "C" 15219#endif 15220char IceConnectionNumber (); 15221int 15222main () 15223{ 15224return IceConnectionNumber (); 15225 ; 15226 return 0; 15227} 15228_ACEOF 15229if ac_fn_c_try_link "$LINENO"; then : 15230 ac_cv_lib_ICE_IceConnectionNumber=yes 15231else 15232 ac_cv_lib_ICE_IceConnectionNumber=no 15233fi 15234rm -f core conftest.err conftest.$ac_objext \ 15235 conftest$ac_exeext conftest.$ac_ext 15236LIBS=$ac_check_lib_save_LIBS 15237fi 15238{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 15239$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } 15240if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then : 15241 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" 15242fi 15243 15244 LDFLAGS=$ac_save_LDFLAGS 15245 15246fi 15247 15248 15249 15250 15251 LIBX11_CFLAGS= LIBX11_LDFLAGS= LIBX11_LIBS= 15252 if test x"$no_x" != x"yes"; then 15253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lX11" >&5 15254$as_echo_n "checking for main in -lX11... " >&6; } 15255if ${ac_cv_lib_X11_main+:} false; then : 15256 $as_echo_n "(cached) " >&6 15257else 15258 ac_check_lib_save_LIBS=$LIBS 15259LIBS="-lX11 $X_CFLAGS $X_PRE_LIBS $X_EXTRA_LIBS $X_LIBS $LIBS" 15260cat confdefs.h - <<_ACEOF >conftest.$ac_ext 15261/* end confdefs.h. */ 15262 15263 15264int 15265main () 15266{ 15267return main (); 15268 ; 15269 return 0; 15270} 15271_ACEOF 15272if ac_fn_c_try_link "$LINENO"; then : 15273 ac_cv_lib_X11_main=yes 15274else 15275 ac_cv_lib_X11_main=no 15276fi 15277rm -f core conftest.err conftest.$ac_objext \ 15278 conftest$ac_exeext conftest.$ac_ext 15279LIBS=$ac_check_lib_save_LIBS 15280fi 15281{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_main" >&5 15282$as_echo "$ac_cv_lib_X11_main" >&6; } 15283if test "x$ac_cv_lib_X11_main" = xyes; then : 15284 15285 15286$as_echo "#define HAVE_LIBX11 1" >>confdefs.h 15287 15288 LIBX11_CFLAGS="$X_CFLAGS" 15289 for option in $X_PRE_LIBS $X_EXTRA_LIBS $X_LIBS; do 15290 case "$option" in 15291 -L*) 15292 path=`echo $option | sed 's/^-L//'` 15293 if test x"$path" != x""; then 15294 LIBX11_LDFLAGS="$LIBX11_LDFLAGS -L$path" 15295 fi 15296 ;; 15297 *) 15298 LIBX11_LIBS="$LIBX11_LIBS $option" 15299 ;; 15300 esac 15301 done 15302 if ! echo $LIBX11_LIBS | grep -- '-lX11' >/dev/null; then 15303 LIBX11_LIBS="$LIBX11_LIBS -lX11" 15304 fi 15305 15306fi 15307 15308 fi 15309 15310 15311 15312 15313 15314 15315 15316 if test x"$no_x" = x"yes"; then 15317 as_fn_error $? "X Window system libraries and header files are required" "$LINENO" 5 15318 fi 15319 15320 15321 15322 15323 # minimum supported version of pkg-config 15324 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 15325 15326 15327 15328 15329 15330 15331 15332 15333 15334if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 15335 if test -n "$ac_tool_prefix"; then 15336 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 15337set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 15338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15339$as_echo_n "checking for $ac_word... " >&6; } 15340if ${ac_cv_path_PKG_CONFIG+:} false; then : 15341 $as_echo_n "(cached) " >&6 15342else 15343 case $PKG_CONFIG in 15344 [\\/]* | ?:[\\/]*) 15345 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 15346 ;; 15347 *) 15348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15349for as_dir in $PATH 15350do 15351 IFS=$as_save_IFS 15352 test -z "$as_dir" && as_dir=. 15353 for ac_exec_ext in '' $ac_executable_extensions; do 15354 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15355 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15357 break 2 15358 fi 15359done 15360 done 15361IFS=$as_save_IFS 15362 15363 ;; 15364esac 15365fi 15366PKG_CONFIG=$ac_cv_path_PKG_CONFIG 15367if test -n "$PKG_CONFIG"; then 15368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 15369$as_echo "$PKG_CONFIG" >&6; } 15370else 15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15372$as_echo "no" >&6; } 15373fi 15374 15375 15376fi 15377if test -z "$ac_cv_path_PKG_CONFIG"; then 15378 ac_pt_PKG_CONFIG=$PKG_CONFIG 15379 # Extract the first word of "pkg-config", so it can be a program name with args. 15380set dummy pkg-config; ac_word=$2 15381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15382$as_echo_n "checking for $ac_word... " >&6; } 15383if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 15384 $as_echo_n "(cached) " >&6 15385else 15386 case $ac_pt_PKG_CONFIG in 15387 [\\/]* | ?:[\\/]*) 15388 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 15389 ;; 15390 *) 15391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15392for as_dir in $PATH 15393do 15394 IFS=$as_save_IFS 15395 test -z "$as_dir" && as_dir=. 15396 for ac_exec_ext in '' $ac_executable_extensions; do 15397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15398 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15400 break 2 15401 fi 15402done 15403 done 15404IFS=$as_save_IFS 15405 15406 ;; 15407esac 15408fi 15409ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 15410if test -n "$ac_pt_PKG_CONFIG"; then 15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 15412$as_echo "$ac_pt_PKG_CONFIG" >&6; } 15413else 15414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15415$as_echo "no" >&6; } 15416fi 15417 15418 if test "x$ac_pt_PKG_CONFIG" = x; then 15419 PKG_CONFIG="" 15420 else 15421 case $cross_compiling:$ac_tool_warned in 15422yes:) 15423{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 15424$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 15425ac_tool_warned=yes ;; 15426esac 15427 PKG_CONFIG=$ac_pt_PKG_CONFIG 15428 fi 15429else 15430 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 15431fi 15432 15433fi 15434if test -n "$PKG_CONFIG"; then 15435 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 15436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 15437$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 15438 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15440$as_echo "yes" >&6; } 15441 else 15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15443$as_echo "no" >&6; } 15444 PKG_CONFIG="" 15445 fi 15446fi 15447 15448 if test x"$PKG_CONFIG" = x""; then 15449 echo 15450 echo "*** Your version of pkg-config is too old. You need atleast" 15451 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 15452 echo "*** from the freedesktop.org software repository at" 15453 echo "***" 15454 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" 15455 echo "***" 15456 exit 1; 15457 fi 15458 15459 15460 15461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4util-1.0 >= 4.12.0" >&5 15462$as_echo_n "checking for libxfce4util-1.0 >= 4.12.0... " >&6; } 15463 if $PKG_CONFIG "--atleast-version=4.12.0" "libxfce4util-1.0" >/dev/null 2>&1; then 15464 LIBXFCE4UTIL_VERSION=`$PKG_CONFIG --modversion "libxfce4util-1.0"` 15465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_VERSION" >&5 15466$as_echo "$LIBXFCE4UTIL_VERSION" >&6; } 15467 15468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UTIL_CFLAGS" >&5 15469$as_echo_n "checking LIBXFCE4UTIL_CFLAGS... " >&6; } 15470 LIBXFCE4UTIL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4util-1.0"` 15471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_CFLAGS" >&5 15472$as_echo "$LIBXFCE4UTIL_CFLAGS" >&6; } 15473 15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UTIL_LIBS" >&5 15475$as_echo_n "checking LIBXFCE4UTIL_LIBS... " >&6; } 15476 LIBXFCE4UTIL_LIBS=`$PKG_CONFIG --libs "libxfce4util-1.0"` 15477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_LIBS" >&5 15478$as_echo "$LIBXFCE4UTIL_LIBS" >&6; } 15479 15480 LIBXFCE4UTIL_REQUIRED_VERSION=4.12.0 15481 15482 15483 15484 15485 15486 15487 15488 elif $PKG_CONFIG --exists "libxfce4util-1.0" >/dev/null 2>&1; then 15489 xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4util-1.0"` 15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 15491$as_echo "found, but $xdt_cv_version" >&6; } 15492 15493 15494 echo "*** The required package libxfce4util-1.0 was found on your system," 15495 echo "*** but the installed version ($xdt_cv_version) is too old." 15496 echo "*** Please upgrade libxfce4util-1.0 to atleast version 4.12.0, or adjust" 15497 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 15498 echo "*** the new version of the package in a nonstandard prefix so" 15499 echo "*** pkg-config is able to find it." 15500 exit 1 15501 15502 else 15503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 15504$as_echo "not found" >&6; } 15505 15506 15507 echo "*** The required package libxfce4util-1.0 was not found on your system." 15508 echo "*** Please install libxfce4util-1.0 (atleast version 4.12.0) or adjust" 15509 echo "*** the PKG_CONFIG_PATH environment variable if you" 15510 echo "*** installed the package in a nonstandard prefix so that" 15511 echo "*** pkg-config is able to find it." 15512 exit 1 15513 15514 fi 15515 15516 15517 15518 # minimum supported version of pkg-config 15519 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 15520 15521 15522 15523 15524 15525 15526 15527 15528 15529if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 15530 if test -n "$ac_tool_prefix"; then 15531 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 15532set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 15533{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15534$as_echo_n "checking for $ac_word... " >&6; } 15535if ${ac_cv_path_PKG_CONFIG+:} false; then : 15536 $as_echo_n "(cached) " >&6 15537else 15538 case $PKG_CONFIG in 15539 [\\/]* | ?:[\\/]*) 15540 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 15541 ;; 15542 *) 15543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15544for as_dir in $PATH 15545do 15546 IFS=$as_save_IFS 15547 test -z "$as_dir" && as_dir=. 15548 for ac_exec_ext in '' $ac_executable_extensions; do 15549 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15550 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15552 break 2 15553 fi 15554done 15555 done 15556IFS=$as_save_IFS 15557 15558 ;; 15559esac 15560fi 15561PKG_CONFIG=$ac_cv_path_PKG_CONFIG 15562if test -n "$PKG_CONFIG"; then 15563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 15564$as_echo "$PKG_CONFIG" >&6; } 15565else 15566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15567$as_echo "no" >&6; } 15568fi 15569 15570 15571fi 15572if test -z "$ac_cv_path_PKG_CONFIG"; then 15573 ac_pt_PKG_CONFIG=$PKG_CONFIG 15574 # Extract the first word of "pkg-config", so it can be a program name with args. 15575set dummy pkg-config; ac_word=$2 15576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15577$as_echo_n "checking for $ac_word... " >&6; } 15578if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 15579 $as_echo_n "(cached) " >&6 15580else 15581 case $ac_pt_PKG_CONFIG in 15582 [\\/]* | ?:[\\/]*) 15583 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 15584 ;; 15585 *) 15586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15587for as_dir in $PATH 15588do 15589 IFS=$as_save_IFS 15590 test -z "$as_dir" && as_dir=. 15591 for ac_exec_ext in '' $ac_executable_extensions; do 15592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15593 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15595 break 2 15596 fi 15597done 15598 done 15599IFS=$as_save_IFS 15600 15601 ;; 15602esac 15603fi 15604ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 15605if test -n "$ac_pt_PKG_CONFIG"; then 15606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 15607$as_echo "$ac_pt_PKG_CONFIG" >&6; } 15608else 15609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15610$as_echo "no" >&6; } 15611fi 15612 15613 if test "x$ac_pt_PKG_CONFIG" = x; then 15614 PKG_CONFIG="" 15615 else 15616 case $cross_compiling:$ac_tool_warned in 15617yes:) 15618{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 15619$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 15620ac_tool_warned=yes ;; 15621esac 15622 PKG_CONFIG=$ac_pt_PKG_CONFIG 15623 fi 15624else 15625 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 15626fi 15627 15628fi 15629if test -n "$PKG_CONFIG"; then 15630 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 15632$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 15633 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15635$as_echo "yes" >&6; } 15636 else 15637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15638$as_echo "no" >&6; } 15639 PKG_CONFIG="" 15640 fi 15641fi 15642 15643 if test x"$PKG_CONFIG" = x""; then 15644 echo 15645 echo "*** Your version of pkg-config is too old. You need atleast" 15646 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 15647 echo "*** from the freedesktop.org software repository at" 15648 echo "***" 15649 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" 15650 echo "***" 15651 exit 1; 15652 fi 15653 15654 15655 15656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4ui-2 >= 4.12.0" >&5 15657$as_echo_n "checking for libxfce4ui-2 >= 4.12.0... " >&6; } 15658 if $PKG_CONFIG "--atleast-version=4.12.0" "libxfce4ui-2" >/dev/null 2>&1; then 15659 LIBXFCE4UI_VERSION=`$PKG_CONFIG --modversion "libxfce4ui-2"` 15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_VERSION" >&5 15661$as_echo "$LIBXFCE4UI_VERSION" >&6; } 15662 15663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_CFLAGS" >&5 15664$as_echo_n "checking LIBXFCE4UI_CFLAGS... " >&6; } 15665 LIBXFCE4UI_CFLAGS=`$PKG_CONFIG --cflags "libxfce4ui-2"` 15666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_CFLAGS" >&5 15667$as_echo "$LIBXFCE4UI_CFLAGS" >&6; } 15668 15669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_LIBS" >&5 15670$as_echo_n "checking LIBXFCE4UI_LIBS... " >&6; } 15671 LIBXFCE4UI_LIBS=`$PKG_CONFIG --libs "libxfce4ui-2"` 15672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_LIBS" >&5 15673$as_echo "$LIBXFCE4UI_LIBS" >&6; } 15674 15675 LIBXFCE4UI_REQUIRED_VERSION=4.12.0 15676 15677 15678 15679 15680 15681 15682 15683 elif $PKG_CONFIG --exists "libxfce4ui-2" >/dev/null 2>&1; then 15684 xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4ui-2"` 15685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 15686$as_echo "found, but $xdt_cv_version" >&6; } 15687 15688 15689 echo "*** The required package libxfce4ui-2 was found on your system," 15690 echo "*** but the installed version ($xdt_cv_version) is too old." 15691 echo "*** Please upgrade libxfce4ui-2 to atleast version 4.12.0, or adjust" 15692 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 15693 echo "*** the new version of the package in a nonstandard prefix so" 15694 echo "*** pkg-config is able to find it." 15695 exit 1 15696 15697 else 15698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 15699$as_echo "not found" >&6; } 15700 15701 15702 echo "*** The required package libxfce4ui-2 was not found on your system." 15703 echo "*** Please install libxfce4ui-2 (atleast version 4.12.0) or adjust" 15704 echo "*** the PKG_CONFIG_PATH environment variable if you" 15705 echo "*** installed the package in a nonstandard prefix so that" 15706 echo "*** pkg-config is able to find it." 15707 exit 1 15708 15709 fi 15710 15711 15712 15713 # minimum supported version of pkg-config 15714 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 15715 15716 15717 15718 15719 15720 15721 15722 15723 15724if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 15725 if test -n "$ac_tool_prefix"; then 15726 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 15727set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 15728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15729$as_echo_n "checking for $ac_word... " >&6; } 15730if ${ac_cv_path_PKG_CONFIG+:} false; then : 15731 $as_echo_n "(cached) " >&6 15732else 15733 case $PKG_CONFIG in 15734 [\\/]* | ?:[\\/]*) 15735 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 15736 ;; 15737 *) 15738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15739for as_dir in $PATH 15740do 15741 IFS=$as_save_IFS 15742 test -z "$as_dir" && as_dir=. 15743 for ac_exec_ext in '' $ac_executable_extensions; do 15744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15745 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15747 break 2 15748 fi 15749done 15750 done 15751IFS=$as_save_IFS 15752 15753 ;; 15754esac 15755fi 15756PKG_CONFIG=$ac_cv_path_PKG_CONFIG 15757if test -n "$PKG_CONFIG"; then 15758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 15759$as_echo "$PKG_CONFIG" >&6; } 15760else 15761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15762$as_echo "no" >&6; } 15763fi 15764 15765 15766fi 15767if test -z "$ac_cv_path_PKG_CONFIG"; then 15768 ac_pt_PKG_CONFIG=$PKG_CONFIG 15769 # Extract the first word of "pkg-config", so it can be a program name with args. 15770set dummy pkg-config; ac_word=$2 15771{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15772$as_echo_n "checking for $ac_word... " >&6; } 15773if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 15774 $as_echo_n "(cached) " >&6 15775else 15776 case $ac_pt_PKG_CONFIG in 15777 [\\/]* | ?:[\\/]*) 15778 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 15779 ;; 15780 *) 15781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15782for as_dir in $PATH 15783do 15784 IFS=$as_save_IFS 15785 test -z "$as_dir" && as_dir=. 15786 for ac_exec_ext in '' $ac_executable_extensions; do 15787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15788 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15790 break 2 15791 fi 15792done 15793 done 15794IFS=$as_save_IFS 15795 15796 ;; 15797esac 15798fi 15799ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 15800if test -n "$ac_pt_PKG_CONFIG"; then 15801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 15802$as_echo "$ac_pt_PKG_CONFIG" >&6; } 15803else 15804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15805$as_echo "no" >&6; } 15806fi 15807 15808 if test "x$ac_pt_PKG_CONFIG" = x; then 15809 PKG_CONFIG="" 15810 else 15811 case $cross_compiling:$ac_tool_warned in 15812yes:) 15813{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 15814$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 15815ac_tool_warned=yes ;; 15816esac 15817 PKG_CONFIG=$ac_pt_PKG_CONFIG 15818 fi 15819else 15820 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 15821fi 15822 15823fi 15824if test -n "$PKG_CONFIG"; then 15825 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 15826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 15827$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 15828 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 15829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 15830$as_echo "yes" >&6; } 15831 else 15832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15833$as_echo "no" >&6; } 15834 PKG_CONFIG="" 15835 fi 15836fi 15837 15838 if test x"$PKG_CONFIG" = x""; then 15839 echo 15840 echo "*** Your version of pkg-config is too old. You need atleast" 15841 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 15842 echo "*** from the freedesktop.org software repository at" 15843 echo "***" 15844 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" 15845 echo "***" 15846 exit 1; 15847 fi 15848 15849 15850 15851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfce4panel-2.0 >= 4.12.0" >&5 15852$as_echo_n "checking for libxfce4panel-2.0 >= 4.12.0... " >&6; } 15853 if $PKG_CONFIG "--atleast-version=4.12.0" "libxfce4panel-2.0" >/dev/null 2>&1; then 15854 LIBXFCE4PANEL_VERSION=`$PKG_CONFIG --modversion "libxfce4panel-2.0"` 15855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_VERSION" >&5 15856$as_echo "$LIBXFCE4PANEL_VERSION" >&6; } 15857 15858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4PANEL_CFLAGS" >&5 15859$as_echo_n "checking LIBXFCE4PANEL_CFLAGS... " >&6; } 15860 LIBXFCE4PANEL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4panel-2.0"` 15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_CFLAGS" >&5 15862$as_echo "$LIBXFCE4PANEL_CFLAGS" >&6; } 15863 15864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4PANEL_LIBS" >&5 15865$as_echo_n "checking LIBXFCE4PANEL_LIBS... " >&6; } 15866 LIBXFCE4PANEL_LIBS=`$PKG_CONFIG --libs "libxfce4panel-2.0"` 15867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4PANEL_LIBS" >&5 15868$as_echo "$LIBXFCE4PANEL_LIBS" >&6; } 15869 15870 LIBXFCE4PANEL_REQUIRED_VERSION=4.12.0 15871 15872 15873 15874 15875 15876 15877 15878 elif $PKG_CONFIG --exists "libxfce4panel-2.0" >/dev/null 2>&1; then 15879 xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4panel-2.0"` 15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 15881$as_echo "found, but $xdt_cv_version" >&6; } 15882 15883 15884 echo "*** The required package libxfce4panel-2.0 was found on your system," 15885 echo "*** but the installed version ($xdt_cv_version) is too old." 15886 echo "*** Please upgrade libxfce4panel-2.0 to atleast version 4.12.0, or adjust" 15887 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 15888 echo "*** the new version of the package in a nonstandard prefix so" 15889 echo "*** pkg-config is able to find it." 15890 exit 1 15891 15892 else 15893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 15894$as_echo "not found" >&6; } 15895 15896 15897 echo "*** The required package libxfce4panel-2.0 was not found on your system." 15898 echo "*** Please install libxfce4panel-2.0 (atleast version 4.12.0) or adjust" 15899 echo "*** the PKG_CONFIG_PATH environment variable if you" 15900 echo "*** installed the package in a nonstandard prefix so that" 15901 echo "*** pkg-config is able to find it." 15902 exit 1 15903 15904 fi 15905 15906 15907 15908 # minimum supported version of pkg-config 15909 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 15920 if test -n "$ac_tool_prefix"; then 15921 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 15922set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 15923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15924$as_echo_n "checking for $ac_word... " >&6; } 15925if ${ac_cv_path_PKG_CONFIG+:} false; then : 15926 $as_echo_n "(cached) " >&6 15927else 15928 case $PKG_CONFIG in 15929 [\\/]* | ?:[\\/]*) 15930 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 15931 ;; 15932 *) 15933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15934for as_dir in $PATH 15935do 15936 IFS=$as_save_IFS 15937 test -z "$as_dir" && as_dir=. 15938 for ac_exec_ext in '' $ac_executable_extensions; do 15939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15940 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15942 break 2 15943 fi 15944done 15945 done 15946IFS=$as_save_IFS 15947 15948 ;; 15949esac 15950fi 15951PKG_CONFIG=$ac_cv_path_PKG_CONFIG 15952if test -n "$PKG_CONFIG"; then 15953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 15954$as_echo "$PKG_CONFIG" >&6; } 15955else 15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 15957$as_echo "no" >&6; } 15958fi 15959 15960 15961fi 15962if test -z "$ac_cv_path_PKG_CONFIG"; then 15963 ac_pt_PKG_CONFIG=$PKG_CONFIG 15964 # Extract the first word of "pkg-config", so it can be a program name with args. 15965set dummy pkg-config; ac_word=$2 15966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 15967$as_echo_n "checking for $ac_word... " >&6; } 15968if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 15969 $as_echo_n "(cached) " >&6 15970else 15971 case $ac_pt_PKG_CONFIG in 15972 [\\/]* | ?:[\\/]*) 15973 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 15974 ;; 15975 *) 15976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 15977for as_dir in $PATH 15978do 15979 IFS=$as_save_IFS 15980 test -z "$as_dir" && as_dir=. 15981 for ac_exec_ext in '' $ac_executable_extensions; do 15982 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 15983 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 15984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 15985 break 2 15986 fi 15987done 15988 done 15989IFS=$as_save_IFS 15990 15991 ;; 15992esac 15993fi 15994ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 15995if test -n "$ac_pt_PKG_CONFIG"; then 15996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 15997$as_echo "$ac_pt_PKG_CONFIG" >&6; } 15998else 15999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16000$as_echo "no" >&6; } 16001fi 16002 16003 if test "x$ac_pt_PKG_CONFIG" = x; then 16004 PKG_CONFIG="" 16005 else 16006 case $cross_compiling:$ac_tool_warned in 16007yes:) 16008{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 16009$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 16010ac_tool_warned=yes ;; 16011esac 16012 PKG_CONFIG=$ac_pt_PKG_CONFIG 16013 fi 16014else 16015 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 16016fi 16017 16018fi 16019if test -n "$PKG_CONFIG"; then 16020 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 16021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 16022$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 16023 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 16024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16025$as_echo "yes" >&6; } 16026 else 16027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16028$as_echo "no" >&6; } 16029 PKG_CONFIG="" 16030 fi 16031fi 16032 16033 if test x"$PKG_CONFIG" = x""; then 16034 echo 16035 echo "*** Your version of pkg-config is too old. You need atleast" 16036 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 16037 echo "*** from the freedesktop.org software repository at" 16038 echo "***" 16039 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" 16040 echo "***" 16041 exit 1; 16042 fi 16043 16044 16045 16046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libxfconf-0 >= 4.10.0" >&5 16047$as_echo_n "checking for libxfconf-0 >= 4.10.0... " >&6; } 16048 if $PKG_CONFIG "--atleast-version=4.10.0" "libxfconf-0" >/dev/null 2>&1; then 16049 XFCONF_VERSION=`$PKG_CONFIG --modversion "libxfconf-0"` 16050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFCONF_VERSION" >&5 16051$as_echo "$XFCONF_VERSION" >&6; } 16052 16053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFCONF_CFLAGS" >&5 16054$as_echo_n "checking XFCONF_CFLAGS... " >&6; } 16055 XFCONF_CFLAGS=`$PKG_CONFIG --cflags "libxfconf-0"` 16056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFCONF_CFLAGS" >&5 16057$as_echo "$XFCONF_CFLAGS" >&6; } 16058 16059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XFCONF_LIBS" >&5 16060$as_echo_n "checking XFCONF_LIBS... " >&6; } 16061 XFCONF_LIBS=`$PKG_CONFIG --libs "libxfconf-0"` 16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XFCONF_LIBS" >&5 16063$as_echo "$XFCONF_LIBS" >&6; } 16064 16065 XFCONF_REQUIRED_VERSION=4.10.0 16066 16067 16068 16069 16070 16071 16072 16073 elif $PKG_CONFIG --exists "libxfconf-0" >/dev/null 2>&1; then 16074 xdt_cv_version=`$PKG_CONFIG --modversion "libxfconf-0"` 16075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 16076$as_echo "found, but $xdt_cv_version" >&6; } 16077 16078 16079 echo "*** The required package libxfconf-0 was found on your system," 16080 echo "*** but the installed version ($xdt_cv_version) is too old." 16081 echo "*** Please upgrade libxfconf-0 to atleast version 4.10.0, or adjust" 16082 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 16083 echo "*** the new version of the package in a nonstandard prefix so" 16084 echo "*** pkg-config is able to find it." 16085 exit 1 16086 16087 else 16088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 16089$as_echo "not found" >&6; } 16090 16091 16092 echo "*** The required package libxfconf-0 was not found on your system." 16093 echo "*** Please install libxfconf-0 (atleast version 4.10.0) or adjust" 16094 echo "*** the PKG_CONFIG_PATH environment variable if you" 16095 echo "*** installed the package in a nonstandard prefix so that" 16096 echo "*** pkg-config is able to find it." 16097 exit 1 16098 16099 fi 16100 16101 16102 16103 # minimum supported version of pkg-config 16104 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 16115 if test -n "$ac_tool_prefix"; then 16116 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 16117set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 16118{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16119$as_echo_n "checking for $ac_word... " >&6; } 16120if ${ac_cv_path_PKG_CONFIG+:} false; then : 16121 $as_echo_n "(cached) " >&6 16122else 16123 case $PKG_CONFIG in 16124 [\\/]* | ?:[\\/]*) 16125 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 16126 ;; 16127 *) 16128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16129for as_dir in $PATH 16130do 16131 IFS=$as_save_IFS 16132 test -z "$as_dir" && as_dir=. 16133 for ac_exec_ext in '' $ac_executable_extensions; do 16134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16135 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16137 break 2 16138 fi 16139done 16140 done 16141IFS=$as_save_IFS 16142 16143 ;; 16144esac 16145fi 16146PKG_CONFIG=$ac_cv_path_PKG_CONFIG 16147if test -n "$PKG_CONFIG"; then 16148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 16149$as_echo "$PKG_CONFIG" >&6; } 16150else 16151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16152$as_echo "no" >&6; } 16153fi 16154 16155 16156fi 16157if test -z "$ac_cv_path_PKG_CONFIG"; then 16158 ac_pt_PKG_CONFIG=$PKG_CONFIG 16159 # Extract the first word of "pkg-config", so it can be a program name with args. 16160set dummy pkg-config; ac_word=$2 16161{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16162$as_echo_n "checking for $ac_word... " >&6; } 16163if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 16164 $as_echo_n "(cached) " >&6 16165else 16166 case $ac_pt_PKG_CONFIG in 16167 [\\/]* | ?:[\\/]*) 16168 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 16169 ;; 16170 *) 16171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16172for as_dir in $PATH 16173do 16174 IFS=$as_save_IFS 16175 test -z "$as_dir" && as_dir=. 16176 for ac_exec_ext in '' $ac_executable_extensions; do 16177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16178 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16180 break 2 16181 fi 16182done 16183 done 16184IFS=$as_save_IFS 16185 16186 ;; 16187esac 16188fi 16189ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 16190if test -n "$ac_pt_PKG_CONFIG"; then 16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 16192$as_echo "$ac_pt_PKG_CONFIG" >&6; } 16193else 16194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16195$as_echo "no" >&6; } 16196fi 16197 16198 if test "x$ac_pt_PKG_CONFIG" = x; then 16199 PKG_CONFIG="" 16200 else 16201 case $cross_compiling:$ac_tool_warned in 16202yes:) 16203{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 16204$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 16205ac_tool_warned=yes ;; 16206esac 16207 PKG_CONFIG=$ac_pt_PKG_CONFIG 16208 fi 16209else 16210 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 16211fi 16212 16213fi 16214if test -n "$PKG_CONFIG"; then 16215 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 16216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 16217$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 16218 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 16219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16220$as_echo "yes" >&6; } 16221 else 16222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16223$as_echo "no" >&6; } 16224 PKG_CONFIG="" 16225 fi 16226fi 16227 16228 if test x"$PKG_CONFIG" = x""; then 16229 echo 16230 echo "*** Your version of pkg-config is too old. You need atleast" 16231 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 16232 echo "*** from the freedesktop.org software repository at" 16233 echo "***" 16234 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" 16235 echo "***" 16236 exit 1; 16237 fi 16238 16239 16240 16241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gio-2.0 >= 2.42.0" >&5 16242$as_echo_n "checking for gio-2.0 >= 2.42.0... " >&6; } 16243 if $PKG_CONFIG "--atleast-version=2.42.0" "gio-2.0" >/dev/null 2>&1; then 16244 GIO_VERSION=`$PKG_CONFIG --modversion "gio-2.0"` 16245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_VERSION" >&5 16246$as_echo "$GIO_VERSION" >&6; } 16247 16248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GIO_CFLAGS" >&5 16249$as_echo_n "checking GIO_CFLAGS... " >&6; } 16250 GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0"` 16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_CFLAGS" >&5 16252$as_echo "$GIO_CFLAGS" >&6; } 16253 16254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GIO_LIBS" >&5 16255$as_echo_n "checking GIO_LIBS... " >&6; } 16256 GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0"` 16257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_LIBS" >&5 16258$as_echo "$GIO_LIBS" >&6; } 16259 16260 GIO_REQUIRED_VERSION=2.42.0 16261 16262 16263 16264 16265 16266 16267 16268 elif $PKG_CONFIG --exists "gio-2.0" >/dev/null 2>&1; then 16269 xdt_cv_version=`$PKG_CONFIG --modversion "gio-2.0"` 16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 16271$as_echo "found, but $xdt_cv_version" >&6; } 16272 16273 16274 echo "*** The required package gio-2.0 was found on your system," 16275 echo "*** but the installed version ($xdt_cv_version) is too old." 16276 echo "*** Please upgrade gio-2.0 to atleast version 2.42.0, or adjust" 16277 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 16278 echo "*** the new version of the package in a nonstandard prefix so" 16279 echo "*** pkg-config is able to find it." 16280 exit 1 16281 16282 else 16283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 16284$as_echo "not found" >&6; } 16285 16286 16287 echo "*** The required package gio-2.0 was not found on your system." 16288 echo "*** Please install gio-2.0 (atleast version 2.42.0) or adjust" 16289 echo "*** the PKG_CONFIG_PATH environment variable if you" 16290 echo "*** installed the package in a nonstandard prefix so that" 16291 echo "*** pkg-config is able to find it." 16292 exit 1 16293 16294 fi 16295 16296 16297 16298 # minimum supported version of pkg-config 16299 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 16300 16301 16302 16303 16304 16305 16306 16307 16308 16309if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 16310 if test -n "$ac_tool_prefix"; then 16311 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 16312set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 16313{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16314$as_echo_n "checking for $ac_word... " >&6; } 16315if ${ac_cv_path_PKG_CONFIG+:} false; then : 16316 $as_echo_n "(cached) " >&6 16317else 16318 case $PKG_CONFIG in 16319 [\\/]* | ?:[\\/]*) 16320 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 16321 ;; 16322 *) 16323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16324for as_dir in $PATH 16325do 16326 IFS=$as_save_IFS 16327 test -z "$as_dir" && as_dir=. 16328 for ac_exec_ext in '' $ac_executable_extensions; do 16329 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16330 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16332 break 2 16333 fi 16334done 16335 done 16336IFS=$as_save_IFS 16337 16338 ;; 16339esac 16340fi 16341PKG_CONFIG=$ac_cv_path_PKG_CONFIG 16342if test -n "$PKG_CONFIG"; then 16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 16344$as_echo "$PKG_CONFIG" >&6; } 16345else 16346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16347$as_echo "no" >&6; } 16348fi 16349 16350 16351fi 16352if test -z "$ac_cv_path_PKG_CONFIG"; then 16353 ac_pt_PKG_CONFIG=$PKG_CONFIG 16354 # Extract the first word of "pkg-config", so it can be a program name with args. 16355set dummy pkg-config; ac_word=$2 16356{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16357$as_echo_n "checking for $ac_word... " >&6; } 16358if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 16359 $as_echo_n "(cached) " >&6 16360else 16361 case $ac_pt_PKG_CONFIG in 16362 [\\/]* | ?:[\\/]*) 16363 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 16364 ;; 16365 *) 16366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16367for as_dir in $PATH 16368do 16369 IFS=$as_save_IFS 16370 test -z "$as_dir" && as_dir=. 16371 for ac_exec_ext in '' $ac_executable_extensions; do 16372 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16373 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16375 break 2 16376 fi 16377done 16378 done 16379IFS=$as_save_IFS 16380 16381 ;; 16382esac 16383fi 16384ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 16385if test -n "$ac_pt_PKG_CONFIG"; then 16386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 16387$as_echo "$ac_pt_PKG_CONFIG" >&6; } 16388else 16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16390$as_echo "no" >&6; } 16391fi 16392 16393 if test "x$ac_pt_PKG_CONFIG" = x; then 16394 PKG_CONFIG="" 16395 else 16396 case $cross_compiling:$ac_tool_warned in 16397yes:) 16398{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 16399$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 16400ac_tool_warned=yes ;; 16401esac 16402 PKG_CONFIG=$ac_pt_PKG_CONFIG 16403 fi 16404else 16405 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 16406fi 16407 16408fi 16409if test -n "$PKG_CONFIG"; then 16410 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 16411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 16412$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 16413 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 16414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16415$as_echo "yes" >&6; } 16416 else 16417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16418$as_echo "no" >&6; } 16419 PKG_CONFIG="" 16420 fi 16421fi 16422 16423 if test x"$PKG_CONFIG" = x""; then 16424 echo 16425 echo "*** Your version of pkg-config is too old. You need atleast" 16426 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 16427 echo "*** from the freedesktop.org software repository at" 16428 echo "***" 16429 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" 16430 echo "***" 16431 exit 1; 16432 fi 16433 16434 16435 16436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gio-unix-2.0 >= 2.42.0" >&5 16437$as_echo_n "checking for gio-unix-2.0 >= 2.42.0... " >&6; } 16438 if $PKG_CONFIG "--atleast-version=2.42.0" "gio-unix-2.0" >/dev/null 2>&1; then 16439 GIO_UNIX_VERSION=`$PKG_CONFIG --modversion "gio-unix-2.0"` 16440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_UNIX_VERSION" >&5 16441$as_echo "$GIO_UNIX_VERSION" >&6; } 16442 16443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GIO_UNIX_CFLAGS" >&5 16444$as_echo_n "checking GIO_UNIX_CFLAGS... " >&6; } 16445 GIO_UNIX_CFLAGS=`$PKG_CONFIG --cflags "gio-unix-2.0"` 16446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_UNIX_CFLAGS" >&5 16447$as_echo "$GIO_UNIX_CFLAGS" >&6; } 16448 16449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GIO_UNIX_LIBS" >&5 16450$as_echo_n "checking GIO_UNIX_LIBS... " >&6; } 16451 GIO_UNIX_LIBS=`$PKG_CONFIG --libs "gio-unix-2.0"` 16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GIO_UNIX_LIBS" >&5 16453$as_echo "$GIO_UNIX_LIBS" >&6; } 16454 16455 GIO_UNIX_REQUIRED_VERSION=2.42.0 16456 16457 16458 16459 16460 16461 16462 16463 elif $PKG_CONFIG --exists "gio-unix-2.0" >/dev/null 2>&1; then 16464 xdt_cv_version=`$PKG_CONFIG --modversion "gio-unix-2.0"` 16465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 16466$as_echo "found, but $xdt_cv_version" >&6; } 16467 16468 16469 echo "*** The required package gio-unix-2.0 was found on your system," 16470 echo "*** but the installed version ($xdt_cv_version) is too old." 16471 echo "*** Please upgrade gio-unix-2.0 to atleast version 2.42.0, or adjust" 16472 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 16473 echo "*** the new version of the package in a nonstandard prefix so" 16474 echo "*** pkg-config is able to find it." 16475 exit 1 16476 16477 else 16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 16479$as_echo "not found" >&6; } 16480 16481 16482 echo "*** The required package gio-unix-2.0 was not found on your system." 16483 echo "*** Please install gio-unix-2.0 (atleast version 2.42.0) or adjust" 16484 echo "*** the PKG_CONFIG_PATH environment variable if you" 16485 echo "*** installed the package in a nonstandard prefix so that" 16486 echo "*** pkg-config is able to find it." 16487 exit 1 16488 16489 fi 16490 16491 16492 16493 # minimum supported version of pkg-config 16494 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 16495 16496 16497 16498 16499 16500 16501 16502 16503 16504if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 16505 if test -n "$ac_tool_prefix"; then 16506 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 16507set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 16508{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16509$as_echo_n "checking for $ac_word... " >&6; } 16510if ${ac_cv_path_PKG_CONFIG+:} false; then : 16511 $as_echo_n "(cached) " >&6 16512else 16513 case $PKG_CONFIG in 16514 [\\/]* | ?:[\\/]*) 16515 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 16516 ;; 16517 *) 16518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16519for as_dir in $PATH 16520do 16521 IFS=$as_save_IFS 16522 test -z "$as_dir" && as_dir=. 16523 for ac_exec_ext in '' $ac_executable_extensions; do 16524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16525 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16527 break 2 16528 fi 16529done 16530 done 16531IFS=$as_save_IFS 16532 16533 ;; 16534esac 16535fi 16536PKG_CONFIG=$ac_cv_path_PKG_CONFIG 16537if test -n "$PKG_CONFIG"; then 16538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 16539$as_echo "$PKG_CONFIG" >&6; } 16540else 16541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16542$as_echo "no" >&6; } 16543fi 16544 16545 16546fi 16547if test -z "$ac_cv_path_PKG_CONFIG"; then 16548 ac_pt_PKG_CONFIG=$PKG_CONFIG 16549 # Extract the first word of "pkg-config", so it can be a program name with args. 16550set dummy pkg-config; ac_word=$2 16551{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16552$as_echo_n "checking for $ac_word... " >&6; } 16553if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 16554 $as_echo_n "(cached) " >&6 16555else 16556 case $ac_pt_PKG_CONFIG in 16557 [\\/]* | ?:[\\/]*) 16558 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 16559 ;; 16560 *) 16561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16562for as_dir in $PATH 16563do 16564 IFS=$as_save_IFS 16565 test -z "$as_dir" && as_dir=. 16566 for ac_exec_ext in '' $ac_executable_extensions; do 16567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16568 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 16569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16570 break 2 16571 fi 16572done 16573 done 16574IFS=$as_save_IFS 16575 16576 ;; 16577esac 16578fi 16579ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 16580if test -n "$ac_pt_PKG_CONFIG"; then 16581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 16582$as_echo "$ac_pt_PKG_CONFIG" >&6; } 16583else 16584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16585$as_echo "no" >&6; } 16586fi 16587 16588 if test "x$ac_pt_PKG_CONFIG" = x; then 16589 PKG_CONFIG="" 16590 else 16591 case $cross_compiling:$ac_tool_warned in 16592yes:) 16593{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 16594$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 16595ac_tool_warned=yes ;; 16596esac 16597 PKG_CONFIG=$ac_pt_PKG_CONFIG 16598 fi 16599else 16600 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 16601fi 16602 16603fi 16604if test -n "$PKG_CONFIG"; then 16605 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 16606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 16607$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 16608 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 16609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16610$as_echo "yes" >&6; } 16611 else 16612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16613$as_echo "no" >&6; } 16614 PKG_CONFIG="" 16615 fi 16616fi 16617 16618 if test x"$PKG_CONFIG" = x""; then 16619 echo 16620 echo "*** Your version of pkg-config is too old. You need atleast" 16621 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 16622 echo "*** from the freedesktop.org software repository at" 16623 echo "***" 16624 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" 16625 echo "***" 16626 exit 1; 16627 fi 16628 16629 16630 16631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnotify >= 0.7.0" >&5 16632$as_echo_n "checking for libnotify >= 0.7.0... " >&6; } 16633 if $PKG_CONFIG "--atleast-version=0.7.0" "libnotify" >/dev/null 2>&1; then 16634 LIBNOTIFY_VERSION=`$PKG_CONFIG --modversion "libnotify"` 16635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBNOTIFY_VERSION" >&5 16636$as_echo "$LIBNOTIFY_VERSION" >&6; } 16637 16638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBNOTIFY_CFLAGS" >&5 16639$as_echo_n "checking LIBNOTIFY_CFLAGS... " >&6; } 16640 LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify"` 16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBNOTIFY_CFLAGS" >&5 16642$as_echo "$LIBNOTIFY_CFLAGS" >&6; } 16643 16644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking LIBNOTIFY_LIBS" >&5 16645$as_echo_n "checking LIBNOTIFY_LIBS... " >&6; } 16646 LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify"` 16647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBNOTIFY_LIBS" >&5 16648$as_echo "$LIBNOTIFY_LIBS" >&6; } 16649 16650 LIBNOTIFY_REQUIRED_VERSION=0.7.0 16651 16652 16653 16654 16655 16656 16657 16658 elif $PKG_CONFIG --exists "libnotify" >/dev/null 2>&1; then 16659 xdt_cv_version=`$PKG_CONFIG --modversion "libnotify"` 16660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 16661$as_echo "found, but $xdt_cv_version" >&6; } 16662 16663 16664 echo "*** The required package libnotify was found on your system," 16665 echo "*** but the installed version ($xdt_cv_version) is too old." 16666 echo "*** Please upgrade libnotify to atleast version 0.7.0, or adjust" 16667 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 16668 echo "*** the new version of the package in a nonstandard prefix so" 16669 echo "*** pkg-config is able to find it." 16670 exit 1 16671 16672 else 16673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5 16674$as_echo "not found" >&6; } 16675 16676 16677 echo "*** The required package libnotify was not found on your system." 16678 echo "*** Please install libnotify (atleast version 0.7.0) or adjust" 16679 echo "*** the PKG_CONFIG_PATH environment variable if you" 16680 echo "*** installed the package in a nonstandard prefix so that" 16681 echo "*** pkg-config is able to find it." 16682 exit 1 16683 16684 fi 16685 16686 16687 16688pkg_failed=no 16689{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 16690$as_echo_n "checking for GTK... " >&6; } 16691 16692if test -n "$GTK_CFLAGS"; then 16693 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" 16694 elif test -n "$PKG_CONFIG"; then 16695 if test -n "$PKG_CONFIG" && \ 16696 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.20\""; } >&5 16697 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.20") 2>&5 16698 ac_status=$? 16699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16700 test $ac_status = 0; }; then 16701 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.20" 2>/dev/null` 16702 test "x$?" != "x0" && pkg_failed=yes 16703else 16704 pkg_failed=yes 16705fi 16706 else 16707 pkg_failed=untried 16708fi 16709if test -n "$GTK_LIBS"; then 16710 pkg_cv_GTK_LIBS="$GTK_LIBS" 16711 elif test -n "$PKG_CONFIG"; then 16712 if test -n "$PKG_CONFIG" && \ 16713 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.20\""; } >&5 16714 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.20") 2>&5 16715 ac_status=$? 16716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16717 test $ac_status = 0; }; then 16718 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.20" 2>/dev/null` 16719 test "x$?" != "x0" && pkg_failed=yes 16720else 16721 pkg_failed=yes 16722fi 16723 else 16724 pkg_failed=untried 16725fi 16726 16727 16728 16729if test $pkg_failed = yes; then 16730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16731$as_echo "no" >&6; } 16732 16733if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16734 _pkg_short_errors_supported=yes 16735else 16736 _pkg_short_errors_supported=no 16737fi 16738 if test $_pkg_short_errors_supported = yes; then 16739 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.20" 2>&1` 16740 else 16741 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.20" 2>&1` 16742 fi 16743 # Put the nasty error message in config.log where it belongs 16744 echo "$GTK_PKG_ERRORS" >&5 16745 16746 16747 16748pkg_failed=no 16749{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 16750$as_echo_n "checking for GTK... " >&6; } 16751 16752if test -n "$GTK_CFLAGS"; then 16753 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" 16754 elif test -n "$PKG_CONFIG"; then 16755 if test -n "$PKG_CONFIG" && \ 16756 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.14\""; } >&5 16757 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.14") 2>&5 16758 ac_status=$? 16759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16760 test $ac_status = 0; }; then 16761 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.14" 2>/dev/null` 16762 test "x$?" != "x0" && pkg_failed=yes 16763else 16764 pkg_failed=yes 16765fi 16766 else 16767 pkg_failed=untried 16768fi 16769if test -n "$GTK_LIBS"; then 16770 pkg_cv_GTK_LIBS="$GTK_LIBS" 16771 elif test -n "$PKG_CONFIG"; then 16772 if test -n "$PKG_CONFIG" && \ 16773 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.14\""; } >&5 16774 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.14") 2>&5 16775 ac_status=$? 16776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16777 test $ac_status = 0; }; then 16778 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.14" 2>/dev/null` 16779 test "x$?" != "x0" && pkg_failed=yes 16780else 16781 pkg_failed=yes 16782fi 16783 else 16784 pkg_failed=untried 16785fi 16786 16787 16788 16789if test $pkg_failed = yes; then 16790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16791$as_echo "no" >&6; } 16792 16793if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16794 _pkg_short_errors_supported=yes 16795else 16796 _pkg_short_errors_supported=no 16797fi 16798 if test $_pkg_short_errors_supported = yes; then 16799 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.14" 2>&1` 16800 else 16801 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.14" 2>&1` 16802 fi 16803 # Put the nasty error message in config.log where it belongs 16804 echo "$GTK_PKG_ERRORS" >&5 16805 16806 as_fn_error $? "Package requirements (gtk+-3.0 >= 3.14) were not met: 16807 16808$GTK_PKG_ERRORS 16809 16810Consider adjusting the PKG_CONFIG_PATH environment variable if you 16811installed software in a non-standard prefix. 16812 16813Alternatively, you may set the environment variables GTK_CFLAGS 16814and GTK_LIBS to avoid the need to call pkg-config. 16815See the pkg-config man page for more details." "$LINENO" 5 16816elif test $pkg_failed = untried; then 16817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16818$as_echo "no" >&6; } 16819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16820$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16821as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 16822is in your PATH or set the PKG_CONFIG environment variable to the full 16823path to pkg-config. 16824 16825Alternatively, you may set the environment variables GTK_CFLAGS 16826and GTK_LIBS to avoid the need to call pkg-config. 16827See the pkg-config man page for more details. 16828 16829To get pkg-config, see <http://pkg-config.freedesktop.org/>. 16830See \`config.log' for more details" "$LINENO" 5; } 16831else 16832 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS 16833 GTK_LIBS=$pkg_cv_GTK_LIBS 16834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16835$as_echo "yes" >&6; } 16836 HAVE_GTK_320=false 16837fi 16838 16839elif test $pkg_failed = untried; then 16840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16841$as_echo "no" >&6; } 16842 16843 16844pkg_failed=no 16845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 16846$as_echo_n "checking for GTK... " >&6; } 16847 16848if test -n "$GTK_CFLAGS"; then 16849 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" 16850 elif test -n "$PKG_CONFIG"; then 16851 if test -n "$PKG_CONFIG" && \ 16852 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.14\""; } >&5 16853 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.14") 2>&5 16854 ac_status=$? 16855 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16856 test $ac_status = 0; }; then 16857 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.14" 2>/dev/null` 16858 test "x$?" != "x0" && pkg_failed=yes 16859else 16860 pkg_failed=yes 16861fi 16862 else 16863 pkg_failed=untried 16864fi 16865if test -n "$GTK_LIBS"; then 16866 pkg_cv_GTK_LIBS="$GTK_LIBS" 16867 elif test -n "$PKG_CONFIG"; then 16868 if test -n "$PKG_CONFIG" && \ 16869 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.14\""; } >&5 16870 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.14") 2>&5 16871 ac_status=$? 16872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 16873 test $ac_status = 0; }; then 16874 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.14" 2>/dev/null` 16875 test "x$?" != "x0" && pkg_failed=yes 16876else 16877 pkg_failed=yes 16878fi 16879 else 16880 pkg_failed=untried 16881fi 16882 16883 16884 16885if test $pkg_failed = yes; then 16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16887$as_echo "no" >&6; } 16888 16889if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 16890 _pkg_short_errors_supported=yes 16891else 16892 _pkg_short_errors_supported=no 16893fi 16894 if test $_pkg_short_errors_supported = yes; then 16895 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.14" 2>&1` 16896 else 16897 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.14" 2>&1` 16898 fi 16899 # Put the nasty error message in config.log where it belongs 16900 echo "$GTK_PKG_ERRORS" >&5 16901 16902 as_fn_error $? "Package requirements (gtk+-3.0 >= 3.14) were not met: 16903 16904$GTK_PKG_ERRORS 16905 16906Consider adjusting the PKG_CONFIG_PATH environment variable if you 16907installed software in a non-standard prefix. 16908 16909Alternatively, you may set the environment variables GTK_CFLAGS 16910and GTK_LIBS to avoid the need to call pkg-config. 16911See the pkg-config man page for more details." "$LINENO" 5 16912elif test $pkg_failed = untried; then 16913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16914$as_echo "no" >&6; } 16915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 16916$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 16917as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 16918is in your PATH or set the PKG_CONFIG environment variable to the full 16919path to pkg-config. 16920 16921Alternatively, you may set the environment variables GTK_CFLAGS 16922and GTK_LIBS to avoid the need to call pkg-config. 16923See the pkg-config man page for more details. 16924 16925To get pkg-config, see <http://pkg-config.freedesktop.org/>. 16926See \`config.log' for more details" "$LINENO" 5; } 16927else 16928 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS 16929 GTK_LIBS=$pkg_cv_GTK_LIBS 16930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16931$as_echo "yes" >&6; } 16932 HAVE_GTK_320=false 16933fi 16934 16935else 16936 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS 16937 GTK_LIBS=$pkg_cv_GTK_LIBS 16938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 16939$as_echo "yes" >&6; } 16940 HAVE_GTK_320=true 16941fi 16942 if test "x$HAVE_GTK_320" = "xtrue"; then 16943 HAVE_GTK_320_TRUE= 16944 HAVE_GTK_320_FALSE='#' 16945else 16946 HAVE_GTK_320_TRUE='#' 16947 HAVE_GTK_320_FALSE= 16948fi 16949 16950 16951 16952# Extract the first word of "gdbus-codegen", so it can be a program name with args. 16953set dummy gdbus-codegen; ac_word=$2 16954{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 16955$as_echo_n "checking for $ac_word... " >&6; } 16956if ${ac_cv_path_GDBUS_CODEGEN+:} false; then : 16957 $as_echo_n "(cached) " >&6 16958else 16959 case $GDBUS_CODEGEN in 16960 [\\/]* | ?:[\\/]*) 16961 ac_cv_path_GDBUS_CODEGEN="$GDBUS_CODEGEN" # Let the user override the test with a path. 16962 ;; 16963 *) 16964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 16965for as_dir in $PATH 16966do 16967 IFS=$as_save_IFS 16968 test -z "$as_dir" && as_dir=. 16969 for ac_exec_ext in '' $ac_executable_extensions; do 16970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 16971 ac_cv_path_GDBUS_CODEGEN="$as_dir/$ac_word$ac_exec_ext" 16972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 16973 break 2 16974 fi 16975done 16976 done 16977IFS=$as_save_IFS 16978 16979 test -z "$ac_cv_path_GDBUS_CODEGEN" && ac_cv_path_GDBUS_CODEGEN="no" 16980 ;; 16981esac 16982fi 16983GDBUS_CODEGEN=$ac_cv_path_GDBUS_CODEGEN 16984if test -n "$GDBUS_CODEGEN"; then 16985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GDBUS_CODEGEN" >&5 16986$as_echo "$GDBUS_CODEGEN" >&6; } 16987else 16988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 16989$as_echo "no" >&6; } 16990fi 16991 16992 16993if test x"$GDBUS_CODEGEN" = x"no"; then 16994 as_fn_error $? "could not find gdbus-codegen in \$PATH. You can run 16995 ./configure GDBUS_CODEGEN=/path/to/gdbus-codegen to define 16996 a custom location for it." "$LINENO" 5 16997fi 16998 16999# Check whether --enable-old-notification-closed-signature was given. 17000if test "${enable_old_notification_closed_signature+set}" = set; then : 17001 enableval=$enable_old_notification_closed_signature; use_old_nc_sig=$enableval 17002else 17003 use_old_nc_sig=no 17004fi 17005 17006if test "x$use_old_nc_sig" = "xyes"; then : 17007 17008$as_echo "#define USE_OLD_NOTIFICATION_CHANGED_SIGNATURE 1" >>confdefs.h 17009 17010fi 17011 17012# Check whether --enable-old-get-server-information-signature was given. 17013if test "${enable_old_get_server_information_signature+set}" = set; then : 17014 enableval=$enable_old_get_server_information_signature; use_old_gsi_sig=$enableval 17015else 17016 use_old_gsi_sig=no 17017fi 17018 17019if test "x$use_old_gsi_sig" = "xyes"; then : 17020 17021$as_echo "#define USE_OLD_GET_SERVER_INFORMATION_SIGNATURE 1" >>confdefs.h 17022 17023fi 17024 if test "x$use_old_gsi_sig" = "xyes"; then 17025 USE_OLD_GET_SERVER_INFORMATION_SIGNATURE_TRUE= 17026 USE_OLD_GET_SERVER_INFORMATION_SIGNATURE_FALSE='#' 17027else 17028 USE_OLD_GET_SERVER_INFORMATION_SIGNATURE_TRUE='#' 17029 USE_OLD_GET_SERVER_INFORMATION_SIGNATURE_FALSE= 17030fi 17031 17032 17033# Check whether --enable-dbus-start-daemon was given. 17034if test "${enable_dbus_start_daemon+set}" = set; then : 17035 enableval=$enable_dbus_start_daemon; use_dbus_start_daemon=$enableval 17036else 17037 use_dbus_start_daemon=no 17038fi 17039 17040 if test "x$use_dbus_start_daemon" = "xyes"; then 17041 USE_DBUS_START_DAEMON_TRUE= 17042 USE_DBUS_START_DAEMON_FALSE='#' 17043else 17044 USE_DBUS_START_DAEMON_TRUE='#' 17045 USE_DBUS_START_DAEMON_FALSE= 17046fi 17047 17048 17049 17050cat >>confdefs.h <<_ACEOF 17051#define NOTIFICATIONS_SPEC_VERSION "1.2" 17052_ACEOF 17053 17054 17055 17056 # Check whether --enable-debug was given. 17057if test "${enable_debug+set}" = set; then : 17058 enableval=$enable_debug; enable_debug=$enableval 17059else 17060 enable_debug=minimum 17061fi 17062 17063 17064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5 17065$as_echo_n "checking whether to build with debugging support... " >&6; } 17066 if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then 17067 17068$as_echo "#define DEBUG 1" >>confdefs.h 17069 17070 17071 xdt_cv_additional_CFLAGS="-DXFCE_DISABLE_DEPRECATED \ 17072 -Wall -Wextra \ 17073 -Wno-missing-field-initializers \ 17074 -Wno-unused-parameter -Wold-style-definition \ 17075 -Wdeclaration-after-statement \ 17076 -Wmissing-declarations \ 17077 -Wmissing-noreturn -Wpointer-arith \ 17078 -Wcast-align -Wformat -Wformat-security -Wformat-y2k \ 17079 -Winit-self -Wmissing-include-dirs -Wundef \ 17080 -Wnested-externs" 17081 CPPFLAGS="$CPPFLAGS" 17082 17083 if test x`uname` = x"Linux"; then 17084 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -fstack-protector" 17085 fi 17086 17087 if test x`uname` != x"OpenBSD"; then 17088 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -Wredundant-decls" 17089 fi 17090 17091 if test x"$enable_debug" = x"full"; then 17092 17093$as_echo "#define DEBUG_TRACE 1" >>confdefs.h 17094 17095 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -O0 -g -Werror" 17096 CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG" 17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: full" >&5 17098$as_echo "full" >&6; } 17099 else 17100 xdt_cv_additional_CFLAGS="$xdt_cv_additional_CFLAGS -g -Wshadow" 17101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 17102$as_echo "yes" >&6; } 17103 fi 17104 17105 17106 for flag in $xdt_cv_additional_CFLAGS; do 17107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5 17108$as_echo_n "checking if $CC supports $flag... " >&6; } 17109 saved_CFLAGS="$CFLAGS" 17110 CFLAGS="$CFLAGS $flag" 17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 17112/* end confdefs.h. */ 17113 17114_ACEOF 17115if ac_fn_c_try_compile "$LINENO"; then : 17116 flag_supported=yes 17117else 17118 flag_supported=no 17119fi 17120rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 17121 CFLAGS="$saved_CFLAGS" 17122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5 17123$as_echo "$flag_supported" >&6; } 17124 17125 if test "x$flag_supported" = "xyes"; then 17126 supported_CFLAGS="$supported_CFLAGS $flag" 17127 fi 17128 done 17129 17130 17131 17132 supported_CXXFLAGS="$supported_CFLAGS" 17133 17134 17135 CFLAGS="$CFLAGS $supported_CFLAGS" 17136 CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS" 17137 else 17138 CPPFLAGS="$CPPFLAGS -DNDEBUG" 17139 17140 if test x"$enable_debug" = x"no"; then 17141 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT" 17142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 17143$as_echo "no" >&6; } 17144 else 17145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: minimum" >&5 17146$as_echo "minimum" >&6; } 17147 fi 17148 fi 17149 17150 17151ac_config_files="$ac_config_files Makefile icons/Makefile icons/16x16/Makefile icons/48x48/Makefile icons/128x128/Makefile icons/scalable/Makefile icons/symbolic/Makefile common/Makefile panel-plugin/Makefile po/Makefile.in" 17152 17153cat >confcache <<\_ACEOF 17154# This file is a shell script that caches the results of configure 17155# tests run on this system so they can be shared between configure 17156# scripts and configure runs, see configure's option --config-cache. 17157# It is not useful on other systems. If it contains results you don't 17158# want to keep, you may remove or edit it. 17159# 17160# config.status only pays attention to the cache file if you give it 17161# the --recheck option to rerun configure. 17162# 17163# `ac_cv_env_foo' variables (set or unset) will be overridden when 17164# loading this file, other *unset* `ac_cv_foo' will be assigned the 17165# following values. 17166 17167_ACEOF 17168 17169# The following way of writing the cache mishandles newlines in values, 17170# but we know of no workaround that is simple, portable, and efficient. 17171# So, we kill variables containing newlines. 17172# Ultrix sh set writes to stderr and can't be redirected directly, 17173# and sets the high bit in the cache file unless we assign to the vars. 17174( 17175 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 17176 eval ac_val=\$$ac_var 17177 case $ac_val in #( 17178 *${as_nl}*) 17179 case $ac_var in #( 17180 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 17181$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 17182 esac 17183 case $ac_var in #( 17184 _ | IFS | as_nl) ;; #( 17185 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 17186 *) { eval $ac_var=; unset $ac_var;} ;; 17187 esac ;; 17188 esac 17189 done 17190 17191 (set) 2>&1 | 17192 case $as_nl`(ac_space=' '; set) 2>&1` in #( 17193 *${as_nl}ac_space=\ *) 17194 # `set' does not quote correctly, so add quotes: double-quote 17195 # substitution turns \\\\ into \\, and sed turns \\ into \. 17196 sed -n \ 17197 "s/'/'\\\\''/g; 17198 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 17199 ;; #( 17200 *) 17201 # `set' quotes correctly as required by POSIX, so do not add quotes. 17202 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 17203 ;; 17204 esac | 17205 sort 17206) | 17207 sed ' 17208 /^ac_cv_env_/b end 17209 t clear 17210 :clear 17211 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 17212 t end 17213 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 17214 :end' >>confcache 17215if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 17216 if test -w "$cache_file"; then 17217 if test "x$cache_file" != "x/dev/null"; then 17218 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 17219$as_echo "$as_me: updating cache $cache_file" >&6;} 17220 if test ! -f "$cache_file" || test -h "$cache_file"; then 17221 cat confcache >"$cache_file" 17222 else 17223 case $cache_file in #( 17224 */* | ?:*) 17225 mv -f confcache "$cache_file"$$ && 17226 mv -f "$cache_file"$$ "$cache_file" ;; #( 17227 *) 17228 mv -f confcache "$cache_file" ;; 17229 esac 17230 fi 17231 fi 17232 else 17233 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 17234$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 17235 fi 17236fi 17237rm -f confcache 17238 17239test "x$prefix" = xNONE && prefix=$ac_default_prefix 17240# Let make expand exec_prefix. 17241test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 17242 17243DEFS=-DHAVE_CONFIG_H 17244 17245ac_libobjs= 17246ac_ltlibobjs= 17247U= 17248for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 17249 # 1. Remove the extension, and $U if already installed. 17250 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 17251 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 17252 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 17253 # will be set to the directory where LIBOBJS objects are built. 17254 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 17255 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 17256done 17257LIBOBJS=$ac_libobjs 17258 17259LTLIBOBJS=$ac_ltlibobjs 17260 17261 17262{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 17263$as_echo_n "checking that generated files are newer than configure... " >&6; } 17264 if test -n "$am_sleep_pid"; then 17265 # Hide warnings about reused PIDs. 17266 wait $am_sleep_pid 2>/dev/null 17267 fi 17268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 17269$as_echo "done" >&6; } 17270 if test -n "$EXEEXT"; then 17271 am__EXEEXT_TRUE= 17272 am__EXEEXT_FALSE='#' 17273else 17274 am__EXEEXT_TRUE='#' 17275 am__EXEEXT_FALSE= 17276fi 17277 17278if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 17279 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 17280Usually this means the macro was only invoked conditionally." "$LINENO" 5 17281fi 17282if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 17283 as_fn_error $? "conditional \"AMDEP\" was never defined. 17284Usually this means the macro was only invoked conditionally." "$LINENO" 5 17285fi 17286if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 17287 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 17288Usually this means the macro was only invoked conditionally." "$LINENO" 5 17289fi 17290if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 17291 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 17292Usually this means the macro was only invoked conditionally." "$LINENO" 5 17293fi 17294 17295 ac_config_commands="$ac_config_commands po/stamp-it" 17296 17297 17298if test -z "${HAVE_GTK_320_TRUE}" && test -z "${HAVE_GTK_320_FALSE}"; then 17299 as_fn_error $? "conditional \"HAVE_GTK_320\" was never defined. 17300Usually this means the macro was only invoked conditionally." "$LINENO" 5 17301fi 17302if test -z "${USE_OLD_GET_SERVER_INFORMATION_SIGNATURE_TRUE}" && test -z "${USE_OLD_GET_SERVER_INFORMATION_SIGNATURE_FALSE}"; then 17303 as_fn_error $? "conditional \"USE_OLD_GET_SERVER_INFORMATION_SIGNATURE\" was never defined. 17304Usually this means the macro was only invoked conditionally." "$LINENO" 5 17305fi 17306if test -z "${USE_DBUS_START_DAEMON_TRUE}" && test -z "${USE_DBUS_START_DAEMON_FALSE}"; then 17307 as_fn_error $? "conditional \"USE_DBUS_START_DAEMON\" was never defined. 17308Usually this means the macro was only invoked conditionally." "$LINENO" 5 17309fi 17310 17311: "${CONFIG_STATUS=./config.status}" 17312ac_write_fail=0 17313ac_clean_files_save=$ac_clean_files 17314ac_clean_files="$ac_clean_files $CONFIG_STATUS" 17315{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 17316$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 17317as_write_fail=0 17318cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 17319#! $SHELL 17320# Generated by $as_me. 17321# Run this file to recreate the current configuration. 17322# Compiler output produced by configure, useful for debugging 17323# configure, is in config.log if it exists. 17324 17325debug=false 17326ac_cs_recheck=false 17327ac_cs_silent=false 17328 17329SHELL=\${CONFIG_SHELL-$SHELL} 17330export SHELL 17331_ASEOF 17332cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 17333## -------------------- ## 17334## M4sh Initialization. ## 17335## -------------------- ## 17336 17337# Be more Bourne compatible 17338DUALCASE=1; export DUALCASE # for MKS sh 17339if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 17340 emulate sh 17341 NULLCMD=: 17342 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 17343 # is contrary to our usage. Disable this feature. 17344 alias -g '${1+"$@"}'='"$@"' 17345 setopt NO_GLOB_SUBST 17346else 17347 case `(set -o) 2>/dev/null` in #( 17348 *posix*) : 17349 set -o posix ;; #( 17350 *) : 17351 ;; 17352esac 17353fi 17354 17355 17356as_nl=' 17357' 17358export as_nl 17359# Printing a long string crashes Solaris 7 /usr/bin/printf. 17360as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 17361as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 17362as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 17363# Prefer a ksh shell builtin over an external printf program on Solaris, 17364# but without wasting forks for bash or zsh. 17365if test -z "$BASH_VERSION$ZSH_VERSION" \ 17366 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 17367 as_echo='print -r --' 17368 as_echo_n='print -rn --' 17369elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 17370 as_echo='printf %s\n' 17371 as_echo_n='printf %s' 17372else 17373 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 17374 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 17375 as_echo_n='/usr/ucb/echo -n' 17376 else 17377 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 17378 as_echo_n_body='eval 17379 arg=$1; 17380 case $arg in #( 17381 *"$as_nl"*) 17382 expr "X$arg" : "X\\(.*\\)$as_nl"; 17383 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 17384 esac; 17385 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 17386 ' 17387 export as_echo_n_body 17388 as_echo_n='sh -c $as_echo_n_body as_echo' 17389 fi 17390 export as_echo_body 17391 as_echo='sh -c $as_echo_body as_echo' 17392fi 17393 17394# The user is always right. 17395if test "${PATH_SEPARATOR+set}" != set; then 17396 PATH_SEPARATOR=: 17397 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 17398 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 17399 PATH_SEPARATOR=';' 17400 } 17401fi 17402 17403 17404# IFS 17405# We need space, tab and new line, in precisely that order. Quoting is 17406# there to prevent editors from complaining about space-tab. 17407# (If _AS_PATH_WALK were called with IFS unset, it would disable word 17408# splitting by setting IFS to empty value.) 17409IFS=" "" $as_nl" 17410 17411# Find who we are. Look in the path if we contain no directory separator. 17412as_myself= 17413case $0 in #(( 17414 *[\\/]* ) as_myself=$0 ;; 17415 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 17416for as_dir in $PATH 17417do 17418 IFS=$as_save_IFS 17419 test -z "$as_dir" && as_dir=. 17420 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 17421 done 17422IFS=$as_save_IFS 17423 17424 ;; 17425esac 17426# We did not find ourselves, most probably we were run as `sh COMMAND' 17427# in which case we are not to be found in the path. 17428if test "x$as_myself" = x; then 17429 as_myself=$0 17430fi 17431if test ! -f "$as_myself"; then 17432 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 17433 exit 1 17434fi 17435 17436# Unset variables that we do not need and which cause bugs (e.g. in 17437# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 17438# suppresses any "Segmentation fault" message there. '((' could 17439# trigger a bug in pdksh 5.2.14. 17440for as_var in BASH_ENV ENV MAIL MAILPATH 17441do eval test x\${$as_var+set} = xset \ 17442 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 17443done 17444PS1='$ ' 17445PS2='> ' 17446PS4='+ ' 17447 17448# NLS nuisances. 17449LC_ALL=C 17450export LC_ALL 17451LANGUAGE=C 17452export LANGUAGE 17453 17454# CDPATH. 17455(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17456 17457 17458# as_fn_error STATUS ERROR [LINENO LOG_FD] 17459# ---------------------------------------- 17460# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 17461# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 17462# script with STATUS, using 1 if that was 0. 17463as_fn_error () 17464{ 17465 as_status=$1; test $as_status -eq 0 && as_status=1 17466 if test "$4"; then 17467 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 17468 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 17469 fi 17470 $as_echo "$as_me: error: $2" >&2 17471 as_fn_exit $as_status 17472} # as_fn_error 17473 17474 17475# as_fn_set_status STATUS 17476# ----------------------- 17477# Set $? to STATUS, without forking. 17478as_fn_set_status () 17479{ 17480 return $1 17481} # as_fn_set_status 17482 17483# as_fn_exit STATUS 17484# ----------------- 17485# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 17486as_fn_exit () 17487{ 17488 set +e 17489 as_fn_set_status $1 17490 exit $1 17491} # as_fn_exit 17492 17493# as_fn_unset VAR 17494# --------------- 17495# Portably unset VAR. 17496as_fn_unset () 17497{ 17498 { eval $1=; unset $1;} 17499} 17500as_unset=as_fn_unset 17501# as_fn_append VAR VALUE 17502# ---------------------- 17503# Append the text in VALUE to the end of the definition contained in VAR. Take 17504# advantage of any shell optimizations that allow amortized linear growth over 17505# repeated appends, instead of the typical quadratic growth present in naive 17506# implementations. 17507if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 17508 eval 'as_fn_append () 17509 { 17510 eval $1+=\$2 17511 }' 17512else 17513 as_fn_append () 17514 { 17515 eval $1=\$$1\$2 17516 } 17517fi # as_fn_append 17518 17519# as_fn_arith ARG... 17520# ------------------ 17521# Perform arithmetic evaluation on the ARGs, and store the result in the 17522# global $as_val. Take advantage of shells that can avoid forks. The arguments 17523# must be portable across $(()) and expr. 17524if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 17525 eval 'as_fn_arith () 17526 { 17527 as_val=$(( $* )) 17528 }' 17529else 17530 as_fn_arith () 17531 { 17532 as_val=`expr "$@" || test $? -eq 1` 17533 } 17534fi # as_fn_arith 17535 17536 17537if expr a : '\(a\)' >/dev/null 2>&1 && 17538 test "X`expr 00001 : '.*\(...\)'`" = X001; then 17539 as_expr=expr 17540else 17541 as_expr=false 17542fi 17543 17544if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 17545 as_basename=basename 17546else 17547 as_basename=false 17548fi 17549 17550if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 17551 as_dirname=dirname 17552else 17553 as_dirname=false 17554fi 17555 17556as_me=`$as_basename -- "$0" || 17557$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 17558 X"$0" : 'X\(//\)$' \| \ 17559 X"$0" : 'X\(/\)' \| . 2>/dev/null || 17560$as_echo X/"$0" | 17561 sed '/^.*\/\([^/][^/]*\)\/*$/{ 17562 s//\1/ 17563 q 17564 } 17565 /^X\/\(\/\/\)$/{ 17566 s//\1/ 17567 q 17568 } 17569 /^X\/\(\/\).*/{ 17570 s//\1/ 17571 q 17572 } 17573 s/.*/./; q'` 17574 17575# Avoid depending upon Character Ranges. 17576as_cr_letters='abcdefghijklmnopqrstuvwxyz' 17577as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 17578as_cr_Letters=$as_cr_letters$as_cr_LETTERS 17579as_cr_digits='0123456789' 17580as_cr_alnum=$as_cr_Letters$as_cr_digits 17581 17582ECHO_C= ECHO_N= ECHO_T= 17583case `echo -n x` in #((((( 17584-n*) 17585 case `echo 'xy\c'` in 17586 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 17587 xy) ECHO_C='\c';; 17588 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 17589 ECHO_T=' ';; 17590 esac;; 17591*) 17592 ECHO_N='-n';; 17593esac 17594 17595rm -f conf$$ conf$$.exe conf$$.file 17596if test -d conf$$.dir; then 17597 rm -f conf$$.dir/conf$$.file 17598else 17599 rm -f conf$$.dir 17600 mkdir conf$$.dir 2>/dev/null 17601fi 17602if (echo >conf$$.file) 2>/dev/null; then 17603 if ln -s conf$$.file conf$$ 2>/dev/null; then 17604 as_ln_s='ln -s' 17605 # ... but there are two gotchas: 17606 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 17607 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 17608 # In both cases, we have to default to `cp -pR'. 17609 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 17610 as_ln_s='cp -pR' 17611 elif ln conf$$.file conf$$ 2>/dev/null; then 17612 as_ln_s=ln 17613 else 17614 as_ln_s='cp -pR' 17615 fi 17616else 17617 as_ln_s='cp -pR' 17618fi 17619rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 17620rmdir conf$$.dir 2>/dev/null 17621 17622 17623# as_fn_mkdir_p 17624# ------------- 17625# Create "$as_dir" as a directory, including parents if necessary. 17626as_fn_mkdir_p () 17627{ 17628 17629 case $as_dir in #( 17630 -*) as_dir=./$as_dir;; 17631 esac 17632 test -d "$as_dir" || eval $as_mkdir_p || { 17633 as_dirs= 17634 while :; do 17635 case $as_dir in #( 17636 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 17637 *) as_qdir=$as_dir;; 17638 esac 17639 as_dirs="'$as_qdir' $as_dirs" 17640 as_dir=`$as_dirname -- "$as_dir" || 17641$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 17642 X"$as_dir" : 'X\(//\)[^/]' \| \ 17643 X"$as_dir" : 'X\(//\)$' \| \ 17644 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 17645$as_echo X"$as_dir" | 17646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 17647 s//\1/ 17648 q 17649 } 17650 /^X\(\/\/\)[^/].*/{ 17651 s//\1/ 17652 q 17653 } 17654 /^X\(\/\/\)$/{ 17655 s//\1/ 17656 q 17657 } 17658 /^X\(\/\).*/{ 17659 s//\1/ 17660 q 17661 } 17662 s/.*/./; q'` 17663 test -d "$as_dir" && break 17664 done 17665 test -z "$as_dirs" || eval "mkdir $as_dirs" 17666 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 17667 17668 17669} # as_fn_mkdir_p 17670if mkdir -p . 2>/dev/null; then 17671 as_mkdir_p='mkdir -p "$as_dir"' 17672else 17673 test -d ./-p && rmdir ./-p 17674 as_mkdir_p=false 17675fi 17676 17677 17678# as_fn_executable_p FILE 17679# ----------------------- 17680# Test if FILE is an executable regular file. 17681as_fn_executable_p () 17682{ 17683 test -f "$1" && test -x "$1" 17684} # as_fn_executable_p 17685as_test_x='test -x' 17686as_executable_p=as_fn_executable_p 17687 17688# Sed expression to map a string onto a valid CPP name. 17689as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 17690 17691# Sed expression to map a string onto a valid variable name. 17692as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 17693 17694 17695exec 6>&1 17696## ----------------------------------- ## 17697## Main body of $CONFIG_STATUS script. ## 17698## ----------------------------------- ## 17699_ASEOF 17700test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 17701 17702cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17703# Save the log message, to keep $0 and so on meaningful, and to 17704# report actual input values of CONFIG_FILES etc. instead of their 17705# values after options handling. 17706ac_log=" 17707This file was extended by xfce4-notifyd $as_me 0.6.2, which was 17708generated by GNU Autoconf 2.69. Invocation command line was 17709 17710 CONFIG_FILES = $CONFIG_FILES 17711 CONFIG_HEADERS = $CONFIG_HEADERS 17712 CONFIG_LINKS = $CONFIG_LINKS 17713 CONFIG_COMMANDS = $CONFIG_COMMANDS 17714 $ $0 $@ 17715 17716on `(hostname || uname -n) 2>/dev/null | sed 1q` 17717" 17718 17719_ACEOF 17720 17721case $ac_config_files in *" 17722"*) set x $ac_config_files; shift; ac_config_files=$*;; 17723esac 17724 17725case $ac_config_headers in *" 17726"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 17727esac 17728 17729 17730cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17731# Files that config.status was made for. 17732config_files="$ac_config_files" 17733config_headers="$ac_config_headers" 17734config_commands="$ac_config_commands" 17735 17736_ACEOF 17737 17738cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17739ac_cs_usage="\ 17740\`$as_me' instantiates files and other configuration actions 17741from templates according to the current configuration. Unless the files 17742and actions are specified as TAGs, all are instantiated by default. 17743 17744Usage: $0 [OPTION]... [TAG]... 17745 17746 -h, --help print this help, then exit 17747 -V, --version print version number and configuration settings, then exit 17748 --config print configuration, then exit 17749 -q, --quiet, --silent 17750 do not print progress messages 17751 -d, --debug don't remove temporary files 17752 --recheck update $as_me by reconfiguring in the same conditions 17753 --file=FILE[:TEMPLATE] 17754 instantiate the configuration file FILE 17755 --header=FILE[:TEMPLATE] 17756 instantiate the configuration header FILE 17757 17758Configuration files: 17759$config_files 17760 17761Configuration headers: 17762$config_headers 17763 17764Configuration commands: 17765$config_commands 17766 17767Report bugs to <https://bugzilla.xfce.org/enter_bug.cgi?product=Xfce4-notifyd>." 17768 17769_ACEOF 17770cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17771ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 17772ac_cs_version="\\ 17773xfce4-notifyd config.status 0.6.2 17774configured by $0, generated by GNU Autoconf 2.69, 17775 with options \\"\$ac_cs_config\\" 17776 17777Copyright (C) 2012 Free Software Foundation, Inc. 17778This config.status script is free software; the Free Software Foundation 17779gives unlimited permission to copy, distribute and modify it." 17780 17781ac_pwd='$ac_pwd' 17782srcdir='$srcdir' 17783INSTALL='$INSTALL' 17784MKDIR_P='$MKDIR_P' 17785AWK='$AWK' 17786test -n "\$AWK" || AWK=awk 17787_ACEOF 17788 17789cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17790# The default lists apply if the user does not specify any file. 17791ac_need_defaults=: 17792while test $# != 0 17793do 17794 case $1 in 17795 --*=?*) 17796 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17797 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 17798 ac_shift=: 17799 ;; 17800 --*=) 17801 ac_option=`expr "X$1" : 'X\([^=]*\)='` 17802 ac_optarg= 17803 ac_shift=: 17804 ;; 17805 *) 17806 ac_option=$1 17807 ac_optarg=$2 17808 ac_shift=shift 17809 ;; 17810 esac 17811 17812 case $ac_option in 17813 # Handling of the options. 17814 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 17815 ac_cs_recheck=: ;; 17816 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 17817 $as_echo "$ac_cs_version"; exit ;; 17818 --config | --confi | --conf | --con | --co | --c ) 17819 $as_echo "$ac_cs_config"; exit ;; 17820 --debug | --debu | --deb | --de | --d | -d ) 17821 debug=: ;; 17822 --file | --fil | --fi | --f ) 17823 $ac_shift 17824 case $ac_optarg in 17825 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17826 '') as_fn_error $? "missing file argument" ;; 17827 esac 17828 as_fn_append CONFIG_FILES " '$ac_optarg'" 17829 ac_need_defaults=false;; 17830 --header | --heade | --head | --hea ) 17831 $ac_shift 17832 case $ac_optarg in 17833 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 17834 esac 17835 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 17836 ac_need_defaults=false;; 17837 --he | --h) 17838 # Conflict between --help and --header 17839 as_fn_error $? "ambiguous option: \`$1' 17840Try \`$0 --help' for more information.";; 17841 --help | --hel | -h ) 17842 $as_echo "$ac_cs_usage"; exit ;; 17843 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 17844 | -silent | --silent | --silen | --sile | --sil | --si | --s) 17845 ac_cs_silent=: ;; 17846 17847 # This is an error. 17848 -*) as_fn_error $? "unrecognized option: \`$1' 17849Try \`$0 --help' for more information." ;; 17850 17851 *) as_fn_append ac_config_targets " $1" 17852 ac_need_defaults=false ;; 17853 17854 esac 17855 shift 17856done 17857 17858ac_configure_extra_args= 17859 17860if $ac_cs_silent; then 17861 exec 6>/dev/null 17862 ac_configure_extra_args="$ac_configure_extra_args --silent" 17863fi 17864 17865_ACEOF 17866cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17867if \$ac_cs_recheck; then 17868 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 17869 shift 17870 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 17871 CONFIG_SHELL='$SHELL' 17872 export CONFIG_SHELL 17873 exec "\$@" 17874fi 17875 17876_ACEOF 17877cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 17878exec 5>>config.log 17879{ 17880 echo 17881 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 17882## Running $as_me. ## 17883_ASBOX 17884 $as_echo "$ac_log" 17885} >&5 17886 17887_ACEOF 17888cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 17889# 17890# INIT-COMMANDS 17891# 17892AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 17893 17894 17895# The HP-UX ksh and POSIX shell print the target directory to stdout 17896# if CDPATH is set. 17897(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 17898 17899sed_quote_subst='$sed_quote_subst' 17900double_quote_subst='$double_quote_subst' 17901delay_variable_subst='$delay_variable_subst' 17902SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' 17903Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' 17904GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' 17905EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' 17906FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' 17907SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' 17908ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' 17909LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' 17910macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' 17911macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' 17912enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' 17913enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' 17914pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' 17915enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' 17916shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' 17917PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' 17918host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' 17919host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' 17920host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' 17921build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' 17922build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' 17923build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' 17924NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' 17925LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' 17926max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' 17927ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' 17928exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' 17929lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' 17930lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' 17931lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' 17932lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' 17933lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' 17934reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' 17935reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' 17936OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' 17937deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' 17938file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' 17939file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' 17940want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' 17941DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' 17942sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' 17943AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' 17944AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' 17945archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' 17946STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' 17947RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' 17948old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' 17949old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 17950old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' 17951lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' 17952CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' 17953CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' 17954compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' 17955GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' 17956lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' 17957lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' 17958lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' 17959lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' 17960lt_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"`' 17961lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' 17962nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' 17963lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' 17964lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' 17965objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' 17966MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' 17967lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' 17968lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' 17969lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' 17970lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' 17971lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' 17972need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' 17973MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' 17974DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' 17975NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' 17976LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' 17977OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' 17978OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' 17979libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' 17980shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' 17981extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 17982archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' 17983enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' 17984export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' 17985whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' 17986compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' 17987old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' 17988old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' 17989archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' 17990archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' 17991module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' 17992module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' 17993with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' 17994allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' 17995no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' 17996hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' 17997hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' 17998hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' 17999hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' 18000hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' 18001hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' 18002hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' 18003inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' 18004link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' 18005always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' 18006export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' 18007exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' 18008include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' 18009prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' 18010postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' 18011file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' 18012variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' 18013need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' 18014need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' 18015version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' 18016runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' 18017shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' 18018shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' 18019libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' 18020library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' 18021soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' 18022install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' 18023postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' 18024postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' 18025finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' 18026finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' 18027hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' 18028sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' 18029configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' 18030configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' 18031hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' 18032enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' 18033enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' 18034enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' 18035old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' 18036striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' 18037 18038LTCC='$LTCC' 18039LTCFLAGS='$LTCFLAGS' 18040compiler='$compiler_DEFAULT' 18041 18042# A function that is used when there is no print builtin or printf. 18043func_fallback_echo () 18044{ 18045 eval 'cat <<_LTECHO_EOF 18046\$1 18047_LTECHO_EOF' 18048} 18049 18050# Quote evaled strings. 18051for var in SED \ 18052GREP \ 18053EGREP \ 18054FGREP \ 18055SHELL \ 18056ECHO \ 18057LD \ 18058PATH_SEPARATOR \ 18059NM \ 18060LN_S \ 18061lt_SP2NL \ 18062lt_NL2SP \ 18063reload_flag \ 18064OBJDUMP \ 18065deplibs_check_method \ 18066file_magic_cmd \ 18067file_magic_glob \ 18068want_nocaseglob \ 18069DLLTOOL \ 18070sharedlib_from_linklib_cmd \ 18071AR \ 18072AR_FLAGS \ 18073archiver_list_spec \ 18074STRIP \ 18075RANLIB \ 18076CC \ 18077CFLAGS \ 18078compiler \ 18079lt_cv_sys_global_symbol_pipe \ 18080lt_cv_sys_global_symbol_to_cdecl \ 18081lt_cv_sys_global_symbol_to_import \ 18082lt_cv_sys_global_symbol_to_c_name_address \ 18083lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ 18084lt_cv_nm_interface \ 18085nm_file_list_spec \ 18086lt_cv_truncate_bin \ 18087lt_prog_compiler_no_builtin_flag \ 18088lt_prog_compiler_pic \ 18089lt_prog_compiler_wl \ 18090lt_prog_compiler_static \ 18091lt_cv_prog_compiler_c_o \ 18092need_locks \ 18093MANIFEST_TOOL \ 18094DSYMUTIL \ 18095NMEDIT \ 18096LIPO \ 18097OTOOL \ 18098OTOOL64 \ 18099shrext_cmds \ 18100export_dynamic_flag_spec \ 18101whole_archive_flag_spec \ 18102compiler_needs_object \ 18103with_gnu_ld \ 18104allow_undefined_flag \ 18105no_undefined_flag \ 18106hardcode_libdir_flag_spec \ 18107hardcode_libdir_separator \ 18108exclude_expsyms \ 18109include_expsyms \ 18110file_list_spec \ 18111variables_saved_for_relink \ 18112libname_spec \ 18113library_names_spec \ 18114soname_spec \ 18115install_override_mode \ 18116finish_eval \ 18117old_striplib \ 18118striplib; do 18119 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 18120 *[\\\\\\\`\\"\\\$]*) 18121 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 18122 ;; 18123 *) 18124 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 18125 ;; 18126 esac 18127done 18128 18129# Double-quote double-evaled strings. 18130for var in reload_cmds \ 18131old_postinstall_cmds \ 18132old_postuninstall_cmds \ 18133old_archive_cmds \ 18134extract_expsyms_cmds \ 18135old_archive_from_new_cmds \ 18136old_archive_from_expsyms_cmds \ 18137archive_cmds \ 18138archive_expsym_cmds \ 18139module_cmds \ 18140module_expsym_cmds \ 18141export_symbols_cmds \ 18142prelink_cmds \ 18143postlink_cmds \ 18144postinstall_cmds \ 18145postuninstall_cmds \ 18146finish_cmds \ 18147sys_lib_search_path_spec \ 18148configure_time_dlsearch_path \ 18149configure_time_lt_sys_library_path; do 18150 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in 18151 *[\\\\\\\`\\"\\\$]*) 18152 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes 18153 ;; 18154 *) 18155 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" 18156 ;; 18157 esac 18158done 18159 18160ac_aux_dir='$ac_aux_dir' 18161 18162# See if we are running on zsh, and set the options that allow our 18163# commands through without removal of \ escapes INIT. 18164if test -n "\${ZSH_VERSION+set}"; then 18165 setopt NO_GLOB_SUBST 18166fi 18167 18168 18169 PACKAGE='$PACKAGE' 18170 VERSION='$VERSION' 18171 RM='$RM' 18172 ofile='$ofile' 18173 18174 18175 18176 18177 18178_ACEOF 18179 18180cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18181 18182# Handling of arguments. 18183for ac_config_target in $ac_config_targets 18184do 18185 case $ac_config_target in 18186 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 18187 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 18188 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; 18189 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 18190 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 18191 "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;; 18192 "icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/16x16/Makefile" ;; 18193 "icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/48x48/Makefile" ;; 18194 "icons/128x128/Makefile") CONFIG_FILES="$CONFIG_FILES icons/128x128/Makefile" ;; 18195 "icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/scalable/Makefile" ;; 18196 "icons/symbolic/Makefile") CONFIG_FILES="$CONFIG_FILES icons/symbolic/Makefile" ;; 18197 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;; 18198 "panel-plugin/Makefile") CONFIG_FILES="$CONFIG_FILES panel-plugin/Makefile" ;; 18199 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 18200 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 18201 18202 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 18203 esac 18204done 18205 18206 18207# If the user did not use the arguments to specify the items to instantiate, 18208# then the envvar interface is used. Set only those that are not. 18209# We use the long form for the default assignment because of an extremely 18210# bizarre bug on SunOS 4.1.3. 18211if $ac_need_defaults; then 18212 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 18213 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 18214 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 18215fi 18216 18217# Have a temporary directory for convenience. Make it in the build tree 18218# simply because there is no reason against having it here, and in addition, 18219# creating and moving files from /tmp can sometimes cause problems. 18220# Hook for its removal unless debugging. 18221# Note that there is a small window in which the directory will not be cleaned: 18222# after its creation but before its name has been assigned to `$tmp'. 18223$debug || 18224{ 18225 tmp= ac_tmp= 18226 trap 'exit_status=$? 18227 : "${ac_tmp:=$tmp}" 18228 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 18229' 0 18230 trap 'as_fn_exit 1' 1 2 13 15 18231} 18232# Create a (secure) tmp directory for tmp files. 18233 18234{ 18235 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 18236 test -d "$tmp" 18237} || 18238{ 18239 tmp=./conf$$-$RANDOM 18240 (umask 077 && mkdir "$tmp") 18241} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 18242ac_tmp=$tmp 18243 18244# Set up the scripts for CONFIG_FILES section. 18245# No need to generate them if there are no CONFIG_FILES. 18246# This happens for instance with `./config.status config.h'. 18247if test -n "$CONFIG_FILES"; then 18248 18249 18250ac_cr=`echo X | tr X '\015'` 18251# On cygwin, bash can eat \r inside `` if the user requested igncr. 18252# But we know of no other shell where ac_cr would be empty at this 18253# point, so we can use a bashism as a fallback. 18254if test "x$ac_cr" = x; then 18255 eval ac_cr=\$\'\\r\' 18256fi 18257ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 18258if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 18259 ac_cs_awk_cr='\\r' 18260else 18261 ac_cs_awk_cr=$ac_cr 18262fi 18263 18264echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 18265_ACEOF 18266 18267 18268{ 18269 echo "cat >conf$$subs.awk <<_ACEOF" && 18270 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 18271 echo "_ACEOF" 18272} >conf$$subs.sh || 18273 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18274ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 18275ac_delim='%!_!# ' 18276for ac_last_try in false false false false false :; do 18277 . ./conf$$subs.sh || 18278 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18279 18280 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 18281 if test $ac_delim_n = $ac_delim_num; then 18282 break 18283 elif $ac_last_try; then 18284 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 18285 else 18286 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 18287 fi 18288done 18289rm -f conf$$subs.sh 18290 18291cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18292cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 18293_ACEOF 18294sed -n ' 18295h 18296s/^/S["/; s/!.*/"]=/ 18297p 18298g 18299s/^[^!]*!// 18300:repl 18301t repl 18302s/'"$ac_delim"'$// 18303t delim 18304:nl 18305h 18306s/\(.\{148\}\)..*/\1/ 18307t more1 18308s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 18309p 18310n 18311b repl 18312:more1 18313s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 18314p 18315g 18316s/.\{148\}// 18317t nl 18318:delim 18319h 18320s/\(.\{148\}\)..*/\1/ 18321t more2 18322s/["\\]/\\&/g; s/^/"/; s/$/"/ 18323p 18324b 18325:more2 18326s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 18327p 18328g 18329s/.\{148\}// 18330t delim 18331' <conf$$subs.awk | sed ' 18332/^[^""]/{ 18333 N 18334 s/\n// 18335} 18336' >>$CONFIG_STATUS || ac_write_fail=1 18337rm -f conf$$subs.awk 18338cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18339_ACAWK 18340cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 18341 for (key in S) S_is_set[key] = 1 18342 FS = "" 18343 18344} 18345{ 18346 line = $ 0 18347 nfields = split(line, field, "@") 18348 substed = 0 18349 len = length(field[1]) 18350 for (i = 2; i < nfields; i++) { 18351 key = field[i] 18352 keylen = length(key) 18353 if (S_is_set[key]) { 18354 value = S[key] 18355 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 18356 len += length(value) + length(field[++i]) 18357 substed = 1 18358 } else 18359 len += 1 + keylen 18360 } 18361 18362 print line 18363} 18364 18365_ACAWK 18366_ACEOF 18367cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18368if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 18369 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 18370else 18371 cat 18372fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 18373 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 18374_ACEOF 18375 18376# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 18377# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 18378# trailing colons and then remove the whole line if VPATH becomes empty 18379# (actually we leave an empty line to preserve line numbers). 18380if test "x$srcdir" = x.; then 18381 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 18382h 18383s/// 18384s/^/:/ 18385s/[ ]*$/:/ 18386s/:\$(srcdir):/:/g 18387s/:\${srcdir}:/:/g 18388s/:@srcdir@:/:/g 18389s/^:*// 18390s/:*$// 18391x 18392s/\(=[ ]*\).*/\1/ 18393G 18394s/\n// 18395s/^[^=]*=[ ]*$// 18396}' 18397fi 18398 18399cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18400fi # test -n "$CONFIG_FILES" 18401 18402# Set up the scripts for CONFIG_HEADERS section. 18403# No need to generate them if there are no CONFIG_HEADERS. 18404# This happens for instance with `./config.status Makefile'. 18405if test -n "$CONFIG_HEADERS"; then 18406cat >"$ac_tmp/defines.awk" <<\_ACAWK || 18407BEGIN { 18408_ACEOF 18409 18410# Transform confdefs.h into an awk script `defines.awk', embedded as 18411# here-document in config.status, that substitutes the proper values into 18412# config.h.in to produce config.h. 18413 18414# Create a delimiter string that does not exist in confdefs.h, to ease 18415# handling of long lines. 18416ac_delim='%!_!# ' 18417for ac_last_try in false false :; do 18418 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 18419 if test -z "$ac_tt"; then 18420 break 18421 elif $ac_last_try; then 18422 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 18423 else 18424 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 18425 fi 18426done 18427 18428# For the awk script, D is an array of macro values keyed by name, 18429# likewise P contains macro parameters if any. Preserve backslash 18430# newline sequences. 18431 18432ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 18433sed -n ' 18434s/.\{148\}/&'"$ac_delim"'/g 18435t rset 18436:rset 18437s/^[ ]*#[ ]*define[ ][ ]*/ / 18438t def 18439d 18440:def 18441s/\\$// 18442t bsnl 18443s/["\\]/\\&/g 18444s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 18445D["\1"]=" \3"/p 18446s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 18447d 18448:bsnl 18449s/["\\]/\\&/g 18450s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 18451D["\1"]=" \3\\\\\\n"\\/p 18452t cont 18453s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 18454t cont 18455d 18456:cont 18457n 18458s/.\{148\}/&'"$ac_delim"'/g 18459t clear 18460:clear 18461s/\\$// 18462t bsnlc 18463s/["\\]/\\&/g; s/^/"/; s/$/"/p 18464d 18465:bsnlc 18466s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 18467b cont 18468' <confdefs.h | sed ' 18469s/'"$ac_delim"'/"\\\ 18470"/g' >>$CONFIG_STATUS || ac_write_fail=1 18471 18472cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18473 for (key in D) D_is_set[key] = 1 18474 FS = "" 18475} 18476/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 18477 line = \$ 0 18478 split(line, arg, " ") 18479 if (arg[1] == "#") { 18480 defundef = arg[2] 18481 mac1 = arg[3] 18482 } else { 18483 defundef = substr(arg[1], 2) 18484 mac1 = arg[2] 18485 } 18486 split(mac1, mac2, "(") #) 18487 macro = mac2[1] 18488 prefix = substr(line, 1, index(line, defundef) - 1) 18489 if (D_is_set[macro]) { 18490 # Preserve the white space surrounding the "#". 18491 print prefix "define", macro P[macro] D[macro] 18492 next 18493 } else { 18494 # Replace #undef with comments. This is necessary, for example, 18495 # in the case of _POSIX_SOURCE, which is predefined and required 18496 # on some systems where configure will not decide to define it. 18497 if (defundef == "undef") { 18498 print "/*", prefix defundef, macro, "*/" 18499 next 18500 } 18501 } 18502} 18503{ print } 18504_ACAWK 18505_ACEOF 18506cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18507 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 18508fi # test -n "$CONFIG_HEADERS" 18509 18510 18511eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 18512shift 18513for ac_tag 18514do 18515 case $ac_tag in 18516 :[FHLC]) ac_mode=$ac_tag; continue;; 18517 esac 18518 case $ac_mode$ac_tag in 18519 :[FHL]*:*);; 18520 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 18521 :[FH]-) ac_tag=-:-;; 18522 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 18523 esac 18524 ac_save_IFS=$IFS 18525 IFS=: 18526 set x $ac_tag 18527 IFS=$ac_save_IFS 18528 shift 18529 ac_file=$1 18530 shift 18531 18532 case $ac_mode in 18533 :L) ac_source=$1;; 18534 :[FH]) 18535 ac_file_inputs= 18536 for ac_f 18537 do 18538 case $ac_f in 18539 -) ac_f="$ac_tmp/stdin";; 18540 *) # Look for the file first in the build tree, then in the source tree 18541 # (if the path is not absolute). The absolute path cannot be DOS-style, 18542 # because $ac_f cannot contain `:'. 18543 test -f "$ac_f" || 18544 case $ac_f in 18545 [\\/$]*) false;; 18546 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 18547 esac || 18548 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 18549 esac 18550 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 18551 as_fn_append ac_file_inputs " '$ac_f'" 18552 done 18553 18554 # Let's still pretend it is `configure' which instantiates (i.e., don't 18555 # use $as_me), people would be surprised to read: 18556 # /* config.h. Generated by config.status. */ 18557 configure_input='Generated from '` 18558 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 18559 `' by configure.' 18560 if test x"$ac_file" != x-; then 18561 configure_input="$ac_file. $configure_input" 18562 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 18563$as_echo "$as_me: creating $ac_file" >&6;} 18564 fi 18565 # Neutralize special characters interpreted by sed in replacement strings. 18566 case $configure_input in #( 18567 *\&* | *\|* | *\\* ) 18568 ac_sed_conf_input=`$as_echo "$configure_input" | 18569 sed 's/[\\\\&|]/\\\\&/g'`;; #( 18570 *) ac_sed_conf_input=$configure_input;; 18571 esac 18572 18573 case $ac_tag in 18574 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 18575 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 18576 esac 18577 ;; 18578 esac 18579 18580 ac_dir=`$as_dirname -- "$ac_file" || 18581$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18582 X"$ac_file" : 'X\(//\)[^/]' \| \ 18583 X"$ac_file" : 'X\(//\)$' \| \ 18584 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 18585$as_echo X"$ac_file" | 18586 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18587 s//\1/ 18588 q 18589 } 18590 /^X\(\/\/\)[^/].*/{ 18591 s//\1/ 18592 q 18593 } 18594 /^X\(\/\/\)$/{ 18595 s//\1/ 18596 q 18597 } 18598 /^X\(\/\).*/{ 18599 s//\1/ 18600 q 18601 } 18602 s/.*/./; q'` 18603 as_dir="$ac_dir"; as_fn_mkdir_p 18604 ac_builddir=. 18605 18606case "$ac_dir" in 18607.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 18608*) 18609 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 18610 # A ".." for each directory in $ac_dir_suffix. 18611 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 18612 case $ac_top_builddir_sub in 18613 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 18614 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 18615 esac ;; 18616esac 18617ac_abs_top_builddir=$ac_pwd 18618ac_abs_builddir=$ac_pwd$ac_dir_suffix 18619# for backward compatibility: 18620ac_top_builddir=$ac_top_build_prefix 18621 18622case $srcdir in 18623 .) # We are building in place. 18624 ac_srcdir=. 18625 ac_top_srcdir=$ac_top_builddir_sub 18626 ac_abs_top_srcdir=$ac_pwd ;; 18627 [\\/]* | ?:[\\/]* ) # Absolute name. 18628 ac_srcdir=$srcdir$ac_dir_suffix; 18629 ac_top_srcdir=$srcdir 18630 ac_abs_top_srcdir=$srcdir ;; 18631 *) # Relative name. 18632 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 18633 ac_top_srcdir=$ac_top_build_prefix$srcdir 18634 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 18635esac 18636ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 18637 18638 18639 case $ac_mode in 18640 :F) 18641 # 18642 # CONFIG_FILE 18643 # 18644 18645 case $INSTALL in 18646 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 18647 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 18648 esac 18649 ac_MKDIR_P=$MKDIR_P 18650 case $MKDIR_P in 18651 [\\/$]* | ?:[\\/]* ) ;; 18652 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 18653 esac 18654_ACEOF 18655 18656cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18657# If the template does not know about datarootdir, expand it. 18658# FIXME: This hack should be removed a few years after 2.60. 18659ac_datarootdir_hack=; ac_datarootdir_seen= 18660ac_sed_dataroot=' 18661/datarootdir/ { 18662 p 18663 q 18664} 18665/@datadir@/p 18666/@docdir@/p 18667/@infodir@/p 18668/@localedir@/p 18669/@mandir@/p' 18670case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 18671*datarootdir*) ac_datarootdir_seen=yes;; 18672*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 18673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 18674$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 18675_ACEOF 18676cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18677 ac_datarootdir_hack=' 18678 s&@datadir@&$datadir&g 18679 s&@docdir@&$docdir&g 18680 s&@infodir@&$infodir&g 18681 s&@localedir@&$localedir&g 18682 s&@mandir@&$mandir&g 18683 s&\\\${datarootdir}&$datarootdir&g' ;; 18684esac 18685_ACEOF 18686 18687# Neutralize VPATH when `$srcdir' = `.'. 18688# Shell code in configure.ac might set extrasub. 18689# FIXME: do we really want to maintain this feature? 18690cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 18691ac_sed_extra="$ac_vpsub 18692$extrasub 18693_ACEOF 18694cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 18695:t 18696/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 18697s|@configure_input@|$ac_sed_conf_input|;t t 18698s&@top_builddir@&$ac_top_builddir_sub&;t t 18699s&@top_build_prefix@&$ac_top_build_prefix&;t t 18700s&@srcdir@&$ac_srcdir&;t t 18701s&@abs_srcdir@&$ac_abs_srcdir&;t t 18702s&@top_srcdir@&$ac_top_srcdir&;t t 18703s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 18704s&@builddir@&$ac_builddir&;t t 18705s&@abs_builddir@&$ac_abs_builddir&;t t 18706s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 18707s&@INSTALL@&$ac_INSTALL&;t t 18708s&@MKDIR_P@&$ac_MKDIR_P&;t t 18709$ac_datarootdir_hack 18710" 18711eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 18712 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18713 18714test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 18715 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 18716 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 18717 "$ac_tmp/out"`; test -z "$ac_out"; } && 18718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18719which seems to be undefined. Please make sure it is defined" >&5 18720$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 18721which seems to be undefined. Please make sure it is defined" >&2;} 18722 18723 rm -f "$ac_tmp/stdin" 18724 case $ac_file in 18725 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 18726 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 18727 esac \ 18728 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18729 ;; 18730 :H) 18731 # 18732 # CONFIG_HEADER 18733 # 18734 if test x"$ac_file" != x-; then 18735 { 18736 $as_echo "/* $configure_input */" \ 18737 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 18738 } >"$ac_tmp/config.h" \ 18739 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18740 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 18741 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 18742$as_echo "$as_me: $ac_file is unchanged" >&6;} 18743 else 18744 rm -f "$ac_file" 18745 mv "$ac_tmp/config.h" "$ac_file" \ 18746 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 18747 fi 18748 else 18749 $as_echo "/* $configure_input */" \ 18750 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 18751 || as_fn_error $? "could not create -" "$LINENO" 5 18752 fi 18753# Compute "$ac_file"'s index in $config_headers. 18754_am_arg="$ac_file" 18755_am_stamp_count=1 18756for _am_header in $config_headers :; do 18757 case $_am_header in 18758 $_am_arg | $_am_arg:* ) 18759 break ;; 18760 * ) 18761 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 18762 esac 18763done 18764echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 18765$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18766 X"$_am_arg" : 'X\(//\)[^/]' \| \ 18767 X"$_am_arg" : 'X\(//\)$' \| \ 18768 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 18769$as_echo X"$_am_arg" | 18770 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18771 s//\1/ 18772 q 18773 } 18774 /^X\(\/\/\)[^/].*/{ 18775 s//\1/ 18776 q 18777 } 18778 /^X\(\/\/\)$/{ 18779 s//\1/ 18780 q 18781 } 18782 /^X\(\/\).*/{ 18783 s//\1/ 18784 q 18785 } 18786 s/.*/./; q'`/stamp-h$_am_stamp_count 18787 ;; 18788 18789 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 18790$as_echo "$as_me: executing $ac_file commands" >&6;} 18791 ;; 18792 esac 18793 18794 18795 case $ac_file$ac_mode in 18796 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 18797 # Older Autoconf quotes --file arguments for eval, but not when files 18798 # are listed without --file. Let's play safe and only enable the eval 18799 # if we detect the quoting. 18800 # TODO: see whether this extra hack can be removed once we start 18801 # requiring Autoconf 2.70 or later. 18802 case $CONFIG_FILES in #( 18803 *\'*) : 18804 eval set x "$CONFIG_FILES" ;; #( 18805 *) : 18806 set x $CONFIG_FILES ;; #( 18807 *) : 18808 ;; 18809esac 18810 shift 18811 # Used to flag and report bootstrapping failures. 18812 am_rc=0 18813 for am_mf 18814 do 18815 # Strip MF so we end up with the name of the file. 18816 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'` 18817 # Check whether this is an Automake generated Makefile which includes 18818 # dependency-tracking related rules and includes. 18819 # Grep'ing the whole file directly is not great: AIX grep has a line 18820 # limit of 2048, but all sed's we know have understand at least 4000. 18821 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 18822 || continue 18823 am_dirpart=`$as_dirname -- "$am_mf" || 18824$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 18825 X"$am_mf" : 'X\(//\)[^/]' \| \ 18826 X"$am_mf" : 'X\(//\)$' \| \ 18827 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 18828$as_echo X"$am_mf" | 18829 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 18830 s//\1/ 18831 q 18832 } 18833 /^X\(\/\/\)[^/].*/{ 18834 s//\1/ 18835 q 18836 } 18837 /^X\(\/\/\)$/{ 18838 s//\1/ 18839 q 18840 } 18841 /^X\(\/\).*/{ 18842 s//\1/ 18843 q 18844 } 18845 s/.*/./; q'` 18846 am_filepart=`$as_basename -- "$am_mf" || 18847$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 18848 X"$am_mf" : 'X\(//\)$' \| \ 18849 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 18850$as_echo X/"$am_mf" | 18851 sed '/^.*\/\([^/][^/]*\)\/*$/{ 18852 s//\1/ 18853 q 18854 } 18855 /^X\/\(\/\/\)$/{ 18856 s//\1/ 18857 q 18858 } 18859 /^X\/\(\/\).*/{ 18860 s//\1/ 18861 q 18862 } 18863 s/.*/./; q'` 18864 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 18865 && sed -e '/# am--include-marker/d' "$am_filepart" \ 18866 | $MAKE -f - am--depfiles" >&5 18867 (cd "$am_dirpart" \ 18868 && sed -e '/# am--include-marker/d' "$am_filepart" \ 18869 | $MAKE -f - am--depfiles) >&5 2>&5 18870 ac_status=$? 18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5 18872 (exit $ac_status); } || am_rc=$? 18873 done 18874 if test $am_rc -ne 0; then 18875 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 18876$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 18877as_fn_error $? "Something went wrong bootstrapping makefile fragments 18878 for automatic dependency tracking. Try re-running configure with the 18879 '--disable-dependency-tracking' option to at least be able to build 18880 the package (albeit without support for automatic dependency tracking). 18881See \`config.log' for more details" "$LINENO" 5; } 18882 fi 18883 { am_dirpart=; unset am_dirpart;} 18884 { am_filepart=; unset am_filepart;} 18885 { am_mf=; unset am_mf;} 18886 { am_rc=; unset am_rc;} 18887 rm -f conftest-deps.mk 18888} 18889 ;; 18890 "libtool":C) 18891 18892 # See if we are running on zsh, and set the options that allow our 18893 # commands through without removal of \ escapes. 18894 if test -n "${ZSH_VERSION+set}"; then 18895 setopt NO_GLOB_SUBST 18896 fi 18897 18898 cfgfile=${ofile}T 18899 trap "$RM \"$cfgfile\"; exit 1" 1 2 15 18900 $RM "$cfgfile" 18901 18902 cat <<_LT_EOF >> "$cfgfile" 18903#! $SHELL 18904# Generated automatically by $as_me ($PACKAGE) $VERSION 18905# NOTE: Changes made to this file will be lost: look at ltmain.sh. 18906 18907# Provide generalized library-building support services. 18908# Written by Gordon Matzigkeit, 1996 18909 18910# Copyright (C) 2014 Free Software Foundation, Inc. 18911# This is free software; see the source for copying conditions. There is NO 18912# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 18913 18914# GNU Libtool is free software; you can redistribute it and/or modify 18915# it under the terms of the GNU General Public License as published by 18916# the Free Software Foundation; either version 2 of of the License, or 18917# (at your option) any later version. 18918# 18919# As a special exception to the GNU General Public License, if you 18920# distribute this file as part of a program or library that is built 18921# using GNU Libtool, you may include this file under the same 18922# distribution terms that you use for the rest of that program. 18923# 18924# GNU Libtool is distributed in the hope that it will be useful, but 18925# WITHOUT ANY WARRANTY; without even the implied warranty of 18926# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18927# GNU General Public License for more details. 18928# 18929# You should have received a copy of the GNU General Public License 18930# along with this program. If not, see <http://www.gnu.org/licenses/>. 18931 18932 18933# The names of the tagged configurations supported by this script. 18934available_tags='' 18935 18936# Configured defaults for sys_lib_dlsearch_path munging. 18937: \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} 18938 18939# ### BEGIN LIBTOOL CONFIG 18940 18941# A sed program that does not truncate output. 18942SED=$lt_SED 18943 18944# Sed that helps us avoid accidentally triggering echo(1) options like -n. 18945Xsed="\$SED -e 1s/^X//" 18946 18947# A grep program that handles long lines. 18948GREP=$lt_GREP 18949 18950# An ERE matcher. 18951EGREP=$lt_EGREP 18952 18953# A literal string matcher. 18954FGREP=$lt_FGREP 18955 18956# Shell to use when invoking shell scripts. 18957SHELL=$lt_SHELL 18958 18959# An echo program that protects backslashes. 18960ECHO=$lt_ECHO 18961 18962# Which release of libtool.m4 was used? 18963macro_version=$macro_version 18964macro_revision=$macro_revision 18965 18966# Whether or not to build static libraries. 18967build_old_libs=$enable_static 18968 18969# Whether or not to build shared libraries. 18970build_libtool_libs=$enable_shared 18971 18972# What type of objects to build. 18973pic_mode=$pic_mode 18974 18975# Whether or not to optimize for fast installation. 18976fast_install=$enable_fast_install 18977 18978# Shared archive member basename,for filename based shared library versioning on AIX. 18979shared_archive_member_spec=$shared_archive_member_spec 18980 18981# The PATH separator for the build system. 18982PATH_SEPARATOR=$lt_PATH_SEPARATOR 18983 18984# The host system. 18985host_alias=$host_alias 18986host=$host 18987host_os=$host_os 18988 18989# The build system. 18990build_alias=$build_alias 18991build=$build 18992build_os=$build_os 18993 18994# A BSD- or MS-compatible name lister. 18995NM=$lt_NM 18996 18997# Whether we need soft or hard links. 18998LN_S=$lt_LN_S 18999 19000# What is the maximum length of a command? 19001max_cmd_len=$max_cmd_len 19002 19003# Object file suffix (normally "o"). 19004objext=$ac_objext 19005 19006# Executable file suffix (normally ""). 19007exeext=$exeext 19008 19009# whether the shell understands "unset". 19010lt_unset=$lt_unset 19011 19012# turn spaces into newlines. 19013SP2NL=$lt_lt_SP2NL 19014 19015# turn newlines into spaces. 19016NL2SP=$lt_lt_NL2SP 19017 19018# convert \$build file names to \$host format. 19019to_host_file_cmd=$lt_cv_to_host_file_cmd 19020 19021# convert \$build files to toolchain format. 19022to_tool_file_cmd=$lt_cv_to_tool_file_cmd 19023 19024# An object symbol dumper. 19025OBJDUMP=$lt_OBJDUMP 19026 19027# Method to check whether dependent libraries are shared objects. 19028deplibs_check_method=$lt_deplibs_check_method 19029 19030# Command to use when deplibs_check_method = "file_magic". 19031file_magic_cmd=$lt_file_magic_cmd 19032 19033# How to find potential files when deplibs_check_method = "file_magic". 19034file_magic_glob=$lt_file_magic_glob 19035 19036# Find potential files using nocaseglob when deplibs_check_method = "file_magic". 19037want_nocaseglob=$lt_want_nocaseglob 19038 19039# DLL creation program. 19040DLLTOOL=$lt_DLLTOOL 19041 19042# Command to associate shared and link libraries. 19043sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd 19044 19045# The archiver. 19046AR=$lt_AR 19047 19048# Flags to create an archive. 19049AR_FLAGS=$lt_AR_FLAGS 19050 19051# How to feed a file listing to the archiver. 19052archiver_list_spec=$lt_archiver_list_spec 19053 19054# A symbol stripping program. 19055STRIP=$lt_STRIP 19056 19057# Commands used to install an old-style archive. 19058RANLIB=$lt_RANLIB 19059old_postinstall_cmds=$lt_old_postinstall_cmds 19060old_postuninstall_cmds=$lt_old_postuninstall_cmds 19061 19062# Whether to use a lock for old archive extraction. 19063lock_old_archive_extraction=$lock_old_archive_extraction 19064 19065# A C compiler. 19066LTCC=$lt_CC 19067 19068# LTCC compiler flags. 19069LTCFLAGS=$lt_CFLAGS 19070 19071# Take the output of nm and produce a listing of raw symbols and C names. 19072global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe 19073 19074# Transform the output of nm in a proper C declaration. 19075global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl 19076 19077# Transform the output of nm into a list of symbols to manually relocate. 19078global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import 19079 19080# Transform the output of nm in a C name address pair. 19081global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address 19082 19083# Transform the output of nm in a C name address pair when lib prefix is needed. 19084global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix 19085 19086# The name lister interface. 19087nm_interface=$lt_lt_cv_nm_interface 19088 19089# Specify filename containing input files for \$NM. 19090nm_file_list_spec=$lt_nm_file_list_spec 19091 19092# The root where to search for dependent libraries,and where our libraries should be installed. 19093lt_sysroot=$lt_sysroot 19094 19095# Command to truncate a binary pipe. 19096lt_truncate_bin=$lt_lt_cv_truncate_bin 19097 19098# The name of the directory that contains temporary libtool files. 19099objdir=$objdir 19100 19101# Used to examine libraries when file_magic_cmd begins with "file". 19102MAGIC_CMD=$MAGIC_CMD 19103 19104# Must we lock files when doing compilation? 19105need_locks=$lt_need_locks 19106 19107# Manifest tool. 19108MANIFEST_TOOL=$lt_MANIFEST_TOOL 19109 19110# Tool to manipulate archived DWARF debug symbol files on Mac OS X. 19111DSYMUTIL=$lt_DSYMUTIL 19112 19113# Tool to change global to local symbols on Mac OS X. 19114NMEDIT=$lt_NMEDIT 19115 19116# Tool to manipulate fat objects and archives on Mac OS X. 19117LIPO=$lt_LIPO 19118 19119# ldd/readelf like tool for Mach-O binaries on Mac OS X. 19120OTOOL=$lt_OTOOL 19121 19122# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. 19123OTOOL64=$lt_OTOOL64 19124 19125# Old archive suffix (normally "a"). 19126libext=$libext 19127 19128# Shared library suffix (normally ".so"). 19129shrext_cmds=$lt_shrext_cmds 19130 19131# The commands to extract the exported symbol list from a shared archive. 19132extract_expsyms_cmds=$lt_extract_expsyms_cmds 19133 19134# Variables whose values should be saved in libtool wrapper scripts and 19135# restored at link time. 19136variables_saved_for_relink=$lt_variables_saved_for_relink 19137 19138# Do we need the "lib" prefix for modules? 19139need_lib_prefix=$need_lib_prefix 19140 19141# Do we need a version for libraries? 19142need_version=$need_version 19143 19144# Library versioning type. 19145version_type=$version_type 19146 19147# Shared library runtime path variable. 19148runpath_var=$runpath_var 19149 19150# Shared library path variable. 19151shlibpath_var=$shlibpath_var 19152 19153# Is shlibpath searched before the hard-coded library search path? 19154shlibpath_overrides_runpath=$shlibpath_overrides_runpath 19155 19156# Format of library name prefix. 19157libname_spec=$lt_libname_spec 19158 19159# List of archive names. First name is the real one, the rest are links. 19160# The last name is the one that the linker finds with -lNAME 19161library_names_spec=$lt_library_names_spec 19162 19163# The coded name of the library, if different from the real name. 19164soname_spec=$lt_soname_spec 19165 19166# Permission mode override for installation of shared libraries. 19167install_override_mode=$lt_install_override_mode 19168 19169# Command to use after installation of a shared archive. 19170postinstall_cmds=$lt_postinstall_cmds 19171 19172# Command to use after uninstallation of a shared archive. 19173postuninstall_cmds=$lt_postuninstall_cmds 19174 19175# Commands used to finish a libtool library installation in a directory. 19176finish_cmds=$lt_finish_cmds 19177 19178# As "finish_cmds", except a single script fragment to be evaled but 19179# not shown. 19180finish_eval=$lt_finish_eval 19181 19182# Whether we should hardcode library paths into libraries. 19183hardcode_into_libs=$hardcode_into_libs 19184 19185# Compile-time system search path for libraries. 19186sys_lib_search_path_spec=$lt_sys_lib_search_path_spec 19187 19188# Detected run-time system search path for libraries. 19189sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path 19190 19191# Explicit LT_SYS_LIBRARY_PATH set during ./configure time. 19192configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path 19193 19194# Whether dlopen is supported. 19195dlopen_support=$enable_dlopen 19196 19197# Whether dlopen of programs is supported. 19198dlopen_self=$enable_dlopen_self 19199 19200# Whether dlopen of statically linked programs is supported. 19201dlopen_self_static=$enable_dlopen_self_static 19202 19203# Commands to strip libraries. 19204old_striplib=$lt_old_striplib 19205striplib=$lt_striplib 19206 19207 19208# The linker used to build libraries. 19209LD=$lt_LD 19210 19211# How to create reloadable object files. 19212reload_flag=$lt_reload_flag 19213reload_cmds=$lt_reload_cmds 19214 19215# Commands used to build an old-style archive. 19216old_archive_cmds=$lt_old_archive_cmds 19217 19218# A language specific compiler. 19219CC=$lt_compiler 19220 19221# Is the compiler the GNU compiler? 19222with_gcc=$GCC 19223 19224# Compiler flag to turn off builtin functions. 19225no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag 19226 19227# Additional compiler flags for building library objects. 19228pic_flag=$lt_lt_prog_compiler_pic 19229 19230# How to pass a linker flag through the compiler. 19231wl=$lt_lt_prog_compiler_wl 19232 19233# Compiler flag to prevent dynamic linking. 19234link_static_flag=$lt_lt_prog_compiler_static 19235 19236# Does compiler simultaneously support -c and -o options? 19237compiler_c_o=$lt_lt_cv_prog_compiler_c_o 19238 19239# Whether or not to add -lc for building shared libraries. 19240build_libtool_need_lc=$archive_cmds_need_lc 19241 19242# Whether or not to disallow shared libs when runtime libs are static. 19243allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes 19244 19245# Compiler flag to allow reflexive dlopens. 19246export_dynamic_flag_spec=$lt_export_dynamic_flag_spec 19247 19248# Compiler flag to generate shared objects directly from archives. 19249whole_archive_flag_spec=$lt_whole_archive_flag_spec 19250 19251# Whether the compiler copes with passing no objects directly. 19252compiler_needs_object=$lt_compiler_needs_object 19253 19254# Create an old-style archive from a shared archive. 19255old_archive_from_new_cmds=$lt_old_archive_from_new_cmds 19256 19257# Create a temporary old-style archive to link instead of a shared archive. 19258old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds 19259 19260# Commands used to build a shared archive. 19261archive_cmds=$lt_archive_cmds 19262archive_expsym_cmds=$lt_archive_expsym_cmds 19263 19264# Commands used to build a loadable module if different from building 19265# a shared archive. 19266module_cmds=$lt_module_cmds 19267module_expsym_cmds=$lt_module_expsym_cmds 19268 19269# Whether we are building with GNU ld or not. 19270with_gnu_ld=$lt_with_gnu_ld 19271 19272# Flag that allows shared libraries with undefined symbols to be built. 19273allow_undefined_flag=$lt_allow_undefined_flag 19274 19275# Flag that enforces no undefined symbols. 19276no_undefined_flag=$lt_no_undefined_flag 19277 19278# Flag to hardcode \$libdir into a binary during linking. 19279# This must work even if \$libdir does not exist 19280hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec 19281 19282# Whether we need a single "-rpath" flag with a separated argument. 19283hardcode_libdir_separator=$lt_hardcode_libdir_separator 19284 19285# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 19286# DIR into the resulting binary. 19287hardcode_direct=$hardcode_direct 19288 19289# Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes 19290# DIR into the resulting binary and the resulting library dependency is 19291# "absolute",i.e impossible to change by setting \$shlibpath_var if the 19292# library is relocated. 19293hardcode_direct_absolute=$hardcode_direct_absolute 19294 19295# Set to "yes" if using the -LDIR flag during linking hardcodes DIR 19296# into the resulting binary. 19297hardcode_minus_L=$hardcode_minus_L 19298 19299# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR 19300# into the resulting binary. 19301hardcode_shlibpath_var=$hardcode_shlibpath_var 19302 19303# Set to "yes" if building a shared library automatically hardcodes DIR 19304# into the library and all subsequent libraries and executables linked 19305# against it. 19306hardcode_automatic=$hardcode_automatic 19307 19308# Set to yes if linker adds runtime paths of dependent libraries 19309# to runtime path list. 19310inherit_rpath=$inherit_rpath 19311 19312# Whether libtool must link a program against all its dependency libraries. 19313link_all_deplibs=$link_all_deplibs 19314 19315# Set to "yes" if exported symbols are required. 19316always_export_symbols=$always_export_symbols 19317 19318# The commands to list exported symbols. 19319export_symbols_cmds=$lt_export_symbols_cmds 19320 19321# Symbols that should not be listed in the preloaded symbols. 19322exclude_expsyms=$lt_exclude_expsyms 19323 19324# Symbols that must always be exported. 19325include_expsyms=$lt_include_expsyms 19326 19327# Commands necessary for linking programs (against libraries) with templates. 19328prelink_cmds=$lt_prelink_cmds 19329 19330# Commands necessary for finishing linking programs. 19331postlink_cmds=$lt_postlink_cmds 19332 19333# Specify filename containing input files. 19334file_list_spec=$lt_file_list_spec 19335 19336# How to hardcode a shared library path into an executable. 19337hardcode_action=$hardcode_action 19338 19339# ### END LIBTOOL CONFIG 19340 19341_LT_EOF 19342 19343 cat <<'_LT_EOF' >> "$cfgfile" 19344 19345# ### BEGIN FUNCTIONS SHARED WITH CONFIGURE 19346 19347# func_munge_path_list VARIABLE PATH 19348# ----------------------------------- 19349# VARIABLE is name of variable containing _space_ separated list of 19350# directories to be munged by the contents of PATH, which is string 19351# having a format: 19352# "DIR[:DIR]:" 19353# string "DIR[ DIR]" will be prepended to VARIABLE 19354# ":DIR[:DIR]" 19355# string "DIR[ DIR]" will be appended to VARIABLE 19356# "DIRP[:DIRP]::[DIRA:]DIRA" 19357# string "DIRP[ DIRP]" will be prepended to VARIABLE and string 19358# "DIRA[ DIRA]" will be appended to VARIABLE 19359# "DIR[:DIR]" 19360# VARIABLE will be replaced by "DIR[ DIR]" 19361func_munge_path_list () 19362{ 19363 case x$2 in 19364 x) 19365 ;; 19366 *:) 19367 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" 19368 ;; 19369 x:*) 19370 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" 19371 ;; 19372 *::*) 19373 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" 19374 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" 19375 ;; 19376 *) 19377 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" 19378 ;; 19379 esac 19380} 19381 19382 19383# Calculate cc_basename. Skip known compiler wrappers and cross-prefix. 19384func_cc_basename () 19385{ 19386 for cc_temp in $*""; do 19387 case $cc_temp in 19388 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; 19389 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; 19390 \-*) ;; 19391 *) break;; 19392 esac 19393 done 19394 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` 19395} 19396 19397 19398# ### END FUNCTIONS SHARED WITH CONFIGURE 19399 19400_LT_EOF 19401 19402 case $host_os in 19403 aix3*) 19404 cat <<\_LT_EOF >> "$cfgfile" 19405# AIX sometimes has problems with the GCC collect2 program. For some 19406# reason, if we set the COLLECT_NAMES environment variable, the problems 19407# vanish in a puff of smoke. 19408if test set != "${COLLECT_NAMES+set}"; then 19409 COLLECT_NAMES= 19410 export COLLECT_NAMES 19411fi 19412_LT_EOF 19413 ;; 19414 esac 19415 19416 19417ltmain=$ac_aux_dir/ltmain.sh 19418 19419 19420 # We use sed instead of cat because bash on DJGPP gets confused if 19421 # if finds mixed CR/LF and LF-only lines. Since sed operates in 19422 # text mode, it properly converts lines to CR/LF. This bash problem 19423 # is reportedly fixed, but why not run on old versions too? 19424 sed '$q' "$ltmain" >> "$cfgfile" \ 19425 || (rm -f "$cfgfile"; exit 1) 19426 19427 mv -f "$cfgfile" "$ofile" || 19428 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") 19429 chmod +x "$ofile" 19430 19431 ;; 19432 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 19433 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 19434 esac ;; 19435 "po/stamp-it":C) 19436 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 19437 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 19438 fi 19439 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 19440 >"po/stamp-it.tmp" 19441 sed '/^#/d 19442 s/^[[].*] *// 19443 /^[ ]*$/d 19444 '"s|^| $ac_top_srcdir/|" \ 19445 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 19446 19447 sed '/^POTFILES =/,/[^\\]$/ { 19448 /^POTFILES =/!d 19449 r po/POTFILES 19450 } 19451 ' "po/Makefile.in" >"po/Makefile" 19452 rm -f "po/Makefile.tmp" 19453 mv "po/stamp-it.tmp" "po/stamp-it" 19454 ;; 19455 19456 esac 19457done # for ac_tag 19458 19459 19460as_fn_exit 0 19461_ACEOF 19462ac_clean_files=$ac_clean_files_save 19463 19464test $ac_write_fail = 0 || 19465 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 19466 19467 19468# configure is writing to config.log, and then calls config.status. 19469# config.status does its own redirection, appending to config.log. 19470# Unfortunately, on DOS this fails, as config.log is still kept open 19471# by configure, so config.status won't be able to write to it; its 19472# output is simply discarded. So we exec the FD to /dev/null, 19473# effectively closing config.log, so it can be properly (re)opened and 19474# appended to by config.status. When coming back to configure, we 19475# need to make the FD available again. 19476if test "$no_create" != yes; then 19477 ac_cs_success=: 19478 ac_config_status_args= 19479 test "$silent" = yes && 19480 ac_config_status_args="$ac_config_status_args --quiet" 19481 exec 5>/dev/null 19482 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 19483 exec 5>>config.log 19484 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 19485 # would make configure fail if this is the last instruction. 19486 $ac_cs_success || as_fn_exit 1 19487fi 19488if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 19489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 19490$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 19491fi 19492 19493 19494echo 19495echo "Build Configuration:" 19496echo 19497echo "* Installation prefix: $libdir" 19498echo "* Debug Support: $enable_debug" 19499if test "x$use_dbus_start_daemon" = "xyes"; then 19500echo "* Startup method: DBus" 19501else 19502echo "* Startup method: Autostart" 19503fi 19504echo 19505