1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for uget 2.2.1. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 199test \$(( 1 + 1 )) = 2 || exit 1" 200 if (eval "$as_required") 2>/dev/null; then : 201 as_have_required=yes 202else 203 as_have_required=no 204fi 205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 206 207else 208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 209as_found=false 210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 211do 212 IFS=$as_save_IFS 213 test -z "$as_dir" && as_dir=. 214 as_found=: 215 case $as_dir in #( 216 /*) 217 for as_base in sh bash ksh sh5; do 218 # Try only shells that exist, to save several forks. 219 as_shell=$as_dir/$as_base 220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 222 CONFIG_SHELL=$as_shell as_have_required=yes 223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 break 2 225fi 226fi 227 done;; 228 esac 229 as_found=false 230done 231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 233 CONFIG_SHELL=$SHELL as_have_required=yes 234fi; } 235IFS=$as_save_IFS 236 237 238 if test "x$CONFIG_SHELL" != x; then : 239 export CONFIG_SHELL 240 # We cannot yet assume a decent shell, so we have to provide a 241# neutralization value for shells without unset; and this also 242# works around shells that cannot unset nonexistent variables. 243# Preserve -v and -x to the replacement shell. 244BASH_ENV=/dev/null 245ENV=/dev/null 246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 247case $- in # (((( 248 *v*x* | *x*v* ) as_opts=-vx ;; 249 *v* ) as_opts=-v ;; 250 *x* ) as_opts=-x ;; 251 * ) as_opts= ;; 252esac 253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 254# Admittedly, this is quite paranoid, since all the known shells bail 255# out after a failed `exec'. 256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 257exit 255 258fi 259 260 if test x$as_have_required = xno; then : 261 $as_echo "$0: This script requires a shell more modern than all" 262 $as_echo "$0: the shells that I found on your system." 263 if test x${ZSH_VERSION+set} = xset ; then 264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 265 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 266 else 267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 268$0: including any error possibly output before this 269$0: message. Then install a modern shell, or manually run 270$0: the script under such a shell if you do have one." 271 fi 272 exit 1 273fi 274fi 275fi 276SHELL=${CONFIG_SHELL-/bin/sh} 277export SHELL 278# Unset more variables known to interfere with behavior of common tools. 279CLICOLOR_FORCE= GREP_OPTIONS= 280unset CLICOLOR_FORCE GREP_OPTIONS 281 282## --------------------- ## 283## M4sh Shell Functions. ## 284## --------------------- ## 285# as_fn_unset VAR 286# --------------- 287# Portably unset VAR. 288as_fn_unset () 289{ 290 { eval $1=; unset $1;} 291} 292as_unset=as_fn_unset 293 294# as_fn_set_status STATUS 295# ----------------------- 296# Set $? to STATUS, without forking. 297as_fn_set_status () 298{ 299 return $1 300} # as_fn_set_status 301 302# as_fn_exit STATUS 303# ----------------- 304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 305as_fn_exit () 306{ 307 set +e 308 as_fn_set_status $1 309 exit $1 310} # as_fn_exit 311 312# as_fn_mkdir_p 313# ------------- 314# Create "$as_dir" as a directory, including parents if necessary. 315as_fn_mkdir_p () 316{ 317 318 case $as_dir in #( 319 -*) as_dir=./$as_dir;; 320 esac 321 test -d "$as_dir" || eval $as_mkdir_p || { 322 as_dirs= 323 while :; do 324 case $as_dir in #( 325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 326 *) as_qdir=$as_dir;; 327 esac 328 as_dirs="'$as_qdir' $as_dirs" 329 as_dir=`$as_dirname -- "$as_dir" || 330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 331 X"$as_dir" : 'X\(//\)[^/]' \| \ 332 X"$as_dir" : 'X\(//\)$' \| \ 333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 334$as_echo X"$as_dir" | 335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 336 s//\1/ 337 q 338 } 339 /^X\(\/\/\)[^/].*/{ 340 s//\1/ 341 q 342 } 343 /^X\(\/\/\)$/{ 344 s//\1/ 345 q 346 } 347 /^X\(\/\).*/{ 348 s//\1/ 349 q 350 } 351 s/.*/./; q'` 352 test -d "$as_dir" && break 353 done 354 test -z "$as_dirs" || eval "mkdir $as_dirs" 355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 356 357 358} # as_fn_mkdir_p 359 360# as_fn_executable_p FILE 361# ----------------------- 362# Test if FILE is an executable regular file. 363as_fn_executable_p () 364{ 365 test -f "$1" && test -x "$1" 366} # as_fn_executable_p 367# as_fn_append VAR VALUE 368# ---------------------- 369# Append the text in VALUE to the end of the definition contained in VAR. Take 370# advantage of any shell optimizations that allow amortized linear growth over 371# repeated appends, instead of the typical quadratic growth present in naive 372# implementations. 373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 374 eval 'as_fn_append () 375 { 376 eval $1+=\$2 377 }' 378else 379 as_fn_append () 380 { 381 eval $1=\$$1\$2 382 } 383fi # as_fn_append 384 385# as_fn_arith ARG... 386# ------------------ 387# Perform arithmetic evaluation on the ARGs, and store the result in the 388# global $as_val. Take advantage of shells that can avoid forks. The arguments 389# must be portable across $(()) and expr. 390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 391 eval 'as_fn_arith () 392 { 393 as_val=$(( $* )) 394 }' 395else 396 as_fn_arith () 397 { 398 as_val=`expr "$@" || test $? -eq 1` 399 } 400fi # as_fn_arith 401 402 403# as_fn_error STATUS ERROR [LINENO LOG_FD] 404# ---------------------------------------- 405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 407# script with STATUS, using 1 if that was 0. 408as_fn_error () 409{ 410 as_status=$1; test $as_status -eq 0 && as_status=1 411 if test "$4"; then 412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 414 fi 415 $as_echo "$as_me: error: $2" >&2 416 as_fn_exit $as_status 417} # as_fn_error 418 419if expr a : '\(a\)' >/dev/null 2>&1 && 420 test "X`expr 00001 : '.*\(...\)'`" = X001; then 421 as_expr=expr 422else 423 as_expr=false 424fi 425 426if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 427 as_basename=basename 428else 429 as_basename=false 430fi 431 432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 433 as_dirname=dirname 434else 435 as_dirname=false 436fi 437 438as_me=`$as_basename -- "$0" || 439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 440 X"$0" : 'X\(//\)$' \| \ 441 X"$0" : 'X\(/\)' \| . 2>/dev/null || 442$as_echo X/"$0" | 443 sed '/^.*\/\([^/][^/]*\)\/*$/{ 444 s//\1/ 445 q 446 } 447 /^X\/\(\/\/\)$/{ 448 s//\1/ 449 q 450 } 451 /^X\/\(\/\).*/{ 452 s//\1/ 453 q 454 } 455 s/.*/./; q'` 456 457# Avoid depending upon Character Ranges. 458as_cr_letters='abcdefghijklmnopqrstuvwxyz' 459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 460as_cr_Letters=$as_cr_letters$as_cr_LETTERS 461as_cr_digits='0123456789' 462as_cr_alnum=$as_cr_Letters$as_cr_digits 463 464 465 as_lineno_1=$LINENO as_lineno_1a=$LINENO 466 as_lineno_2=$LINENO as_lineno_2a=$LINENO 467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 470 sed -n ' 471 p 472 /[$]LINENO/= 473 ' <$as_myself | 474 sed ' 475 s/[$]LINENO.*/&-/ 476 t lineno 477 b 478 :lineno 479 N 480 :loop 481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 482 t loop 483 s/-\n.*// 484 ' >$as_me.lineno && 485 chmod +x "$as_me.lineno" || 486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 487 488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 489 # already done that, so ensure we don't try to do so again and fall 490 # in an infinite loop. This has already happened in practice. 491 _as_can_reexec=no; export _as_can_reexec 492 # Don't try to exec as it changes $[0], causing all sort of problems 493 # (the dirname of $[0] is not the place where we might find the 494 # original and so on. Autoconf is especially sensitive to this). 495 . "./$as_me.lineno" 496 # Exit status is that of the last command. 497 exit 498} 499 500ECHO_C= ECHO_N= ECHO_T= 501case `echo -n x` in #((((( 502-n*) 503 case `echo 'xy\c'` in 504 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 505 xy) ECHO_C='\c';; 506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 507 ECHO_T=' ';; 508 esac;; 509*) 510 ECHO_N='-n';; 511esac 512 513rm -f conf$$ conf$$.exe conf$$.file 514if test -d conf$$.dir; then 515 rm -f conf$$.dir/conf$$.file 516else 517 rm -f conf$$.dir 518 mkdir conf$$.dir 2>/dev/null 519fi 520if (echo >conf$$.file) 2>/dev/null; then 521 if ln -s conf$$.file conf$$ 2>/dev/null; then 522 as_ln_s='ln -s' 523 # ... but there are two gotchas: 524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 526 # In both cases, we have to default to `cp -pR'. 527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 528 as_ln_s='cp -pR' 529 elif ln conf$$.file conf$$ 2>/dev/null; then 530 as_ln_s=ln 531 else 532 as_ln_s='cp -pR' 533 fi 534else 535 as_ln_s='cp -pR' 536fi 537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 538rmdir conf$$.dir 2>/dev/null 539 540if mkdir -p . 2>/dev/null; then 541 as_mkdir_p='mkdir -p "$as_dir"' 542else 543 test -d ./-p && rmdir ./-p 544 as_mkdir_p=false 545fi 546 547as_test_x='test -x' 548as_executable_p=as_fn_executable_p 549 550# Sed expression to map a string onto a valid CPP name. 551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 552 553# Sed expression to map a string onto a valid variable name. 554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 555 556 557test -n "$DJDIR" || exec 7<&0 </dev/null 558exec 6>&1 559 560# Name of the host. 561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 562# so uname gets run too. 563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 564 565# 566# Initializations. 567# 568ac_default_prefix=/usr/local 569ac_clean_files= 570ac_config_libobj_dir=. 571LIBOBJS= 572cross_compiling=no 573subdirs= 574MFLAGS= 575MAKEFLAGS= 576 577# Identity of this package. 578PACKAGE_NAME='uget' 579PACKAGE_TARNAME='uget' 580PACKAGE_VERSION='2.2.1' 581PACKAGE_STRING='uget 2.2.1' 582PACKAGE_BUGREPORT='' 583PACKAGE_URL='' 584 585# Factoring default headers for most tests. 586ac_includes_default="\ 587#include <stdio.h> 588#ifdef HAVE_SYS_TYPES_H 589# include <sys/types.h> 590#endif 591#ifdef HAVE_SYS_STAT_H 592# include <sys/stat.h> 593#endif 594#ifdef STDC_HEADERS 595# include <stdlib.h> 596# include <stddef.h> 597#else 598# ifdef HAVE_STDLIB_H 599# include <stdlib.h> 600# endif 601#endif 602#ifdef HAVE_STRING_H 603# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 604# include <memory.h> 605# endif 606# include <string.h> 607#endif 608#ifdef HAVE_STRINGS_H 609# include <strings.h> 610#endif 611#ifdef HAVE_INTTYPES_H 612# include <inttypes.h> 613#endif 614#ifdef HAVE_STDINT_H 615# include <stdint.h> 616#endif 617#ifdef HAVE_UNISTD_H 618# include <unistd.h> 619#endif" 620 621ac_subst_vars='am__EXEEXT_FALSE 622am__EXEEXT_TRUE 623LTLIBOBJS 624LIBOBJS 625WITH_LIBPWMD_FALSE 626WITH_LIBPWMD_TRUE 627LIBPWMD_LIBS 628LIBPWMD_CFLAGS 629GSTREAMER_LIBS 630GSTREAMER_CFLAGS 631APP_INDICATOR_LIBS 632APP_INDICATOR_CFLAGS 633LIBNOTIFY_LIBS 634LIBNOTIFY_CFLAGS 635LIBCRYPTO_LIBS 636LIBCRYPTO_CFLAGS 637LIBGCRYPT_LIBS 638LIBGCRYPT_CFLAGS 639LIBGCRYPT_CONFIG 640CURL_LIBS 641CURL_CFLAGS 642CURL_CONFIG 643LFS_LDFLAGS 644LFS_CFLAGS 645GETCONF 646PTHREAD_LIBS 647PTHREAD_CFLAGS 648GLIB_LIBS 649GLIB_CFLAGS 650GTK_LIBS 651GTK_CFLAGS 652PKG_CONFIG_LIBDIR 653PKG_CONFIG_PATH 654PKG_CONFIG 655MKINSTALLDIRS 656POSUB 657POFILES 658PO_IN_DATADIR_FALSE 659PO_IN_DATADIR_TRUE 660INTLLIBS 661INSTOBJEXT 662GMOFILES 663DATADIRNAME 664CATOBJEXT 665CATALOGS 666MSGFMT_OPTS 667INTL_MACOSX_LIBS 668EGREP 669GREP 670CPP 671GETTEXT_PACKAGE 672ALL_LINGUAS 673INTLTOOL_PERL 674GMSGFMT 675MSGFMT 676MSGMERGE 677XGETTEXT 678INTLTOOL_POLICY_RULE 679INTLTOOL_SERVICE_RULE 680INTLTOOL_THEME_RULE 681INTLTOOL_SCHEMAS_RULE 682INTLTOOL_CAVES_RULE 683INTLTOOL_XML_NOMERGE_RULE 684INTLTOOL_XML_RULE 685INTLTOOL_KBD_RULE 686INTLTOOL_XAM_RULE 687INTLTOOL_UI_RULE 688INTLTOOL_SOUNDLIST_RULE 689INTLTOOL_SHEET_RULE 690INTLTOOL_SERVER_RULE 691INTLTOOL_PONG_RULE 692INTLTOOL_OAF_RULE 693INTLTOOL_PROP_RULE 694INTLTOOL_KEYS_RULE 695INTLTOOL_DIRECTORY_RULE 696INTLTOOL_DESKTOP_RULE 697intltool__v_merge_options_0 698intltool__v_merge_options_ 699INTLTOOL_V_MERGE_OPTIONS 700INTLTOOL__v_MERGE_0 701INTLTOOL__v_MERGE_ 702INTLTOOL_V_MERGE 703INTLTOOL_EXTRACT 704INTLTOOL_MERGE 705INTLTOOL_UPDATE 706USE_NLS 707RANLIB 708ac_ct_AR 709AR 710am__fastdepCC_FALSE 711am__fastdepCC_TRUE 712CCDEPMODE 713am__nodep 714AMDEPBACKSLASH 715AMDEP_FALSE 716AMDEP_TRUE 717am__quote 718am__include 719DEPDIR 720OBJEXT 721EXEEXT 722ac_ct_CC 723CPPFLAGS 724LDFLAGS 725CFLAGS 726CC 727AM_BACKSLASH 728AM_DEFAULT_VERBOSITY 729AM_DEFAULT_V 730AM_V 731am__untar 732am__tar 733AMTAR 734am__leading_dot 735SET_MAKE 736AWK 737mkdir_p 738MKDIR_P 739INSTALL_STRIP_PROGRAM 740STRIP 741install_sh 742MAKEINFO 743AUTOHEADER 744AUTOMAKE 745AUTOCONF 746ACLOCAL 747VERSION 748PACKAGE 749CYGPATH_W 750am__isrc 751INSTALL_DATA 752INSTALL_SCRIPT 753INSTALL_PROGRAM 754target_alias 755host_alias 756build_alias 757LIBS 758ECHO_T 759ECHO_N 760ECHO_C 761DEFS 762mandir 763localedir 764libdir 765psdir 766pdfdir 767dvidir 768htmldir 769infodir 770docdir 771oldincludedir 772includedir 773localstatedir 774sharedstatedir 775sysconfdir 776datadir 777datarootdir 778libexecdir 779sbindir 780bindir 781program_transform_name 782prefix 783exec_prefix 784PACKAGE_URL 785PACKAGE_BUGREPORT 786PACKAGE_STRING 787PACKAGE_VERSION 788PACKAGE_TARNAME 789PACKAGE_NAME 790PATH_SEPARATOR 791SHELL' 792ac_subst_files='' 793ac_user_opts=' 794enable_option_checking 795enable_silent_rules 796enable_dependency_tracking 797enable_nls 798with_gnutls 799with_openssl 800enable_notify 801enable_appindicator 802enable_gstreamer 803enable_pwmd 804enable_rss_notify 805enable_unix_socket 806' 807 ac_precious_vars='build_alias 808host_alias 809target_alias 810CC 811CFLAGS 812LDFLAGS 813LIBS 814CPPFLAGS 815CPP 816PKG_CONFIG 817PKG_CONFIG_PATH 818PKG_CONFIG_LIBDIR 819GTK_CFLAGS 820GTK_LIBS 821GLIB_CFLAGS 822GLIB_LIBS 823LIBCRYPTO_CFLAGS 824LIBCRYPTO_LIBS 825LIBNOTIFY_CFLAGS 826LIBNOTIFY_LIBS 827APP_INDICATOR_CFLAGS 828APP_INDICATOR_LIBS 829GSTREAMER_CFLAGS 830GSTREAMER_LIBS 831LIBPWMD_CFLAGS 832LIBPWMD_LIBS' 833 834 835# Initialize some variables set by options. 836ac_init_help= 837ac_init_version=false 838ac_unrecognized_opts= 839ac_unrecognized_sep= 840# The variables have the same names as the options, with 841# dashes changed to underlines. 842cache_file=/dev/null 843exec_prefix=NONE 844no_create= 845no_recursion= 846prefix=NONE 847program_prefix=NONE 848program_suffix=NONE 849program_transform_name=s,x,x, 850silent= 851site= 852srcdir= 853verbose= 854x_includes=NONE 855x_libraries=NONE 856 857# Installation directory options. 858# These are left unexpanded so users can "make install exec_prefix=/foo" 859# and all the variables that are supposed to be based on exec_prefix 860# by default will actually change. 861# Use braces instead of parens because sh, perl, etc. also accept them. 862# (The list follows the same order as the GNU Coding Standards.) 863bindir='${exec_prefix}/bin' 864sbindir='${exec_prefix}/sbin' 865libexecdir='${exec_prefix}/libexec' 866datarootdir='${prefix}/share' 867datadir='${datarootdir}' 868sysconfdir='${prefix}/etc' 869sharedstatedir='${prefix}/com' 870localstatedir='${prefix}/var' 871includedir='${prefix}/include' 872oldincludedir='/usr/include' 873docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 874infodir='${datarootdir}/info' 875htmldir='${docdir}' 876dvidir='${docdir}' 877pdfdir='${docdir}' 878psdir='${docdir}' 879libdir='${exec_prefix}/lib' 880localedir='${datarootdir}/locale' 881mandir='${datarootdir}/man' 882 883ac_prev= 884ac_dashdash= 885for ac_option 886do 887 # If the previous option needs an argument, assign it. 888 if test -n "$ac_prev"; then 889 eval $ac_prev=\$ac_option 890 ac_prev= 891 continue 892 fi 893 894 case $ac_option in 895 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 896 *=) ac_optarg= ;; 897 *) ac_optarg=yes ;; 898 esac 899 900 # Accept the important Cygnus configure options, so we can diagnose typos. 901 902 case $ac_dashdash$ac_option in 903 --) 904 ac_dashdash=yes ;; 905 906 -bindir | --bindir | --bindi | --bind | --bin | --bi) 907 ac_prev=bindir ;; 908 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 909 bindir=$ac_optarg ;; 910 911 -build | --build | --buil | --bui | --bu) 912 ac_prev=build_alias ;; 913 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 914 build_alias=$ac_optarg ;; 915 916 -cache-file | --cache-file | --cache-fil | --cache-fi \ 917 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 918 ac_prev=cache_file ;; 919 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 920 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 921 cache_file=$ac_optarg ;; 922 923 --config-cache | -C) 924 cache_file=config.cache ;; 925 926 -datadir | --datadir | --datadi | --datad) 927 ac_prev=datadir ;; 928 -datadir=* | --datadir=* | --datadi=* | --datad=*) 929 datadir=$ac_optarg ;; 930 931 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 932 | --dataroo | --dataro | --datar) 933 ac_prev=datarootdir ;; 934 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 935 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 936 datarootdir=$ac_optarg ;; 937 938 -disable-* | --disable-*) 939 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 940 # Reject names that are not valid shell variable names. 941 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 942 as_fn_error $? "invalid feature name: $ac_useropt" 943 ac_useropt_orig=$ac_useropt 944 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 945 case $ac_user_opts in 946 *" 947"enable_$ac_useropt" 948"*) ;; 949 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 950 ac_unrecognized_sep=', ';; 951 esac 952 eval enable_$ac_useropt=no ;; 953 954 -docdir | --docdir | --docdi | --doc | --do) 955 ac_prev=docdir ;; 956 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 957 docdir=$ac_optarg ;; 958 959 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 960 ac_prev=dvidir ;; 961 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 962 dvidir=$ac_optarg ;; 963 964 -enable-* | --enable-*) 965 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 966 # Reject names that are not valid shell variable names. 967 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 968 as_fn_error $? "invalid feature name: $ac_useropt" 969 ac_useropt_orig=$ac_useropt 970 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 971 case $ac_user_opts in 972 *" 973"enable_$ac_useropt" 974"*) ;; 975 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 976 ac_unrecognized_sep=', ';; 977 esac 978 eval enable_$ac_useropt=\$ac_optarg ;; 979 980 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 981 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 982 | --exec | --exe | --ex) 983 ac_prev=exec_prefix ;; 984 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 985 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 986 | --exec=* | --exe=* | --ex=*) 987 exec_prefix=$ac_optarg ;; 988 989 -gas | --gas | --ga | --g) 990 # Obsolete; use --with-gas. 991 with_gas=yes ;; 992 993 -help | --help | --hel | --he | -h) 994 ac_init_help=long ;; 995 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 996 ac_init_help=recursive ;; 997 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 998 ac_init_help=short ;; 999 1000 -host | --host | --hos | --ho) 1001 ac_prev=host_alias ;; 1002 -host=* | --host=* | --hos=* | --ho=*) 1003 host_alias=$ac_optarg ;; 1004 1005 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1006 ac_prev=htmldir ;; 1007 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1008 | --ht=*) 1009 htmldir=$ac_optarg ;; 1010 1011 -includedir | --includedir | --includedi | --included | --include \ 1012 | --includ | --inclu | --incl | --inc) 1013 ac_prev=includedir ;; 1014 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1015 | --includ=* | --inclu=* | --incl=* | --inc=*) 1016 includedir=$ac_optarg ;; 1017 1018 -infodir | --infodir | --infodi | --infod | --info | --inf) 1019 ac_prev=infodir ;; 1020 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1021 infodir=$ac_optarg ;; 1022 1023 -libdir | --libdir | --libdi | --libd) 1024 ac_prev=libdir ;; 1025 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1026 libdir=$ac_optarg ;; 1027 1028 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1029 | --libexe | --libex | --libe) 1030 ac_prev=libexecdir ;; 1031 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1032 | --libexe=* | --libex=* | --libe=*) 1033 libexecdir=$ac_optarg ;; 1034 1035 -localedir | --localedir | --localedi | --localed | --locale) 1036 ac_prev=localedir ;; 1037 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1038 localedir=$ac_optarg ;; 1039 1040 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1041 | --localstate | --localstat | --localsta | --localst | --locals) 1042 ac_prev=localstatedir ;; 1043 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1044 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1045 localstatedir=$ac_optarg ;; 1046 1047 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1048 ac_prev=mandir ;; 1049 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1050 mandir=$ac_optarg ;; 1051 1052 -nfp | --nfp | --nf) 1053 # Obsolete; use --without-fp. 1054 with_fp=no ;; 1055 1056 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1057 | --no-cr | --no-c | -n) 1058 no_create=yes ;; 1059 1060 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1061 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1062 no_recursion=yes ;; 1063 1064 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1065 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1066 | --oldin | --oldi | --old | --ol | --o) 1067 ac_prev=oldincludedir ;; 1068 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1069 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1070 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1071 oldincludedir=$ac_optarg ;; 1072 1073 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1074 ac_prev=prefix ;; 1075 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1076 prefix=$ac_optarg ;; 1077 1078 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1079 | --program-pre | --program-pr | --program-p) 1080 ac_prev=program_prefix ;; 1081 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1082 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1083 program_prefix=$ac_optarg ;; 1084 1085 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1086 | --program-suf | --program-su | --program-s) 1087 ac_prev=program_suffix ;; 1088 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1089 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1090 program_suffix=$ac_optarg ;; 1091 1092 -program-transform-name | --program-transform-name \ 1093 | --program-transform-nam | --program-transform-na \ 1094 | --program-transform-n | --program-transform- \ 1095 | --program-transform | --program-transfor \ 1096 | --program-transfo | --program-transf \ 1097 | --program-trans | --program-tran \ 1098 | --progr-tra | --program-tr | --program-t) 1099 ac_prev=program_transform_name ;; 1100 -program-transform-name=* | --program-transform-name=* \ 1101 | --program-transform-nam=* | --program-transform-na=* \ 1102 | --program-transform-n=* | --program-transform-=* \ 1103 | --program-transform=* | --program-transfor=* \ 1104 | --program-transfo=* | --program-transf=* \ 1105 | --program-trans=* | --program-tran=* \ 1106 | --progr-tra=* | --program-tr=* | --program-t=*) 1107 program_transform_name=$ac_optarg ;; 1108 1109 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1110 ac_prev=pdfdir ;; 1111 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1112 pdfdir=$ac_optarg ;; 1113 1114 -psdir | --psdir | --psdi | --psd | --ps) 1115 ac_prev=psdir ;; 1116 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1117 psdir=$ac_optarg ;; 1118 1119 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1120 | -silent | --silent | --silen | --sile | --sil) 1121 silent=yes ;; 1122 1123 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1124 ac_prev=sbindir ;; 1125 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1126 | --sbi=* | --sb=*) 1127 sbindir=$ac_optarg ;; 1128 1129 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1130 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1131 | --sharedst | --shareds | --shared | --share | --shar \ 1132 | --sha | --sh) 1133 ac_prev=sharedstatedir ;; 1134 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1135 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1136 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1137 | --sha=* | --sh=*) 1138 sharedstatedir=$ac_optarg ;; 1139 1140 -site | --site | --sit) 1141 ac_prev=site ;; 1142 -site=* | --site=* | --sit=*) 1143 site=$ac_optarg ;; 1144 1145 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1146 ac_prev=srcdir ;; 1147 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1148 srcdir=$ac_optarg ;; 1149 1150 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1151 | --syscon | --sysco | --sysc | --sys | --sy) 1152 ac_prev=sysconfdir ;; 1153 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1154 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1155 sysconfdir=$ac_optarg ;; 1156 1157 -target | --target | --targe | --targ | --tar | --ta | --t) 1158 ac_prev=target_alias ;; 1159 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1160 target_alias=$ac_optarg ;; 1161 1162 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1163 verbose=yes ;; 1164 1165 -version | --version | --versio | --versi | --vers | -V) 1166 ac_init_version=: ;; 1167 1168 -with-* | --with-*) 1169 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1170 # Reject names that are not valid shell variable names. 1171 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1172 as_fn_error $? "invalid package name: $ac_useropt" 1173 ac_useropt_orig=$ac_useropt 1174 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1175 case $ac_user_opts in 1176 *" 1177"with_$ac_useropt" 1178"*) ;; 1179 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1180 ac_unrecognized_sep=', ';; 1181 esac 1182 eval with_$ac_useropt=\$ac_optarg ;; 1183 1184 -without-* | --without-*) 1185 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1186 # Reject names that are not valid shell variable names. 1187 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1188 as_fn_error $? "invalid package name: $ac_useropt" 1189 ac_useropt_orig=$ac_useropt 1190 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1191 case $ac_user_opts in 1192 *" 1193"with_$ac_useropt" 1194"*) ;; 1195 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1196 ac_unrecognized_sep=', ';; 1197 esac 1198 eval with_$ac_useropt=no ;; 1199 1200 --x) 1201 # Obsolete; use --with-x. 1202 with_x=yes ;; 1203 1204 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1205 | --x-incl | --x-inc | --x-in | --x-i) 1206 ac_prev=x_includes ;; 1207 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1208 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1209 x_includes=$ac_optarg ;; 1210 1211 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1212 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1213 ac_prev=x_libraries ;; 1214 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1215 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1216 x_libraries=$ac_optarg ;; 1217 1218 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1219Try \`$0 --help' for more information" 1220 ;; 1221 1222 *=*) 1223 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1224 # Reject names that are not valid shell variable names. 1225 case $ac_envvar in #( 1226 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1227 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1228 esac 1229 eval $ac_envvar=\$ac_optarg 1230 export $ac_envvar ;; 1231 1232 *) 1233 # FIXME: should be removed in autoconf 3.0. 1234 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1235 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1236 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1237 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1238 ;; 1239 1240 esac 1241done 1242 1243if test -n "$ac_prev"; then 1244 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1245 as_fn_error $? "missing argument to $ac_option" 1246fi 1247 1248if test -n "$ac_unrecognized_opts"; then 1249 case $enable_option_checking in 1250 no) ;; 1251 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1252 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1253 esac 1254fi 1255 1256# Check all directory arguments for consistency. 1257for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1258 datadir sysconfdir sharedstatedir localstatedir includedir \ 1259 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1260 libdir localedir mandir 1261do 1262 eval ac_val=\$$ac_var 1263 # Remove trailing slashes. 1264 case $ac_val in 1265 */ ) 1266 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1267 eval $ac_var=\$ac_val;; 1268 esac 1269 # Be sure to have absolute directory names. 1270 case $ac_val in 1271 [\\/$]* | ?:[\\/]* ) continue;; 1272 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1273 esac 1274 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1275done 1276 1277# There might be people who depend on the old broken behavior: `$host' 1278# used to hold the argument of --host etc. 1279# FIXME: To remove some day. 1280build=$build_alias 1281host=$host_alias 1282target=$target_alias 1283 1284# FIXME: To remove some day. 1285if test "x$host_alias" != x; then 1286 if test "x$build_alias" = x; then 1287 cross_compiling=maybe 1288 elif test "x$build_alias" != "x$host_alias"; then 1289 cross_compiling=yes 1290 fi 1291fi 1292 1293ac_tool_prefix= 1294test -n "$host_alias" && ac_tool_prefix=$host_alias- 1295 1296test "$silent" = yes && exec 6>/dev/null 1297 1298 1299ac_pwd=`pwd` && test -n "$ac_pwd" && 1300ac_ls_di=`ls -di .` && 1301ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1302 as_fn_error $? "working directory cannot be determined" 1303test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1304 as_fn_error $? "pwd does not report name of working directory" 1305 1306 1307# Find the source files, if location was not specified. 1308if test -z "$srcdir"; then 1309 ac_srcdir_defaulted=yes 1310 # Try the directory containing this script, then the parent directory. 1311 ac_confdir=`$as_dirname -- "$as_myself" || 1312$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1313 X"$as_myself" : 'X\(//\)[^/]' \| \ 1314 X"$as_myself" : 'X\(//\)$' \| \ 1315 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1316$as_echo X"$as_myself" | 1317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1318 s//\1/ 1319 q 1320 } 1321 /^X\(\/\/\)[^/].*/{ 1322 s//\1/ 1323 q 1324 } 1325 /^X\(\/\/\)$/{ 1326 s//\1/ 1327 q 1328 } 1329 /^X\(\/\).*/{ 1330 s//\1/ 1331 q 1332 } 1333 s/.*/./; q'` 1334 srcdir=$ac_confdir 1335 if test ! -r "$srcdir/$ac_unique_file"; then 1336 srcdir=.. 1337 fi 1338else 1339 ac_srcdir_defaulted=no 1340fi 1341if test ! -r "$srcdir/$ac_unique_file"; then 1342 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1343 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1344fi 1345ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1346ac_abs_confdir=`( 1347 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1348 pwd)` 1349# When building in place, set srcdir=. 1350if test "$ac_abs_confdir" = "$ac_pwd"; then 1351 srcdir=. 1352fi 1353# Remove unnecessary trailing slashes from srcdir. 1354# Double slashes in file names in object file debugging info 1355# mess up M-x gdb in Emacs. 1356case $srcdir in 1357*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1358esac 1359for ac_var in $ac_precious_vars; do 1360 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1361 eval ac_env_${ac_var}_value=\$${ac_var} 1362 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1363 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1364done 1365 1366# 1367# Report the --help message. 1368# 1369if test "$ac_init_help" = "long"; then 1370 # Omit some internal or obsolete options to make the list less imposing. 1371 # This message is too long to be a string in the A/UX 3.1 sh. 1372 cat <<_ACEOF 1373\`configure' configures uget 2.2.1 to adapt to many kinds of systems. 1374 1375Usage: $0 [OPTION]... [VAR=VALUE]... 1376 1377To assign environment variables (e.g., CC, CFLAGS...), specify them as 1378VAR=VALUE. See below for descriptions of some of the useful variables. 1379 1380Defaults for the options are specified in brackets. 1381 1382Configuration: 1383 -h, --help display this help and exit 1384 --help=short display options specific to this package 1385 --help=recursive display the short help of all the included packages 1386 -V, --version display version information and exit 1387 -q, --quiet, --silent do not print \`checking ...' messages 1388 --cache-file=FILE cache test results in FILE [disabled] 1389 -C, --config-cache alias for \`--cache-file=config.cache' 1390 -n, --no-create do not create output files 1391 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1392 1393Installation directories: 1394 --prefix=PREFIX install architecture-independent files in PREFIX 1395 [$ac_default_prefix] 1396 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1397 [PREFIX] 1398 1399By default, \`make install' will install all the files in 1400\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1401an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1402for instance \`--prefix=\$HOME'. 1403 1404For better control, use the options below. 1405 1406Fine tuning of the installation directories: 1407 --bindir=DIR user executables [EPREFIX/bin] 1408 --sbindir=DIR system admin executables [EPREFIX/sbin] 1409 --libexecdir=DIR program executables [EPREFIX/libexec] 1410 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1411 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1412 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1413 --libdir=DIR object code libraries [EPREFIX/lib] 1414 --includedir=DIR C header files [PREFIX/include] 1415 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1416 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1417 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1418 --infodir=DIR info documentation [DATAROOTDIR/info] 1419 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1420 --mandir=DIR man documentation [DATAROOTDIR/man] 1421 --docdir=DIR documentation root [DATAROOTDIR/doc/uget] 1422 --htmldir=DIR html documentation [DOCDIR] 1423 --dvidir=DIR dvi documentation [DOCDIR] 1424 --pdfdir=DIR pdf documentation [DOCDIR] 1425 --psdir=DIR ps documentation [DOCDIR] 1426_ACEOF 1427 1428 cat <<\_ACEOF 1429 1430Program names: 1431 --program-prefix=PREFIX prepend PREFIX to installed program names 1432 --program-suffix=SUFFIX append SUFFIX to installed program names 1433 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1434_ACEOF 1435fi 1436 1437if test -n "$ac_init_help"; then 1438 case $ac_init_help in 1439 short | recursive ) echo "Configuration of uget 2.2.1:";; 1440 esac 1441 cat <<\_ACEOF 1442 1443Optional Features: 1444 --disable-option-checking ignore unrecognized --enable/--with options 1445 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1446 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1447 --enable-silent-rules less verbose build output (undo: "make V=1") 1448 --disable-silent-rules verbose build output (undo: "make V=0") 1449 --enable-dependency-tracking 1450 do not reject slow dependency extractors 1451 --disable-dependency-tracking 1452 speeds up one-time build 1453 --disable-nls do not use Native Language Support 1454 --disable-notify Disable libnotify support. 1455 --enable-appindicator=[no/auto/yes] 1456 Build support for application indicators. 1457 --disable-gstreamer Disable GStreamer audio support. 1458 --enable-pwmd Enable pwmd support. 1459 --disable-rss-notify Disable RSS Notify. 1460 --enable-unix-socket Enable UNIX Domain Socket. 1461 1462Optional Packages: 1463 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1464 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1465 --with-gnutls=[no/auto/yes] 1466 Enable GnuTLS support. (default is auto) 1467 --with-openssl=[no/yes] Enable OpenSSL support. 1468 1469Some influential environment variables: 1470 CC C compiler command 1471 CFLAGS C compiler flags 1472 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1473 nonstandard directory <lib dir> 1474 LIBS libraries to pass to the linker, e.g. -l<library> 1475 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1476 you have headers in a nonstandard directory <include dir> 1477 CPP C preprocessor 1478 PKG_CONFIG path to pkg-config utility 1479 PKG_CONFIG_PATH 1480 directories to add to pkg-config's search path 1481 PKG_CONFIG_LIBDIR 1482 path overriding pkg-config's built-in search path 1483 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config 1484 GTK_LIBS linker flags for GTK, overriding pkg-config 1485 GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config 1486 GLIB_LIBS linker flags for GLIB, overriding pkg-config 1487 LIBCRYPTO_CFLAGS 1488 C compiler flags for LIBCRYPTO, overriding pkg-config 1489 LIBCRYPTO_LIBS 1490 linker flags for LIBCRYPTO, overriding pkg-config 1491 LIBNOTIFY_CFLAGS 1492 C compiler flags for LIBNOTIFY, overriding pkg-config 1493 LIBNOTIFY_LIBS 1494 linker flags for LIBNOTIFY, overriding pkg-config 1495 APP_INDICATOR_CFLAGS 1496 C compiler flags for APP_INDICATOR, overriding pkg-config 1497 APP_INDICATOR_LIBS 1498 linker flags for APP_INDICATOR, overriding pkg-config 1499 GSTREAMER_CFLAGS 1500 C compiler flags for GSTREAMER, overriding pkg-config 1501 GSTREAMER_LIBS 1502 linker flags for GSTREAMER, overriding pkg-config 1503 LIBPWMD_CFLAGS 1504 C compiler flags for LIBPWMD, overriding pkg-config 1505 LIBPWMD_LIBS 1506 linker flags for LIBPWMD, overriding pkg-config 1507 1508Use these variables to override the choices made by `configure' or to help 1509it to find libraries and programs with nonstandard names/locations. 1510 1511Report bugs to the package provider. 1512_ACEOF 1513ac_status=$? 1514fi 1515 1516if test "$ac_init_help" = "recursive"; then 1517 # If there are subdirs, report their specific --help. 1518 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1519 test -d "$ac_dir" || 1520 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1521 continue 1522 ac_builddir=. 1523 1524case "$ac_dir" in 1525.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1526*) 1527 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1528 # A ".." for each directory in $ac_dir_suffix. 1529 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1530 case $ac_top_builddir_sub in 1531 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1532 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1533 esac ;; 1534esac 1535ac_abs_top_builddir=$ac_pwd 1536ac_abs_builddir=$ac_pwd$ac_dir_suffix 1537# for backward compatibility: 1538ac_top_builddir=$ac_top_build_prefix 1539 1540case $srcdir in 1541 .) # We are building in place. 1542 ac_srcdir=. 1543 ac_top_srcdir=$ac_top_builddir_sub 1544 ac_abs_top_srcdir=$ac_pwd ;; 1545 [\\/]* | ?:[\\/]* ) # Absolute name. 1546 ac_srcdir=$srcdir$ac_dir_suffix; 1547 ac_top_srcdir=$srcdir 1548 ac_abs_top_srcdir=$srcdir ;; 1549 *) # Relative name. 1550 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1551 ac_top_srcdir=$ac_top_build_prefix$srcdir 1552 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1553esac 1554ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1555 1556 cd "$ac_dir" || { ac_status=$?; continue; } 1557 # Check for guested configure. 1558 if test -f "$ac_srcdir/configure.gnu"; then 1559 echo && 1560 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1561 elif test -f "$ac_srcdir/configure"; then 1562 echo && 1563 $SHELL "$ac_srcdir/configure" --help=recursive 1564 else 1565 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1566 fi || ac_status=$? 1567 cd "$ac_pwd" || { ac_status=$?; break; } 1568 done 1569fi 1570 1571test -n "$ac_init_help" && exit $ac_status 1572if $ac_init_version; then 1573 cat <<\_ACEOF 1574uget configure 2.2.1 1575generated by GNU Autoconf 2.69 1576 1577Copyright (C) 2012 Free Software Foundation, Inc. 1578This configure script is free software; the Free Software Foundation 1579gives unlimited permission to copy, distribute and modify it. 1580_ACEOF 1581 exit 1582fi 1583 1584## ------------------------ ## 1585## Autoconf initialization. ## 1586## ------------------------ ## 1587 1588# ac_fn_c_try_compile LINENO 1589# -------------------------- 1590# Try to compile conftest.$ac_ext, and return whether this succeeded. 1591ac_fn_c_try_compile () 1592{ 1593 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1594 rm -f conftest.$ac_objext 1595 if { { ac_try="$ac_compile" 1596case "(($ac_try" in 1597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1598 *) ac_try_echo=$ac_try;; 1599esac 1600eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1601$as_echo "$ac_try_echo"; } >&5 1602 (eval "$ac_compile") 2>conftest.err 1603 ac_status=$? 1604 if test -s conftest.err; then 1605 grep -v '^ *+' conftest.err >conftest.er1 1606 cat conftest.er1 >&5 1607 mv -f conftest.er1 conftest.err 1608 fi 1609 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1610 test $ac_status = 0; } && { 1611 test -z "$ac_c_werror_flag" || 1612 test ! -s conftest.err 1613 } && test -s conftest.$ac_objext; then : 1614 ac_retval=0 1615else 1616 $as_echo "$as_me: failed program was:" >&5 1617sed 's/^/| /' conftest.$ac_ext >&5 1618 1619 ac_retval=1 1620fi 1621 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1622 as_fn_set_status $ac_retval 1623 1624} # ac_fn_c_try_compile 1625 1626# ac_fn_c_try_link LINENO 1627# ----------------------- 1628# Try to link conftest.$ac_ext, and return whether this succeeded. 1629ac_fn_c_try_link () 1630{ 1631 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1632 rm -f conftest.$ac_objext conftest$ac_exeext 1633 if { { ac_try="$ac_link" 1634case "(($ac_try" in 1635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1636 *) ac_try_echo=$ac_try;; 1637esac 1638eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1639$as_echo "$ac_try_echo"; } >&5 1640 (eval "$ac_link") 2>conftest.err 1641 ac_status=$? 1642 if test -s conftest.err; then 1643 grep -v '^ *+' conftest.err >conftest.er1 1644 cat conftest.er1 >&5 1645 mv -f conftest.er1 conftest.err 1646 fi 1647 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1648 test $ac_status = 0; } && { 1649 test -z "$ac_c_werror_flag" || 1650 test ! -s conftest.err 1651 } && test -s conftest$ac_exeext && { 1652 test "$cross_compiling" = yes || 1653 test -x conftest$ac_exeext 1654 }; then : 1655 ac_retval=0 1656else 1657 $as_echo "$as_me: failed program was:" >&5 1658sed 's/^/| /' conftest.$ac_ext >&5 1659 1660 ac_retval=1 1661fi 1662 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1663 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1664 # interfere with the next link command; also delete a directory that is 1665 # left behind by Apple's compiler. We do this before executing the actions. 1666 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1667 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1668 as_fn_set_status $ac_retval 1669 1670} # ac_fn_c_try_link 1671 1672# ac_fn_c_check_func LINENO FUNC VAR 1673# ---------------------------------- 1674# Tests whether FUNC exists, setting the cache variable VAR accordingly 1675ac_fn_c_check_func () 1676{ 1677 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1679$as_echo_n "checking for $2... " >&6; } 1680if eval \${$3+:} false; then : 1681 $as_echo_n "(cached) " >&6 1682else 1683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1684/* end confdefs.h. */ 1685/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1686 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1687#define $2 innocuous_$2 1688 1689/* System header to define __stub macros and hopefully few prototypes, 1690 which can conflict with char $2 (); below. 1691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1692 <limits.h> exists even on freestanding compilers. */ 1693 1694#ifdef __STDC__ 1695# include <limits.h> 1696#else 1697# include <assert.h> 1698#endif 1699 1700#undef $2 1701 1702/* Override any GCC internal prototype to avoid an error. 1703 Use char because int might match the return type of a GCC 1704 builtin and then its argument prototype would still apply. */ 1705#ifdef __cplusplus 1706extern "C" 1707#endif 1708char $2 (); 1709/* The GNU C library defines this for functions which it implements 1710 to always fail with ENOSYS. Some functions are actually named 1711 something starting with __ and the normal name is an alias. */ 1712#if defined __stub_$2 || defined __stub___$2 1713choke me 1714#endif 1715 1716int 1717main () 1718{ 1719return $2 (); 1720 ; 1721 return 0; 1722} 1723_ACEOF 1724if ac_fn_c_try_link "$LINENO"; then : 1725 eval "$3=yes" 1726else 1727 eval "$3=no" 1728fi 1729rm -f core conftest.err conftest.$ac_objext \ 1730 conftest$ac_exeext conftest.$ac_ext 1731fi 1732eval ac_res=\$$3 1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1734$as_echo "$ac_res" >&6; } 1735 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1736 1737} # ac_fn_c_check_func 1738 1739# ac_fn_c_try_cpp LINENO 1740# ---------------------- 1741# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1742ac_fn_c_try_cpp () 1743{ 1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1745 if { { ac_try="$ac_cpp conftest.$ac_ext" 1746case "(($ac_try" in 1747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1748 *) ac_try_echo=$ac_try;; 1749esac 1750eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1751$as_echo "$ac_try_echo"; } >&5 1752 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1753 ac_status=$? 1754 if test -s conftest.err; then 1755 grep -v '^ *+' conftest.err >conftest.er1 1756 cat conftest.er1 >&5 1757 mv -f conftest.er1 conftest.err 1758 fi 1759 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1760 test $ac_status = 0; } > conftest.i && { 1761 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1762 test ! -s conftest.err 1763 }; then : 1764 ac_retval=0 1765else 1766 $as_echo "$as_me: failed program was:" >&5 1767sed 's/^/| /' conftest.$ac_ext >&5 1768 1769 ac_retval=1 1770fi 1771 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1772 as_fn_set_status $ac_retval 1773 1774} # ac_fn_c_try_cpp 1775 1776# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1777# ------------------------------------------------------- 1778# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1779# the include files in INCLUDES and setting the cache variable VAR 1780# accordingly. 1781ac_fn_c_check_header_mongrel () 1782{ 1783 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1784 if eval \${$3+:} false; then : 1785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1786$as_echo_n "checking for $2... " >&6; } 1787if eval \${$3+:} false; then : 1788 $as_echo_n "(cached) " >&6 1789fi 1790eval ac_res=\$$3 1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1792$as_echo "$ac_res" >&6; } 1793else 1794 # Is the header compilable? 1795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1796$as_echo_n "checking $2 usability... " >&6; } 1797cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1798/* end confdefs.h. */ 1799$4 1800#include <$2> 1801_ACEOF 1802if ac_fn_c_try_compile "$LINENO"; then : 1803 ac_header_compiler=yes 1804else 1805 ac_header_compiler=no 1806fi 1807rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1809$as_echo "$ac_header_compiler" >&6; } 1810 1811# Is the header present? 1812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1813$as_echo_n "checking $2 presence... " >&6; } 1814cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1815/* end confdefs.h. */ 1816#include <$2> 1817_ACEOF 1818if ac_fn_c_try_cpp "$LINENO"; then : 1819 ac_header_preproc=yes 1820else 1821 ac_header_preproc=no 1822fi 1823rm -f conftest.err conftest.i conftest.$ac_ext 1824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1825$as_echo "$ac_header_preproc" >&6; } 1826 1827# So? What about this header? 1828case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1829 yes:no: ) 1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1831$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1833$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1834 ;; 1835 no:yes:* ) 1836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1837$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1839$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1841$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1843$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1845$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1846 ;; 1847esac 1848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1849$as_echo_n "checking for $2... " >&6; } 1850if eval \${$3+:} false; then : 1851 $as_echo_n "(cached) " >&6 1852else 1853 eval "$3=\$ac_header_compiler" 1854fi 1855eval ac_res=\$$3 1856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1857$as_echo "$ac_res" >&6; } 1858fi 1859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1860 1861} # ac_fn_c_check_header_mongrel 1862 1863# ac_fn_c_try_run LINENO 1864# ---------------------- 1865# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1866# that executables *can* be run. 1867ac_fn_c_try_run () 1868{ 1869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1870 if { { ac_try="$ac_link" 1871case "(($ac_try" in 1872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1873 *) ac_try_echo=$ac_try;; 1874esac 1875eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1876$as_echo "$ac_try_echo"; } >&5 1877 (eval "$ac_link") 2>&5 1878 ac_status=$? 1879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1880 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1881 { { case "(($ac_try" in 1882 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1883 *) ac_try_echo=$ac_try;; 1884esac 1885eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1886$as_echo "$ac_try_echo"; } >&5 1887 (eval "$ac_try") 2>&5 1888 ac_status=$? 1889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1890 test $ac_status = 0; }; }; then : 1891 ac_retval=0 1892else 1893 $as_echo "$as_me: program exited with status $ac_status" >&5 1894 $as_echo "$as_me: failed program was:" >&5 1895sed 's/^/| /' conftest.$ac_ext >&5 1896 1897 ac_retval=$ac_status 1898fi 1899 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1900 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1901 as_fn_set_status $ac_retval 1902 1903} # ac_fn_c_try_run 1904 1905# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1906# ------------------------------------------------------- 1907# Tests whether HEADER exists and can be compiled using the include files in 1908# INCLUDES, setting the cache variable VAR accordingly. 1909ac_fn_c_check_header_compile () 1910{ 1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1913$as_echo_n "checking for $2... " >&6; } 1914if eval \${$3+:} false; then : 1915 $as_echo_n "(cached) " >&6 1916else 1917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1918/* end confdefs.h. */ 1919$4 1920#include <$2> 1921_ACEOF 1922if ac_fn_c_try_compile "$LINENO"; then : 1923 eval "$3=yes" 1924else 1925 eval "$3=no" 1926fi 1927rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1928fi 1929eval ac_res=\$$3 1930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1931$as_echo "$ac_res" >&6; } 1932 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1933 1934} # ac_fn_c_check_header_compile 1935cat >config.log <<_ACEOF 1936This file contains any messages produced by compilers while 1937running configure, to aid debugging if configure makes a mistake. 1938 1939It was created by uget $as_me 2.2.1, which was 1940generated by GNU Autoconf 2.69. Invocation command line was 1941 1942 $ $0 $@ 1943 1944_ACEOF 1945exec 5>>config.log 1946{ 1947cat <<_ASUNAME 1948## --------- ## 1949## Platform. ## 1950## --------- ## 1951 1952hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1953uname -m = `(uname -m) 2>/dev/null || echo unknown` 1954uname -r = `(uname -r) 2>/dev/null || echo unknown` 1955uname -s = `(uname -s) 2>/dev/null || echo unknown` 1956uname -v = `(uname -v) 2>/dev/null || echo unknown` 1957 1958/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1959/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1960 1961/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1962/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1963/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1964/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1965/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1966/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1967/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1968 1969_ASUNAME 1970 1971as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1972for as_dir in $PATH 1973do 1974 IFS=$as_save_IFS 1975 test -z "$as_dir" && as_dir=. 1976 $as_echo "PATH: $as_dir" 1977 done 1978IFS=$as_save_IFS 1979 1980} >&5 1981 1982cat >&5 <<_ACEOF 1983 1984 1985## ----------- ## 1986## Core tests. ## 1987## ----------- ## 1988 1989_ACEOF 1990 1991 1992# Keep a trace of the command line. 1993# Strip out --no-create and --no-recursion so they do not pile up. 1994# Strip out --silent because we don't want to record it for future runs. 1995# Also quote any args containing shell meta-characters. 1996# Make two passes to allow for proper duplicate-argument suppression. 1997ac_configure_args= 1998ac_configure_args0= 1999ac_configure_args1= 2000ac_must_keep_next=false 2001for ac_pass in 1 2 2002do 2003 for ac_arg 2004 do 2005 case $ac_arg in 2006 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2007 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2008 | -silent | --silent | --silen | --sile | --sil) 2009 continue ;; 2010 *\'*) 2011 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2012 esac 2013 case $ac_pass in 2014 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2015 2) 2016 as_fn_append ac_configure_args1 " '$ac_arg'" 2017 if test $ac_must_keep_next = true; then 2018 ac_must_keep_next=false # Got value, back to normal. 2019 else 2020 case $ac_arg in 2021 *=* | --config-cache | -C | -disable-* | --disable-* \ 2022 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2023 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2024 | -with-* | --with-* | -without-* | --without-* | --x) 2025 case "$ac_configure_args0 " in 2026 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2027 esac 2028 ;; 2029 -* ) ac_must_keep_next=true ;; 2030 esac 2031 fi 2032 as_fn_append ac_configure_args " '$ac_arg'" 2033 ;; 2034 esac 2035 done 2036done 2037{ ac_configure_args0=; unset ac_configure_args0;} 2038{ ac_configure_args1=; unset ac_configure_args1;} 2039 2040# When interrupted or exit'd, cleanup temporary files, and complete 2041# config.log. We remove comments because anyway the quotes in there 2042# would cause problems or look ugly. 2043# WARNING: Use '\'' to represent an apostrophe within the trap. 2044# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2045trap 'exit_status=$? 2046 # Save into config.log some information that might help in debugging. 2047 { 2048 echo 2049 2050 $as_echo "## ---------------- ## 2051## Cache variables. ## 2052## ---------------- ##" 2053 echo 2054 # The following way of writing the cache mishandles newlines in values, 2055( 2056 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2057 eval ac_val=\$$ac_var 2058 case $ac_val in #( 2059 *${as_nl}*) 2060 case $ac_var in #( 2061 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2062$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2063 esac 2064 case $ac_var in #( 2065 _ | IFS | as_nl) ;; #( 2066 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2067 *) { eval $ac_var=; unset $ac_var;} ;; 2068 esac ;; 2069 esac 2070 done 2071 (set) 2>&1 | 2072 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2073 *${as_nl}ac_space=\ *) 2074 sed -n \ 2075 "s/'\''/'\''\\\\'\'''\''/g; 2076 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2077 ;; #( 2078 *) 2079 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2080 ;; 2081 esac | 2082 sort 2083) 2084 echo 2085 2086 $as_echo "## ----------------- ## 2087## Output variables. ## 2088## ----------------- ##" 2089 echo 2090 for ac_var in $ac_subst_vars 2091 do 2092 eval ac_val=\$$ac_var 2093 case $ac_val in 2094 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2095 esac 2096 $as_echo "$ac_var='\''$ac_val'\''" 2097 done | sort 2098 echo 2099 2100 if test -n "$ac_subst_files"; then 2101 $as_echo "## ------------------- ## 2102## File substitutions. ## 2103## ------------------- ##" 2104 echo 2105 for ac_var in $ac_subst_files 2106 do 2107 eval ac_val=\$$ac_var 2108 case $ac_val in 2109 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2110 esac 2111 $as_echo "$ac_var='\''$ac_val'\''" 2112 done | sort 2113 echo 2114 fi 2115 2116 if test -s confdefs.h; then 2117 $as_echo "## ----------- ## 2118## confdefs.h. ## 2119## ----------- ##" 2120 echo 2121 cat confdefs.h 2122 echo 2123 fi 2124 test "$ac_signal" != 0 && 2125 $as_echo "$as_me: caught signal $ac_signal" 2126 $as_echo "$as_me: exit $exit_status" 2127 } >&5 2128 rm -f core *.core core.conftest.* && 2129 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2130 exit $exit_status 2131' 0 2132for ac_signal in 1 2 13 15; do 2133 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2134done 2135ac_signal=0 2136 2137# confdefs.h avoids OS command line length limits that DEFS can exceed. 2138rm -f -r conftest* confdefs.h 2139 2140$as_echo "/* confdefs.h */" > confdefs.h 2141 2142# Predefined preprocessor variables. 2143 2144cat >>confdefs.h <<_ACEOF 2145#define PACKAGE_NAME "$PACKAGE_NAME" 2146_ACEOF 2147 2148cat >>confdefs.h <<_ACEOF 2149#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2150_ACEOF 2151 2152cat >>confdefs.h <<_ACEOF 2153#define PACKAGE_VERSION "$PACKAGE_VERSION" 2154_ACEOF 2155 2156cat >>confdefs.h <<_ACEOF 2157#define PACKAGE_STRING "$PACKAGE_STRING" 2158_ACEOF 2159 2160cat >>confdefs.h <<_ACEOF 2161#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2162_ACEOF 2163 2164cat >>confdefs.h <<_ACEOF 2165#define PACKAGE_URL "$PACKAGE_URL" 2166_ACEOF 2167 2168 2169# Let the site file select an alternate cache file if it wants to. 2170# Prefer an explicitly selected file to automatically selected ones. 2171ac_site_file1=NONE 2172ac_site_file2=NONE 2173if test -n "$CONFIG_SITE"; then 2174 # We do not want a PATH search for config.site. 2175 case $CONFIG_SITE in #(( 2176 -*) ac_site_file1=./$CONFIG_SITE;; 2177 */*) ac_site_file1=$CONFIG_SITE;; 2178 *) ac_site_file1=./$CONFIG_SITE;; 2179 esac 2180elif test "x$prefix" != xNONE; then 2181 ac_site_file1=$prefix/share/config.site 2182 ac_site_file2=$prefix/etc/config.site 2183else 2184 ac_site_file1=$ac_default_prefix/share/config.site 2185 ac_site_file2=$ac_default_prefix/etc/config.site 2186fi 2187for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2188do 2189 test "x$ac_site_file" = xNONE && continue 2190 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2191 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2192$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2193 sed 's/^/| /' "$ac_site_file" >&5 2194 . "$ac_site_file" \ 2195 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2196$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2197as_fn_error $? "failed to load site script $ac_site_file 2198See \`config.log' for more details" "$LINENO" 5; } 2199 fi 2200done 2201 2202if test -r "$cache_file"; then 2203 # Some versions of bash will fail to source /dev/null (special files 2204 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2205 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2206 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2207$as_echo "$as_me: loading cache $cache_file" >&6;} 2208 case $cache_file in 2209 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2210 *) . "./$cache_file";; 2211 esac 2212 fi 2213else 2214 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2215$as_echo "$as_me: creating cache $cache_file" >&6;} 2216 >$cache_file 2217fi 2218 2219# Check that the precious variables saved in the cache have kept the same 2220# value. 2221ac_cache_corrupted=false 2222for ac_var in $ac_precious_vars; do 2223 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2224 eval ac_new_set=\$ac_env_${ac_var}_set 2225 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2226 eval ac_new_val=\$ac_env_${ac_var}_value 2227 case $ac_old_set,$ac_new_set in 2228 set,) 2229 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2230$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2231 ac_cache_corrupted=: ;; 2232 ,set) 2233 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2234$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2235 ac_cache_corrupted=: ;; 2236 ,);; 2237 *) 2238 if test "x$ac_old_val" != "x$ac_new_val"; then 2239 # differences in whitespace do not lead to failure. 2240 ac_old_val_w=`echo x $ac_old_val` 2241 ac_new_val_w=`echo x $ac_new_val` 2242 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2243 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2244$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2245 ac_cache_corrupted=: 2246 else 2247 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2248$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2249 eval $ac_var=\$ac_old_val 2250 fi 2251 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2252$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2253 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2254$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2255 fi;; 2256 esac 2257 # Pass precious variables to config.status. 2258 if test "$ac_new_set" = set; then 2259 case $ac_new_val in 2260 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2261 *) ac_arg=$ac_var=$ac_new_val ;; 2262 esac 2263 case " $ac_configure_args " in 2264 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2265 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2266 esac 2267 fi 2268done 2269if $ac_cache_corrupted; then 2270 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2271$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2272 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2273$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2274 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2275fi 2276## -------------------- ## 2277## Main body of script. ## 2278## -------------------- ## 2279 2280ac_ext=c 2281ac_cpp='$CPP $CPPFLAGS' 2282ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2283ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2284ac_compiler_gnu=$ac_cv_c_compiler_gnu 2285 2286 2287 2288## Use automake (add automake to autogen.sh) 2289am__api_version='1.15' 2290 2291ac_aux_dir= 2292for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2293 if test -f "$ac_dir/install-sh"; then 2294 ac_aux_dir=$ac_dir 2295 ac_install_sh="$ac_aux_dir/install-sh -c" 2296 break 2297 elif test -f "$ac_dir/install.sh"; then 2298 ac_aux_dir=$ac_dir 2299 ac_install_sh="$ac_aux_dir/install.sh -c" 2300 break 2301 elif test -f "$ac_dir/shtool"; then 2302 ac_aux_dir=$ac_dir 2303 ac_install_sh="$ac_aux_dir/shtool install -c" 2304 break 2305 fi 2306done 2307if test -z "$ac_aux_dir"; then 2308 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2309fi 2310 2311# These three variables are undocumented and unsupported, 2312# and are intended to be withdrawn in a future Autoconf release. 2313# They can cause serious problems if a builder's source tree is in a directory 2314# whose full name contains unusual characters. 2315ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2316ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2317ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2318 2319 2320# Find a good install program. We prefer a C program (faster), 2321# so one script is as good as another. But avoid the broken or 2322# incompatible versions: 2323# SysV /etc/install, /usr/sbin/install 2324# SunOS /usr/etc/install 2325# IRIX /sbin/install 2326# AIX /bin/install 2327# AmigaOS /C/install, which installs bootblocks on floppy discs 2328# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2329# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2330# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2331# OS/2's system install, which has a completely different semantic 2332# ./install, which can be erroneously created by make from ./install.sh. 2333# Reject install programs that cannot install multiple files. 2334{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2335$as_echo_n "checking for a BSD-compatible install... " >&6; } 2336if test -z "$INSTALL"; then 2337if ${ac_cv_path_install+:} false; then : 2338 $as_echo_n "(cached) " >&6 2339else 2340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2341for as_dir in $PATH 2342do 2343 IFS=$as_save_IFS 2344 test -z "$as_dir" && as_dir=. 2345 # Account for people who put trailing slashes in PATH elements. 2346case $as_dir/ in #(( 2347 ./ | .// | /[cC]/* | \ 2348 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2349 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2350 /usr/ucb/* ) ;; 2351 *) 2352 # OSF1 and SCO ODT 3.0 have their own names for install. 2353 # Don't use installbsd from OSF since it installs stuff as root 2354 # by default. 2355 for ac_prog in ginstall scoinst install; do 2356 for ac_exec_ext in '' $ac_executable_extensions; do 2357 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2358 if test $ac_prog = install && 2359 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2360 # AIX install. It has an incompatible calling convention. 2361 : 2362 elif test $ac_prog = install && 2363 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2364 # program-specific install script used by HP pwplus--don't use. 2365 : 2366 else 2367 rm -rf conftest.one conftest.two conftest.dir 2368 echo one > conftest.one 2369 echo two > conftest.two 2370 mkdir conftest.dir 2371 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2372 test -s conftest.one && test -s conftest.two && 2373 test -s conftest.dir/conftest.one && 2374 test -s conftest.dir/conftest.two 2375 then 2376 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2377 break 3 2378 fi 2379 fi 2380 fi 2381 done 2382 done 2383 ;; 2384esac 2385 2386 done 2387IFS=$as_save_IFS 2388 2389rm -rf conftest.one conftest.two conftest.dir 2390 2391fi 2392 if test "${ac_cv_path_install+set}" = set; then 2393 INSTALL=$ac_cv_path_install 2394 else 2395 # As a last resort, use the slow shell script. Don't cache a 2396 # value for INSTALL within a source directory, because that will 2397 # break other packages using the cache if that directory is 2398 # removed, or if the value is a relative name. 2399 INSTALL=$ac_install_sh 2400 fi 2401fi 2402{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2403$as_echo "$INSTALL" >&6; } 2404 2405# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2406# It thinks the first close brace ends the variable substitution. 2407test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2408 2409test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2410 2411test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2412 2413{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2414$as_echo_n "checking whether build environment is sane... " >&6; } 2415# Reject unsafe characters in $srcdir or the absolute working directory 2416# name. Accept space and tab only in the latter. 2417am_lf=' 2418' 2419case `pwd` in 2420 *[\\\"\#\$\&\'\`$am_lf]*) 2421 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2422esac 2423case $srcdir in 2424 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2425 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2426esac 2427 2428# Do 'set' in a subshell so we don't clobber the current shell's 2429# arguments. Must try -L first in case configure is actually a 2430# symlink; some systems play weird games with the mod time of symlinks 2431# (eg FreeBSD returns the mod time of the symlink's containing 2432# directory). 2433if ( 2434 am_has_slept=no 2435 for am_try in 1 2; do 2436 echo "timestamp, slept: $am_has_slept" > conftest.file 2437 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2438 if test "$*" = "X"; then 2439 # -L didn't work. 2440 set X `ls -t "$srcdir/configure" conftest.file` 2441 fi 2442 if test "$*" != "X $srcdir/configure conftest.file" \ 2443 && test "$*" != "X conftest.file $srcdir/configure"; then 2444 2445 # If neither matched, then we have a broken ls. This can happen 2446 # if, for instance, CONFIG_SHELL is bash and it inherits a 2447 # broken ls alias from the environment. This has actually 2448 # happened. Such a system could not be considered "sane". 2449 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2450 alias in your environment" "$LINENO" 5 2451 fi 2452 if test "$2" = conftest.file || test $am_try -eq 2; then 2453 break 2454 fi 2455 # Just in case. 2456 sleep 1 2457 am_has_slept=yes 2458 done 2459 test "$2" = conftest.file 2460 ) 2461then 2462 # Ok. 2463 : 2464else 2465 as_fn_error $? "newly created file is older than distributed files! 2466Check your system clock" "$LINENO" 5 2467fi 2468{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2469$as_echo "yes" >&6; } 2470# If we didn't sleep, we still need to ensure time stamps of config.status and 2471# generated files are strictly newer. 2472am_sleep_pid= 2473if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2474 ( sleep 1 ) & 2475 am_sleep_pid=$! 2476fi 2477 2478rm -f conftest.file 2479 2480test "$program_prefix" != NONE && 2481 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2482# Use a double $ so make ignores it. 2483test "$program_suffix" != NONE && 2484 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2485# Double any \ or $. 2486# By default was `s,x,x', remove it if useless. 2487ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2488program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2489 2490# Expand $ac_aux_dir to an absolute path. 2491am_aux_dir=`cd "$ac_aux_dir" && pwd` 2492 2493if test x"${MISSING+set}" != xset; then 2494 case $am_aux_dir in 2495 *\ * | *\ *) 2496 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2497 *) 2498 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2499 esac 2500fi 2501# Use eval to expand $SHELL 2502if eval "$MISSING --is-lightweight"; then 2503 am_missing_run="$MISSING " 2504else 2505 am_missing_run= 2506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2507$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2508fi 2509 2510if test x"${install_sh+set}" != xset; then 2511 case $am_aux_dir in 2512 *\ * | *\ *) 2513 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2514 *) 2515 install_sh="\${SHELL} $am_aux_dir/install-sh" 2516 esac 2517fi 2518 2519# Installed binaries are usually stripped using 'strip' when the user 2520# run "make install-strip". However 'strip' might not be the right 2521# tool to use in cross-compilation environments, therefore Automake 2522# will honor the 'STRIP' environment variable to overrule this program. 2523if test "$cross_compiling" != no; then 2524 if test -n "$ac_tool_prefix"; then 2525 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2526set dummy ${ac_tool_prefix}strip; ac_word=$2 2527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2528$as_echo_n "checking for $ac_word... " >&6; } 2529if ${ac_cv_prog_STRIP+:} false; then : 2530 $as_echo_n "(cached) " >&6 2531else 2532 if test -n "$STRIP"; then 2533 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2534else 2535as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2536for as_dir in $PATH 2537do 2538 IFS=$as_save_IFS 2539 test -z "$as_dir" && as_dir=. 2540 for ac_exec_ext in '' $ac_executable_extensions; do 2541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2542 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2544 break 2 2545 fi 2546done 2547 done 2548IFS=$as_save_IFS 2549 2550fi 2551fi 2552STRIP=$ac_cv_prog_STRIP 2553if test -n "$STRIP"; then 2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2555$as_echo "$STRIP" >&6; } 2556else 2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2558$as_echo "no" >&6; } 2559fi 2560 2561 2562fi 2563if test -z "$ac_cv_prog_STRIP"; then 2564 ac_ct_STRIP=$STRIP 2565 # Extract the first word of "strip", so it can be a program name with args. 2566set dummy strip; ac_word=$2 2567{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2568$as_echo_n "checking for $ac_word... " >&6; } 2569if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2570 $as_echo_n "(cached) " >&6 2571else 2572 if test -n "$ac_ct_STRIP"; then 2573 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2574else 2575as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2576for as_dir in $PATH 2577do 2578 IFS=$as_save_IFS 2579 test -z "$as_dir" && as_dir=. 2580 for ac_exec_ext in '' $ac_executable_extensions; do 2581 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2582 ac_cv_prog_ac_ct_STRIP="strip" 2583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2584 break 2 2585 fi 2586done 2587 done 2588IFS=$as_save_IFS 2589 2590fi 2591fi 2592ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2593if test -n "$ac_ct_STRIP"; then 2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2595$as_echo "$ac_ct_STRIP" >&6; } 2596else 2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2598$as_echo "no" >&6; } 2599fi 2600 2601 if test "x$ac_ct_STRIP" = x; then 2602 STRIP=":" 2603 else 2604 case $cross_compiling:$ac_tool_warned in 2605yes:) 2606{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2607$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2608ac_tool_warned=yes ;; 2609esac 2610 STRIP=$ac_ct_STRIP 2611 fi 2612else 2613 STRIP="$ac_cv_prog_STRIP" 2614fi 2615 2616fi 2617INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2618 2619{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2620$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2621if test -z "$MKDIR_P"; then 2622 if ${ac_cv_path_mkdir+:} false; then : 2623 $as_echo_n "(cached) " >&6 2624else 2625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2626for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2627do 2628 IFS=$as_save_IFS 2629 test -z "$as_dir" && as_dir=. 2630 for ac_prog in mkdir gmkdir; do 2631 for ac_exec_ext in '' $ac_executable_extensions; do 2632 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2633 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2634 'mkdir (GNU coreutils) '* | \ 2635 'mkdir (coreutils) '* | \ 2636 'mkdir (fileutils) '4.1*) 2637 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2638 break 3;; 2639 esac 2640 done 2641 done 2642 done 2643IFS=$as_save_IFS 2644 2645fi 2646 2647 test -d ./--version && rmdir ./--version 2648 if test "${ac_cv_path_mkdir+set}" = set; then 2649 MKDIR_P="$ac_cv_path_mkdir -p" 2650 else 2651 # As a last resort, use the slow shell script. Don't cache a 2652 # value for MKDIR_P within a source directory, because that will 2653 # break other packages using the cache if that directory is 2654 # removed, or if the value is a relative name. 2655 MKDIR_P="$ac_install_sh -d" 2656 fi 2657fi 2658{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2659$as_echo "$MKDIR_P" >&6; } 2660 2661for ac_prog in gawk mawk nawk awk 2662do 2663 # Extract the first word of "$ac_prog", so it can be a program name with args. 2664set dummy $ac_prog; ac_word=$2 2665{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2666$as_echo_n "checking for $ac_word... " >&6; } 2667if ${ac_cv_prog_AWK+:} false; then : 2668 $as_echo_n "(cached) " >&6 2669else 2670 if test -n "$AWK"; then 2671 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2672else 2673as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2674for as_dir in $PATH 2675do 2676 IFS=$as_save_IFS 2677 test -z "$as_dir" && as_dir=. 2678 for ac_exec_ext in '' $ac_executable_extensions; do 2679 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2680 ac_cv_prog_AWK="$ac_prog" 2681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2682 break 2 2683 fi 2684done 2685 done 2686IFS=$as_save_IFS 2687 2688fi 2689fi 2690AWK=$ac_cv_prog_AWK 2691if test -n "$AWK"; then 2692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2693$as_echo "$AWK" >&6; } 2694else 2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2696$as_echo "no" >&6; } 2697fi 2698 2699 2700 test -n "$AWK" && break 2701done 2702 2703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2704$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2705set x ${MAKE-make} 2706ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2707if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2708 $as_echo_n "(cached) " >&6 2709else 2710 cat >conftest.make <<\_ACEOF 2711SHELL = /bin/sh 2712all: 2713 @echo '@@@%%%=$(MAKE)=@@@%%%' 2714_ACEOF 2715# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2716case `${MAKE-make} -f conftest.make 2>/dev/null` in 2717 *@@@%%%=?*=@@@%%%*) 2718 eval ac_cv_prog_make_${ac_make}_set=yes;; 2719 *) 2720 eval ac_cv_prog_make_${ac_make}_set=no;; 2721esac 2722rm -f conftest.make 2723fi 2724if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2726$as_echo "yes" >&6; } 2727 SET_MAKE= 2728else 2729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2730$as_echo "no" >&6; } 2731 SET_MAKE="MAKE=${MAKE-make}" 2732fi 2733 2734rm -rf .tst 2>/dev/null 2735mkdir .tst 2>/dev/null 2736if test -d .tst; then 2737 am__leading_dot=. 2738else 2739 am__leading_dot=_ 2740fi 2741rmdir .tst 2>/dev/null 2742 2743# Check whether --enable-silent-rules was given. 2744if test "${enable_silent_rules+set}" = set; then : 2745 enableval=$enable_silent_rules; 2746fi 2747 2748case $enable_silent_rules in # ((( 2749 yes) AM_DEFAULT_VERBOSITY=0;; 2750 no) AM_DEFAULT_VERBOSITY=1;; 2751 *) AM_DEFAULT_VERBOSITY=1;; 2752esac 2753am_make=${MAKE-make} 2754{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2755$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2756if ${am_cv_make_support_nested_variables+:} false; then : 2757 $as_echo_n "(cached) " >&6 2758else 2759 if $as_echo 'TRUE=$(BAR$(V)) 2760BAR0=false 2761BAR1=true 2762V=1 2763am__doit: 2764 @$(TRUE) 2765.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2766 am_cv_make_support_nested_variables=yes 2767else 2768 am_cv_make_support_nested_variables=no 2769fi 2770fi 2771{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2772$as_echo "$am_cv_make_support_nested_variables" >&6; } 2773if test $am_cv_make_support_nested_variables = yes; then 2774 AM_V='$(V)' 2775 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2776else 2777 AM_V=$AM_DEFAULT_VERBOSITY 2778 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2779fi 2780AM_BACKSLASH='\' 2781 2782if test "`cd $srcdir && pwd`" != "`pwd`"; then 2783 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2784 # is not polluted with repeated "-I." 2785 am__isrc=' -I$(srcdir)' 2786 # test to see if srcdir already configured 2787 if test -f $srcdir/config.status; then 2788 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2789 fi 2790fi 2791 2792# test whether we have cygpath 2793if test -z "$CYGPATH_W"; then 2794 if (cygpath --version) >/dev/null 2>/dev/null; then 2795 CYGPATH_W='cygpath -w' 2796 else 2797 CYGPATH_W=echo 2798 fi 2799fi 2800 2801 2802# Define the identity of the package. 2803 PACKAGE='uget' 2804 VERSION='2.2.1' 2805 2806 2807cat >>confdefs.h <<_ACEOF 2808#define PACKAGE "$PACKAGE" 2809_ACEOF 2810 2811 2812cat >>confdefs.h <<_ACEOF 2813#define VERSION "$VERSION" 2814_ACEOF 2815 2816# Some tools Automake needs. 2817 2818ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2819 2820 2821AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2822 2823 2824AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2825 2826 2827AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2828 2829 2830MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2831 2832# For better backward compatibility. To be removed once Automake 1.9.x 2833# dies out for good. For more background, see: 2834# <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 2835# <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 2836mkdir_p='$(MKDIR_P)' 2837 2838# We need awk for the "check" target (and possibly the TAP driver). The 2839# system "awk" is bad on some platforms. 2840# Always define AMTAR for backward compatibility. Yes, it's still used 2841# in the wild :-( We should find a proper way to deprecate it ... 2842AMTAR='$${TAR-tar}' 2843 2844 2845# We'll loop over all known methods to create a tar archive until one works. 2846_am_tools='gnutar pax cpio none' 2847 2848am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2849 2850 2851 2852 2853 2854 2855# POSIX will say in a future version that running "rm -f" with no argument 2856# is OK; and we want to be able to make that assumption in our Makefile 2857# recipes. So use an aggressive probe to check that the usage we want is 2858# actually supported "in the wild" to an acceptable degree. 2859# See automake bug#10828. 2860# To make any issue more visible, cause the running configure to be aborted 2861# by default if the 'rm' program in use doesn't match our expectations; the 2862# user can still override this though. 2863if rm -f && rm -fr && rm -rf; then : OK; else 2864 cat >&2 <<'END' 2865Oops! 2866 2867Your 'rm' program seems unable to run without file operands specified 2868on the command line, even when the '-f' option is present. This is contrary 2869to the behaviour of most rm programs out there, and not conforming with 2870the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 2871 2872Please tell bug-automake@gnu.org about your system, including the value 2873of your $PATH and any error possibly output before this message. This 2874can help us improve future automake versions. 2875 2876END 2877 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 2878 echo 'Configuration will proceed anyway, since you have set the' >&2 2879 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 2880 echo >&2 2881 else 2882 cat >&2 <<'END' 2883Aborting the configuration process, to ensure you take notice of the issue. 2884 2885You can download and install GNU coreutils to get an 'rm' implementation 2886that behaves properly: <http://www.gnu.org/software/coreutils/>. 2887 2888If you want to complete the configuration process using your problematic 2889'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 2890to "yes", and re-run configure. 2891 2892END 2893 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 2894 fi 2895fi 2896 2897 2898## --- Use config.h (autogen.sh add autoheader) 2899ac_config_headers="$ac_config_headers config.h" 2900 2901 2902## --- Determine a C compiler to use. 2903ac_ext=c 2904ac_cpp='$CPP $CPPFLAGS' 2905ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2906ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2907ac_compiler_gnu=$ac_cv_c_compiler_gnu 2908if test -n "$ac_tool_prefix"; then 2909 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2910set dummy ${ac_tool_prefix}gcc; ac_word=$2 2911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2912$as_echo_n "checking for $ac_word... " >&6; } 2913if ${ac_cv_prog_CC+:} false; then : 2914 $as_echo_n "(cached) " >&6 2915else 2916 if test -n "$CC"; then 2917 ac_cv_prog_CC="$CC" # Let the user override the test. 2918else 2919as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2920for as_dir in $PATH 2921do 2922 IFS=$as_save_IFS 2923 test -z "$as_dir" && as_dir=. 2924 for ac_exec_ext in '' $ac_executable_extensions; do 2925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2926 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2928 break 2 2929 fi 2930done 2931 done 2932IFS=$as_save_IFS 2933 2934fi 2935fi 2936CC=$ac_cv_prog_CC 2937if test -n "$CC"; then 2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2939$as_echo "$CC" >&6; } 2940else 2941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2942$as_echo "no" >&6; } 2943fi 2944 2945 2946fi 2947if test -z "$ac_cv_prog_CC"; then 2948 ac_ct_CC=$CC 2949 # Extract the first word of "gcc", so it can be a program name with args. 2950set dummy gcc; ac_word=$2 2951{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2952$as_echo_n "checking for $ac_word... " >&6; } 2953if ${ac_cv_prog_ac_ct_CC+:} false; then : 2954 $as_echo_n "(cached) " >&6 2955else 2956 if test -n "$ac_ct_CC"; then 2957 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2958else 2959as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2960for as_dir in $PATH 2961do 2962 IFS=$as_save_IFS 2963 test -z "$as_dir" && as_dir=. 2964 for ac_exec_ext in '' $ac_executable_extensions; do 2965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2966 ac_cv_prog_ac_ct_CC="gcc" 2967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2968 break 2 2969 fi 2970done 2971 done 2972IFS=$as_save_IFS 2973 2974fi 2975fi 2976ac_ct_CC=$ac_cv_prog_ac_ct_CC 2977if test -n "$ac_ct_CC"; then 2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2979$as_echo "$ac_ct_CC" >&6; } 2980else 2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2982$as_echo "no" >&6; } 2983fi 2984 2985 if test "x$ac_ct_CC" = x; then 2986 CC="" 2987 else 2988 case $cross_compiling:$ac_tool_warned in 2989yes:) 2990{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2991$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2992ac_tool_warned=yes ;; 2993esac 2994 CC=$ac_ct_CC 2995 fi 2996else 2997 CC="$ac_cv_prog_CC" 2998fi 2999 3000if test -z "$CC"; then 3001 if test -n "$ac_tool_prefix"; then 3002 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3003set dummy ${ac_tool_prefix}cc; ac_word=$2 3004{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3005$as_echo_n "checking for $ac_word... " >&6; } 3006if ${ac_cv_prog_CC+:} false; then : 3007 $as_echo_n "(cached) " >&6 3008else 3009 if test -n "$CC"; then 3010 ac_cv_prog_CC="$CC" # Let the user override the test. 3011else 3012as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3013for as_dir in $PATH 3014do 3015 IFS=$as_save_IFS 3016 test -z "$as_dir" && as_dir=. 3017 for ac_exec_ext in '' $ac_executable_extensions; do 3018 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3019 ac_cv_prog_CC="${ac_tool_prefix}cc" 3020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3021 break 2 3022 fi 3023done 3024 done 3025IFS=$as_save_IFS 3026 3027fi 3028fi 3029CC=$ac_cv_prog_CC 3030if test -n "$CC"; then 3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3032$as_echo "$CC" >&6; } 3033else 3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3035$as_echo "no" >&6; } 3036fi 3037 3038 3039 fi 3040fi 3041if test -z "$CC"; then 3042 # Extract the first word of "cc", so it can be a program name with args. 3043set dummy cc; ac_word=$2 3044{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3045$as_echo_n "checking for $ac_word... " >&6; } 3046if ${ac_cv_prog_CC+:} false; then : 3047 $as_echo_n "(cached) " >&6 3048else 3049 if test -n "$CC"; then 3050 ac_cv_prog_CC="$CC" # Let the user override the test. 3051else 3052 ac_prog_rejected=no 3053as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3054for as_dir in $PATH 3055do 3056 IFS=$as_save_IFS 3057 test -z "$as_dir" && as_dir=. 3058 for ac_exec_ext in '' $ac_executable_extensions; do 3059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3060 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3061 ac_prog_rejected=yes 3062 continue 3063 fi 3064 ac_cv_prog_CC="cc" 3065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3066 break 2 3067 fi 3068done 3069 done 3070IFS=$as_save_IFS 3071 3072if test $ac_prog_rejected = yes; then 3073 # We found a bogon in the path, so make sure we never use it. 3074 set dummy $ac_cv_prog_CC 3075 shift 3076 if test $# != 0; then 3077 # We chose a different compiler from the bogus one. 3078 # However, it has the same basename, so the bogon will be chosen 3079 # first if we set CC to just the basename; use the full file name. 3080 shift 3081 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3082 fi 3083fi 3084fi 3085fi 3086CC=$ac_cv_prog_CC 3087if test -n "$CC"; then 3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3089$as_echo "$CC" >&6; } 3090else 3091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3092$as_echo "no" >&6; } 3093fi 3094 3095 3096fi 3097if test -z "$CC"; then 3098 if test -n "$ac_tool_prefix"; then 3099 for ac_prog in cl.exe 3100 do 3101 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3102set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3103{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3104$as_echo_n "checking for $ac_word... " >&6; } 3105if ${ac_cv_prog_CC+:} false; then : 3106 $as_echo_n "(cached) " >&6 3107else 3108 if test -n "$CC"; then 3109 ac_cv_prog_CC="$CC" # Let the user override the test. 3110else 3111as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3112for as_dir in $PATH 3113do 3114 IFS=$as_save_IFS 3115 test -z "$as_dir" && as_dir=. 3116 for ac_exec_ext in '' $ac_executable_extensions; do 3117 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3118 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3120 break 2 3121 fi 3122done 3123 done 3124IFS=$as_save_IFS 3125 3126fi 3127fi 3128CC=$ac_cv_prog_CC 3129if test -n "$CC"; then 3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3131$as_echo "$CC" >&6; } 3132else 3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3134$as_echo "no" >&6; } 3135fi 3136 3137 3138 test -n "$CC" && break 3139 done 3140fi 3141if test -z "$CC"; then 3142 ac_ct_CC=$CC 3143 for ac_prog in cl.exe 3144do 3145 # Extract the first word of "$ac_prog", so it can be a program name with args. 3146set dummy $ac_prog; ac_word=$2 3147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3148$as_echo_n "checking for $ac_word... " >&6; } 3149if ${ac_cv_prog_ac_ct_CC+:} false; then : 3150 $as_echo_n "(cached) " >&6 3151else 3152 if test -n "$ac_ct_CC"; then 3153 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3154else 3155as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3156for as_dir in $PATH 3157do 3158 IFS=$as_save_IFS 3159 test -z "$as_dir" && as_dir=. 3160 for ac_exec_ext in '' $ac_executable_extensions; do 3161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3162 ac_cv_prog_ac_ct_CC="$ac_prog" 3163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3164 break 2 3165 fi 3166done 3167 done 3168IFS=$as_save_IFS 3169 3170fi 3171fi 3172ac_ct_CC=$ac_cv_prog_ac_ct_CC 3173if test -n "$ac_ct_CC"; then 3174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3175$as_echo "$ac_ct_CC" >&6; } 3176else 3177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3178$as_echo "no" >&6; } 3179fi 3180 3181 3182 test -n "$ac_ct_CC" && break 3183done 3184 3185 if test "x$ac_ct_CC" = x; then 3186 CC="" 3187 else 3188 case $cross_compiling:$ac_tool_warned in 3189yes:) 3190{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3191$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3192ac_tool_warned=yes ;; 3193esac 3194 CC=$ac_ct_CC 3195 fi 3196fi 3197 3198fi 3199 3200 3201test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3202$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3203as_fn_error $? "no acceptable C compiler found in \$PATH 3204See \`config.log' for more details" "$LINENO" 5; } 3205 3206# Provide some information about the compiler. 3207$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3208set X $ac_compile 3209ac_compiler=$2 3210for ac_option in --version -v -V -qversion; do 3211 { { ac_try="$ac_compiler $ac_option >&5" 3212case "(($ac_try" in 3213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3214 *) ac_try_echo=$ac_try;; 3215esac 3216eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3217$as_echo "$ac_try_echo"; } >&5 3218 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3219 ac_status=$? 3220 if test -s conftest.err; then 3221 sed '10a\ 3222... rest of stderr output deleted ... 3223 10q' conftest.err >conftest.er1 3224 cat conftest.er1 >&5 3225 fi 3226 rm -f conftest.er1 conftest.err 3227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3228 test $ac_status = 0; } 3229done 3230 3231cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3232/* end confdefs.h. */ 3233 3234int 3235main () 3236{ 3237 3238 ; 3239 return 0; 3240} 3241_ACEOF 3242ac_clean_files_save=$ac_clean_files 3243ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3244# Try to create an executable without -o first, disregard a.out. 3245# It will help us diagnose broken compilers, and finding out an intuition 3246# of exeext. 3247{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3248$as_echo_n "checking whether the C compiler works... " >&6; } 3249ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3250 3251# The possible output files: 3252ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3253 3254ac_rmfiles= 3255for ac_file in $ac_files 3256do 3257 case $ac_file in 3258 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3259 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3260 esac 3261done 3262rm -f $ac_rmfiles 3263 3264if { { ac_try="$ac_link_default" 3265case "(($ac_try" in 3266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3267 *) ac_try_echo=$ac_try;; 3268esac 3269eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3270$as_echo "$ac_try_echo"; } >&5 3271 (eval "$ac_link_default") 2>&5 3272 ac_status=$? 3273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3274 test $ac_status = 0; }; then : 3275 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3276# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3277# in a Makefile. We should not override ac_cv_exeext if it was cached, 3278# so that the user can short-circuit this test for compilers unknown to 3279# Autoconf. 3280for ac_file in $ac_files '' 3281do 3282 test -f "$ac_file" || continue 3283 case $ac_file in 3284 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3285 ;; 3286 [ab].out ) 3287 # We found the default executable, but exeext='' is most 3288 # certainly right. 3289 break;; 3290 *.* ) 3291 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3292 then :; else 3293 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3294 fi 3295 # We set ac_cv_exeext here because the later test for it is not 3296 # safe: cross compilers may not add the suffix if given an `-o' 3297 # argument, so we may need to know it at that point already. 3298 # Even if this section looks crufty: it has the advantage of 3299 # actually working. 3300 break;; 3301 * ) 3302 break;; 3303 esac 3304done 3305test "$ac_cv_exeext" = no && ac_cv_exeext= 3306 3307else 3308 ac_file='' 3309fi 3310if test -z "$ac_file"; then : 3311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3312$as_echo "no" >&6; } 3313$as_echo "$as_me: failed program was:" >&5 3314sed 's/^/| /' conftest.$ac_ext >&5 3315 3316{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3317$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3318as_fn_error 77 "C compiler cannot create executables 3319See \`config.log' for more details" "$LINENO" 5; } 3320else 3321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3322$as_echo "yes" >&6; } 3323fi 3324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3325$as_echo_n "checking for C compiler default output file name... " >&6; } 3326{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3327$as_echo "$ac_file" >&6; } 3328ac_exeext=$ac_cv_exeext 3329 3330rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3331ac_clean_files=$ac_clean_files_save 3332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3333$as_echo_n "checking for suffix of executables... " >&6; } 3334if { { ac_try="$ac_link" 3335case "(($ac_try" in 3336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3337 *) ac_try_echo=$ac_try;; 3338esac 3339eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3340$as_echo "$ac_try_echo"; } >&5 3341 (eval "$ac_link") 2>&5 3342 ac_status=$? 3343 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3344 test $ac_status = 0; }; then : 3345 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3346# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3347# work properly (i.e., refer to `conftest.exe'), while it won't with 3348# `rm'. 3349for ac_file in conftest.exe conftest conftest.*; do 3350 test -f "$ac_file" || continue 3351 case $ac_file in 3352 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3353 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3354 break;; 3355 * ) break;; 3356 esac 3357done 3358else 3359 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3360$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3361as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3362See \`config.log' for more details" "$LINENO" 5; } 3363fi 3364rm -f conftest conftest$ac_cv_exeext 3365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3366$as_echo "$ac_cv_exeext" >&6; } 3367 3368rm -f conftest.$ac_ext 3369EXEEXT=$ac_cv_exeext 3370ac_exeext=$EXEEXT 3371cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3372/* end confdefs.h. */ 3373#include <stdio.h> 3374int 3375main () 3376{ 3377FILE *f = fopen ("conftest.out", "w"); 3378 return ferror (f) || fclose (f) != 0; 3379 3380 ; 3381 return 0; 3382} 3383_ACEOF 3384ac_clean_files="$ac_clean_files conftest.out" 3385# Check that the compiler produces executables we can run. If not, either 3386# the compiler is broken, or we cross compile. 3387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3388$as_echo_n "checking whether we are cross compiling... " >&6; } 3389if test "$cross_compiling" != yes; then 3390 { { ac_try="$ac_link" 3391case "(($ac_try" in 3392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3393 *) ac_try_echo=$ac_try;; 3394esac 3395eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3396$as_echo "$ac_try_echo"; } >&5 3397 (eval "$ac_link") 2>&5 3398 ac_status=$? 3399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3400 test $ac_status = 0; } 3401 if { ac_try='./conftest$ac_cv_exeext' 3402 { { case "(($ac_try" in 3403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3404 *) ac_try_echo=$ac_try;; 3405esac 3406eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3407$as_echo "$ac_try_echo"; } >&5 3408 (eval "$ac_try") 2>&5 3409 ac_status=$? 3410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3411 test $ac_status = 0; }; }; then 3412 cross_compiling=no 3413 else 3414 if test "$cross_compiling" = maybe; then 3415 cross_compiling=yes 3416 else 3417 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3418$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3419as_fn_error $? "cannot run C compiled programs. 3420If you meant to cross compile, use \`--host'. 3421See \`config.log' for more details" "$LINENO" 5; } 3422 fi 3423 fi 3424fi 3425{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3426$as_echo "$cross_compiling" >&6; } 3427 3428rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3429ac_clean_files=$ac_clean_files_save 3430{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3431$as_echo_n "checking for suffix of object files... " >&6; } 3432if ${ac_cv_objext+:} false; then : 3433 $as_echo_n "(cached) " >&6 3434else 3435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3436/* end confdefs.h. */ 3437 3438int 3439main () 3440{ 3441 3442 ; 3443 return 0; 3444} 3445_ACEOF 3446rm -f conftest.o conftest.obj 3447if { { ac_try="$ac_compile" 3448case "(($ac_try" in 3449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3450 *) ac_try_echo=$ac_try;; 3451esac 3452eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3453$as_echo "$ac_try_echo"; } >&5 3454 (eval "$ac_compile") 2>&5 3455 ac_status=$? 3456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3457 test $ac_status = 0; }; then : 3458 for ac_file in conftest.o conftest.obj conftest.*; do 3459 test -f "$ac_file" || continue; 3460 case $ac_file in 3461 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3462 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3463 break;; 3464 esac 3465done 3466else 3467 $as_echo "$as_me: failed program was:" >&5 3468sed 's/^/| /' conftest.$ac_ext >&5 3469 3470{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3471$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3472as_fn_error $? "cannot compute suffix of object files: cannot compile 3473See \`config.log' for more details" "$LINENO" 5; } 3474fi 3475rm -f conftest.$ac_cv_objext conftest.$ac_ext 3476fi 3477{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3478$as_echo "$ac_cv_objext" >&6; } 3479OBJEXT=$ac_cv_objext 3480ac_objext=$OBJEXT 3481{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3482$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3483if ${ac_cv_c_compiler_gnu+:} false; then : 3484 $as_echo_n "(cached) " >&6 3485else 3486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3487/* end confdefs.h. */ 3488 3489int 3490main () 3491{ 3492#ifndef __GNUC__ 3493 choke me 3494#endif 3495 3496 ; 3497 return 0; 3498} 3499_ACEOF 3500if ac_fn_c_try_compile "$LINENO"; then : 3501 ac_compiler_gnu=yes 3502else 3503 ac_compiler_gnu=no 3504fi 3505rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3506ac_cv_c_compiler_gnu=$ac_compiler_gnu 3507 3508fi 3509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3510$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3511if test $ac_compiler_gnu = yes; then 3512 GCC=yes 3513else 3514 GCC= 3515fi 3516ac_test_CFLAGS=${CFLAGS+set} 3517ac_save_CFLAGS=$CFLAGS 3518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3519$as_echo_n "checking whether $CC accepts -g... " >&6; } 3520if ${ac_cv_prog_cc_g+:} false; then : 3521 $as_echo_n "(cached) " >&6 3522else 3523 ac_save_c_werror_flag=$ac_c_werror_flag 3524 ac_c_werror_flag=yes 3525 ac_cv_prog_cc_g=no 3526 CFLAGS="-g" 3527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3528/* end confdefs.h. */ 3529 3530int 3531main () 3532{ 3533 3534 ; 3535 return 0; 3536} 3537_ACEOF 3538if ac_fn_c_try_compile "$LINENO"; then : 3539 ac_cv_prog_cc_g=yes 3540else 3541 CFLAGS="" 3542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3543/* end confdefs.h. */ 3544 3545int 3546main () 3547{ 3548 3549 ; 3550 return 0; 3551} 3552_ACEOF 3553if ac_fn_c_try_compile "$LINENO"; then : 3554 3555else 3556 ac_c_werror_flag=$ac_save_c_werror_flag 3557 CFLAGS="-g" 3558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3559/* end confdefs.h. */ 3560 3561int 3562main () 3563{ 3564 3565 ; 3566 return 0; 3567} 3568_ACEOF 3569if ac_fn_c_try_compile "$LINENO"; then : 3570 ac_cv_prog_cc_g=yes 3571fi 3572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3573fi 3574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3575fi 3576rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3577 ac_c_werror_flag=$ac_save_c_werror_flag 3578fi 3579{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3580$as_echo "$ac_cv_prog_cc_g" >&6; } 3581if test "$ac_test_CFLAGS" = set; then 3582 CFLAGS=$ac_save_CFLAGS 3583elif test $ac_cv_prog_cc_g = yes; then 3584 if test "$GCC" = yes; then 3585 CFLAGS="-g -O2" 3586 else 3587 CFLAGS="-g" 3588 fi 3589else 3590 if test "$GCC" = yes; then 3591 CFLAGS="-O2" 3592 else 3593 CFLAGS= 3594 fi 3595fi 3596{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3597$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3598if ${ac_cv_prog_cc_c89+:} false; then : 3599 $as_echo_n "(cached) " >&6 3600else 3601 ac_cv_prog_cc_c89=no 3602ac_save_CC=$CC 3603cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3604/* end confdefs.h. */ 3605#include <stdarg.h> 3606#include <stdio.h> 3607struct stat; 3608/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3609struct buf { int x; }; 3610FILE * (*rcsopen) (struct buf *, struct stat *, int); 3611static char *e (p, i) 3612 char **p; 3613 int i; 3614{ 3615 return p[i]; 3616} 3617static char *f (char * (*g) (char **, int), char **p, ...) 3618{ 3619 char *s; 3620 va_list v; 3621 va_start (v,p); 3622 s = g (p, va_arg (v,int)); 3623 va_end (v); 3624 return s; 3625} 3626 3627/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3628 function prototypes and stuff, but not '\xHH' hex character constants. 3629 These don't provoke an error unfortunately, instead are silently treated 3630 as 'x'. The following induces an error, until -std is added to get 3631 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3632 array size at least. It's necessary to write '\x00'==0 to get something 3633 that's true only with -std. */ 3634int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3635 3636/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3637 inside strings and character constants. */ 3638#define FOO(x) 'x' 3639int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3640 3641int test (int i, double x); 3642struct s1 {int (*f) (int a);}; 3643struct s2 {int (*f) (double a);}; 3644int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3645int argc; 3646char **argv; 3647int 3648main () 3649{ 3650return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3651 ; 3652 return 0; 3653} 3654_ACEOF 3655for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3656 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3657do 3658 CC="$ac_save_CC $ac_arg" 3659 if ac_fn_c_try_compile "$LINENO"; then : 3660 ac_cv_prog_cc_c89=$ac_arg 3661fi 3662rm -f core conftest.err conftest.$ac_objext 3663 test "x$ac_cv_prog_cc_c89" != "xno" && break 3664done 3665rm -f conftest.$ac_ext 3666CC=$ac_save_CC 3667 3668fi 3669# AC_CACHE_VAL 3670case "x$ac_cv_prog_cc_c89" in 3671 x) 3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3673$as_echo "none needed" >&6; } ;; 3674 xno) 3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3676$as_echo "unsupported" >&6; } ;; 3677 *) 3678 CC="$CC $ac_cv_prog_cc_c89" 3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3680$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3681esac 3682if test "x$ac_cv_prog_cc_c89" != xno; then : 3683 3684fi 3685 3686ac_ext=c 3687ac_cpp='$CPP $CPPFLAGS' 3688ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3689ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3690ac_compiler_gnu=$ac_cv_c_compiler_gnu 3691 3692ac_ext=c 3693ac_cpp='$CPP $CPPFLAGS' 3694ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3695ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3696ac_compiler_gnu=$ac_cv_c_compiler_gnu 3697{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 3698$as_echo_n "checking whether $CC understands -c and -o together... " >&6; } 3699if ${am_cv_prog_cc_c_o+:} false; then : 3700 $as_echo_n "(cached) " >&6 3701else 3702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3703/* end confdefs.h. */ 3704 3705int 3706main () 3707{ 3708 3709 ; 3710 return 0; 3711} 3712_ACEOF 3713 # Make sure it works both with $CC and with simple cc. 3714 # Following AC_PROG_CC_C_O, we do the test twice because some 3715 # compilers refuse to overwrite an existing .o file with -o, 3716 # though they will create one. 3717 am_cv_prog_cc_c_o=yes 3718 for am_i in 1 2; do 3719 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 3720 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 3721 ac_status=$? 3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3723 (exit $ac_status); } \ 3724 && test -f conftest2.$ac_objext; then 3725 : OK 3726 else 3727 am_cv_prog_cc_c_o=no 3728 break 3729 fi 3730 done 3731 rm -f core conftest* 3732 unset am_i 3733fi 3734{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 3735$as_echo "$am_cv_prog_cc_c_o" >&6; } 3736if test "$am_cv_prog_cc_c_o" != yes; then 3737 # Losing compiler, so override with the script. 3738 # FIXME: It is wrong to rewrite CC. 3739 # But if we don't then we get into trouble of one sort or another. 3740 # A longer-term fix would be to have automake use am__CC in this case, 3741 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 3742 CC="$am_aux_dir/compile $CC" 3743fi 3744ac_ext=c 3745ac_cpp='$CPP $CPPFLAGS' 3746ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3747ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3748ac_compiler_gnu=$ac_cv_c_compiler_gnu 3749 3750DEPDIR="${am__leading_dot}deps" 3751 3752ac_config_commands="$ac_config_commands depfiles" 3753 3754 3755am_make=${MAKE-make} 3756cat > confinc << 'END' 3757am__doit: 3758 @echo this is the am__doit target 3759.PHONY: am__doit 3760END 3761# If we don't find an include directive, just comment out the code. 3762{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3763$as_echo_n "checking for style of include used by $am_make... " >&6; } 3764am__include="#" 3765am__quote= 3766_am_result=none 3767# First try GNU make style include. 3768echo "include confinc" > confmf 3769# Ignore all kinds of additional output from 'make'. 3770case `$am_make -s -f confmf 2> /dev/null` in #( 3771*the\ am__doit\ target*) 3772 am__include=include 3773 am__quote= 3774 _am_result=GNU 3775 ;; 3776esac 3777# Now try BSD make style include. 3778if test "$am__include" = "#"; then 3779 echo '.include "confinc"' > confmf 3780 case `$am_make -s -f confmf 2> /dev/null` in #( 3781 *the\ am__doit\ target*) 3782 am__include=.include 3783 am__quote="\"" 3784 _am_result=BSD 3785 ;; 3786 esac 3787fi 3788 3789 3790{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3791$as_echo "$_am_result" >&6; } 3792rm -f confinc confmf 3793 3794# Check whether --enable-dependency-tracking was given. 3795if test "${enable_dependency_tracking+set}" = set; then : 3796 enableval=$enable_dependency_tracking; 3797fi 3798 3799if test "x$enable_dependency_tracking" != xno; then 3800 am_depcomp="$ac_aux_dir/depcomp" 3801 AMDEPBACKSLASH='\' 3802 am__nodep='_no' 3803fi 3804 if test "x$enable_dependency_tracking" != xno; then 3805 AMDEP_TRUE= 3806 AMDEP_FALSE='#' 3807else 3808 AMDEP_TRUE='#' 3809 AMDEP_FALSE= 3810fi 3811 3812 3813 3814depcc="$CC" am_compiler_list= 3815 3816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3817$as_echo_n "checking dependency style of $depcc... " >&6; } 3818if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3819 $as_echo_n "(cached) " >&6 3820else 3821 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3822 # We make a subdir and do the tests there. Otherwise we can end up 3823 # making bogus files that we don't know about and never remove. For 3824 # instance it was reported that on HP-UX the gcc test will end up 3825 # making a dummy file named 'D' -- because '-MD' means "put the output 3826 # in D". 3827 rm -rf conftest.dir 3828 mkdir conftest.dir 3829 # Copy depcomp to subdir because otherwise we won't find it if we're 3830 # using a relative directory. 3831 cp "$am_depcomp" conftest.dir 3832 cd conftest.dir 3833 # We will build objects and dependencies in a subdirectory because 3834 # it helps to detect inapplicable dependency modes. For instance 3835 # both Tru64's cc and ICC support -MD to output dependencies as a 3836 # side effect of compilation, but ICC will put the dependencies in 3837 # the current directory while Tru64 will put them in the object 3838 # directory. 3839 mkdir sub 3840 3841 am_cv_CC_dependencies_compiler_type=none 3842 if test "$am_compiler_list" = ""; then 3843 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3844 fi 3845 am__universal=false 3846 case " $depcc " in #( 3847 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3848 esac 3849 3850 for depmode in $am_compiler_list; do 3851 # Setup a source with many dependencies, because some compilers 3852 # like to wrap large dependency lists on column 80 (with \), and 3853 # we should not choose a depcomp mode which is confused by this. 3854 # 3855 # We need to recreate these files for each test, as the compiler may 3856 # overwrite some of them when testing with obscure command lines. 3857 # This happens at least with the AIX C compiler. 3858 : > sub/conftest.c 3859 for i in 1 2 3 4 5 6; do 3860 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3861 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3862 # Solaris 10 /bin/sh. 3863 echo '/* dummy */' > sub/conftst$i.h 3864 done 3865 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3866 3867 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3868 # mode. It turns out that the SunPro C++ compiler does not properly 3869 # handle '-M -o', and we need to detect this. Also, some Intel 3870 # versions had trouble with output in subdirs. 3871 am__obj=sub/conftest.${OBJEXT-o} 3872 am__minus_obj="-o $am__obj" 3873 case $depmode in 3874 gcc) 3875 # This depmode causes a compiler race in universal mode. 3876 test "$am__universal" = false || continue 3877 ;; 3878 nosideeffect) 3879 # After this tag, mechanisms are not by side-effect, so they'll 3880 # only be used when explicitly requested. 3881 if test "x$enable_dependency_tracking" = xyes; then 3882 continue 3883 else 3884 break 3885 fi 3886 ;; 3887 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3888 # This compiler won't grok '-c -o', but also, the minuso test has 3889 # not run yet. These depmodes are late enough in the game, and 3890 # so weak that their functioning should not be impacted. 3891 am__obj=conftest.${OBJEXT-o} 3892 am__minus_obj= 3893 ;; 3894 none) break ;; 3895 esac 3896 if depmode=$depmode \ 3897 source=sub/conftest.c object=$am__obj \ 3898 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3899 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3900 >/dev/null 2>conftest.err && 3901 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3902 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3903 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3904 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3905 # icc doesn't choke on unknown options, it will just issue warnings 3906 # or remarks (even with -Werror). So we grep stderr for any message 3907 # that says an option was ignored or not supported. 3908 # When given -MP, icc 7.0 and 7.1 complain thusly: 3909 # icc: Command line warning: ignoring option '-M'; no argument required 3910 # The diagnosis changed in icc 8.0: 3911 # icc: Command line remark: option '-MP' not supported 3912 if (grep 'ignoring option' conftest.err || 3913 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3914 am_cv_CC_dependencies_compiler_type=$depmode 3915 break 3916 fi 3917 fi 3918 done 3919 3920 cd .. 3921 rm -rf conftest.dir 3922else 3923 am_cv_CC_dependencies_compiler_type=none 3924fi 3925 3926fi 3927{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3928$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3929CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3930 3931 if 3932 test "x$enable_dependency_tracking" != xno \ 3933 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3934 am__fastdepCC_TRUE= 3935 am__fastdepCC_FALSE='#' 3936else 3937 am__fastdepCC_TRUE='#' 3938 am__fastdepCC_FALSE= 3939fi 3940 3941 3942 3943## --- Check C compiler -c -o options. 3944 3945 3946## --- Determine a C++ compiler to use. 3947# AC_PROG_CXX 3948 3949## --- Check for the ar command to use 3950 3951if test -n "$ac_tool_prefix"; then 3952 for ac_prog in ar lib "link -lib" 3953 do 3954 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3955set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3957$as_echo_n "checking for $ac_word... " >&6; } 3958if ${ac_cv_prog_AR+:} false; then : 3959 $as_echo_n "(cached) " >&6 3960else 3961 if test -n "$AR"; then 3962 ac_cv_prog_AR="$AR" # Let the user override the test. 3963else 3964as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3965for as_dir in $PATH 3966do 3967 IFS=$as_save_IFS 3968 test -z "$as_dir" && as_dir=. 3969 for ac_exec_ext in '' $ac_executable_extensions; do 3970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3971 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 3972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3973 break 2 3974 fi 3975done 3976 done 3977IFS=$as_save_IFS 3978 3979fi 3980fi 3981AR=$ac_cv_prog_AR 3982if test -n "$AR"; then 3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 3984$as_echo "$AR" >&6; } 3985else 3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3987$as_echo "no" >&6; } 3988fi 3989 3990 3991 test -n "$AR" && break 3992 done 3993fi 3994if test -z "$AR"; then 3995 ac_ct_AR=$AR 3996 for ac_prog in ar lib "link -lib" 3997do 3998 # Extract the first word of "$ac_prog", so it can be a program name with args. 3999set dummy $ac_prog; ac_word=$2 4000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4001$as_echo_n "checking for $ac_word... " >&6; } 4002if ${ac_cv_prog_ac_ct_AR+:} false; then : 4003 $as_echo_n "(cached) " >&6 4004else 4005 if test -n "$ac_ct_AR"; then 4006 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 4007else 4008as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4009for as_dir in $PATH 4010do 4011 IFS=$as_save_IFS 4012 test -z "$as_dir" && as_dir=. 4013 for ac_exec_ext in '' $ac_executable_extensions; do 4014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4015 ac_cv_prog_ac_ct_AR="$ac_prog" 4016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4017 break 2 4018 fi 4019done 4020 done 4021IFS=$as_save_IFS 4022 4023fi 4024fi 4025ac_ct_AR=$ac_cv_prog_ac_ct_AR 4026if test -n "$ac_ct_AR"; then 4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 4028$as_echo "$ac_ct_AR" >&6; } 4029else 4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4031$as_echo "no" >&6; } 4032fi 4033 4034 4035 test -n "$ac_ct_AR" && break 4036done 4037 4038 if test "x$ac_ct_AR" = x; then 4039 AR="false" 4040 else 4041 case $cross_compiling:$ac_tool_warned in 4042yes:) 4043{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4044$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4045ac_tool_warned=yes ;; 4046esac 4047 AR=$ac_ct_AR 4048 fi 4049fi 4050 4051: ${AR=ar} 4052 4053{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 4054$as_echo_n "checking the archiver ($AR) interface... " >&6; } 4055if ${am_cv_ar_interface+:} false; then : 4056 $as_echo_n "(cached) " >&6 4057else 4058 ac_ext=c 4059ac_cpp='$CPP $CPPFLAGS' 4060ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4061ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4062ac_compiler_gnu=$ac_cv_c_compiler_gnu 4063 4064 am_cv_ar_interface=ar 4065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4066/* end confdefs.h. */ 4067int some_variable = 0; 4068_ACEOF 4069if ac_fn_c_try_compile "$LINENO"; then : 4070 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' 4071 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4072 (eval $am_ar_try) 2>&5 4073 ac_status=$? 4074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4075 test $ac_status = 0; } 4076 if test "$ac_status" -eq 0; then 4077 am_cv_ar_interface=ar 4078 else 4079 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' 4080 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 4081 (eval $am_ar_try) 2>&5 4082 ac_status=$? 4083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4084 test $ac_status = 0; } 4085 if test "$ac_status" -eq 0; then 4086 am_cv_ar_interface=lib 4087 else 4088 am_cv_ar_interface=unknown 4089 fi 4090 fi 4091 rm -f conftest.lib libconftest.a 4092 4093fi 4094rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4095 ac_ext=c 4096ac_cpp='$CPP $CPPFLAGS' 4097ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4098ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4099ac_compiler_gnu=$ac_cv_c_compiler_gnu 4100 4101fi 4102{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 4103$as_echo "$am_cv_ar_interface" >&6; } 4104 4105case $am_cv_ar_interface in 4106ar) 4107 ;; 4108lib) 4109 # Microsoft lib, so override with the ar-lib wrapper script. 4110 # FIXME: It is wrong to rewrite AR. 4111 # But if we don't then we get into trouble of one sort or another. 4112 # A longer-term fix would be to have automake use am__AR in this case, 4113 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something 4114 # similar. 4115 AR="$am_aux_dir/ar-lib $AR" 4116 ;; 4117unknown) 4118 as_fn_error $? "could not determine $AR interface" "$LINENO" 5 4119 ;; 4120esac 4121 4122 4123## Use library (static library) 4124if test -n "$ac_tool_prefix"; then 4125 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 4126set dummy ${ac_tool_prefix}ranlib; ac_word=$2 4127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4128$as_echo_n "checking for $ac_word... " >&6; } 4129if ${ac_cv_prog_RANLIB+:} false; then : 4130 $as_echo_n "(cached) " >&6 4131else 4132 if test -n "$RANLIB"; then 4133 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 4134else 4135as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4136for as_dir in $PATH 4137do 4138 IFS=$as_save_IFS 4139 test -z "$as_dir" && as_dir=. 4140 for ac_exec_ext in '' $ac_executable_extensions; do 4141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4142 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 4143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4144 break 2 4145 fi 4146done 4147 done 4148IFS=$as_save_IFS 4149 4150fi 4151fi 4152RANLIB=$ac_cv_prog_RANLIB 4153if test -n "$RANLIB"; then 4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 4155$as_echo "$RANLIB" >&6; } 4156else 4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4158$as_echo "no" >&6; } 4159fi 4160 4161 4162fi 4163if test -z "$ac_cv_prog_RANLIB"; then 4164 ac_ct_RANLIB=$RANLIB 4165 # Extract the first word of "ranlib", so it can be a program name with args. 4166set dummy ranlib; ac_word=$2 4167{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4168$as_echo_n "checking for $ac_word... " >&6; } 4169if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 4170 $as_echo_n "(cached) " >&6 4171else 4172 if test -n "$ac_ct_RANLIB"; then 4173 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 4174else 4175as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4176for as_dir in $PATH 4177do 4178 IFS=$as_save_IFS 4179 test -z "$as_dir" && as_dir=. 4180 for ac_exec_ext in '' $ac_executable_extensions; do 4181 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4182 ac_cv_prog_ac_ct_RANLIB="ranlib" 4183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4184 break 2 4185 fi 4186done 4187 done 4188IFS=$as_save_IFS 4189 4190fi 4191fi 4192ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 4193if test -n "$ac_ct_RANLIB"; then 4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 4195$as_echo "$ac_ct_RANLIB" >&6; } 4196else 4197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4198$as_echo "no" >&6; } 4199fi 4200 4201 if test "x$ac_ct_RANLIB" = x; then 4202 RANLIB=":" 4203 else 4204 case $cross_compiling:$ac_tool_warned in 4205yes:) 4206{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4207$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4208ac_tool_warned=yes ;; 4209esac 4210 RANLIB=$ac_ct_RANLIB 4211 fi 4212else 4213 RANLIB="$ac_cv_prog_RANLIB" 4214fi 4215 4216 4217## --- Check function posix_fallocate() 4218for ac_func in posix_fallocate 4219do : 4220 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate" 4221if test "x$ac_cv_func_posix_fallocate" = xyes; then : 4222 cat >>confdefs.h <<_ACEOF 4223#define HAVE_POSIX_FALLOCATE 1 4224_ACEOF 4225 4226fi 4227done 4228 4229 4230## --- Check function ftruncate() 4231for ac_func in ftruncate 4232do : 4233 ac_fn_c_check_func "$LINENO" "ftruncate" "ac_cv_func_ftruncate" 4234if test "x$ac_cv_func_ftruncate" = xyes; then : 4235 cat >>confdefs.h <<_ACEOF 4236#define HAVE_FTRUNCATE 1 4237_ACEOF 4238 4239fi 4240done 4241 4242 4243## ---------------------------------------------- 4244## L10N (add intltoolize to autogen.sh) 4245 4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 4247$as_echo_n "checking whether NLS is requested... " >&6; } 4248 # Check whether --enable-nls was given. 4249if test "${enable_nls+set}" = set; then : 4250 enableval=$enable_nls; USE_NLS=$enableval 4251else 4252 USE_NLS=yes 4253fi 4254 4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 4256$as_echo "$USE_NLS" >&6; } 4257 4258 4259 4260 4261case "$am__api_version" in 4262 1.01234) 4263 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 4264 ;; 4265 *) 4266 ;; 4267esac 4268 4269INTLTOOL_REQUIRED_VERSION_AS_INT=`echo | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 4270INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 4271INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 4272if test -n ""; then 4273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= " >&5 4274$as_echo_n "checking for intltool >= ... " >&6; } 4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 4276$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 4277 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 4278 as_fn_error $? "Your intltool is too old. You need intltool or later." "$LINENO" 5 4279fi 4280 4281# Extract the first word of "intltool-update", so it can be a program name with args. 4282set dummy intltool-update; ac_word=$2 4283{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4284$as_echo_n "checking for $ac_word... " >&6; } 4285if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : 4286 $as_echo_n "(cached) " >&6 4287else 4288 case $INTLTOOL_UPDATE in 4289 [\\/]* | ?:[\\/]*) 4290 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 4291 ;; 4292 *) 4293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4294for as_dir in $PATH 4295do 4296 IFS=$as_save_IFS 4297 test -z "$as_dir" && as_dir=. 4298 for ac_exec_ext in '' $ac_executable_extensions; do 4299 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4300 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 4301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4302 break 2 4303 fi 4304done 4305 done 4306IFS=$as_save_IFS 4307 4308 ;; 4309esac 4310fi 4311INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 4312if test -n "$INTLTOOL_UPDATE"; then 4313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 4314$as_echo "$INTLTOOL_UPDATE" >&6; } 4315else 4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4317$as_echo "no" >&6; } 4318fi 4319 4320 4321# Extract the first word of "intltool-merge", so it can be a program name with args. 4322set dummy intltool-merge; ac_word=$2 4323{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4324$as_echo_n "checking for $ac_word... " >&6; } 4325if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : 4326 $as_echo_n "(cached) " >&6 4327else 4328 case $INTLTOOL_MERGE in 4329 [\\/]* | ?:[\\/]*) 4330 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 4331 ;; 4332 *) 4333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4334for as_dir in $PATH 4335do 4336 IFS=$as_save_IFS 4337 test -z "$as_dir" && as_dir=. 4338 for ac_exec_ext in '' $ac_executable_extensions; do 4339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4340 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 4341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4342 break 2 4343 fi 4344done 4345 done 4346IFS=$as_save_IFS 4347 4348 ;; 4349esac 4350fi 4351INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 4352if test -n "$INTLTOOL_MERGE"; then 4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 4354$as_echo "$INTLTOOL_MERGE" >&6; } 4355else 4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4357$as_echo "no" >&6; } 4358fi 4359 4360 4361# Extract the first word of "intltool-extract", so it can be a program name with args. 4362set dummy intltool-extract; ac_word=$2 4363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4364$as_echo_n "checking for $ac_word... " >&6; } 4365if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : 4366 $as_echo_n "(cached) " >&6 4367else 4368 case $INTLTOOL_EXTRACT in 4369 [\\/]* | ?:[\\/]*) 4370 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 4371 ;; 4372 *) 4373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4374for as_dir in $PATH 4375do 4376 IFS=$as_save_IFS 4377 test -z "$as_dir" && as_dir=. 4378 for ac_exec_ext in '' $ac_executable_extensions; do 4379 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4380 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 4381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4382 break 2 4383 fi 4384done 4385 done 4386IFS=$as_save_IFS 4387 4388 ;; 4389esac 4390fi 4391INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 4392if test -n "$INTLTOOL_EXTRACT"; then 4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 4394$as_echo "$INTLTOOL_EXTRACT" >&6; } 4395else 4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4397$as_echo "no" >&6; } 4398fi 4399 4400 4401if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 4402 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 4403fi 4404 4405if test -z "$AM_DEFAULT_VERBOSITY"; then 4406 AM_DEFAULT_VERBOSITY=1 4407fi 4408 4409 4410INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' 4411INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' 4412INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' 4413 4414 4415 4416 4417INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' 4418intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' 4419intltool__v_merge_options_0='-q' 4420 4421 4422 4423 4424 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 $< $@' 4425INTLTOOL_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 $< $@' 4426 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 $< $@' 4427 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 $< $@' 4428 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 $< $@' 4429 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 $< $@' 4430 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 $< $@' 4431 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 $< $@' 4432INTLTOOL_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 $< $@' 4433 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 $< $@' 4434 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 $< $@' 4435if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then 4436 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 $< $@' 4437else 4438 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' 4439fi 4440 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 $< $@' 4441 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 $< $@' 4442 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 $< $@' 4443 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 $< $@' 4444 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 $< $@' 4445 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 $< $@' 4446 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 $< $@' 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544# Check the gettext tools to make sure they are GNU 4545# Extract the first word of "xgettext", so it can be a program name with args. 4546set dummy xgettext; ac_word=$2 4547{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4548$as_echo_n "checking for $ac_word... " >&6; } 4549if ${ac_cv_path_XGETTEXT+:} false; then : 4550 $as_echo_n "(cached) " >&6 4551else 4552 case $XGETTEXT in 4553 [\\/]* | ?:[\\/]*) 4554 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 4555 ;; 4556 *) 4557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4558for as_dir in $PATH 4559do 4560 IFS=$as_save_IFS 4561 test -z "$as_dir" && as_dir=. 4562 for ac_exec_ext in '' $ac_executable_extensions; do 4563 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4564 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 4565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4566 break 2 4567 fi 4568done 4569 done 4570IFS=$as_save_IFS 4571 4572 ;; 4573esac 4574fi 4575XGETTEXT=$ac_cv_path_XGETTEXT 4576if test -n "$XGETTEXT"; then 4577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 4578$as_echo "$XGETTEXT" >&6; } 4579else 4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4581$as_echo "no" >&6; } 4582fi 4583 4584 4585# Extract the first word of "msgmerge", so it can be a program name with args. 4586set dummy msgmerge; ac_word=$2 4587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4588$as_echo_n "checking for $ac_word... " >&6; } 4589if ${ac_cv_path_MSGMERGE+:} false; then : 4590 $as_echo_n "(cached) " >&6 4591else 4592 case $MSGMERGE in 4593 [\\/]* | ?:[\\/]*) 4594 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 4595 ;; 4596 *) 4597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4598for as_dir in $PATH 4599do 4600 IFS=$as_save_IFS 4601 test -z "$as_dir" && as_dir=. 4602 for ac_exec_ext in '' $ac_executable_extensions; do 4603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4604 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 4605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4606 break 2 4607 fi 4608done 4609 done 4610IFS=$as_save_IFS 4611 4612 ;; 4613esac 4614fi 4615MSGMERGE=$ac_cv_path_MSGMERGE 4616if test -n "$MSGMERGE"; then 4617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 4618$as_echo "$MSGMERGE" >&6; } 4619else 4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4621$as_echo "no" >&6; } 4622fi 4623 4624 4625# Extract the first word of "msgfmt", so it can be a program name with args. 4626set dummy msgfmt; ac_word=$2 4627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4628$as_echo_n "checking for $ac_word... " >&6; } 4629if ${ac_cv_path_MSGFMT+:} false; then : 4630 $as_echo_n "(cached) " >&6 4631else 4632 case $MSGFMT in 4633 [\\/]* | ?:[\\/]*) 4634 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 4635 ;; 4636 *) 4637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4638for as_dir in $PATH 4639do 4640 IFS=$as_save_IFS 4641 test -z "$as_dir" && as_dir=. 4642 for ac_exec_ext in '' $ac_executable_extensions; do 4643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4644 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 4645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4646 break 2 4647 fi 4648done 4649 done 4650IFS=$as_save_IFS 4651 4652 ;; 4653esac 4654fi 4655MSGFMT=$ac_cv_path_MSGFMT 4656if test -n "$MSGFMT"; then 4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 4658$as_echo "$MSGFMT" >&6; } 4659else 4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4661$as_echo "no" >&6; } 4662fi 4663 4664 4665# Extract the first word of "gmsgfmt", so it can be a program name with args. 4666set dummy gmsgfmt; ac_word=$2 4667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4668$as_echo_n "checking for $ac_word... " >&6; } 4669if ${ac_cv_path_GMSGFMT+:} false; then : 4670 $as_echo_n "(cached) " >&6 4671else 4672 case $GMSGFMT in 4673 [\\/]* | ?:[\\/]*) 4674 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 4675 ;; 4676 *) 4677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4678for as_dir in $PATH 4679do 4680 IFS=$as_save_IFS 4681 test -z "$as_dir" && as_dir=. 4682 for ac_exec_ext in '' $ac_executable_extensions; do 4683 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4684 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 4685 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4686 break 2 4687 fi 4688done 4689 done 4690IFS=$as_save_IFS 4691 4692 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 4693 ;; 4694esac 4695fi 4696GMSGFMT=$ac_cv_path_GMSGFMT 4697if test -n "$GMSGFMT"; then 4698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 4699$as_echo "$GMSGFMT" >&6; } 4700else 4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4702$as_echo "no" >&6; } 4703fi 4704 4705 4706if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 4707 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 4708fi 4709xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 4710mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 4711mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 4712if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 4713 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 4714fi 4715 4716# Extract the first word of "perl", so it can be a program name with args. 4717set dummy perl; ac_word=$2 4718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4719$as_echo_n "checking for $ac_word... " >&6; } 4720if ${ac_cv_path_INTLTOOL_PERL+:} false; then : 4721 $as_echo_n "(cached) " >&6 4722else 4723 case $INTLTOOL_PERL in 4724 [\\/]* | ?:[\\/]*) 4725 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 4726 ;; 4727 *) 4728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4729for as_dir in $PATH 4730do 4731 IFS=$as_save_IFS 4732 test -z "$as_dir" && as_dir=. 4733 for ac_exec_ext in '' $ac_executable_extensions; do 4734 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4735 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 4736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4737 break 2 4738 fi 4739done 4740 done 4741IFS=$as_save_IFS 4742 4743 ;; 4744esac 4745fi 4746INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 4747if test -n "$INTLTOOL_PERL"; then 4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 4749$as_echo "$INTLTOOL_PERL" >&6; } 4750else 4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4752$as_echo "no" >&6; } 4753fi 4754 4755 4756if test -z "$INTLTOOL_PERL"; then 4757 as_fn_error $? "perl not found" "$LINENO" 5 4758fi 4759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 4760$as_echo_n "checking for perl >= 5.8.1... " >&6; } 4761$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 4762if test $? -ne 0; then 4763 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 4764else 4765 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` 4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 4767$as_echo "$IT_PERL_VERSION" >&6; } 4768fi 4769if test "x" != "xno-xml"; then 4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 4771$as_echo_n "checking for XML::Parser... " >&6; } 4772 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 4774$as_echo "ok" >&6; } 4775 else 4776 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 4777 fi 4778fi 4779 4780# Substitute ALL_LINGUAS so we can use it in po/Makefile 4781 4782 4783 4784 4785 4786## replace ALL_LINGUAS with po/LINGUAS 4787# ALL_LINGUAS="" 4788GETTEXT_PACKAGE="$PACKAGE" 4789 4790ac_ext=c 4791ac_cpp='$CPP $CPPFLAGS' 4792ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4793ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4794ac_compiler_gnu=$ac_cv_c_compiler_gnu 4795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4796$as_echo_n "checking how to run the C preprocessor... " >&6; } 4797# On Suns, sometimes $CPP names a directory. 4798if test -n "$CPP" && test -d "$CPP"; then 4799 CPP= 4800fi 4801if test -z "$CPP"; then 4802 if ${ac_cv_prog_CPP+:} false; then : 4803 $as_echo_n "(cached) " >&6 4804else 4805 # Double quotes because CPP needs to be expanded 4806 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4807 do 4808 ac_preproc_ok=false 4809for ac_c_preproc_warn_flag in '' yes 4810do 4811 # Use a header file that comes with gcc, so configuring glibc 4812 # with a fresh cross-compiler works. 4813 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4814 # <limits.h> exists even on freestanding compilers. 4815 # On the NeXT, cc -E runs the code through the compiler's parser, 4816 # not just through cpp. "Syntax error" is here to catch this case. 4817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4818/* end confdefs.h. */ 4819#ifdef __STDC__ 4820# include <limits.h> 4821#else 4822# include <assert.h> 4823#endif 4824 Syntax error 4825_ACEOF 4826if ac_fn_c_try_cpp "$LINENO"; then : 4827 4828else 4829 # Broken: fails on valid input. 4830continue 4831fi 4832rm -f conftest.err conftest.i conftest.$ac_ext 4833 4834 # OK, works on sane cases. Now check whether nonexistent headers 4835 # can be detected and how. 4836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4837/* end confdefs.h. */ 4838#include <ac_nonexistent.h> 4839_ACEOF 4840if ac_fn_c_try_cpp "$LINENO"; then : 4841 # Broken: success on invalid input. 4842continue 4843else 4844 # Passes both tests. 4845ac_preproc_ok=: 4846break 4847fi 4848rm -f conftest.err conftest.i conftest.$ac_ext 4849 4850done 4851# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4852rm -f conftest.i conftest.err conftest.$ac_ext 4853if $ac_preproc_ok; then : 4854 break 4855fi 4856 4857 done 4858 ac_cv_prog_CPP=$CPP 4859 4860fi 4861 CPP=$ac_cv_prog_CPP 4862else 4863 ac_cv_prog_CPP=$CPP 4864fi 4865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4866$as_echo "$CPP" >&6; } 4867ac_preproc_ok=false 4868for ac_c_preproc_warn_flag in '' yes 4869do 4870 # Use a header file that comes with gcc, so configuring glibc 4871 # with a fresh cross-compiler works. 4872 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4873 # <limits.h> exists even on freestanding compilers. 4874 # On the NeXT, cc -E runs the code through the compiler's parser, 4875 # not just through cpp. "Syntax error" is here to catch this case. 4876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4877/* end confdefs.h. */ 4878#ifdef __STDC__ 4879# include <limits.h> 4880#else 4881# include <assert.h> 4882#endif 4883 Syntax error 4884_ACEOF 4885if ac_fn_c_try_cpp "$LINENO"; then : 4886 4887else 4888 # Broken: fails on valid input. 4889continue 4890fi 4891rm -f conftest.err conftest.i conftest.$ac_ext 4892 4893 # OK, works on sane cases. Now check whether nonexistent headers 4894 # can be detected and how. 4895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4896/* end confdefs.h. */ 4897#include <ac_nonexistent.h> 4898_ACEOF 4899if ac_fn_c_try_cpp "$LINENO"; then : 4900 # Broken: success on invalid input. 4901continue 4902else 4903 # Passes both tests. 4904ac_preproc_ok=: 4905break 4906fi 4907rm -f conftest.err conftest.i conftest.$ac_ext 4908 4909done 4910# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4911rm -f conftest.i conftest.err conftest.$ac_ext 4912if $ac_preproc_ok; then : 4913 4914else 4915 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4916$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4917as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4918See \`config.log' for more details" "$LINENO" 5; } 4919fi 4920 4921ac_ext=c 4922ac_cpp='$CPP $CPPFLAGS' 4923ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4924ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4925ac_compiler_gnu=$ac_cv_c_compiler_gnu 4926 4927 4928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4929$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4930if ${ac_cv_path_GREP+:} false; then : 4931 $as_echo_n "(cached) " >&6 4932else 4933 if test -z "$GREP"; then 4934 ac_path_GREP_found=false 4935 # Loop through the user's path and test for each of PROGNAME-LIST 4936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4937for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4938do 4939 IFS=$as_save_IFS 4940 test -z "$as_dir" && as_dir=. 4941 for ac_prog in grep ggrep; do 4942 for ac_exec_ext in '' $ac_executable_extensions; do 4943 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4944 as_fn_executable_p "$ac_path_GREP" || continue 4945# Check for GNU ac_path_GREP and select it if it is found. 4946 # Check for GNU $ac_path_GREP 4947case `"$ac_path_GREP" --version 2>&1` in 4948*GNU*) 4949 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4950*) 4951 ac_count=0 4952 $as_echo_n 0123456789 >"conftest.in" 4953 while : 4954 do 4955 cat "conftest.in" "conftest.in" >"conftest.tmp" 4956 mv "conftest.tmp" "conftest.in" 4957 cp "conftest.in" "conftest.nl" 4958 $as_echo 'GREP' >> "conftest.nl" 4959 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4960 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4961 as_fn_arith $ac_count + 1 && ac_count=$as_val 4962 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4963 # Best one so far, save it but keep looking for a better one 4964 ac_cv_path_GREP="$ac_path_GREP" 4965 ac_path_GREP_max=$ac_count 4966 fi 4967 # 10*(2^10) chars as input seems more than enough 4968 test $ac_count -gt 10 && break 4969 done 4970 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4971esac 4972 4973 $ac_path_GREP_found && break 3 4974 done 4975 done 4976 done 4977IFS=$as_save_IFS 4978 if test -z "$ac_cv_path_GREP"; then 4979 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4980 fi 4981else 4982 ac_cv_path_GREP=$GREP 4983fi 4984 4985fi 4986{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4987$as_echo "$ac_cv_path_GREP" >&6; } 4988 GREP="$ac_cv_path_GREP" 4989 4990 4991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4992$as_echo_n "checking for egrep... " >&6; } 4993if ${ac_cv_path_EGREP+:} false; then : 4994 $as_echo_n "(cached) " >&6 4995else 4996 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4997 then ac_cv_path_EGREP="$GREP -E" 4998 else 4999 if test -z "$EGREP"; then 5000 ac_path_EGREP_found=false 5001 # Loop through the user's path and test for each of PROGNAME-LIST 5002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5003for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 5004do 5005 IFS=$as_save_IFS 5006 test -z "$as_dir" && as_dir=. 5007 for ac_prog in egrep; do 5008 for ac_exec_ext in '' $ac_executable_extensions; do 5009 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 5010 as_fn_executable_p "$ac_path_EGREP" || continue 5011# Check for GNU ac_path_EGREP and select it if it is found. 5012 # Check for GNU $ac_path_EGREP 5013case `"$ac_path_EGREP" --version 2>&1` in 5014*GNU*) 5015 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 5016*) 5017 ac_count=0 5018 $as_echo_n 0123456789 >"conftest.in" 5019 while : 5020 do 5021 cat "conftest.in" "conftest.in" >"conftest.tmp" 5022 mv "conftest.tmp" "conftest.in" 5023 cp "conftest.in" "conftest.nl" 5024 $as_echo 'EGREP' >> "conftest.nl" 5025 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 5026 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 5027 as_fn_arith $ac_count + 1 && ac_count=$as_val 5028 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 5029 # Best one so far, save it but keep looking for a better one 5030 ac_cv_path_EGREP="$ac_path_EGREP" 5031 ac_path_EGREP_max=$ac_count 5032 fi 5033 # 10*(2^10) chars as input seems more than enough 5034 test $ac_count -gt 10 && break 5035 done 5036 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 5037esac 5038 5039 $ac_path_EGREP_found && break 3 5040 done 5041 done 5042 done 5043IFS=$as_save_IFS 5044 if test -z "$ac_cv_path_EGREP"; then 5045 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 5046 fi 5047else 5048 ac_cv_path_EGREP=$EGREP 5049fi 5050 5051 fi 5052fi 5053{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 5054$as_echo "$ac_cv_path_EGREP" >&6; } 5055 EGREP="$ac_cv_path_EGREP" 5056 5057 5058{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 5059$as_echo_n "checking for ANSI C header files... " >&6; } 5060if ${ac_cv_header_stdc+:} false; then : 5061 $as_echo_n "(cached) " >&6 5062else 5063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5064/* end confdefs.h. */ 5065#include <stdlib.h> 5066#include <stdarg.h> 5067#include <string.h> 5068#include <float.h> 5069 5070int 5071main () 5072{ 5073 5074 ; 5075 return 0; 5076} 5077_ACEOF 5078if ac_fn_c_try_compile "$LINENO"; then : 5079 ac_cv_header_stdc=yes 5080else 5081 ac_cv_header_stdc=no 5082fi 5083rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5084 5085if test $ac_cv_header_stdc = yes; then 5086 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 5087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5088/* end confdefs.h. */ 5089#include <string.h> 5090 5091_ACEOF 5092if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5093 $EGREP "memchr" >/dev/null 2>&1; then : 5094 5095else 5096 ac_cv_header_stdc=no 5097fi 5098rm -f conftest* 5099 5100fi 5101 5102if test $ac_cv_header_stdc = yes; then 5103 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 5104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5105/* end confdefs.h. */ 5106#include <stdlib.h> 5107 5108_ACEOF 5109if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 5110 $EGREP "free" >/dev/null 2>&1; then : 5111 5112else 5113 ac_cv_header_stdc=no 5114fi 5115rm -f conftest* 5116 5117fi 5118 5119if test $ac_cv_header_stdc = yes; then 5120 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 5121 if test "$cross_compiling" = yes; then : 5122 : 5123else 5124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5125/* end confdefs.h. */ 5126#include <ctype.h> 5127#include <stdlib.h> 5128#if ((' ' & 0x0FF) == 0x020) 5129# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 5130# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 5131#else 5132# define ISLOWER(c) \ 5133 (('a' <= (c) && (c) <= 'i') \ 5134 || ('j' <= (c) && (c) <= 'r') \ 5135 || ('s' <= (c) && (c) <= 'z')) 5136# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 5137#endif 5138 5139#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 5140int 5141main () 5142{ 5143 int i; 5144 for (i = 0; i < 256; i++) 5145 if (XOR (islower (i), ISLOWER (i)) 5146 || toupper (i) != TOUPPER (i)) 5147 return 2; 5148 return 0; 5149} 5150_ACEOF 5151if ac_fn_c_try_run "$LINENO"; then : 5152 5153else 5154 ac_cv_header_stdc=no 5155fi 5156rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 5157 conftest.$ac_objext conftest.beam conftest.$ac_ext 5158fi 5159 5160fi 5161fi 5162{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 5163$as_echo "$ac_cv_header_stdc" >&6; } 5164if test $ac_cv_header_stdc = yes; then 5165 5166$as_echo "#define STDC_HEADERS 1" >>confdefs.h 5167 5168fi 5169 5170# On IRIX 5.3, sys/types and inttypes.h are conflicting. 5171for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 5172 inttypes.h stdint.h unistd.h 5173do : 5174 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 5175ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 5176" 5177if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 5178 cat >>confdefs.h <<_ACEOF 5179#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 5180_ACEOF 5181 5182fi 5183 5184done 5185 5186 5187 5188 for ac_header in locale.h 5189do : 5190 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 5191if test "x$ac_cv_header_locale_h" = xyes; then : 5192 cat >>confdefs.h <<_ACEOF 5193#define HAVE_LOCALE_H 1 5194_ACEOF 5195 5196fi 5197 5198done 5199 5200 if test $ac_cv_header_locale_h = yes; then 5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 5202$as_echo_n "checking for LC_MESSAGES... " >&6; } 5203if ${am_cv_val_LC_MESSAGES+:} false; then : 5204 $as_echo_n "(cached) " >&6 5205else 5206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5207/* end confdefs.h. */ 5208#include <locale.h> 5209int 5210main () 5211{ 5212return LC_MESSAGES 5213 ; 5214 return 0; 5215} 5216_ACEOF 5217if ac_fn_c_try_link "$LINENO"; then : 5218 am_cv_val_LC_MESSAGES=yes 5219else 5220 am_cv_val_LC_MESSAGES=no 5221fi 5222rm -f core conftest.err conftest.$ac_objext \ 5223 conftest$ac_exeext conftest.$ac_ext 5224fi 5225{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 5226$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 5227 if test $am_cv_val_LC_MESSAGES = yes; then 5228 5229$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h 5230 5231 fi 5232 fi 5233 #USE_NLS=yes 5234 5235 5236 gt_cv_have_gettext=no 5237 5238 CATOBJEXT=NONE 5239 XGETTEXT=: 5240 INTLLIBS= 5241 5242 5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 5244$as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } 5245if ${gt_cv_func_CFPreferencesCopyAppValue+:} false; then : 5246 $as_echo_n "(cached) " >&6 5247else 5248 gt_save_LIBS="$LIBS" 5249 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 5250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5251/* end confdefs.h. */ 5252#include <CoreFoundation/CFPreferences.h> 5253int 5254main () 5255{ 5256CFPreferencesCopyAppValue(NULL, NULL) 5257 ; 5258 return 0; 5259} 5260_ACEOF 5261if ac_fn_c_try_link "$LINENO"; then : 5262 gt_cv_func_CFPreferencesCopyAppValue=yes 5263else 5264 gt_cv_func_CFPreferencesCopyAppValue=no 5265fi 5266rm -f core conftest.err conftest.$ac_objext \ 5267 conftest$ac_exeext conftest.$ac_ext 5268 LIBS="$gt_save_LIBS" 5269fi 5270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 5271$as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } 5272 if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then 5273 5274$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h 5275 5276 fi 5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 5278$as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } 5279if ${gt_cv_func_CFLocaleCopyCurrent+:} false; then : 5280 $as_echo_n "(cached) " >&6 5281else 5282 gt_save_LIBS="$LIBS" 5283 LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" 5284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5285/* end confdefs.h. */ 5286#include <CoreFoundation/CFLocale.h> 5287int 5288main () 5289{ 5290CFLocaleCopyCurrent(); 5291 ; 5292 return 0; 5293} 5294_ACEOF 5295if ac_fn_c_try_link "$LINENO"; then : 5296 gt_cv_func_CFLocaleCopyCurrent=yes 5297else 5298 gt_cv_func_CFLocaleCopyCurrent=no 5299fi 5300rm -f core conftest.err conftest.$ac_objext \ 5301 conftest$ac_exeext conftest.$ac_ext 5302 LIBS="$gt_save_LIBS" 5303fi 5304{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 5305$as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } 5306 if test $gt_cv_func_CFLocaleCopyCurrent = yes; then 5307 5308$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h 5309 5310 fi 5311 INTL_MACOSX_LIBS= 5312 if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then 5313 INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation" 5314 fi 5315 5316 5317 5318 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 5319if test "x$ac_cv_header_libintl_h" = xyes; then : 5320 gt_cv_func_dgettext_libintl="no" 5321 libintl_extra_libs="" 5322 5323 # 5324 # First check in libc 5325 # 5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 5327$as_echo_n "checking for ngettext in libc... " >&6; } 5328if ${gt_cv_func_ngettext_libc+:} false; then : 5329 $as_echo_n "(cached) " >&6 5330else 5331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5332/* end confdefs.h. */ 5333 5334#include <libintl.h> 5335 5336int 5337main () 5338{ 5339return !ngettext ("","", 1) 5340 ; 5341 return 0; 5342} 5343_ACEOF 5344if ac_fn_c_try_link "$LINENO"; then : 5345 gt_cv_func_ngettext_libc=yes 5346else 5347 gt_cv_func_ngettext_libc=no 5348fi 5349rm -f core conftest.err conftest.$ac_objext \ 5350 conftest$ac_exeext conftest.$ac_ext 5351 5352fi 5353{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 5354$as_echo "$gt_cv_func_ngettext_libc" >&6; } 5355 5356 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 5358$as_echo_n "checking for dgettext in libc... " >&6; } 5359if ${gt_cv_func_dgettext_libc+:} false; then : 5360 $as_echo_n "(cached) " >&6 5361else 5362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5363/* end confdefs.h. */ 5364 5365#include <libintl.h> 5366 5367int 5368main () 5369{ 5370return !dgettext ("","") 5371 ; 5372 return 0; 5373} 5374_ACEOF 5375if ac_fn_c_try_link "$LINENO"; then : 5376 gt_cv_func_dgettext_libc=yes 5377else 5378 gt_cv_func_dgettext_libc=no 5379fi 5380rm -f core conftest.err conftest.$ac_objext \ 5381 conftest$ac_exeext conftest.$ac_ext 5382 5383fi 5384{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 5385$as_echo "$gt_cv_func_dgettext_libc" >&6; } 5386 fi 5387 5388 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 5389 for ac_func in bind_textdomain_codeset 5390do : 5391 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 5392if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 5393 cat >>confdefs.h <<_ACEOF 5394#define HAVE_BIND_TEXTDOMAIN_CODESET 1 5395_ACEOF 5396 5397fi 5398done 5399 5400 fi 5401 5402 # 5403 # If we don't have everything we want, check in libintl 5404 # 5405 if test "$gt_cv_func_dgettext_libc" != "yes" \ 5406 || test "$gt_cv_func_ngettext_libc" != "yes" \ 5407 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 5408 5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 5410$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } 5411if ${ac_cv_lib_intl_bindtextdomain+:} false; then : 5412 $as_echo_n "(cached) " >&6 5413else 5414 ac_check_lib_save_LIBS=$LIBS 5415LIBS="-lintl $LIBS" 5416cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5417/* end confdefs.h. */ 5418 5419/* Override any GCC internal prototype to avoid an error. 5420 Use char because int might match the return type of a GCC 5421 builtin and then its argument prototype would still apply. */ 5422#ifdef __cplusplus 5423extern "C" 5424#endif 5425char bindtextdomain (); 5426int 5427main () 5428{ 5429return bindtextdomain (); 5430 ; 5431 return 0; 5432} 5433_ACEOF 5434if ac_fn_c_try_link "$LINENO"; then : 5435 ac_cv_lib_intl_bindtextdomain=yes 5436else 5437 ac_cv_lib_intl_bindtextdomain=no 5438fi 5439rm -f core conftest.err conftest.$ac_objext \ 5440 conftest$ac_exeext conftest.$ac_ext 5441LIBS=$ac_check_lib_save_LIBS 5442fi 5443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 5444$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 5445if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : 5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 5447$as_echo_n "checking for ngettext in -lintl... " >&6; } 5448if ${ac_cv_lib_intl_ngettext+:} false; then : 5449 $as_echo_n "(cached) " >&6 5450else 5451 ac_check_lib_save_LIBS=$LIBS 5452LIBS="-lintl $LIBS" 5453cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5454/* end confdefs.h. */ 5455 5456/* Override any GCC internal prototype to avoid an error. 5457 Use char because int might match the return type of a GCC 5458 builtin and then its argument prototype would still apply. */ 5459#ifdef __cplusplus 5460extern "C" 5461#endif 5462char ngettext (); 5463int 5464main () 5465{ 5466return ngettext (); 5467 ; 5468 return 0; 5469} 5470_ACEOF 5471if ac_fn_c_try_link "$LINENO"; then : 5472 ac_cv_lib_intl_ngettext=yes 5473else 5474 ac_cv_lib_intl_ngettext=no 5475fi 5476rm -f core conftest.err conftest.$ac_objext \ 5477 conftest$ac_exeext conftest.$ac_ext 5478LIBS=$ac_check_lib_save_LIBS 5479fi 5480{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 5481$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 5482if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 5483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 5484$as_echo_n "checking for dgettext in -lintl... " >&6; } 5485if ${ac_cv_lib_intl_dgettext+:} false; then : 5486 $as_echo_n "(cached) " >&6 5487else 5488 ac_check_lib_save_LIBS=$LIBS 5489LIBS="-lintl $LIBS" 5490cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5491/* end confdefs.h. */ 5492 5493/* Override any GCC internal prototype to avoid an error. 5494 Use char because int might match the return type of a GCC 5495 builtin and then its argument prototype would still apply. */ 5496#ifdef __cplusplus 5497extern "C" 5498#endif 5499char dgettext (); 5500int 5501main () 5502{ 5503return dgettext (); 5504 ; 5505 return 0; 5506} 5507_ACEOF 5508if ac_fn_c_try_link "$LINENO"; then : 5509 ac_cv_lib_intl_dgettext=yes 5510else 5511 ac_cv_lib_intl_dgettext=no 5512fi 5513rm -f core conftest.err conftest.$ac_objext \ 5514 conftest$ac_exeext conftest.$ac_ext 5515LIBS=$ac_check_lib_save_LIBS 5516fi 5517{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 5518$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 5519if test "x$ac_cv_lib_intl_dgettext" = xyes; then : 5520 gt_cv_func_dgettext_libintl=yes 5521fi 5522 5523fi 5524 5525fi 5526 5527 5528 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 5530$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } 5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 5532$as_echo "" >&6; } 5533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 5534$as_echo_n "checking for ngettext in -lintl... " >&6; } 5535if ${ac_cv_lib_intl_ngettext+:} false; then : 5536 $as_echo_n "(cached) " >&6 5537else 5538 ac_check_lib_save_LIBS=$LIBS 5539LIBS="-lintl -liconv $LIBS" 5540cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5541/* end confdefs.h. */ 5542 5543/* Override any GCC internal prototype to avoid an error. 5544 Use char because int might match the return type of a GCC 5545 builtin and then its argument prototype would still apply. */ 5546#ifdef __cplusplus 5547extern "C" 5548#endif 5549char ngettext (); 5550int 5551main () 5552{ 5553return ngettext (); 5554 ; 5555 return 0; 5556} 5557_ACEOF 5558if ac_fn_c_try_link "$LINENO"; then : 5559 ac_cv_lib_intl_ngettext=yes 5560else 5561 ac_cv_lib_intl_ngettext=no 5562fi 5563rm -f core conftest.err conftest.$ac_objext \ 5564 conftest$ac_exeext conftest.$ac_ext 5565LIBS=$ac_check_lib_save_LIBS 5566fi 5567{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 5568$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 5569if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 5571$as_echo_n "checking for dcgettext in -lintl... " >&6; } 5572if ${ac_cv_lib_intl_dcgettext+:} false; then : 5573 $as_echo_n "(cached) " >&6 5574else 5575 ac_check_lib_save_LIBS=$LIBS 5576LIBS="-lintl -liconv $LIBS" 5577cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5578/* end confdefs.h. */ 5579 5580/* Override any GCC internal prototype to avoid an error. 5581 Use char because int might match the return type of a GCC 5582 builtin and then its argument prototype would still apply. */ 5583#ifdef __cplusplus 5584extern "C" 5585#endif 5586char dcgettext (); 5587int 5588main () 5589{ 5590return dcgettext (); 5591 ; 5592 return 0; 5593} 5594_ACEOF 5595if ac_fn_c_try_link "$LINENO"; then : 5596 ac_cv_lib_intl_dcgettext=yes 5597else 5598 ac_cv_lib_intl_dcgettext=no 5599fi 5600rm -f core conftest.err conftest.$ac_objext \ 5601 conftest$ac_exeext conftest.$ac_ext 5602LIBS=$ac_check_lib_save_LIBS 5603fi 5604{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 5605$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } 5606if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : 5607 gt_cv_func_dgettext_libintl=yes 5608 libintl_extra_libs=-liconv 5609else 5610 : 5611fi 5612 5613else 5614 : 5615fi 5616 5617 fi 5618 5619 # 5620 # If we found libintl, then check in it for bind_textdomain_codeset(); 5621 # we'll prefer libc if neither have bind_textdomain_codeset(), 5622 # and both have dgettext and ngettext 5623 # 5624 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 5625 glib_save_LIBS="$LIBS" 5626 LIBS="$LIBS -lintl $libintl_extra_libs" 5627 unset ac_cv_func_bind_textdomain_codeset 5628 for ac_func in bind_textdomain_codeset 5629do : 5630 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 5631if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 5632 cat >>confdefs.h <<_ACEOF 5633#define HAVE_BIND_TEXTDOMAIN_CODESET 1 5634_ACEOF 5635 5636fi 5637done 5638 5639 LIBS="$glib_save_LIBS" 5640 5641 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 5642 gt_cv_func_dgettext_libc=no 5643 else 5644 if test "$gt_cv_func_dgettext_libc" = "yes" \ 5645 && test "$gt_cv_func_ngettext_libc" = "yes"; then 5646 gt_cv_func_dgettext_libintl=no 5647 fi 5648 fi 5649 fi 5650 fi 5651 5652 if test "$gt_cv_func_dgettext_libc" = "yes" \ 5653 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 5654 gt_cv_have_gettext=yes 5655 fi 5656 5657 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 5658 INTLLIBS="-lintl $libintl_extra_libs $INTL_MACOSX_LIBS" 5659 fi 5660 5661 if test "$gt_cv_have_gettext" = "yes"; then 5662 5663$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 5664 5665 # Extract the first word of "msgfmt", so it can be a program name with args. 5666set dummy msgfmt; ac_word=$2 5667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5668$as_echo_n "checking for $ac_word... " >&6; } 5669if ${ac_cv_path_MSGFMT+:} false; then : 5670 $as_echo_n "(cached) " >&6 5671else 5672 case "$MSGFMT" in 5673 /*) 5674 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 5675 ;; 5676 *) 5677 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 5678 for ac_dir in $PATH; do 5679 test -z "$ac_dir" && ac_dir=. 5680 if test -f $ac_dir/$ac_word; then 5681 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 5682 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 5683 break 5684 fi 5685 fi 5686 done 5687 IFS="$ac_save_ifs" 5688 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 5689 ;; 5690esac 5691fi 5692MSGFMT="$ac_cv_path_MSGFMT" 5693if test "$MSGFMT" != "no"; then 5694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 5695$as_echo "$MSGFMT" >&6; } 5696else 5697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5698$as_echo "no" >&6; } 5699fi 5700 if test "$MSGFMT" != "no"; then 5701 glib_save_LIBS="$LIBS" 5702 LIBS="$LIBS $INTLLIBS" 5703 for ac_func in dcgettext 5704do : 5705 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" 5706if test "x$ac_cv_func_dcgettext" = xyes; then : 5707 cat >>confdefs.h <<_ACEOF 5708#define HAVE_DCGETTEXT 1 5709_ACEOF 5710 5711fi 5712done 5713 5714 MSGFMT_OPTS= 5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 5716$as_echo_n "checking if msgfmt accepts -c... " >&6; } 5717 cat >conftest.foo <<_ACEOF 5718 5719msgid "" 5720msgstr "" 5721"Content-Type: text/plain; charset=UTF-8\n" 5722"Project-Id-Version: test 1.0\n" 5723"PO-Revision-Date: 2007-02-15 12:01+0100\n" 5724"Last-Translator: test <foo@bar.xx>\n" 5725"Language-Team: C <LL@li.org>\n" 5726"MIME-Version: 1.0\n" 5727"Content-Transfer-Encoding: 8bit\n" 5728 5729_ACEOF 5730if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 5731 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 5732 ac_status=$? 5733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5734 test $ac_status = 0; }; then 5735 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5736$as_echo "yes" >&6; } 5737else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5738$as_echo "no" >&6; } 5739echo "$as_me: failed input was:" >&5 5740sed 's/^/| /' conftest.foo >&5 5741fi 5742 5743 # Extract the first word of "gmsgfmt", so it can be a program name with args. 5744set dummy gmsgfmt; ac_word=$2 5745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5746$as_echo_n "checking for $ac_word... " >&6; } 5747if ${ac_cv_path_GMSGFMT+:} false; then : 5748 $as_echo_n "(cached) " >&6 5749else 5750 case $GMSGFMT in 5751 [\\/]* | ?:[\\/]*) 5752 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 5753 ;; 5754 *) 5755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5756for as_dir in $PATH 5757do 5758 IFS=$as_save_IFS 5759 test -z "$as_dir" && as_dir=. 5760 for ac_exec_ext in '' $ac_executable_extensions; do 5761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5762 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 5763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5764 break 2 5765 fi 5766done 5767 done 5768IFS=$as_save_IFS 5769 5770 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 5771 ;; 5772esac 5773fi 5774GMSGFMT=$ac_cv_path_GMSGFMT 5775if test -n "$GMSGFMT"; then 5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 5777$as_echo "$GMSGFMT" >&6; } 5778else 5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5780$as_echo "no" >&6; } 5781fi 5782 5783 5784 # Extract the first word of "xgettext", so it can be a program name with args. 5785set dummy xgettext; ac_word=$2 5786{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5787$as_echo_n "checking for $ac_word... " >&6; } 5788if ${ac_cv_path_XGETTEXT+:} false; then : 5789 $as_echo_n "(cached) " >&6 5790else 5791 case "$XGETTEXT" in 5792 /*) 5793 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 5794 ;; 5795 *) 5796 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 5797 for ac_dir in $PATH; do 5798 test -z "$ac_dir" && ac_dir=. 5799 if test -f $ac_dir/$ac_word; then 5800 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 5801 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 5802 break 5803 fi 5804 fi 5805 done 5806 IFS="$ac_save_ifs" 5807 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 5808 ;; 5809esac 5810fi 5811XGETTEXT="$ac_cv_path_XGETTEXT" 5812if test "$XGETTEXT" != ":"; then 5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 5814$as_echo "$XGETTEXT" >&6; } 5815else 5816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5817$as_echo "no" >&6; } 5818fi 5819 5820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5821/* end confdefs.h. */ 5822 5823int 5824main () 5825{ 5826extern int _nl_msg_cat_cntr; 5827 return _nl_msg_cat_cntr 5828 ; 5829 return 0; 5830} 5831_ACEOF 5832if ac_fn_c_try_link "$LINENO"; then : 5833 CATOBJEXT=.gmo 5834 DATADIRNAME=share 5835else 5836 case $host in 5837 *-*-solaris*) 5838 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 5839if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 5840 CATOBJEXT=.gmo 5841 DATADIRNAME=share 5842else 5843 CATOBJEXT=.mo 5844 DATADIRNAME=lib 5845fi 5846 5847 ;; 5848 *-*-openbsd*) 5849 CATOBJEXT=.mo 5850 DATADIRNAME=share 5851 ;; 5852 *) 5853 CATOBJEXT=.mo 5854 DATADIRNAME=lib 5855 ;; 5856 esac 5857fi 5858rm -f core conftest.err conftest.$ac_objext \ 5859 conftest$ac_exeext conftest.$ac_ext 5860 LIBS="$glib_save_LIBS" 5861 INSTOBJEXT=.mo 5862 else 5863 gt_cv_have_gettext=no 5864 fi 5865 fi 5866 5867fi 5868 5869 5870 5871 if test "$gt_cv_have_gettext" = "yes" ; then 5872 5873$as_echo "#define ENABLE_NLS 1" >>confdefs.h 5874 5875 fi 5876 5877 if test "$XGETTEXT" != ":"; then 5878 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 5879 : ; 5880 else 5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 5882$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 5883 XGETTEXT=":" 5884 fi 5885 fi 5886 5887 # We need to process the po/ directory. 5888 POSUB=po 5889 5890 ac_config_commands="$ac_config_commands default-1" 5891 5892 5893 for lang in $ALL_LINGUAS; do 5894 GMOFILES="$GMOFILES $lang.gmo" 5895 POFILES="$POFILES $lang.po" 5896 done 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 if test "$gt_cv_have_gettext" = "yes"; then 5911 if test "x$ALL_LINGUAS" = "x"; then 5912 LINGUAS= 5913 else 5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 5915$as_echo_n "checking for catalogs to be installed... " >&6; } 5916 NEW_LINGUAS= 5917 for presentlang in $ALL_LINGUAS; do 5918 useit=no 5919 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 5920 desiredlanguages="$LINGUAS" 5921 else 5922 desiredlanguages="$ALL_LINGUAS" 5923 fi 5924 for desiredlang in $desiredlanguages; do 5925 # Use the presentlang catalog if desiredlang is 5926 # a. equal to presentlang, or 5927 # b. a variant of presentlang (because in this case, 5928 # presentlang can be used as a fallback for messages 5929 # which are not translated in the desiredlang catalog). 5930 case "$desiredlang" in 5931 "$presentlang"*) useit=yes;; 5932 esac 5933 done 5934 if test $useit = yes; then 5935 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 5936 fi 5937 done 5938 LINGUAS=$NEW_LINGUAS 5939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 5940$as_echo "$LINGUAS" >&6; } 5941 fi 5942 5943 if test -n "$LINGUAS"; then 5944 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 5945 fi 5946 fi 5947 5948 MKINSTALLDIRS= 5949 if test -n "$ac_aux_dir"; then 5950 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 5951 fi 5952 if test -z "$MKINSTALLDIRS"; then 5953 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 5954 fi 5955 5956 5957 test -d po || mkdir po 5958 if test "x$srcdir" != "x."; then 5959 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 5960 posrcprefix="$srcdir/" 5961 else 5962 posrcprefix="../$srcdir/" 5963 fi 5964 else 5965 posrcprefix="../" 5966 fi 5967 rm -f po/POTFILES 5968 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 5969 < $srcdir/po/POTFILES.in > po/POTFILES 5970 5971glib_save_prefix="$prefix" 5972glib_save_exec_prefix="$exec_prefix" 5973glib_save_datarootdir="$datarootdir" 5974test "x$prefix" = xNONE && prefix=$ac_default_prefix 5975test "x$exec_prefix" = xNONE && exec_prefix=$prefix 5976datarootdir=`eval echo "${datarootdir}"` 5977if test "x$CATOBJEXT" = "x.mo" ; then 5978 localedir=`eval echo "${libdir}/locale"` 5979else 5980 localedir=`eval echo "${datadir}/locale"` 5981fi 5982prefix="$glib_save_prefix" 5983exec_prefix="$glib_save_exec_prefix" 5984datarootdir="$glib_save_datarootdir" 5985 5986cat >>confdefs.h <<_ACEOF 5987#define LOCALEDIR "$localedir" 5988_ACEOF 5989 5990 5991## Use AM_GLIB_DEFINE_LOCALEDIR with AC_CONFIG_HEADERS 5992 5993## ---------------------------------------------- 5994## GTK+ 5995 5996 5997 5998 5999 6000 6001 6002if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 6003 if test -n "$ac_tool_prefix"; then 6004 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 6005set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 6006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6007$as_echo_n "checking for $ac_word... " >&6; } 6008if ${ac_cv_path_PKG_CONFIG+:} false; then : 6009 $as_echo_n "(cached) " >&6 6010else 6011 case $PKG_CONFIG in 6012 [\\/]* | ?:[\\/]*) 6013 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 6014 ;; 6015 *) 6016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6017for as_dir in $PATH 6018do 6019 IFS=$as_save_IFS 6020 test -z "$as_dir" && as_dir=. 6021 for ac_exec_ext in '' $ac_executable_extensions; do 6022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6023 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6025 break 2 6026 fi 6027done 6028 done 6029IFS=$as_save_IFS 6030 6031 ;; 6032esac 6033fi 6034PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6035if test -n "$PKG_CONFIG"; then 6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 6037$as_echo "$PKG_CONFIG" >&6; } 6038else 6039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6040$as_echo "no" >&6; } 6041fi 6042 6043 6044fi 6045if test -z "$ac_cv_path_PKG_CONFIG"; then 6046 ac_pt_PKG_CONFIG=$PKG_CONFIG 6047 # Extract the first word of "pkg-config", so it can be a program name with args. 6048set dummy pkg-config; ac_word=$2 6049{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6050$as_echo_n "checking for $ac_word... " >&6; } 6051if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 6052 $as_echo_n "(cached) " >&6 6053else 6054 case $ac_pt_PKG_CONFIG in 6055 [\\/]* | ?:[\\/]*) 6056 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 6057 ;; 6058 *) 6059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6060for as_dir in $PATH 6061do 6062 IFS=$as_save_IFS 6063 test -z "$as_dir" && as_dir=. 6064 for ac_exec_ext in '' $ac_executable_extensions; do 6065 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6066 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6068 break 2 6069 fi 6070done 6071 done 6072IFS=$as_save_IFS 6073 6074 ;; 6075esac 6076fi 6077ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 6078if test -n "$ac_pt_PKG_CONFIG"; then 6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 6080$as_echo "$ac_pt_PKG_CONFIG" >&6; } 6081else 6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6083$as_echo "no" >&6; } 6084fi 6085 6086 if test "x$ac_pt_PKG_CONFIG" = x; then 6087 PKG_CONFIG="" 6088 else 6089 case $cross_compiling:$ac_tool_warned in 6090yes:) 6091{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6092$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6093ac_tool_warned=yes ;; 6094esac 6095 PKG_CONFIG=$ac_pt_PKG_CONFIG 6096 fi 6097else 6098 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 6099fi 6100 6101fi 6102if test -n "$PKG_CONFIG"; then 6103 _pkg_min_version=0.9.0 6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 6105$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 6106 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6108$as_echo "yes" >&6; } 6109 else 6110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6111$as_echo "no" >&6; } 6112 PKG_CONFIG="" 6113 fi 6114fi 6115 6116pkg_failed=no 6117{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 6118$as_echo_n "checking for GTK... " >&6; } 6119 6120if test -n "$GTK_CFLAGS"; then 6121 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" 6122 elif test -n "$PKG_CONFIG"; then 6123 if test -n "$PKG_CONFIG" && \ 6124 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.4\""; } >&5 6125 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.4") 2>&5 6126 ac_status=$? 6127 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6128 test $ac_status = 0; }; then 6129 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0 >= 3.4" 2>/dev/null` 6130 test "x$?" != "x0" && pkg_failed=yes 6131else 6132 pkg_failed=yes 6133fi 6134 else 6135 pkg_failed=untried 6136fi 6137if test -n "$GTK_LIBS"; then 6138 pkg_cv_GTK_LIBS="$GTK_LIBS" 6139 elif test -n "$PKG_CONFIG"; then 6140 if test -n "$PKG_CONFIG" && \ 6141 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-3.0 >= 3.4\""; } >&5 6142 ($PKG_CONFIG --exists --print-errors "gtk+-3.0 >= 3.4") 2>&5 6143 ac_status=$? 6144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6145 test $ac_status = 0; }; then 6146 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0 >= 3.4" 2>/dev/null` 6147 test "x$?" != "x0" && pkg_failed=yes 6148else 6149 pkg_failed=yes 6150fi 6151 else 6152 pkg_failed=untried 6153fi 6154 6155 6156 6157if test $pkg_failed = yes; then 6158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6159$as_echo "no" >&6; } 6160 6161if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 6162 _pkg_short_errors_supported=yes 6163else 6164 _pkg_short_errors_supported=no 6165fi 6166 if test $_pkg_short_errors_supported = yes; then 6167 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-3.0 >= 3.4" 2>&1` 6168 else 6169 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-3.0 >= 3.4" 2>&1` 6170 fi 6171 # Put the nasty error message in config.log where it belongs 6172 echo "$GTK_PKG_ERRORS" >&5 6173 6174 as_fn_error $? "Package requirements (gtk+-3.0 >= 3.4) were not met: 6175 6176$GTK_PKG_ERRORS 6177 6178Consider adjusting the PKG_CONFIG_PATH environment variable if you 6179installed software in a non-standard prefix. 6180 6181Alternatively, you may set the environment variables GTK_CFLAGS 6182and GTK_LIBS to avoid the need to call pkg-config. 6183See the pkg-config man page for more details." "$LINENO" 5 6184elif test $pkg_failed = untried; then 6185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6186$as_echo "no" >&6; } 6187 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6188$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6189as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 6190is in your PATH or set the PKG_CONFIG environment variable to the full 6191path to pkg-config. 6192 6193Alternatively, you may set the environment variables GTK_CFLAGS 6194and GTK_LIBS to avoid the need to call pkg-config. 6195See the pkg-config man page for more details. 6196 6197To get pkg-config, see <http://pkg-config.freedesktop.org/>. 6198See \`config.log' for more details" "$LINENO" 5; } 6199else 6200 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS 6201 GTK_LIBS=$pkg_cv_GTK_LIBS 6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6203$as_echo "yes" >&6; } 6204 6205fi 6206 6207## ---------------- 6208## glib (add HAVE_GLIB definition to config.h) 6209if test -n "$PKG_CONFIG" && \ 6210 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5 6211 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 6212 ac_status=$? 6213 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6214 test $ac_status = 0; }; then 6215 have_glib="yes" 6216else 6217 have_glib="no" 6218fi 6219if test x$have_glib = xyes ; then 6220 6221pkg_failed=no 6222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 6223$as_echo_n "checking for GLIB... " >&6; } 6224 6225if test -n "$GLIB_CFLAGS"; then 6226 pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" 6227 elif test -n "$PKG_CONFIG"; then 6228 if test -n "$PKG_CONFIG" && \ 6229 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5 6230 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 6231 ac_status=$? 6232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6233 test $ac_status = 0; }; then 6234 pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null` 6235 test "x$?" != "x0" && pkg_failed=yes 6236else 6237 pkg_failed=yes 6238fi 6239 else 6240 pkg_failed=untried 6241fi 6242if test -n "$GLIB_LIBS"; then 6243 pkg_cv_GLIB_LIBS="$GLIB_LIBS" 6244 elif test -n "$PKG_CONFIG"; then 6245 if test -n "$PKG_CONFIG" && \ 6246 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0\""; } >&5 6247 ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5 6248 ac_status=$? 6249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6250 test $ac_status = 0; }; then 6251 pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null` 6252 test "x$?" != "x0" && pkg_failed=yes 6253else 6254 pkg_failed=yes 6255fi 6256 else 6257 pkg_failed=untried 6258fi 6259 6260 6261 6262if test $pkg_failed = yes; then 6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6264$as_echo "no" >&6; } 6265 6266if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 6267 _pkg_short_errors_supported=yes 6268else 6269 _pkg_short_errors_supported=no 6270fi 6271 if test $_pkg_short_errors_supported = yes; then 6272 GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "glib-2.0" 2>&1` 6273 else 6274 GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "glib-2.0" 2>&1` 6275 fi 6276 # Put the nasty error message in config.log where it belongs 6277 echo "$GLIB_PKG_ERRORS" >&5 6278 6279 as_fn_error $? "Package requirements (glib-2.0) were not met: 6280 6281$GLIB_PKG_ERRORS 6282 6283Consider adjusting the PKG_CONFIG_PATH environment variable if you 6284installed software in a non-standard prefix. 6285 6286Alternatively, you may set the environment variables GLIB_CFLAGS 6287and GLIB_LIBS to avoid the need to call pkg-config. 6288See the pkg-config man page for more details." "$LINENO" 5 6289elif test $pkg_failed = untried; then 6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6291$as_echo "no" >&6; } 6292 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6293$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6294as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 6295is in your PATH or set the PKG_CONFIG environment variable to the full 6296path to pkg-config. 6297 6298Alternatively, you may set the environment variables GLIB_CFLAGS 6299and GLIB_LIBS to avoid the need to call pkg-config. 6300See the pkg-config man page for more details. 6301 6302To get pkg-config, see <http://pkg-config.freedesktop.org/>. 6303See \`config.log' for more details" "$LINENO" 5; } 6304else 6305 GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS 6306 GLIB_LIBS=$pkg_cv_GLIB_LIBS 6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6308$as_echo "yes" >&6; } 6309 6310fi 6311 6312 6313 6314$as_echo "#define HAVE_GLIB 1" >>confdefs.h 6315 6316fi 6317 6318## ---------------- 6319## pthread 6320{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 6321$as_echo_n "checking for pthread_create in -lpthread... " >&6; } 6322if ${ac_cv_lib_pthread_pthread_create+:} false; then : 6323 $as_echo_n "(cached) " >&6 6324else 6325 ac_check_lib_save_LIBS=$LIBS 6326LIBS="-lpthread $LIBS" 6327cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6328/* end confdefs.h. */ 6329 6330/* Override any GCC internal prototype to avoid an error. 6331 Use char because int might match the return type of a GCC 6332 builtin and then its argument prototype would still apply. */ 6333#ifdef __cplusplus 6334extern "C" 6335#endif 6336char pthread_create (); 6337int 6338main () 6339{ 6340return pthread_create (); 6341 ; 6342 return 0; 6343} 6344_ACEOF 6345if ac_fn_c_try_link "$LINENO"; then : 6346 ac_cv_lib_pthread_pthread_create=yes 6347else 6348 ac_cv_lib_pthread_pthread_create=no 6349fi 6350rm -f core conftest.err conftest.$ac_objext \ 6351 conftest$ac_exeext conftest.$ac_ext 6352LIBS=$ac_check_lib_save_LIBS 6353fi 6354{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 6355$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } 6356if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : 6357 cat >>confdefs.h <<_ACEOF 6358#define HAVE_LIBPTHREAD 1 6359_ACEOF 6360 6361 LIBS="-lpthread $LIBS" 6362 6363else 6364 as_fn_error $? "required library pthread missing" "$LINENO" 5 6365fi 6366 6367PTHREAD_CFLAGS="-pthread" 6368PTHREAD_LIBS="-pthread" 6369 6370 6371 6372## ---------------- 6373## LFS 6374# Extract the first word of "getconf", so it can be a program name with args. 6375set dummy getconf; ac_word=$2 6376{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6377$as_echo_n "checking for $ac_word... " >&6; } 6378if ${ac_cv_path_GETCONF+:} false; then : 6379 $as_echo_n "(cached) " >&6 6380else 6381 case $GETCONF in 6382 [\\/]* | ?:[\\/]*) 6383 ac_cv_path_GETCONF="$GETCONF" # Let the user override the test with a path. 6384 ;; 6385 *) 6386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6387for as_dir in $PATH 6388do 6389 IFS=$as_save_IFS 6390 test -z "$as_dir" && as_dir=. 6391 for ac_exec_ext in '' $ac_executable_extensions; do 6392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6393 ac_cv_path_GETCONF="$as_dir/$ac_word$ac_exec_ext" 6394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6395 break 2 6396 fi 6397done 6398 done 6399IFS=$as_save_IFS 6400 6401 ;; 6402esac 6403fi 6404GETCONF=$ac_cv_path_GETCONF 6405if test -n "$GETCONF"; then 6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GETCONF" >&5 6407$as_echo "$GETCONF" >&6; } 6408else 6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6410$as_echo "no" >&6; } 6411fi 6412 6413 6414if test "x$GETCONF" != "x" ; then 6415 LFS_CFLAGS=`$GETCONF LFS_CFLAGS` 6416 LFS_LDFLAGS=`$GETCONF LFS_LDFLAGS` 6417fi 6418 6419 6420 6421## ---------------- 6422## cURL 6423# Extract the first word of "curl-config", so it can be a program name with args. 6424set dummy curl-config; ac_word=$2 6425{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6426$as_echo_n "checking for $ac_word... " >&6; } 6427if ${ac_cv_path_CURL_CONFIG+:} false; then : 6428 $as_echo_n "(cached) " >&6 6429else 6430 case $CURL_CONFIG in 6431 [\\/]* | ?:[\\/]*) 6432 ac_cv_path_CURL_CONFIG="$CURL_CONFIG" # Let the user override the test with a path. 6433 ;; 6434 *) 6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6436for as_dir in $PATH 6437do 6438 IFS=$as_save_IFS 6439 test -z "$as_dir" && as_dir=. 6440 for ac_exec_ext in '' $ac_executable_extensions; do 6441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6442 ac_cv_path_CURL_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6444 break 2 6445 fi 6446done 6447 done 6448IFS=$as_save_IFS 6449 6450 ;; 6451esac 6452fi 6453CURL_CONFIG=$ac_cv_path_CURL_CONFIG 6454if test -n "$CURL_CONFIG"; then 6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURL_CONFIG" >&5 6456$as_echo "$CURL_CONFIG" >&6; } 6457else 6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6459$as_echo "no" >&6; } 6460fi 6461 6462 6463if test "x$CURL_CONFIG" = "x" ; then 6464 as_fn_error please install libcurl "Unable to find curl-config" "$LINENO" 5 6465fi 6466CURL_CFLAGS=`$CURL_CONFIG --cflags` 6467CURL_LIBS=`$CURL_CONFIG --libs` 6468let CURL_VERNUM=0x0`$CURL_CONFIG --vernum` 6469let CURL_VERMIN=0x071301 # 7.19.1 6470if test $CURL_VERNUM -lt $CURL_VERMIN; then 6471 as_fn_error $? "Requires libcurl version >= 7.19.1" "$LINENO" 5 6472fi 6473 6474 6475 6476## ---------------- 6477## GnuTLS 6478 6479# Check whether --with-gnutls was given. 6480if test "${with_gnutls+set}" = set; then : 6481 withval=$with_gnutls; with_gnutls="$withval" 6482else 6483 with_gnutls="no" 6484 6485fi 6486 6487if test "x$with_gnutls" != "xno"; then 6488# AC_CHECK_HEADER(gcrypt.h, [USE_GNUTLS_GCRYPT=1], [USE_GNUTLS_GCRYPT=0]) 6489# if test "$USE_GNUTLS_GCRYPT" = "1"; then 6490# LIBGCRYPT_CFLAGS="" 6491# AC_SUBST(LIBGCRYPT_CFLAGS) 6492# fi 6493# AC_CHECK_HEADER(gcrypt/gcrypt.h, [USE_GNUTLS_GCRYPT=1], [USE_GNUTLS_GCRYPT=0]) 6494# if test "$USE_GNUTLS_GCRYPT" = "1"; then 6495# LIBGCRYPT_CFLAGS="" 6496# AC_SUBST(LIBGCRYPT_CFLAGS, [""]) 6497# fi 6498# AC_CHECK_LIB(gcrypt, gcry_control, [USE_GNUTLS_GCRYPT=1], [USE_GNUTLS_GCRYPT=0]) 6499# if test "$USE_GNUTLS_GCRYPT" = "1"; then 6500# LIBGCRYPT_LIBS="-lgcrypt" 6501# AC_SUBST(LIBGCRYPT_LIBS, ["-lgcrypt"]) 6502# fi 6503 # Extract the first word of "libgcrypt-config", so it can be a program name with args. 6504set dummy libgcrypt-config; ac_word=$2 6505{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6506$as_echo_n "checking for $ac_word... " >&6; } 6507if ${ac_cv_path_LIBGCRYPT_CONFIG+:} false; then : 6508 $as_echo_n "(cached) " >&6 6509else 6510 case $LIBGCRYPT_CONFIG in 6511 [\\/]* | ?:[\\/]*) 6512 ac_cv_path_LIBGCRYPT_CONFIG="$LIBGCRYPT_CONFIG" # Let the user override the test with a path. 6513 ;; 6514 *) 6515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6516for as_dir in $PATH 6517do 6518 IFS=$as_save_IFS 6519 test -z "$as_dir" && as_dir=. 6520 for ac_exec_ext in '' $ac_executable_extensions; do 6521 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6522 ac_cv_path_LIBGCRYPT_CONFIG="$as_dir/$ac_word$ac_exec_ext" 6523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6524 break 2 6525 fi 6526done 6527 done 6528IFS=$as_save_IFS 6529 6530 ;; 6531esac 6532fi 6533LIBGCRYPT_CONFIG=$ac_cv_path_LIBGCRYPT_CONFIG 6534if test -n "$LIBGCRYPT_CONFIG"; then 6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBGCRYPT_CONFIG" >&5 6536$as_echo "$LIBGCRYPT_CONFIG" >&6; } 6537else 6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6539$as_echo "no" >&6; } 6540fi 6541 6542 6543 if test "x$LIBGCRYPT_CONFIG" = "x" ; then 6544 if test "x$with_gnutls" = "xyes"; then 6545 as_fn_error please install libgcrypt "Unable to find libgcrypt-config" "$LINENO" 5 6546 fi 6547 else 6548 LIBGCRYPT_CFLAGS=`$LIBGCRYPT_CONFIG --cflags` 6549 LIBGCRYPT_LIBS=`$LIBGCRYPT_CONFIG --libs` 6550 6551 6552 6553$as_echo "#define USE_GNUTLS 1" >>confdefs.h 6554 6555 fi 6556fi 6557 6558## ---------------- 6559## OpenSSL 6560 6561# Check whether --with-openssl was given. 6562if test "${with_openssl+set}" = set; then : 6563 withval=$with_openssl; with_openssl="$withval" 6564else 6565 with_openssl="yes" 6566 6567fi 6568 6569if test "x$LIBGCRYPT_CONFIG" = "x" ; then 6570 if test "x$with_openssl" = "xyes"; then 6571 6572pkg_failed=no 6573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBCRYPTO" >&5 6574$as_echo_n "checking for LIBCRYPTO... " >&6; } 6575 6576if test -n "$LIBCRYPTO_CFLAGS"; then 6577 pkg_cv_LIBCRYPTO_CFLAGS="$LIBCRYPTO_CFLAGS" 6578 elif test -n "$PKG_CONFIG"; then 6579 if test -n "$PKG_CONFIG" && \ 6580 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto\""; } >&5 6581 ($PKG_CONFIG --exists --print-errors "libcrypto") 2>&5 6582 ac_status=$? 6583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6584 test $ac_status = 0; }; then 6585 pkg_cv_LIBCRYPTO_CFLAGS=`$PKG_CONFIG --cflags "libcrypto" 2>/dev/null` 6586 test "x$?" != "x0" && pkg_failed=yes 6587else 6588 pkg_failed=yes 6589fi 6590 else 6591 pkg_failed=untried 6592fi 6593if test -n "$LIBCRYPTO_LIBS"; then 6594 pkg_cv_LIBCRYPTO_LIBS="$LIBCRYPTO_LIBS" 6595 elif test -n "$PKG_CONFIG"; then 6596 if test -n "$PKG_CONFIG" && \ 6597 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcrypto\""; } >&5 6598 ($PKG_CONFIG --exists --print-errors "libcrypto") 2>&5 6599 ac_status=$? 6600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6601 test $ac_status = 0; }; then 6602 pkg_cv_LIBCRYPTO_LIBS=`$PKG_CONFIG --libs "libcrypto" 2>/dev/null` 6603 test "x$?" != "x0" && pkg_failed=yes 6604else 6605 pkg_failed=yes 6606fi 6607 else 6608 pkg_failed=untried 6609fi 6610 6611 6612 6613if test $pkg_failed = yes; then 6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6615$as_echo "no" >&6; } 6616 6617if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 6618 _pkg_short_errors_supported=yes 6619else 6620 _pkg_short_errors_supported=no 6621fi 6622 if test $_pkg_short_errors_supported = yes; then 6623 LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcrypto" 2>&1` 6624 else 6625 LIBCRYPTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcrypto" 2>&1` 6626 fi 6627 # Put the nasty error message in config.log where it belongs 6628 echo "$LIBCRYPTO_PKG_ERRORS" >&5 6629 6630 as_fn_error $? "Package requirements (libcrypto) were not met: 6631 6632$LIBCRYPTO_PKG_ERRORS 6633 6634Consider adjusting the PKG_CONFIG_PATH environment variable if you 6635installed software in a non-standard prefix. 6636 6637Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS 6638and LIBCRYPTO_LIBS to avoid the need to call pkg-config. 6639See the pkg-config man page for more details." "$LINENO" 5 6640elif test $pkg_failed = untried; then 6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6642$as_echo "no" >&6; } 6643 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6644$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6645as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 6646is in your PATH or set the PKG_CONFIG environment variable to the full 6647path to pkg-config. 6648 6649Alternatively, you may set the environment variables LIBCRYPTO_CFLAGS 6650and LIBCRYPTO_LIBS to avoid the need to call pkg-config. 6651See the pkg-config man page for more details. 6652 6653To get pkg-config, see <http://pkg-config.freedesktop.org/>. 6654See \`config.log' for more details" "$LINENO" 5; } 6655else 6656 LIBCRYPTO_CFLAGS=$pkg_cv_LIBCRYPTO_CFLAGS 6657 LIBCRYPTO_LIBS=$pkg_cv_LIBCRYPTO_LIBS 6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6659$as_echo "yes" >&6; } 6660 6661fi 6662 6663 6664 6665$as_echo "#define USE_OPENSSL 1" >>confdefs.h 6666 6667 fi 6668fi 6669 6670## ---------------- 6671## libnotify 6672# Check whether --enable-notify was given. 6673if test "${enable_notify+set}" = set; then : 6674 enableval=$enable_notify; enable_notify="$enableval" 6675else 6676 enable_notify="yes" 6677 6678fi 6679 6680if test "x$enable_notify" = "xyes"; then 6681 6682pkg_failed=no 6683{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5 6684$as_echo_n "checking for LIBNOTIFY... " >&6; } 6685 6686if test -n "$LIBNOTIFY_CFLAGS"; then 6687 pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS" 6688 elif test -n "$PKG_CONFIG"; then 6689 if test -n "$PKG_CONFIG" && \ 6690 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5 6691 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5 6692 ac_status=$? 6693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6694 test $ac_status = 0; }; then 6695 pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify" 2>/dev/null` 6696 test "x$?" != "x0" && pkg_failed=yes 6697else 6698 pkg_failed=yes 6699fi 6700 else 6701 pkg_failed=untried 6702fi 6703if test -n "$LIBNOTIFY_LIBS"; then 6704 pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS" 6705 elif test -n "$PKG_CONFIG"; then 6706 if test -n "$PKG_CONFIG" && \ 6707 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5 6708 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5 6709 ac_status=$? 6710 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6711 test $ac_status = 0; }; then 6712 pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify" 2>/dev/null` 6713 test "x$?" != "x0" && pkg_failed=yes 6714else 6715 pkg_failed=yes 6716fi 6717 else 6718 pkg_failed=untried 6719fi 6720 6721 6722 6723if test $pkg_failed = yes; then 6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6725$as_echo "no" >&6; } 6726 6727if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 6728 _pkg_short_errors_supported=yes 6729else 6730 _pkg_short_errors_supported=no 6731fi 6732 if test $_pkg_short_errors_supported = yes; then 6733 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify" 2>&1` 6734 else 6735 LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify" 2>&1` 6736 fi 6737 # Put the nasty error message in config.log where it belongs 6738 echo "$LIBNOTIFY_PKG_ERRORS" >&5 6739 6740 as_fn_error $? "Package requirements (libnotify) were not met: 6741 6742$LIBNOTIFY_PKG_ERRORS 6743 6744Consider adjusting the PKG_CONFIG_PATH environment variable if you 6745installed software in a non-standard prefix. 6746 6747Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS 6748and LIBNOTIFY_LIBS to avoid the need to call pkg-config. 6749See the pkg-config man page for more details." "$LINENO" 5 6750elif test $pkg_failed = untried; then 6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6752$as_echo "no" >&6; } 6753 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6754$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6755as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 6756is in your PATH or set the PKG_CONFIG environment variable to the full 6757path to pkg-config. 6758 6759Alternatively, you may set the environment variables LIBNOTIFY_CFLAGS 6760and LIBNOTIFY_LIBS to avoid the need to call pkg-config. 6761See the pkg-config man page for more details. 6762 6763To get pkg-config, see <http://pkg-config.freedesktop.org/>. 6764See \`config.log' for more details" "$LINENO" 5; } 6765else 6766 LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS 6767 LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS 6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6769$as_echo "yes" >&6; } 6770 6771fi 6772 6773$as_echo "#define HAVE_LIBNOTIFY 1" >>confdefs.h 6774 6775 # for ArchLinux 6776 6777 6778fi 6779 6780## ---------------- 6781## appindicator 6782# Check whether --enable-appindicator was given. 6783if test "${enable_appindicator+set}" = set; then : 6784 enableval=$enable_appindicator; enable_appindicator=$enableval 6785else 6786 enable_appindicator="auto" 6787 6788fi 6789 6790if test x$enable_appindicator = xauto ; then 6791 if test -n "$PKG_CONFIG" && \ 6792 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5 6793 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5 6794 ac_status=$? 6795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6796 test $ac_status = 0; }; then 6797 enable_appindicator="yes" 6798else 6799 enable_appindicator="no" 6800fi 6801fi 6802if test x$enable_appindicator = xyes ; then 6803 6804pkg_failed=no 6805{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APP_INDICATOR" >&5 6806$as_echo_n "checking for APP_INDICATOR... " >&6; } 6807 6808if test -n "$APP_INDICATOR_CFLAGS"; then 6809 pkg_cv_APP_INDICATOR_CFLAGS="$APP_INDICATOR_CFLAGS" 6810 elif test -n "$PKG_CONFIG"; then 6811 if test -n "$PKG_CONFIG" && \ 6812 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5 6813 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5 6814 ac_status=$? 6815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6816 test $ac_status = 0; }; then 6817 pkg_cv_APP_INDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator3-0.1" 2>/dev/null` 6818 test "x$?" != "x0" && pkg_failed=yes 6819else 6820 pkg_failed=yes 6821fi 6822 else 6823 pkg_failed=untried 6824fi 6825if test -n "$APP_INDICATOR_LIBS"; then 6826 pkg_cv_APP_INDICATOR_LIBS="$APP_INDICATOR_LIBS" 6827 elif test -n "$PKG_CONFIG"; then 6828 if test -n "$PKG_CONFIG" && \ 6829 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator3-0.1\""; } >&5 6830 ($PKG_CONFIG --exists --print-errors "appindicator3-0.1") 2>&5 6831 ac_status=$? 6832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6833 test $ac_status = 0; }; then 6834 pkg_cv_APP_INDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator3-0.1" 2>/dev/null` 6835 test "x$?" != "x0" && pkg_failed=yes 6836else 6837 pkg_failed=yes 6838fi 6839 else 6840 pkg_failed=untried 6841fi 6842 6843 6844 6845if test $pkg_failed = yes; then 6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6847$as_echo "no" >&6; } 6848 6849if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 6850 _pkg_short_errors_supported=yes 6851else 6852 _pkg_short_errors_supported=no 6853fi 6854 if test $_pkg_short_errors_supported = yes; then 6855 APP_INDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator3-0.1" 2>&1` 6856 else 6857 APP_INDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator3-0.1" 2>&1` 6858 fi 6859 # Put the nasty error message in config.log where it belongs 6860 echo "$APP_INDICATOR_PKG_ERRORS" >&5 6861 6862 as_fn_error $? "Package requirements (appindicator3-0.1) were not met: 6863 6864$APP_INDICATOR_PKG_ERRORS 6865 6866Consider adjusting the PKG_CONFIG_PATH environment variable if you 6867installed software in a non-standard prefix. 6868 6869Alternatively, you may set the environment variables APP_INDICATOR_CFLAGS 6870and APP_INDICATOR_LIBS to avoid the need to call pkg-config. 6871See the pkg-config man page for more details." "$LINENO" 5 6872elif test $pkg_failed = untried; then 6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6874$as_echo "no" >&6; } 6875 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6876$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6877as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 6878is in your PATH or set the PKG_CONFIG environment variable to the full 6879path to pkg-config. 6880 6881Alternatively, you may set the environment variables APP_INDICATOR_CFLAGS 6882and APP_INDICATOR_LIBS to avoid the need to call pkg-config. 6883See the pkg-config man page for more details. 6884 6885To get pkg-config, see <http://pkg-config.freedesktop.org/>. 6886See \`config.log' for more details" "$LINENO" 5; } 6887else 6888 APP_INDICATOR_CFLAGS=$pkg_cv_APP_INDICATOR_CFLAGS 6889 APP_INDICATOR_LIBS=$pkg_cv_APP_INDICATOR_LIBS 6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6891$as_echo "yes" >&6; } 6892 6893fi 6894 6895 6896 6897$as_echo "#define HAVE_APP_INDICATOR 1" >>confdefs.h 6898 6899fi 6900 6901## ---------------- 6902## gstreamer 6903# Check whether --enable-gstreamer was given. 6904if test "${enable_gstreamer+set}" = set; then : 6905 enableval=$enable_gstreamer; enable_gstreamer="$enableval" 6906else 6907 enable_gstreamer="yes" 6908 6909fi 6910 6911if test "x$enable_gstreamer" = "xyes"; then 6912 if test -n "$PKG_CONFIG" && \ 6913 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0\""; } >&5 6914 ($PKG_CONFIG --exists --print-errors "gstreamer-1.0") 2>&5 6915 ac_status=$? 6916 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6917 test $ac_status = 0; }; then 6918 enable_gstreamer1="yes" 6919else 6920 enable_gstreamer1="no" 6921fi 6922fi 6923if test "x$enable_gstreamer1" = "xyes"; then 6924 6925pkg_failed=no 6926{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5 6927$as_echo_n "checking for GSTREAMER... " >&6; } 6928 6929if test -n "$GSTREAMER_CFLAGS"; then 6930 pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS" 6931 elif test -n "$PKG_CONFIG"; then 6932 if test -n "$PKG_CONFIG" && \ 6933 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0\""; } >&5 6934 ($PKG_CONFIG --exists --print-errors "gstreamer-1.0") 2>&5 6935 ac_status=$? 6936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6937 test $ac_status = 0; }; then 6938 pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-1.0" 2>/dev/null` 6939 test "x$?" != "x0" && pkg_failed=yes 6940else 6941 pkg_failed=yes 6942fi 6943 else 6944 pkg_failed=untried 6945fi 6946if test -n "$GSTREAMER_LIBS"; then 6947 pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS" 6948 elif test -n "$PKG_CONFIG"; then 6949 if test -n "$PKG_CONFIG" && \ 6950 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-1.0\""; } >&5 6951 ($PKG_CONFIG --exists --print-errors "gstreamer-1.0") 2>&5 6952 ac_status=$? 6953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 6954 test $ac_status = 0; }; then 6955 pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-1.0" 2>/dev/null` 6956 test "x$?" != "x0" && pkg_failed=yes 6957else 6958 pkg_failed=yes 6959fi 6960 else 6961 pkg_failed=untried 6962fi 6963 6964 6965 6966if test $pkg_failed = yes; then 6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6968$as_echo "no" >&6; } 6969 6970if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 6971 _pkg_short_errors_supported=yes 6972else 6973 _pkg_short_errors_supported=no 6974fi 6975 if test $_pkg_short_errors_supported = yes; then 6976 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-1.0" 2>&1` 6977 else 6978 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-1.0" 2>&1` 6979 fi 6980 # Put the nasty error message in config.log where it belongs 6981 echo "$GSTREAMER_PKG_ERRORS" >&5 6982 6983 as_fn_error $? "Package requirements (gstreamer-1.0) were not met: 6984 6985$GSTREAMER_PKG_ERRORS 6986 6987Consider adjusting the PKG_CONFIG_PATH environment variable if you 6988installed software in a non-standard prefix. 6989 6990Alternatively, you may set the environment variables GSTREAMER_CFLAGS 6991and GSTREAMER_LIBS to avoid the need to call pkg-config. 6992See the pkg-config man page for more details." "$LINENO" 5 6993elif test $pkg_failed = untried; then 6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6995$as_echo "no" >&6; } 6996 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 6997$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 6998as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 6999is in your PATH or set the PKG_CONFIG environment variable to the full 7000path to pkg-config. 7001 7002Alternatively, you may set the environment variables GSTREAMER_CFLAGS 7003and GSTREAMER_LIBS to avoid the need to call pkg-config. 7004See the pkg-config man page for more details. 7005 7006To get pkg-config, see <http://pkg-config.freedesktop.org/>. 7007See \`config.log' for more details" "$LINENO" 5; } 7008else 7009 GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS 7010 GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS 7011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7012$as_echo "yes" >&6; } 7013 7014fi 7015 7016$as_echo "#define HAVE_GSTREAMER 1" >>confdefs.h 7017 7018 # for ArchLinux 7019 7020 7021elif test "x$enable_gstreamer" = "xyes"; then 7022 7023pkg_failed=no 7024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GSTREAMER" >&5 7025$as_echo_n "checking for GSTREAMER... " >&6; } 7026 7027if test -n "$GSTREAMER_CFLAGS"; then 7028 pkg_cv_GSTREAMER_CFLAGS="$GSTREAMER_CFLAGS" 7029 elif test -n "$PKG_CONFIG"; then 7030 if test -n "$PKG_CONFIG" && \ 7031 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10\""; } >&5 7032 ($PKG_CONFIG --exists --print-errors "gstreamer-0.10") 2>&5 7033 ac_status=$? 7034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7035 test $ac_status = 0; }; then 7036 pkg_cv_GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-0.10" 2>/dev/null` 7037 test "x$?" != "x0" && pkg_failed=yes 7038else 7039 pkg_failed=yes 7040fi 7041 else 7042 pkg_failed=untried 7043fi 7044if test -n "$GSTREAMER_LIBS"; then 7045 pkg_cv_GSTREAMER_LIBS="$GSTREAMER_LIBS" 7046 elif test -n "$PKG_CONFIG"; then 7047 if test -n "$PKG_CONFIG" && \ 7048 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-0.10\""; } >&5 7049 ($PKG_CONFIG --exists --print-errors "gstreamer-0.10") 2>&5 7050 ac_status=$? 7051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7052 test $ac_status = 0; }; then 7053 pkg_cv_GSTREAMER_LIBS=`$PKG_CONFIG --libs "gstreamer-0.10" 2>/dev/null` 7054 test "x$?" != "x0" && pkg_failed=yes 7055else 7056 pkg_failed=yes 7057fi 7058 else 7059 pkg_failed=untried 7060fi 7061 7062 7063 7064if test $pkg_failed = yes; then 7065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7066$as_echo "no" >&6; } 7067 7068if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 7069 _pkg_short_errors_supported=yes 7070else 7071 _pkg_short_errors_supported=no 7072fi 7073 if test $_pkg_short_errors_supported = yes; then 7074 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gstreamer-0.10" 2>&1` 7075 else 7076 GSTREAMER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gstreamer-0.10" 2>&1` 7077 fi 7078 # Put the nasty error message in config.log where it belongs 7079 echo "$GSTREAMER_PKG_ERRORS" >&5 7080 7081 as_fn_error $? "Package requirements (gstreamer-0.10) were not met: 7082 7083$GSTREAMER_PKG_ERRORS 7084 7085Consider adjusting the PKG_CONFIG_PATH environment variable if you 7086installed software in a non-standard prefix. 7087 7088Alternatively, you may set the environment variables GSTREAMER_CFLAGS 7089and GSTREAMER_LIBS to avoid the need to call pkg-config. 7090See the pkg-config man page for more details." "$LINENO" 5 7091elif test $pkg_failed = untried; then 7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7093$as_echo "no" >&6; } 7094 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7095$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7096as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 7097is in your PATH or set the PKG_CONFIG environment variable to the full 7098path to pkg-config. 7099 7100Alternatively, you may set the environment variables GSTREAMER_CFLAGS 7101and GSTREAMER_LIBS to avoid the need to call pkg-config. 7102See the pkg-config man page for more details. 7103 7104To get pkg-config, see <http://pkg-config.freedesktop.org/>. 7105See \`config.log' for more details" "$LINENO" 5; } 7106else 7107 GSTREAMER_CFLAGS=$pkg_cv_GSTREAMER_CFLAGS 7108 GSTREAMER_LIBS=$pkg_cv_GSTREAMER_LIBS 7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7110$as_echo "yes" >&6; } 7111 7112fi 7113 7114$as_echo "#define HAVE_GSTREAMER 1" >>confdefs.h 7115 7116 # for ArchLinux 7117 7118 7119fi 7120 7121## ----------------- 7122## libpwmd 7123# Check whether --enable-pwmd was given. 7124if test "${enable_pwmd+set}" = set; then : 7125 enableval=$enable_pwmd; enable_pwmd="$enableval" 7126else 7127 enable_pwmd="no" 7128 7129fi 7130 7131if test "x$enable_pwmd" = "xyes"; then 7132 7133pkg_failed=no 7134{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBPWMD" >&5 7135$as_echo_n "checking for LIBPWMD... " >&6; } 7136 7137if test -n "$LIBPWMD_CFLAGS"; then 7138 pkg_cv_LIBPWMD_CFLAGS="$LIBPWMD_CFLAGS" 7139 elif test -n "$PKG_CONFIG"; then 7140 if test -n "$PKG_CONFIG" && \ 7141 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpwmd-8.0 >= 8.0.0\""; } >&5 7142 ($PKG_CONFIG --exists --print-errors "libpwmd-8.0 >= 8.0.0") 2>&5 7143 ac_status=$? 7144 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7145 test $ac_status = 0; }; then 7146 pkg_cv_LIBPWMD_CFLAGS=`$PKG_CONFIG --cflags "libpwmd-8.0 >= 8.0.0" 2>/dev/null` 7147 test "x$?" != "x0" && pkg_failed=yes 7148else 7149 pkg_failed=yes 7150fi 7151 else 7152 pkg_failed=untried 7153fi 7154if test -n "$LIBPWMD_LIBS"; then 7155 pkg_cv_LIBPWMD_LIBS="$LIBPWMD_LIBS" 7156 elif test -n "$PKG_CONFIG"; then 7157 if test -n "$PKG_CONFIG" && \ 7158 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpwmd-8.0 >= 8.0.0\""; } >&5 7159 ($PKG_CONFIG --exists --print-errors "libpwmd-8.0 >= 8.0.0") 2>&5 7160 ac_status=$? 7161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7162 test $ac_status = 0; }; then 7163 pkg_cv_LIBPWMD_LIBS=`$PKG_CONFIG --libs "libpwmd-8.0 >= 8.0.0" 2>/dev/null` 7164 test "x$?" != "x0" && pkg_failed=yes 7165else 7166 pkg_failed=yes 7167fi 7168 else 7169 pkg_failed=untried 7170fi 7171 7172 7173 7174if test $pkg_failed = yes; then 7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7176$as_echo "no" >&6; } 7177 7178if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 7179 _pkg_short_errors_supported=yes 7180else 7181 _pkg_short_errors_supported=no 7182fi 7183 if test $_pkg_short_errors_supported = yes; then 7184 LIBPWMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpwmd-8.0 >= 8.0.0" 2>&1` 7185 else 7186 LIBPWMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpwmd-8.0 >= 8.0.0" 2>&1` 7187 fi 7188 # Put the nasty error message in config.log where it belongs 7189 echo "$LIBPWMD_PKG_ERRORS" >&5 7190 7191 as_fn_error $? "Package requirements (libpwmd-8.0 >= 8.0.0) were not met: 7192 7193$LIBPWMD_PKG_ERRORS 7194 7195Consider adjusting the PKG_CONFIG_PATH environment variable if you 7196installed software in a non-standard prefix. 7197 7198Alternatively, you may set the environment variables LIBPWMD_CFLAGS 7199and LIBPWMD_LIBS to avoid the need to call pkg-config. 7200See the pkg-config man page for more details." "$LINENO" 5 7201elif test $pkg_failed = untried; then 7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7203$as_echo "no" >&6; } 7204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7205$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7206as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 7207is in your PATH or set the PKG_CONFIG environment variable to the full 7208path to pkg-config. 7209 7210Alternatively, you may set the environment variables LIBPWMD_CFLAGS 7211and LIBPWMD_LIBS to avoid the need to call pkg-config. 7212See the pkg-config man page for more details. 7213 7214To get pkg-config, see <http://pkg-config.freedesktop.org/>. 7215See \`config.log' for more details" "$LINENO" 5; } 7216else 7217 LIBPWMD_CFLAGS=$pkg_cv_LIBPWMD_CFLAGS 7218 LIBPWMD_LIBS=$pkg_cv_LIBPWMD_LIBS 7219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7220$as_echo "yes" >&6; } 7221 7222fi 7223 7224$as_echo "#define HAVE_LIBPWMD 1" >>confdefs.h 7225 7226fi 7227 if test "x$enable_pwmd" = "xyes"; then 7228 WITH_LIBPWMD_TRUE= 7229 WITH_LIBPWMD_FALSE='#' 7230else 7231 WITH_LIBPWMD_TRUE='#' 7232 WITH_LIBPWMD_FALSE= 7233fi 7234 7235 7236## ----------------- 7237## RSS Notify 7238# Check whether --enable-rss-notify was given. 7239if test "${enable_rss_notify+set}" = set; then : 7240 enableval=$enable_rss_notify; enable_rss_notify="$enableval" 7241else 7242 enable_rss_notify="yes" 7243 7244fi 7245 7246if test "x$enable_rss_notify" = "xyes"; then 7247 7248$as_echo "#define HAVE_RSS_NOTIFY 1" >>confdefs.h 7249 7250fi 7251 7252## ----------------- 7253## UNIX Domain Socket 7254# Check whether --enable-unix-socket was given. 7255if test "${enable_unix_socket+set}" = set; then : 7256 enableval=$enable_unix_socket; enable_unix_socket="$enableval" 7257else 7258 enable_unix_socket="no" 7259 7260fi 7261 7262if test "x$enable_unix_socket" = "xyes"; then 7263 7264$as_echo "#define USE_UNIX_DOMAIN_SOCKET 1" >>confdefs.h 7265 7266fi 7267 7268## ---------------------------------------------- 7269## output 7270ac_config_files="$ac_config_files Makefile doc/Makefile tests/Makefile uget/Makefile uglib/Makefile ui-gtk/Makefile ui-gtk-1to2/Makefile pixmaps/Makefile sounds/Makefile po/Makefile.in Windows/Makefile" 7271 7272 7273cat >confcache <<\_ACEOF 7274# This file is a shell script that caches the results of configure 7275# tests run on this system so they can be shared between configure 7276# scripts and configure runs, see configure's option --config-cache. 7277# It is not useful on other systems. If it contains results you don't 7278# want to keep, you may remove or edit it. 7279# 7280# config.status only pays attention to the cache file if you give it 7281# the --recheck option to rerun configure. 7282# 7283# `ac_cv_env_foo' variables (set or unset) will be overridden when 7284# loading this file, other *unset* `ac_cv_foo' will be assigned the 7285# following values. 7286 7287_ACEOF 7288 7289# The following way of writing the cache mishandles newlines in values, 7290# but we know of no workaround that is simple, portable, and efficient. 7291# So, we kill variables containing newlines. 7292# Ultrix sh set writes to stderr and can't be redirected directly, 7293# and sets the high bit in the cache file unless we assign to the vars. 7294( 7295 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 7296 eval ac_val=\$$ac_var 7297 case $ac_val in #( 7298 *${as_nl}*) 7299 case $ac_var in #( 7300 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 7301$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 7302 esac 7303 case $ac_var in #( 7304 _ | IFS | as_nl) ;; #( 7305 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 7306 *) { eval $ac_var=; unset $ac_var;} ;; 7307 esac ;; 7308 esac 7309 done 7310 7311 (set) 2>&1 | 7312 case $as_nl`(ac_space=' '; set) 2>&1` in #( 7313 *${as_nl}ac_space=\ *) 7314 # `set' does not quote correctly, so add quotes: double-quote 7315 # substitution turns \\\\ into \\, and sed turns \\ into \. 7316 sed -n \ 7317 "s/'/'\\\\''/g; 7318 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 7319 ;; #( 7320 *) 7321 # `set' quotes correctly as required by POSIX, so do not add quotes. 7322 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 7323 ;; 7324 esac | 7325 sort 7326) | 7327 sed ' 7328 /^ac_cv_env_/b end 7329 t clear 7330 :clear 7331 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 7332 t end 7333 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 7334 :end' >>confcache 7335if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 7336 if test -w "$cache_file"; then 7337 if test "x$cache_file" != "x/dev/null"; then 7338 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 7339$as_echo "$as_me: updating cache $cache_file" >&6;} 7340 if test ! -f "$cache_file" || test -h "$cache_file"; then 7341 cat confcache >"$cache_file" 7342 else 7343 case $cache_file in #( 7344 */* | ?:*) 7345 mv -f confcache "$cache_file"$$ && 7346 mv -f "$cache_file"$$ "$cache_file" ;; #( 7347 *) 7348 mv -f confcache "$cache_file" ;; 7349 esac 7350 fi 7351 fi 7352 else 7353 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 7354$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 7355 fi 7356fi 7357rm -f confcache 7358 7359test "x$prefix" = xNONE && prefix=$ac_default_prefix 7360# Let make expand exec_prefix. 7361test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 7362 7363DEFS=-DHAVE_CONFIG_H 7364 7365ac_libobjs= 7366ac_ltlibobjs= 7367U= 7368for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 7369 # 1. Remove the extension, and $U if already installed. 7370 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 7371 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 7372 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 7373 # will be set to the directory where LIBOBJS objects are built. 7374 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 7375 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 7376done 7377LIBOBJS=$ac_libobjs 7378 7379LTLIBOBJS=$ac_ltlibobjs 7380 7381 7382{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 7383$as_echo_n "checking that generated files are newer than configure... " >&6; } 7384 if test -n "$am_sleep_pid"; then 7385 # Hide warnings about reused PIDs. 7386 wait $am_sleep_pid 2>/dev/null 7387 fi 7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 7389$as_echo "done" >&6; } 7390 if test -n "$EXEEXT"; then 7391 am__EXEEXT_TRUE= 7392 am__EXEEXT_FALSE='#' 7393else 7394 am__EXEEXT_TRUE='#' 7395 am__EXEEXT_FALSE= 7396fi 7397 7398if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 7399 as_fn_error $? "conditional \"AMDEP\" was never defined. 7400Usually this means the macro was only invoked conditionally." "$LINENO" 5 7401fi 7402if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 7403 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 7404Usually this means the macro was only invoked conditionally." "$LINENO" 5 7405fi 7406 7407 ac_config_commands="$ac_config_commands po/stamp-it" 7408 7409 7410if test -z "${WITH_LIBPWMD_TRUE}" && test -z "${WITH_LIBPWMD_FALSE}"; then 7411 as_fn_error $? "conditional \"WITH_LIBPWMD\" was never defined. 7412Usually this means the macro was only invoked conditionally." "$LINENO" 5 7413fi 7414 7415: "${CONFIG_STATUS=./config.status}" 7416ac_write_fail=0 7417ac_clean_files_save=$ac_clean_files 7418ac_clean_files="$ac_clean_files $CONFIG_STATUS" 7419{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 7420$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 7421as_write_fail=0 7422cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 7423#! $SHELL 7424# Generated by $as_me. 7425# Run this file to recreate the current configuration. 7426# Compiler output produced by configure, useful for debugging 7427# configure, is in config.log if it exists. 7428 7429debug=false 7430ac_cs_recheck=false 7431ac_cs_silent=false 7432 7433SHELL=\${CONFIG_SHELL-$SHELL} 7434export SHELL 7435_ASEOF 7436cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 7437## -------------------- ## 7438## M4sh Initialization. ## 7439## -------------------- ## 7440 7441# Be more Bourne compatible 7442DUALCASE=1; export DUALCASE # for MKS sh 7443if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 7444 emulate sh 7445 NULLCMD=: 7446 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 7447 # is contrary to our usage. Disable this feature. 7448 alias -g '${1+"$@"}'='"$@"' 7449 setopt NO_GLOB_SUBST 7450else 7451 case `(set -o) 2>/dev/null` in #( 7452 *posix*) : 7453 set -o posix ;; #( 7454 *) : 7455 ;; 7456esac 7457fi 7458 7459 7460as_nl=' 7461' 7462export as_nl 7463# Printing a long string crashes Solaris 7 /usr/bin/printf. 7464as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 7465as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 7466as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 7467# Prefer a ksh shell builtin over an external printf program on Solaris, 7468# but without wasting forks for bash or zsh. 7469if test -z "$BASH_VERSION$ZSH_VERSION" \ 7470 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 7471 as_echo='print -r --' 7472 as_echo_n='print -rn --' 7473elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 7474 as_echo='printf %s\n' 7475 as_echo_n='printf %s' 7476else 7477 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 7478 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 7479 as_echo_n='/usr/ucb/echo -n' 7480 else 7481 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 7482 as_echo_n_body='eval 7483 arg=$1; 7484 case $arg in #( 7485 *"$as_nl"*) 7486 expr "X$arg" : "X\\(.*\\)$as_nl"; 7487 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 7488 esac; 7489 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 7490 ' 7491 export as_echo_n_body 7492 as_echo_n='sh -c $as_echo_n_body as_echo' 7493 fi 7494 export as_echo_body 7495 as_echo='sh -c $as_echo_body as_echo' 7496fi 7497 7498# The user is always right. 7499if test "${PATH_SEPARATOR+set}" != set; then 7500 PATH_SEPARATOR=: 7501 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 7502 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 7503 PATH_SEPARATOR=';' 7504 } 7505fi 7506 7507 7508# IFS 7509# We need space, tab and new line, in precisely that order. Quoting is 7510# there to prevent editors from complaining about space-tab. 7511# (If _AS_PATH_WALK were called with IFS unset, it would disable word 7512# splitting by setting IFS to empty value.) 7513IFS=" "" $as_nl" 7514 7515# Find who we are. Look in the path if we contain no directory separator. 7516as_myself= 7517case $0 in #(( 7518 *[\\/]* ) as_myself=$0 ;; 7519 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7520for as_dir in $PATH 7521do 7522 IFS=$as_save_IFS 7523 test -z "$as_dir" && as_dir=. 7524 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 7525 done 7526IFS=$as_save_IFS 7527 7528 ;; 7529esac 7530# We did not find ourselves, most probably we were run as `sh COMMAND' 7531# in which case we are not to be found in the path. 7532if test "x$as_myself" = x; then 7533 as_myself=$0 7534fi 7535if test ! -f "$as_myself"; then 7536 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 7537 exit 1 7538fi 7539 7540# Unset variables that we do not need and which cause bugs (e.g. in 7541# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 7542# suppresses any "Segmentation fault" message there. '((' could 7543# trigger a bug in pdksh 5.2.14. 7544for as_var in BASH_ENV ENV MAIL MAILPATH 7545do eval test x\${$as_var+set} = xset \ 7546 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 7547done 7548PS1='$ ' 7549PS2='> ' 7550PS4='+ ' 7551 7552# NLS nuisances. 7553LC_ALL=C 7554export LC_ALL 7555LANGUAGE=C 7556export LANGUAGE 7557 7558# CDPATH. 7559(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 7560 7561 7562# as_fn_error STATUS ERROR [LINENO LOG_FD] 7563# ---------------------------------------- 7564# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 7565# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 7566# script with STATUS, using 1 if that was 0. 7567as_fn_error () 7568{ 7569 as_status=$1; test $as_status -eq 0 && as_status=1 7570 if test "$4"; then 7571 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 7572 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 7573 fi 7574 $as_echo "$as_me: error: $2" >&2 7575 as_fn_exit $as_status 7576} # as_fn_error 7577 7578 7579# as_fn_set_status STATUS 7580# ----------------------- 7581# Set $? to STATUS, without forking. 7582as_fn_set_status () 7583{ 7584 return $1 7585} # as_fn_set_status 7586 7587# as_fn_exit STATUS 7588# ----------------- 7589# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 7590as_fn_exit () 7591{ 7592 set +e 7593 as_fn_set_status $1 7594 exit $1 7595} # as_fn_exit 7596 7597# as_fn_unset VAR 7598# --------------- 7599# Portably unset VAR. 7600as_fn_unset () 7601{ 7602 { eval $1=; unset $1;} 7603} 7604as_unset=as_fn_unset 7605# as_fn_append VAR VALUE 7606# ---------------------- 7607# Append the text in VALUE to the end of the definition contained in VAR. Take 7608# advantage of any shell optimizations that allow amortized linear growth over 7609# repeated appends, instead of the typical quadratic growth present in naive 7610# implementations. 7611if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 7612 eval 'as_fn_append () 7613 { 7614 eval $1+=\$2 7615 }' 7616else 7617 as_fn_append () 7618 { 7619 eval $1=\$$1\$2 7620 } 7621fi # as_fn_append 7622 7623# as_fn_arith ARG... 7624# ------------------ 7625# Perform arithmetic evaluation on the ARGs, and store the result in the 7626# global $as_val. Take advantage of shells that can avoid forks. The arguments 7627# must be portable across $(()) and expr. 7628if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 7629 eval 'as_fn_arith () 7630 { 7631 as_val=$(( $* )) 7632 }' 7633else 7634 as_fn_arith () 7635 { 7636 as_val=`expr "$@" || test $? -eq 1` 7637 } 7638fi # as_fn_arith 7639 7640 7641if expr a : '\(a\)' >/dev/null 2>&1 && 7642 test "X`expr 00001 : '.*\(...\)'`" = X001; then 7643 as_expr=expr 7644else 7645 as_expr=false 7646fi 7647 7648if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 7649 as_basename=basename 7650else 7651 as_basename=false 7652fi 7653 7654if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 7655 as_dirname=dirname 7656else 7657 as_dirname=false 7658fi 7659 7660as_me=`$as_basename -- "$0" || 7661$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 7662 X"$0" : 'X\(//\)$' \| \ 7663 X"$0" : 'X\(/\)' \| . 2>/dev/null || 7664$as_echo X/"$0" | 7665 sed '/^.*\/\([^/][^/]*\)\/*$/{ 7666 s//\1/ 7667 q 7668 } 7669 /^X\/\(\/\/\)$/{ 7670 s//\1/ 7671 q 7672 } 7673 /^X\/\(\/\).*/{ 7674 s//\1/ 7675 q 7676 } 7677 s/.*/./; q'` 7678 7679# Avoid depending upon Character Ranges. 7680as_cr_letters='abcdefghijklmnopqrstuvwxyz' 7681as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 7682as_cr_Letters=$as_cr_letters$as_cr_LETTERS 7683as_cr_digits='0123456789' 7684as_cr_alnum=$as_cr_Letters$as_cr_digits 7685 7686ECHO_C= ECHO_N= ECHO_T= 7687case `echo -n x` in #((((( 7688-n*) 7689 case `echo 'xy\c'` in 7690 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 7691 xy) ECHO_C='\c';; 7692 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 7693 ECHO_T=' ';; 7694 esac;; 7695*) 7696 ECHO_N='-n';; 7697esac 7698 7699rm -f conf$$ conf$$.exe conf$$.file 7700if test -d conf$$.dir; then 7701 rm -f conf$$.dir/conf$$.file 7702else 7703 rm -f conf$$.dir 7704 mkdir conf$$.dir 2>/dev/null 7705fi 7706if (echo >conf$$.file) 2>/dev/null; then 7707 if ln -s conf$$.file conf$$ 2>/dev/null; then 7708 as_ln_s='ln -s' 7709 # ... but there are two gotchas: 7710 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 7711 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 7712 # In both cases, we have to default to `cp -pR'. 7713 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 7714 as_ln_s='cp -pR' 7715 elif ln conf$$.file conf$$ 2>/dev/null; then 7716 as_ln_s=ln 7717 else 7718 as_ln_s='cp -pR' 7719 fi 7720else 7721 as_ln_s='cp -pR' 7722fi 7723rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 7724rmdir conf$$.dir 2>/dev/null 7725 7726 7727# as_fn_mkdir_p 7728# ------------- 7729# Create "$as_dir" as a directory, including parents if necessary. 7730as_fn_mkdir_p () 7731{ 7732 7733 case $as_dir in #( 7734 -*) as_dir=./$as_dir;; 7735 esac 7736 test -d "$as_dir" || eval $as_mkdir_p || { 7737 as_dirs= 7738 while :; do 7739 case $as_dir in #( 7740 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 7741 *) as_qdir=$as_dir;; 7742 esac 7743 as_dirs="'$as_qdir' $as_dirs" 7744 as_dir=`$as_dirname -- "$as_dir" || 7745$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 7746 X"$as_dir" : 'X\(//\)[^/]' \| \ 7747 X"$as_dir" : 'X\(//\)$' \| \ 7748 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 7749$as_echo X"$as_dir" | 7750 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 7751 s//\1/ 7752 q 7753 } 7754 /^X\(\/\/\)[^/].*/{ 7755 s//\1/ 7756 q 7757 } 7758 /^X\(\/\/\)$/{ 7759 s//\1/ 7760 q 7761 } 7762 /^X\(\/\).*/{ 7763 s//\1/ 7764 q 7765 } 7766 s/.*/./; q'` 7767 test -d "$as_dir" && break 7768 done 7769 test -z "$as_dirs" || eval "mkdir $as_dirs" 7770 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 7771 7772 7773} # as_fn_mkdir_p 7774if mkdir -p . 2>/dev/null; then 7775 as_mkdir_p='mkdir -p "$as_dir"' 7776else 7777 test -d ./-p && rmdir ./-p 7778 as_mkdir_p=false 7779fi 7780 7781 7782# as_fn_executable_p FILE 7783# ----------------------- 7784# Test if FILE is an executable regular file. 7785as_fn_executable_p () 7786{ 7787 test -f "$1" && test -x "$1" 7788} # as_fn_executable_p 7789as_test_x='test -x' 7790as_executable_p=as_fn_executable_p 7791 7792# Sed expression to map a string onto a valid CPP name. 7793as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 7794 7795# Sed expression to map a string onto a valid variable name. 7796as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 7797 7798 7799exec 6>&1 7800## ----------------------------------- ## 7801## Main body of $CONFIG_STATUS script. ## 7802## ----------------------------------- ## 7803_ASEOF 7804test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 7805 7806cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7807# Save the log message, to keep $0 and so on meaningful, and to 7808# report actual input values of CONFIG_FILES etc. instead of their 7809# values after options handling. 7810ac_log=" 7811This file was extended by uget $as_me 2.2.1, which was 7812generated by GNU Autoconf 2.69. Invocation command line was 7813 7814 CONFIG_FILES = $CONFIG_FILES 7815 CONFIG_HEADERS = $CONFIG_HEADERS 7816 CONFIG_LINKS = $CONFIG_LINKS 7817 CONFIG_COMMANDS = $CONFIG_COMMANDS 7818 $ $0 $@ 7819 7820on `(hostname || uname -n) 2>/dev/null | sed 1q` 7821" 7822 7823_ACEOF 7824 7825case $ac_config_files in *" 7826"*) set x $ac_config_files; shift; ac_config_files=$*;; 7827esac 7828 7829case $ac_config_headers in *" 7830"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 7831esac 7832 7833 7834cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7835# Files that config.status was made for. 7836config_files="$ac_config_files" 7837config_headers="$ac_config_headers" 7838config_commands="$ac_config_commands" 7839 7840_ACEOF 7841 7842cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7843ac_cs_usage="\ 7844\`$as_me' instantiates files and other configuration actions 7845from templates according to the current configuration. Unless the files 7846and actions are specified as TAGs, all are instantiated by default. 7847 7848Usage: $0 [OPTION]... [TAG]... 7849 7850 -h, --help print this help, then exit 7851 -V, --version print version number and configuration settings, then exit 7852 --config print configuration, then exit 7853 -q, --quiet, --silent 7854 do not print progress messages 7855 -d, --debug don't remove temporary files 7856 --recheck update $as_me by reconfiguring in the same conditions 7857 --file=FILE[:TEMPLATE] 7858 instantiate the configuration file FILE 7859 --header=FILE[:TEMPLATE] 7860 instantiate the configuration header FILE 7861 7862Configuration files: 7863$config_files 7864 7865Configuration headers: 7866$config_headers 7867 7868Configuration commands: 7869$config_commands 7870 7871Report bugs to the package provider." 7872 7873_ACEOF 7874cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7875ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 7876ac_cs_version="\\ 7877uget config.status 2.2.1 7878configured by $0, generated by GNU Autoconf 2.69, 7879 with options \\"\$ac_cs_config\\" 7880 7881Copyright (C) 2012 Free Software Foundation, Inc. 7882This config.status script is free software; the Free Software Foundation 7883gives unlimited permission to copy, distribute and modify it." 7884 7885ac_pwd='$ac_pwd' 7886srcdir='$srcdir' 7887INSTALL='$INSTALL' 7888MKDIR_P='$MKDIR_P' 7889AWK='$AWK' 7890test -n "\$AWK" || AWK=awk 7891_ACEOF 7892 7893cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7894# The default lists apply if the user does not specify any file. 7895ac_need_defaults=: 7896while test $# != 0 7897do 7898 case $1 in 7899 --*=?*) 7900 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7901 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 7902 ac_shift=: 7903 ;; 7904 --*=) 7905 ac_option=`expr "X$1" : 'X\([^=]*\)='` 7906 ac_optarg= 7907 ac_shift=: 7908 ;; 7909 *) 7910 ac_option=$1 7911 ac_optarg=$2 7912 ac_shift=shift 7913 ;; 7914 esac 7915 7916 case $ac_option in 7917 # Handling of the options. 7918 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 7919 ac_cs_recheck=: ;; 7920 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 7921 $as_echo "$ac_cs_version"; exit ;; 7922 --config | --confi | --conf | --con | --co | --c ) 7923 $as_echo "$ac_cs_config"; exit ;; 7924 --debug | --debu | --deb | --de | --d | -d ) 7925 debug=: ;; 7926 --file | --fil | --fi | --f ) 7927 $ac_shift 7928 case $ac_optarg in 7929 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7930 '') as_fn_error $? "missing file argument" ;; 7931 esac 7932 as_fn_append CONFIG_FILES " '$ac_optarg'" 7933 ac_need_defaults=false;; 7934 --header | --heade | --head | --hea ) 7935 $ac_shift 7936 case $ac_optarg in 7937 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 7938 esac 7939 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 7940 ac_need_defaults=false;; 7941 --he | --h) 7942 # Conflict between --help and --header 7943 as_fn_error $? "ambiguous option: \`$1' 7944Try \`$0 --help' for more information.";; 7945 --help | --hel | -h ) 7946 $as_echo "$ac_cs_usage"; exit ;; 7947 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 7948 | -silent | --silent | --silen | --sile | --sil | --si | --s) 7949 ac_cs_silent=: ;; 7950 7951 # This is an error. 7952 -*) as_fn_error $? "unrecognized option: \`$1' 7953Try \`$0 --help' for more information." ;; 7954 7955 *) as_fn_append ac_config_targets " $1" 7956 ac_need_defaults=false ;; 7957 7958 esac 7959 shift 7960done 7961 7962ac_configure_extra_args= 7963 7964if $ac_cs_silent; then 7965 exec 6>/dev/null 7966 ac_configure_extra_args="$ac_configure_extra_args --silent" 7967fi 7968 7969_ACEOF 7970cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7971if \$ac_cs_recheck; then 7972 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 7973 shift 7974 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 7975 CONFIG_SHELL='$SHELL' 7976 export CONFIG_SHELL 7977 exec "\$@" 7978fi 7979 7980_ACEOF 7981cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 7982exec 5>>config.log 7983{ 7984 echo 7985 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 7986## Running $as_me. ## 7987_ASBOX 7988 $as_echo "$ac_log" 7989} >&5 7990 7991_ACEOF 7992cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 7993# 7994# INIT-COMMANDS 7995# 7996AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 7997 7998 7999_ACEOF 8000 8001cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8002 8003# Handling of arguments. 8004for ac_config_target in $ac_config_targets 8005do 8006 case $ac_config_target in 8007 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 8008 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 8009 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 8010 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 8011 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 8012 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 8013 "uget/Makefile") CONFIG_FILES="$CONFIG_FILES uget/Makefile" ;; 8014 "uglib/Makefile") CONFIG_FILES="$CONFIG_FILES uglib/Makefile" ;; 8015 "ui-gtk/Makefile") CONFIG_FILES="$CONFIG_FILES ui-gtk/Makefile" ;; 8016 "ui-gtk-1to2/Makefile") CONFIG_FILES="$CONFIG_FILES ui-gtk-1to2/Makefile" ;; 8017 "pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES pixmaps/Makefile" ;; 8018 "sounds/Makefile") CONFIG_FILES="$CONFIG_FILES sounds/Makefile" ;; 8019 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 8020 "Windows/Makefile") CONFIG_FILES="$CONFIG_FILES Windows/Makefile" ;; 8021 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 8022 8023 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 8024 esac 8025done 8026 8027 8028# If the user did not use the arguments to specify the items to instantiate, 8029# then the envvar interface is used. Set only those that are not. 8030# We use the long form for the default assignment because of an extremely 8031# bizarre bug on SunOS 4.1.3. 8032if $ac_need_defaults; then 8033 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 8034 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 8035 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 8036fi 8037 8038# Have a temporary directory for convenience. Make it in the build tree 8039# simply because there is no reason against having it here, and in addition, 8040# creating and moving files from /tmp can sometimes cause problems. 8041# Hook for its removal unless debugging. 8042# Note that there is a small window in which the directory will not be cleaned: 8043# after its creation but before its name has been assigned to `$tmp'. 8044$debug || 8045{ 8046 tmp= ac_tmp= 8047 trap 'exit_status=$? 8048 : "${ac_tmp:=$tmp}" 8049 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 8050' 0 8051 trap 'as_fn_exit 1' 1 2 13 15 8052} 8053# Create a (secure) tmp directory for tmp files. 8054 8055{ 8056 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 8057 test -d "$tmp" 8058} || 8059{ 8060 tmp=./conf$$-$RANDOM 8061 (umask 077 && mkdir "$tmp") 8062} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 8063ac_tmp=$tmp 8064 8065# Set up the scripts for CONFIG_FILES section. 8066# No need to generate them if there are no CONFIG_FILES. 8067# This happens for instance with `./config.status config.h'. 8068if test -n "$CONFIG_FILES"; then 8069 8070 8071ac_cr=`echo X | tr X '\015'` 8072# On cygwin, bash can eat \r inside `` if the user requested igncr. 8073# But we know of no other shell where ac_cr would be empty at this 8074# point, so we can use a bashism as a fallback. 8075if test "x$ac_cr" = x; then 8076 eval ac_cr=\$\'\\r\' 8077fi 8078ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 8079if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 8080 ac_cs_awk_cr='\\r' 8081else 8082 ac_cs_awk_cr=$ac_cr 8083fi 8084 8085echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 8086_ACEOF 8087 8088 8089{ 8090 echo "cat >conf$$subs.awk <<_ACEOF" && 8091 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 8092 echo "_ACEOF" 8093} >conf$$subs.sh || 8094 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8095ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 8096ac_delim='%!_!# ' 8097for ac_last_try in false false false false false :; do 8098 . ./conf$$subs.sh || 8099 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8100 8101 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 8102 if test $ac_delim_n = $ac_delim_num; then 8103 break 8104 elif $ac_last_try; then 8105 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 8106 else 8107 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8108 fi 8109done 8110rm -f conf$$subs.sh 8111 8112cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8113cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 8114_ACEOF 8115sed -n ' 8116h 8117s/^/S["/; s/!.*/"]=/ 8118p 8119g 8120s/^[^!]*!// 8121:repl 8122t repl 8123s/'"$ac_delim"'$// 8124t delim 8125:nl 8126h 8127s/\(.\{148\}\)..*/\1/ 8128t more1 8129s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 8130p 8131n 8132b repl 8133:more1 8134s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 8135p 8136g 8137s/.\{148\}// 8138t nl 8139:delim 8140h 8141s/\(.\{148\}\)..*/\1/ 8142t more2 8143s/["\\]/\\&/g; s/^/"/; s/$/"/ 8144p 8145b 8146:more2 8147s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 8148p 8149g 8150s/.\{148\}// 8151t delim 8152' <conf$$subs.awk | sed ' 8153/^[^""]/{ 8154 N 8155 s/\n// 8156} 8157' >>$CONFIG_STATUS || ac_write_fail=1 8158rm -f conf$$subs.awk 8159cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8160_ACAWK 8161cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 8162 for (key in S) S_is_set[key] = 1 8163 FS = "" 8164 8165} 8166{ 8167 line = $ 0 8168 nfields = split(line, field, "@") 8169 substed = 0 8170 len = length(field[1]) 8171 for (i = 2; i < nfields; i++) { 8172 key = field[i] 8173 keylen = length(key) 8174 if (S_is_set[key]) { 8175 value = S[key] 8176 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 8177 len += length(value) + length(field[++i]) 8178 substed = 1 8179 } else 8180 len += 1 + keylen 8181 } 8182 8183 print line 8184} 8185 8186_ACAWK 8187_ACEOF 8188cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8189if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 8190 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 8191else 8192 cat 8193fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 8194 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 8195_ACEOF 8196 8197# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 8198# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 8199# trailing colons and then remove the whole line if VPATH becomes empty 8200# (actually we leave an empty line to preserve line numbers). 8201if test "x$srcdir" = x.; then 8202 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 8203h 8204s/// 8205s/^/:/ 8206s/[ ]*$/:/ 8207s/:\$(srcdir):/:/g 8208s/:\${srcdir}:/:/g 8209s/:@srcdir@:/:/g 8210s/^:*// 8211s/:*$// 8212x 8213s/\(=[ ]*\).*/\1/ 8214G 8215s/\n// 8216s/^[^=]*=[ ]*$// 8217}' 8218fi 8219 8220cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8221fi # test -n "$CONFIG_FILES" 8222 8223# Set up the scripts for CONFIG_HEADERS section. 8224# No need to generate them if there are no CONFIG_HEADERS. 8225# This happens for instance with `./config.status Makefile'. 8226if test -n "$CONFIG_HEADERS"; then 8227cat >"$ac_tmp/defines.awk" <<\_ACAWK || 8228BEGIN { 8229_ACEOF 8230 8231# Transform confdefs.h into an awk script `defines.awk', embedded as 8232# here-document in config.status, that substitutes the proper values into 8233# config.h.in to produce config.h. 8234 8235# Create a delimiter string that does not exist in confdefs.h, to ease 8236# handling of long lines. 8237ac_delim='%!_!# ' 8238for ac_last_try in false false :; do 8239 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 8240 if test -z "$ac_tt"; then 8241 break 8242 elif $ac_last_try; then 8243 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 8244 else 8245 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 8246 fi 8247done 8248 8249# For the awk script, D is an array of macro values keyed by name, 8250# likewise P contains macro parameters if any. Preserve backslash 8251# newline sequences. 8252 8253ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 8254sed -n ' 8255s/.\{148\}/&'"$ac_delim"'/g 8256t rset 8257:rset 8258s/^[ ]*#[ ]*define[ ][ ]*/ / 8259t def 8260d 8261:def 8262s/\\$// 8263t bsnl 8264s/["\\]/\\&/g 8265s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 8266D["\1"]=" \3"/p 8267s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 8268d 8269:bsnl 8270s/["\\]/\\&/g 8271s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 8272D["\1"]=" \3\\\\\\n"\\/p 8273t cont 8274s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 8275t cont 8276d 8277:cont 8278n 8279s/.\{148\}/&'"$ac_delim"'/g 8280t clear 8281:clear 8282s/\\$// 8283t bsnlc 8284s/["\\]/\\&/g; s/^/"/; s/$/"/p 8285d 8286:bsnlc 8287s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 8288b cont 8289' <confdefs.h | sed ' 8290s/'"$ac_delim"'/"\\\ 8291"/g' >>$CONFIG_STATUS || ac_write_fail=1 8292 8293cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8294 for (key in D) D_is_set[key] = 1 8295 FS = "" 8296} 8297/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 8298 line = \$ 0 8299 split(line, arg, " ") 8300 if (arg[1] == "#") { 8301 defundef = arg[2] 8302 mac1 = arg[3] 8303 } else { 8304 defundef = substr(arg[1], 2) 8305 mac1 = arg[2] 8306 } 8307 split(mac1, mac2, "(") #) 8308 macro = mac2[1] 8309 prefix = substr(line, 1, index(line, defundef) - 1) 8310 if (D_is_set[macro]) { 8311 # Preserve the white space surrounding the "#". 8312 print prefix "define", macro P[macro] D[macro] 8313 next 8314 } else { 8315 # Replace #undef with comments. This is necessary, for example, 8316 # in the case of _POSIX_SOURCE, which is predefined and required 8317 # on some systems where configure will not decide to define it. 8318 if (defundef == "undef") { 8319 print "/*", prefix defundef, macro, "*/" 8320 next 8321 } 8322 } 8323} 8324{ print } 8325_ACAWK 8326_ACEOF 8327cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8328 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 8329fi # test -n "$CONFIG_HEADERS" 8330 8331 8332eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 8333shift 8334for ac_tag 8335do 8336 case $ac_tag in 8337 :[FHLC]) ac_mode=$ac_tag; continue;; 8338 esac 8339 case $ac_mode$ac_tag in 8340 :[FHL]*:*);; 8341 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 8342 :[FH]-) ac_tag=-:-;; 8343 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 8344 esac 8345 ac_save_IFS=$IFS 8346 IFS=: 8347 set x $ac_tag 8348 IFS=$ac_save_IFS 8349 shift 8350 ac_file=$1 8351 shift 8352 8353 case $ac_mode in 8354 :L) ac_source=$1;; 8355 :[FH]) 8356 ac_file_inputs= 8357 for ac_f 8358 do 8359 case $ac_f in 8360 -) ac_f="$ac_tmp/stdin";; 8361 *) # Look for the file first in the build tree, then in the source tree 8362 # (if the path is not absolute). The absolute path cannot be DOS-style, 8363 # because $ac_f cannot contain `:'. 8364 test -f "$ac_f" || 8365 case $ac_f in 8366 [\\/$]*) false;; 8367 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 8368 esac || 8369 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 8370 esac 8371 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 8372 as_fn_append ac_file_inputs " '$ac_f'" 8373 done 8374 8375 # Let's still pretend it is `configure' which instantiates (i.e., don't 8376 # use $as_me), people would be surprised to read: 8377 # /* config.h. Generated by config.status. */ 8378 configure_input='Generated from '` 8379 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 8380 `' by configure.' 8381 if test x"$ac_file" != x-; then 8382 configure_input="$ac_file. $configure_input" 8383 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 8384$as_echo "$as_me: creating $ac_file" >&6;} 8385 fi 8386 # Neutralize special characters interpreted by sed in replacement strings. 8387 case $configure_input in #( 8388 *\&* | *\|* | *\\* ) 8389 ac_sed_conf_input=`$as_echo "$configure_input" | 8390 sed 's/[\\\\&|]/\\\\&/g'`;; #( 8391 *) ac_sed_conf_input=$configure_input;; 8392 esac 8393 8394 case $ac_tag in 8395 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 8396 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 8397 esac 8398 ;; 8399 esac 8400 8401 ac_dir=`$as_dirname -- "$ac_file" || 8402$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8403 X"$ac_file" : 'X\(//\)[^/]' \| \ 8404 X"$ac_file" : 'X\(//\)$' \| \ 8405 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 8406$as_echo X"$ac_file" | 8407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8408 s//\1/ 8409 q 8410 } 8411 /^X\(\/\/\)[^/].*/{ 8412 s//\1/ 8413 q 8414 } 8415 /^X\(\/\/\)$/{ 8416 s//\1/ 8417 q 8418 } 8419 /^X\(\/\).*/{ 8420 s//\1/ 8421 q 8422 } 8423 s/.*/./; q'` 8424 as_dir="$ac_dir"; as_fn_mkdir_p 8425 ac_builddir=. 8426 8427case "$ac_dir" in 8428.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 8429*) 8430 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 8431 # A ".." for each directory in $ac_dir_suffix. 8432 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 8433 case $ac_top_builddir_sub in 8434 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 8435 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 8436 esac ;; 8437esac 8438ac_abs_top_builddir=$ac_pwd 8439ac_abs_builddir=$ac_pwd$ac_dir_suffix 8440# for backward compatibility: 8441ac_top_builddir=$ac_top_build_prefix 8442 8443case $srcdir in 8444 .) # We are building in place. 8445 ac_srcdir=. 8446 ac_top_srcdir=$ac_top_builddir_sub 8447 ac_abs_top_srcdir=$ac_pwd ;; 8448 [\\/]* | ?:[\\/]* ) # Absolute name. 8449 ac_srcdir=$srcdir$ac_dir_suffix; 8450 ac_top_srcdir=$srcdir 8451 ac_abs_top_srcdir=$srcdir ;; 8452 *) # Relative name. 8453 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 8454 ac_top_srcdir=$ac_top_build_prefix$srcdir 8455 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 8456esac 8457ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 8458 8459 8460 case $ac_mode in 8461 :F) 8462 # 8463 # CONFIG_FILE 8464 # 8465 8466 case $INSTALL in 8467 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 8468 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 8469 esac 8470 ac_MKDIR_P=$MKDIR_P 8471 case $MKDIR_P in 8472 [\\/$]* | ?:[\\/]* ) ;; 8473 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 8474 esac 8475_ACEOF 8476 8477cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8478# If the template does not know about datarootdir, expand it. 8479# FIXME: This hack should be removed a few years after 2.60. 8480ac_datarootdir_hack=; ac_datarootdir_seen= 8481ac_sed_dataroot=' 8482/datarootdir/ { 8483 p 8484 q 8485} 8486/@datadir@/p 8487/@docdir@/p 8488/@infodir@/p 8489/@localedir@/p 8490/@mandir@/p' 8491case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 8492*datarootdir*) ac_datarootdir_seen=yes;; 8493*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 8494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 8495$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 8496_ACEOF 8497cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8498 ac_datarootdir_hack=' 8499 s&@datadir@&$datadir&g 8500 s&@docdir@&$docdir&g 8501 s&@infodir@&$infodir&g 8502 s&@localedir@&$localedir&g 8503 s&@mandir@&$mandir&g 8504 s&\\\${datarootdir}&$datarootdir&g' ;; 8505esac 8506_ACEOF 8507 8508# Neutralize VPATH when `$srcdir' = `.'. 8509# Shell code in configure.ac might set extrasub. 8510# FIXME: do we really want to maintain this feature? 8511cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 8512ac_sed_extra="$ac_vpsub 8513$extrasub 8514_ACEOF 8515cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 8516:t 8517/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 8518s|@configure_input@|$ac_sed_conf_input|;t t 8519s&@top_builddir@&$ac_top_builddir_sub&;t t 8520s&@top_build_prefix@&$ac_top_build_prefix&;t t 8521s&@srcdir@&$ac_srcdir&;t t 8522s&@abs_srcdir@&$ac_abs_srcdir&;t t 8523s&@top_srcdir@&$ac_top_srcdir&;t t 8524s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 8525s&@builddir@&$ac_builddir&;t t 8526s&@abs_builddir@&$ac_abs_builddir&;t t 8527s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 8528s&@INSTALL@&$ac_INSTALL&;t t 8529s&@MKDIR_P@&$ac_MKDIR_P&;t t 8530$ac_datarootdir_hack 8531" 8532eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 8533 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8534 8535test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 8536 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 8537 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 8538 "$ac_tmp/out"`; test -z "$ac_out"; } && 8539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8540which seems to be undefined. Please make sure it is defined" >&5 8541$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 8542which seems to be undefined. Please make sure it is defined" >&2;} 8543 8544 rm -f "$ac_tmp/stdin" 8545 case $ac_file in 8546 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 8547 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 8548 esac \ 8549 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8550 ;; 8551 :H) 8552 # 8553 # CONFIG_HEADER 8554 # 8555 if test x"$ac_file" != x-; then 8556 { 8557 $as_echo "/* $configure_input */" \ 8558 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 8559 } >"$ac_tmp/config.h" \ 8560 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8561 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 8562 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 8563$as_echo "$as_me: $ac_file is unchanged" >&6;} 8564 else 8565 rm -f "$ac_file" 8566 mv "$ac_tmp/config.h" "$ac_file" \ 8567 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 8568 fi 8569 else 8570 $as_echo "/* $configure_input */" \ 8571 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 8572 || as_fn_error $? "could not create -" "$LINENO" 5 8573 fi 8574# Compute "$ac_file"'s index in $config_headers. 8575_am_arg="$ac_file" 8576_am_stamp_count=1 8577for _am_header in $config_headers :; do 8578 case $_am_header in 8579 $_am_arg | $_am_arg:* ) 8580 break ;; 8581 * ) 8582 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 8583 esac 8584done 8585echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 8586$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8587 X"$_am_arg" : 'X\(//\)[^/]' \| \ 8588 X"$_am_arg" : 'X\(//\)$' \| \ 8589 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 8590$as_echo X"$_am_arg" | 8591 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8592 s//\1/ 8593 q 8594 } 8595 /^X\(\/\/\)[^/].*/{ 8596 s//\1/ 8597 q 8598 } 8599 /^X\(\/\/\)$/{ 8600 s//\1/ 8601 q 8602 } 8603 /^X\(\/\).*/{ 8604 s//\1/ 8605 q 8606 } 8607 s/.*/./; q'`/stamp-h$_am_stamp_count 8608 ;; 8609 8610 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 8611$as_echo "$as_me: executing $ac_file commands" >&6;} 8612 ;; 8613 esac 8614 8615 8616 case $ac_file$ac_mode in 8617 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 8618 # Older Autoconf quotes --file arguments for eval, but not when files 8619 # are listed without --file. Let's play safe and only enable the eval 8620 # if we detect the quoting. 8621 case $CONFIG_FILES in 8622 *\'*) eval set x "$CONFIG_FILES" ;; 8623 *) set x $CONFIG_FILES ;; 8624 esac 8625 shift 8626 for mf 8627 do 8628 # Strip MF so we end up with the name of the file. 8629 mf=`echo "$mf" | sed -e 's/:.*$//'` 8630 # Check whether this is an Automake generated Makefile or not. 8631 # We used to match only the files named 'Makefile.in', but 8632 # some people rename them; so instead we look at the file content. 8633 # Grep'ing the first line is not enough: some people post-process 8634 # each Makefile.in and add a new line on top of each file to say so. 8635 # Grep'ing the whole file is not good either: AIX grep has a line 8636 # limit of 2048, but all sed's we know have understand at least 4000. 8637 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 8638 dirpart=`$as_dirname -- "$mf" || 8639$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8640 X"$mf" : 'X\(//\)[^/]' \| \ 8641 X"$mf" : 'X\(//\)$' \| \ 8642 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 8643$as_echo X"$mf" | 8644 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8645 s//\1/ 8646 q 8647 } 8648 /^X\(\/\/\)[^/].*/{ 8649 s//\1/ 8650 q 8651 } 8652 /^X\(\/\/\)$/{ 8653 s//\1/ 8654 q 8655 } 8656 /^X\(\/\).*/{ 8657 s//\1/ 8658 q 8659 } 8660 s/.*/./; q'` 8661 else 8662 continue 8663 fi 8664 # Extract the definition of DEPDIR, am__include, and am__quote 8665 # from the Makefile without running 'make'. 8666 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 8667 test -z "$DEPDIR" && continue 8668 am__include=`sed -n 's/^am__include = //p' < "$mf"` 8669 test -z "$am__include" && continue 8670 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 8671 # Find all dependency output files, they are included files with 8672 # $(DEPDIR) in their names. We invoke sed twice because it is the 8673 # simplest approach to changing $(DEPDIR) to its actual value in the 8674 # expansion. 8675 for file in `sed -n " 8676 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 8677 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 8678 # Make sure the directory exists. 8679 test -f "$dirpart/$file" && continue 8680 fdir=`$as_dirname -- "$file" || 8681$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 8682 X"$file" : 'X\(//\)[^/]' \| \ 8683 X"$file" : 'X\(//\)$' \| \ 8684 X"$file" : 'X\(/\)' \| . 2>/dev/null || 8685$as_echo X"$file" | 8686 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 8687 s//\1/ 8688 q 8689 } 8690 /^X\(\/\/\)[^/].*/{ 8691 s//\1/ 8692 q 8693 } 8694 /^X\(\/\/\)$/{ 8695 s//\1/ 8696 q 8697 } 8698 /^X\(\/\).*/{ 8699 s//\1/ 8700 q 8701 } 8702 s/.*/./; q'` 8703 as_dir=$dirpart/$fdir; as_fn_mkdir_p 8704 # echo "creating $dirpart/$file" 8705 echo '# dummy' > "$dirpart/$file" 8706 done 8707 done 8708} 8709 ;; 8710 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 8711 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 8712 esac ;; 8713 "po/stamp-it":C) 8714 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 8715 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 8716 fi 8717 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 8718 >"po/stamp-it.tmp" 8719 sed '/^#/d 8720 s/^[[].*] *// 8721 /^[ ]*$/d 8722 '"s|^| $ac_top_srcdir/|" \ 8723 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 8724 8725 sed '/^POTFILES =/,/[^\\]$/ { 8726 /^POTFILES =/!d 8727 r po/POTFILES 8728 } 8729 ' "po/Makefile.in" >"po/Makefile" 8730 rm -f "po/Makefile.tmp" 8731 mv "po/stamp-it.tmp" "po/stamp-it" 8732 ;; 8733 8734 esac 8735done # for ac_tag 8736 8737 8738as_fn_exit 0 8739_ACEOF 8740ac_clean_files=$ac_clean_files_save 8741 8742test $ac_write_fail = 0 || 8743 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 8744 8745 8746# configure is writing to config.log, and then calls config.status. 8747# config.status does its own redirection, appending to config.log. 8748# Unfortunately, on DOS this fails, as config.log is still kept open 8749# by configure, so config.status won't be able to write to it; its 8750# output is simply discarded. So we exec the FD to /dev/null, 8751# effectively closing config.log, so it can be properly (re)opened and 8752# appended to by config.status. When coming back to configure, we 8753# need to make the FD available again. 8754if test "$no_create" != yes; then 8755 ac_cs_success=: 8756 ac_config_status_args= 8757 test "$silent" = yes && 8758 ac_config_status_args="$ac_config_status_args --quiet" 8759 exec 5>/dev/null 8760 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 8761 exec 5>>config.log 8762 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 8763 # would make configure fail if this is the last instruction. 8764 $ac_cs_success || as_fn_exit 1 8765fi 8766if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 8767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 8768$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 8769fi 8770 8771 8772