1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69 for osdlyrics 0.4.3. 4# 5# Report bugs to <http://code.google.com/p/osd-lyrics/issues/list>. 6# 7# 8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 9# 10# 11# This configure script is free software; the Free Software Foundation 12# gives unlimited permission to copy, distribute and modify it. 13## -------------------- ## 14## M4sh Initialization. ## 15## -------------------- ## 16 17# Be more Bourne compatible 18DUALCASE=1; export DUALCASE # for MKS sh 19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 emulate sh 21 NULLCMD=: 22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 # is contrary to our usage. Disable this feature. 24 alias -g '${1+"$@"}'='"$@"' 25 setopt NO_GLOB_SUBST 26else 27 case `(set -o) 2>/dev/null` in #( 28 *posix*) : 29 set -o posix ;; #( 30 *) : 31 ;; 32esac 33fi 34 35 36as_nl=' 37' 38export as_nl 39# Printing a long string crashes Solaris 7 /usr/bin/printf. 40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43# Prefer a ksh shell builtin over an external printf program on Solaris, 44# but without wasting forks for bash or zsh. 45if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 as_echo='print -r --' 48 as_echo_n='print -rn --' 49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 as_echo='printf %s\n' 51 as_echo_n='printf %s' 52else 53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 as_echo_n='/usr/ucb/echo -n' 56 else 57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 as_echo_n_body='eval 59 arg=$1; 60 case $arg in #( 61 *"$as_nl"*) 62 expr "X$arg" : "X\\(.*\\)$as_nl"; 63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 esac; 65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 ' 67 export as_echo_n_body 68 as_echo_n='sh -c $as_echo_n_body as_echo' 69 fi 70 export as_echo_body 71 as_echo='sh -c $as_echo_body as_echo' 72fi 73 74# The user is always right. 75if test "${PATH_SEPARATOR+set}" != set; then 76 PATH_SEPARATOR=: 77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 PATH_SEPARATOR=';' 80 } 81fi 82 83 84# IFS 85# We need space, tab and new line, in precisely that order. Quoting is 86# there to prevent editors from complaining about space-tab. 87# (If _AS_PATH_WALK were called with IFS unset, it would disable word 88# splitting by setting IFS to empty value.) 89IFS=" "" $as_nl" 90 91# Find who we are. Look in the path if we contain no directory separator. 92as_myself= 93case $0 in #(( 94 *[\\/]* ) as_myself=$0 ;; 95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96for as_dir in $PATH 97do 98 IFS=$as_save_IFS 99 test -z "$as_dir" && as_dir=. 100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 done 102IFS=$as_save_IFS 103 104 ;; 105esac 106# We did not find ourselves, most probably we were run as `sh COMMAND' 107# in which case we are not to be found in the path. 108if test "x$as_myself" = x; then 109 as_myself=$0 110fi 111if test ! -f "$as_myself"; then 112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 exit 1 114fi 115 116# Unset variables that we do not need and which cause bugs (e.g. in 117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118# suppresses any "Segmentation fault" message there. '((' could 119# trigger a bug in pdksh 5.2.14. 120for as_var in BASH_ENV ENV MAIL MAILPATH 121do eval test x\${$as_var+set} = xset \ 122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123done 124PS1='$ ' 125PS2='> ' 126PS4='+ ' 127 128# NLS nuisances. 129LC_ALL=C 130export LC_ALL 131LANGUAGE=C 132export LANGUAGE 133 134# CDPATH. 135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 137# Use a proper internal environment variable to ensure we don't fall 138 # into an infinite loop, continuously re-executing ourselves. 139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 140 _as_can_reexec=no; export _as_can_reexec; 141 # We cannot yet assume a decent shell, so we have to provide a 142# neutralization value for shells without unset; and this also 143# works around shells that cannot unset nonexistent variables. 144# Preserve -v and -x to the replacement shell. 145BASH_ENV=/dev/null 146ENV=/dev/null 147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 148case $- in # (((( 149 *v*x* | *x*v* ) as_opts=-vx ;; 150 *v* ) as_opts=-v ;; 151 *x* ) as_opts=-x ;; 152 * ) as_opts= ;; 153esac 154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 155# Admittedly, this is quite paranoid, since all the known shells bail 156# out after a failed `exec'. 157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 158as_fn_exit 255 159 fi 160 # We don't want this to propagate to other subprocesses. 161 { _as_can_reexec=; unset _as_can_reexec;} 162if test "x$CONFIG_SHELL" = x; then 163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 164 emulate sh 165 NULLCMD=: 166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 167 # is contrary to our usage. Disable this feature. 168 alias -g '\${1+\"\$@\"}'='\"\$@\"' 169 setopt NO_GLOB_SUBST 170else 171 case \`(set -o) 2>/dev/null\` in #( 172 *posix*) : 173 set -o posix ;; #( 174 *) : 175 ;; 176esac 177fi 178" 179 as_required="as_fn_return () { (exit \$1); } 180as_fn_success () { as_fn_return 0; } 181as_fn_failure () { as_fn_return 1; } 182as_fn_ret_success () { return 0; } 183as_fn_ret_failure () { return 1; } 184 185exitcode=0 186as_fn_success || { exitcode=1; echo as_fn_success failed.; } 187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 191 192else 193 exitcode=1; echo positional parameters were not saved. 194fi 195test x\$exitcode = x0 || exit 1 196test -x / || exit 1" 197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 201test \$(( 1 + 1 )) = 2 || exit 1" 202 if (eval "$as_required") 2>/dev/null; then : 203 as_have_required=yes 204else 205 as_have_required=no 206fi 207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 208 209else 210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 211as_found=false 212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 213do 214 IFS=$as_save_IFS 215 test -z "$as_dir" && as_dir=. 216 as_found=: 217 case $as_dir in #( 218 /*) 219 for as_base in sh bash ksh sh5; do 220 # Try only shells that exist, to save several forks. 221 as_shell=$as_dir/$as_base 222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 CONFIG_SHELL=$as_shell as_have_required=yes 225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 226 break 2 227fi 228fi 229 done;; 230 esac 231 as_found=false 232done 233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 235 CONFIG_SHELL=$SHELL as_have_required=yes 236fi; } 237IFS=$as_save_IFS 238 239 240 if test "x$CONFIG_SHELL" != x; then : 241 export CONFIG_SHELL 242 # We cannot yet assume a decent shell, so we have to provide a 243# neutralization value for shells without unset; and this also 244# works around shells that cannot unset nonexistent variables. 245# Preserve -v and -x to the replacement shell. 246BASH_ENV=/dev/null 247ENV=/dev/null 248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 249case $- in # (((( 250 *v*x* | *x*v* ) as_opts=-vx ;; 251 *v* ) as_opts=-v ;; 252 *x* ) as_opts=-x ;; 253 * ) as_opts= ;; 254esac 255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 256# Admittedly, this is quite paranoid, since all the known shells bail 257# out after a failed `exec'. 258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 259exit 255 260fi 261 262 if test x$as_have_required = xno; then : 263 $as_echo "$0: This script requires a shell more modern than all" 264 $as_echo "$0: the shells that I found on your system." 265 if test x${ZSH_VERSION+set} = xset ; then 266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 267 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 268 else 269 $as_echo "$0: Please tell bug-autoconf@gnu.org and 270$0: http://code.google.com/p/osd-lyrics/issues/list about 271$0: your system, including any error possibly output before 272$0: this message. Then install a modern shell, or manually 273$0: run the script under such a shell if you do have one." 274 fi 275 exit 1 276fi 277fi 278fi 279SHELL=${CONFIG_SHELL-/bin/sh} 280export SHELL 281# Unset more variables known to interfere with behavior of common tools. 282CLICOLOR_FORCE= GREP_OPTIONS= 283unset CLICOLOR_FORCE GREP_OPTIONS 284 285## --------------------- ## 286## M4sh Shell Functions. ## 287## --------------------- ## 288# as_fn_unset VAR 289# --------------- 290# Portably unset VAR. 291as_fn_unset () 292{ 293 { eval $1=; unset $1;} 294} 295as_unset=as_fn_unset 296 297# as_fn_set_status STATUS 298# ----------------------- 299# Set $? to STATUS, without forking. 300as_fn_set_status () 301{ 302 return $1 303} # as_fn_set_status 304 305# as_fn_exit STATUS 306# ----------------- 307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 308as_fn_exit () 309{ 310 set +e 311 as_fn_set_status $1 312 exit $1 313} # as_fn_exit 314 315# as_fn_mkdir_p 316# ------------- 317# Create "$as_dir" as a directory, including parents if necessary. 318as_fn_mkdir_p () 319{ 320 321 case $as_dir in #( 322 -*) as_dir=./$as_dir;; 323 esac 324 test -d "$as_dir" || eval $as_mkdir_p || { 325 as_dirs= 326 while :; do 327 case $as_dir in #( 328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 329 *) as_qdir=$as_dir;; 330 esac 331 as_dirs="'$as_qdir' $as_dirs" 332 as_dir=`$as_dirname -- "$as_dir" || 333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 334 X"$as_dir" : 'X\(//\)[^/]' \| \ 335 X"$as_dir" : 'X\(//\)$' \| \ 336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 337$as_echo X"$as_dir" | 338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)[^/].*/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\/\)$/{ 347 s//\1/ 348 q 349 } 350 /^X\(\/\).*/{ 351 s//\1/ 352 q 353 } 354 s/.*/./; q'` 355 test -d "$as_dir" && break 356 done 357 test -z "$as_dirs" || eval "mkdir $as_dirs" 358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 359 360 361} # as_fn_mkdir_p 362 363# as_fn_executable_p FILE 364# ----------------------- 365# Test if FILE is an executable regular file. 366as_fn_executable_p () 367{ 368 test -f "$1" && test -x "$1" 369} # as_fn_executable_p 370# as_fn_append VAR VALUE 371# ---------------------- 372# Append the text in VALUE to the end of the definition contained in VAR. Take 373# advantage of any shell optimizations that allow amortized linear growth over 374# repeated appends, instead of the typical quadratic growth present in naive 375# implementations. 376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 377 eval 'as_fn_append () 378 { 379 eval $1+=\$2 380 }' 381else 382 as_fn_append () 383 { 384 eval $1=\$$1\$2 385 } 386fi # as_fn_append 387 388# as_fn_arith ARG... 389# ------------------ 390# Perform arithmetic evaluation on the ARGs, and store the result in the 391# global $as_val. Take advantage of shells that can avoid forks. The arguments 392# must be portable across $(()) and expr. 393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 394 eval 'as_fn_arith () 395 { 396 as_val=$(( $* )) 397 }' 398else 399 as_fn_arith () 400 { 401 as_val=`expr "$@" || test $? -eq 1` 402 } 403fi # as_fn_arith 404 405 406# as_fn_error STATUS ERROR [LINENO LOG_FD] 407# ---------------------------------------- 408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 410# script with STATUS, using 1 if that was 0. 411as_fn_error () 412{ 413 as_status=$1; test $as_status -eq 0 && as_status=1 414 if test "$4"; then 415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 417 fi 418 $as_echo "$as_me: error: $2" >&2 419 as_fn_exit $as_status 420} # as_fn_error 421 422if expr a : '\(a\)' >/dev/null 2>&1 && 423 test "X`expr 00001 : '.*\(...\)'`" = X001; then 424 as_expr=expr 425else 426 as_expr=false 427fi 428 429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 430 as_basename=basename 431else 432 as_basename=false 433fi 434 435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 436 as_dirname=dirname 437else 438 as_dirname=false 439fi 440 441as_me=`$as_basename -- "$0" || 442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 443 X"$0" : 'X\(//\)$' \| \ 444 X"$0" : 'X\(/\)' \| . 2>/dev/null || 445$as_echo X/"$0" | 446 sed '/^.*\/\([^/][^/]*\)\/*$/{ 447 s//\1/ 448 q 449 } 450 /^X\/\(\/\/\)$/{ 451 s//\1/ 452 q 453 } 454 /^X\/\(\/\).*/{ 455 s//\1/ 456 q 457 } 458 s/.*/./; q'` 459 460# Avoid depending upon Character Ranges. 461as_cr_letters='abcdefghijklmnopqrstuvwxyz' 462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 463as_cr_Letters=$as_cr_letters$as_cr_LETTERS 464as_cr_digits='0123456789' 465as_cr_alnum=$as_cr_Letters$as_cr_digits 466 467 468 as_lineno_1=$LINENO as_lineno_1a=$LINENO 469 as_lineno_2=$LINENO as_lineno_2a=$LINENO 470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 473 sed -n ' 474 p 475 /[$]LINENO/= 476 ' <$as_myself | 477 sed ' 478 s/[$]LINENO.*/&-/ 479 t lineno 480 b 481 :lineno 482 N 483 :loop 484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 485 t loop 486 s/-\n.*// 487 ' >$as_me.lineno && 488 chmod +x "$as_me.lineno" || 489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 490 491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 492 # already done that, so ensure we don't try to do so again and fall 493 # in an infinite loop. This has already happened in practice. 494 _as_can_reexec=no; export _as_can_reexec 495 # Don't try to exec as it changes $[0], causing all sort of problems 496 # (the dirname of $[0] is not the place where we might find the 497 # original and so on. Autoconf is especially sensitive to this). 498 . "./$as_me.lineno" 499 # Exit status is that of the last command. 500 exit 501} 502 503ECHO_C= ECHO_N= ECHO_T= 504case `echo -n x` in #((((( 505-n*) 506 case `echo 'xy\c'` in 507 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 508 xy) ECHO_C='\c';; 509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 510 ECHO_T=' ';; 511 esac;; 512*) 513 ECHO_N='-n';; 514esac 515 516rm -f conf$$ conf$$.exe conf$$.file 517if test -d conf$$.dir; then 518 rm -f conf$$.dir/conf$$.file 519else 520 rm -f conf$$.dir 521 mkdir conf$$.dir 2>/dev/null 522fi 523if (echo >conf$$.file) 2>/dev/null; then 524 if ln -s conf$$.file conf$$ 2>/dev/null; then 525 as_ln_s='ln -s' 526 # ... but there are two gotchas: 527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 529 # In both cases, we have to default to `cp -pR'. 530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 531 as_ln_s='cp -pR' 532 elif ln conf$$.file conf$$ 2>/dev/null; then 533 as_ln_s=ln 534 else 535 as_ln_s='cp -pR' 536 fi 537else 538 as_ln_s='cp -pR' 539fi 540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 541rmdir conf$$.dir 2>/dev/null 542 543if mkdir -p . 2>/dev/null; then 544 as_mkdir_p='mkdir -p "$as_dir"' 545else 546 test -d ./-p && rmdir ./-p 547 as_mkdir_p=false 548fi 549 550as_test_x='test -x' 551as_executable_p=as_fn_executable_p 552 553# Sed expression to map a string onto a valid CPP name. 554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 555 556# Sed expression to map a string onto a valid variable name. 557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 558 559 560test -n "$DJDIR" || exec 7<&0 </dev/null 561exec 6>&1 562 563# Name of the host. 564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 565# so uname gets run too. 566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 567 568# 569# Initializations. 570# 571ac_default_prefix=/usr/local 572ac_clean_files= 573ac_config_libobj_dir=. 574LIBOBJS= 575cross_compiling=no 576subdirs= 577MFLAGS= 578MAKEFLAGS= 579 580# Identity of this package. 581PACKAGE_NAME='osdlyrics' 582PACKAGE_TARNAME='osdlyrics' 583PACKAGE_VERSION='0.4.3' 584PACKAGE_STRING='osdlyrics 0.4.3' 585PACKAGE_BUGREPORT='http://code.google.com/p/osd-lyrics/issues/list' 586PACKAGE_URL='' 587 588ac_unique_file="src/ol_main.c" 589# Factoring default headers for most tests. 590ac_includes_default="\ 591#include <stdio.h> 592#ifdef HAVE_SYS_TYPES_H 593# include <sys/types.h> 594#endif 595#ifdef HAVE_SYS_STAT_H 596# include <sys/stat.h> 597#endif 598#ifdef STDC_HEADERS 599# include <stdlib.h> 600# include <stddef.h> 601#else 602# ifdef HAVE_STDLIB_H 603# include <stdlib.h> 604# endif 605#endif 606#ifdef HAVE_STRING_H 607# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 608# include <memory.h> 609# endif 610# include <string.h> 611#endif 612#ifdef HAVE_STRINGS_H 613# include <strings.h> 614#endif 615#ifdef HAVE_INTTYPES_H 616# include <inttypes.h> 617#endif 618#ifdef HAVE_STDINT_H 619# include <stdint.h> 620#endif 621#ifdef HAVE_UNISTD_H 622# include <unistd.h> 623#endif" 624 625ac_subst_vars='am__EXEEXT_FALSE 626am__EXEEXT_TRUE 627LTLIBOBJS 628MKINSTALLDIRS 629POSUB 630POFILES 631PO_IN_DATADIR_FALSE 632PO_IN_DATADIR_TRUE 633INTLLIBS 634INSTOBJEXT 635GMOFILES 636CATOBJEXT 637CATALOGS 638MSGFMT_OPTS 639DATADIRNAME 640ALL_LINGUAS 641INTLTOOL_PERL 642GMSGFMT 643MSGFMT 644MSGMERGE 645XGETTEXT 646INTLTOOL_POLICY_RULE 647INTLTOOL_SERVICE_RULE 648INTLTOOL_THEME_RULE 649INTLTOOL_SCHEMAS_RULE 650INTLTOOL_CAVES_RULE 651INTLTOOL_XML_NOMERGE_RULE 652INTLTOOL_XML_RULE 653INTLTOOL_KBD_RULE 654INTLTOOL_XAM_RULE 655INTLTOOL_UI_RULE 656INTLTOOL_SOUNDLIST_RULE 657INTLTOOL_SHEET_RULE 658INTLTOOL_SERVER_RULE 659INTLTOOL_PONG_RULE 660INTLTOOL_OAF_RULE 661INTLTOOL_PROP_RULE 662INTLTOOL_KEYS_RULE 663INTLTOOL_DIRECTORY_RULE 664INTLTOOL_DESKTOP_RULE 665intltool__v_merge_options_0 666intltool__v_merge_options_ 667INTLTOOL_V_MERGE_OPTIONS 668INTLTOOL__v_MERGE_0 669INTLTOOL__v_MERGE_ 670INTLTOOL_V_MERGE 671AM_DEFAULT_VERBOSITY 672INTLTOOL_EXTRACT 673INTLTOOL_MERGE 674INTLTOOL_UPDATE 675USE_NLS 676GETTEXT_PACKAGE 677HAVE_APP_INDICATOR_FALSE 678HAVE_APP_INDICATOR_TRUE 679APP_INDICATOR_LIBS 680APP_INDICATOR_CFLAGS 681XMMS2_LIBS 682XMMS2_CFLAGS 683MPD_LIBS 684MPD_CFLAGS 685SQLITE_LIBS 686SQLITE_CFLAGS 687NOTIFY_LIBS 688NOTIFY_CFLAGS 689CURL_LIBS 690CURL_CFLAGS 691DBUS_GLIB_LIBS 692DBUS_GLIB_CFLAGS 693X11_LIBS 694X11_CFLAGS 695GTK2_LIBS 696GTK2_CFLAGS 697PKG_CONFIG_LIBDIR 698PKG_CONFIG_PATH 699PKG_CONFIG 700gmondir 701OL_GUIDIR 702OL_ICONDIR 703LTLIBICONV 704LIBICONV 705host_os 706host_vendor 707host_cpu 708host 709build_os 710build_vendor 711build_cpu 712build 713LIBOBJS 714RANLIB 715ac_ct_AR 716AR 717am__fastdepCXX_FALSE 718am__fastdepCXX_TRUE 719CXXDEPMODE 720ac_ct_CXX 721CXXFLAGS 722CXX 723EGREP 724GREP 725CPP 726am__fastdepCC_FALSE 727am__fastdepCC_TRUE 728CCDEPMODE 729am__nodep 730AMDEPBACKSLASH 731AMDEP_FALSE 732AMDEP_TRUE 733am__quote 734am__include 735DEPDIR 736OBJEXT 737EXEEXT 738ac_ct_CC 739CPPFLAGS 740LDFLAGS 741CFLAGS 742CC 743XMKMF 744am__untar 745am__tar 746AMTAR 747am__leading_dot 748SET_MAKE 749AWK 750mkdir_p 751MKDIR_P 752INSTALL_STRIP_PROGRAM 753STRIP 754install_sh 755MAKEINFO 756AUTOHEADER 757AUTOMAKE 758AUTOCONF 759ACLOCAL 760VERSION 761PACKAGE 762CYGPATH_W 763am__isrc 764INSTALL_DATA 765INSTALL_SCRIPT 766INSTALL_PROGRAM 767target_alias 768host_alias 769build_alias 770LIBS 771ECHO_T 772ECHO_N 773ECHO_C 774DEFS 775mandir 776localedir 777libdir 778psdir 779pdfdir 780dvidir 781htmldir 782infodir 783docdir 784oldincludedir 785includedir 786localstatedir 787sharedstatedir 788sysconfdir 789datadir 790datarootdir 791libexecdir 792sbindir 793bindir 794program_transform_name 795prefix 796exec_prefix 797PACKAGE_URL 798PACKAGE_BUGREPORT 799PACKAGE_STRING 800PACKAGE_VERSION 801PACKAGE_TARNAME 802PACKAGE_NAME 803PATH_SEPARATOR 804SHELL' 805ac_subst_files='' 806ac_user_opts=' 807enable_option_checking 808with_x 809enable_dependency_tracking 810with_gnu_ld 811enable_rpath 812with_libiconv_prefix 813with_gprof_support 814with_werror 815enable_appindicator 816enable_mpd 817enable_xmms2 818enable_amarok1 819enable_nls 820' 821 ac_precious_vars='build_alias 822host_alias 823target_alias 824XMKMF 825CC 826CFLAGS 827LDFLAGS 828LIBS 829CPPFLAGS 830CPP 831CXX 832CXXFLAGS 833CCC 834PKG_CONFIG 835PKG_CONFIG_PATH 836PKG_CONFIG_LIBDIR 837GTK2_CFLAGS 838GTK2_LIBS 839X11_CFLAGS 840X11_LIBS 841DBUS_GLIB_CFLAGS 842DBUS_GLIB_LIBS 843CURL_CFLAGS 844CURL_LIBS 845NOTIFY_CFLAGS 846NOTIFY_LIBS 847SQLITE_CFLAGS 848SQLITE_LIBS 849MPD_CFLAGS 850MPD_LIBS 851XMMS2_CFLAGS 852XMMS2_LIBS 853APP_INDICATOR_CFLAGS 854APP_INDICATOR_LIBS' 855 856 857# Initialize some variables set by options. 858ac_init_help= 859ac_init_version=false 860ac_unrecognized_opts= 861ac_unrecognized_sep= 862# The variables have the same names as the options, with 863# dashes changed to underlines. 864cache_file=/dev/null 865exec_prefix=NONE 866no_create= 867no_recursion= 868prefix=NONE 869program_prefix=NONE 870program_suffix=NONE 871program_transform_name=s,x,x, 872silent= 873site= 874srcdir= 875verbose= 876x_includes=NONE 877x_libraries=NONE 878 879# Installation directory options. 880# These are left unexpanded so users can "make install exec_prefix=/foo" 881# and all the variables that are supposed to be based on exec_prefix 882# by default will actually change. 883# Use braces instead of parens because sh, perl, etc. also accept them. 884# (The list follows the same order as the GNU Coding Standards.) 885bindir='${exec_prefix}/bin' 886sbindir='${exec_prefix}/sbin' 887libexecdir='${exec_prefix}/libexec' 888datarootdir='${prefix}/share' 889datadir='${datarootdir}' 890sysconfdir='${prefix}/etc' 891sharedstatedir='${prefix}/com' 892localstatedir='${prefix}/var' 893includedir='${prefix}/include' 894oldincludedir='/usr/include' 895docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 896infodir='${datarootdir}/info' 897htmldir='${docdir}' 898dvidir='${docdir}' 899pdfdir='${docdir}' 900psdir='${docdir}' 901libdir='${exec_prefix}/lib' 902localedir='${datarootdir}/locale' 903mandir='${datarootdir}/man' 904 905ac_prev= 906ac_dashdash= 907for ac_option 908do 909 # If the previous option needs an argument, assign it. 910 if test -n "$ac_prev"; then 911 eval $ac_prev=\$ac_option 912 ac_prev= 913 continue 914 fi 915 916 case $ac_option in 917 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 918 *=) ac_optarg= ;; 919 *) ac_optarg=yes ;; 920 esac 921 922 # Accept the important Cygnus configure options, so we can diagnose typos. 923 924 case $ac_dashdash$ac_option in 925 --) 926 ac_dashdash=yes ;; 927 928 -bindir | --bindir | --bindi | --bind | --bin | --bi) 929 ac_prev=bindir ;; 930 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 931 bindir=$ac_optarg ;; 932 933 -build | --build | --buil | --bui | --bu) 934 ac_prev=build_alias ;; 935 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 936 build_alias=$ac_optarg ;; 937 938 -cache-file | --cache-file | --cache-fil | --cache-fi \ 939 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 940 ac_prev=cache_file ;; 941 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 942 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 943 cache_file=$ac_optarg ;; 944 945 --config-cache | -C) 946 cache_file=config.cache ;; 947 948 -datadir | --datadir | --datadi | --datad) 949 ac_prev=datadir ;; 950 -datadir=* | --datadir=* | --datadi=* | --datad=*) 951 datadir=$ac_optarg ;; 952 953 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 954 | --dataroo | --dataro | --datar) 955 ac_prev=datarootdir ;; 956 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 957 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 958 datarootdir=$ac_optarg ;; 959 960 -disable-* | --disable-*) 961 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 962 # Reject names that are not valid shell variable names. 963 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 964 as_fn_error $? "invalid feature name: $ac_useropt" 965 ac_useropt_orig=$ac_useropt 966 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 967 case $ac_user_opts in 968 *" 969"enable_$ac_useropt" 970"*) ;; 971 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 972 ac_unrecognized_sep=', ';; 973 esac 974 eval enable_$ac_useropt=no ;; 975 976 -docdir | --docdir | --docdi | --doc | --do) 977 ac_prev=docdir ;; 978 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 979 docdir=$ac_optarg ;; 980 981 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 982 ac_prev=dvidir ;; 983 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 984 dvidir=$ac_optarg ;; 985 986 -enable-* | --enable-*) 987 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 988 # Reject names that are not valid shell variable names. 989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 990 as_fn_error $? "invalid feature name: $ac_useropt" 991 ac_useropt_orig=$ac_useropt 992 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 993 case $ac_user_opts in 994 *" 995"enable_$ac_useropt" 996"*) ;; 997 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 998 ac_unrecognized_sep=', ';; 999 esac 1000 eval enable_$ac_useropt=\$ac_optarg ;; 1001 1002 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1003 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1004 | --exec | --exe | --ex) 1005 ac_prev=exec_prefix ;; 1006 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1007 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1008 | --exec=* | --exe=* | --ex=*) 1009 exec_prefix=$ac_optarg ;; 1010 1011 -gas | --gas | --ga | --g) 1012 # Obsolete; use --with-gas. 1013 with_gas=yes ;; 1014 1015 -help | --help | --hel | --he | -h) 1016 ac_init_help=long ;; 1017 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1018 ac_init_help=recursive ;; 1019 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1020 ac_init_help=short ;; 1021 1022 -host | --host | --hos | --ho) 1023 ac_prev=host_alias ;; 1024 -host=* | --host=* | --hos=* | --ho=*) 1025 host_alias=$ac_optarg ;; 1026 1027 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1028 ac_prev=htmldir ;; 1029 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1030 | --ht=*) 1031 htmldir=$ac_optarg ;; 1032 1033 -includedir | --includedir | --includedi | --included | --include \ 1034 | --includ | --inclu | --incl | --inc) 1035 ac_prev=includedir ;; 1036 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1037 | --includ=* | --inclu=* | --incl=* | --inc=*) 1038 includedir=$ac_optarg ;; 1039 1040 -infodir | --infodir | --infodi | --infod | --info | --inf) 1041 ac_prev=infodir ;; 1042 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1043 infodir=$ac_optarg ;; 1044 1045 -libdir | --libdir | --libdi | --libd) 1046 ac_prev=libdir ;; 1047 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1048 libdir=$ac_optarg ;; 1049 1050 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1051 | --libexe | --libex | --libe) 1052 ac_prev=libexecdir ;; 1053 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1054 | --libexe=* | --libex=* | --libe=*) 1055 libexecdir=$ac_optarg ;; 1056 1057 -localedir | --localedir | --localedi | --localed | --locale) 1058 ac_prev=localedir ;; 1059 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1060 localedir=$ac_optarg ;; 1061 1062 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1063 | --localstate | --localstat | --localsta | --localst | --locals) 1064 ac_prev=localstatedir ;; 1065 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1066 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1067 localstatedir=$ac_optarg ;; 1068 1069 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1070 ac_prev=mandir ;; 1071 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1072 mandir=$ac_optarg ;; 1073 1074 -nfp | --nfp | --nf) 1075 # Obsolete; use --without-fp. 1076 with_fp=no ;; 1077 1078 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1079 | --no-cr | --no-c | -n) 1080 no_create=yes ;; 1081 1082 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1083 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1084 no_recursion=yes ;; 1085 1086 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1087 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1088 | --oldin | --oldi | --old | --ol | --o) 1089 ac_prev=oldincludedir ;; 1090 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1091 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1092 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1093 oldincludedir=$ac_optarg ;; 1094 1095 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1096 ac_prev=prefix ;; 1097 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1098 prefix=$ac_optarg ;; 1099 1100 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1101 | --program-pre | --program-pr | --program-p) 1102 ac_prev=program_prefix ;; 1103 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1104 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1105 program_prefix=$ac_optarg ;; 1106 1107 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1108 | --program-suf | --program-su | --program-s) 1109 ac_prev=program_suffix ;; 1110 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1111 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1112 program_suffix=$ac_optarg ;; 1113 1114 -program-transform-name | --program-transform-name \ 1115 | --program-transform-nam | --program-transform-na \ 1116 | --program-transform-n | --program-transform- \ 1117 | --program-transform | --program-transfor \ 1118 | --program-transfo | --program-transf \ 1119 | --program-trans | --program-tran \ 1120 | --progr-tra | --program-tr | --program-t) 1121 ac_prev=program_transform_name ;; 1122 -program-transform-name=* | --program-transform-name=* \ 1123 | --program-transform-nam=* | --program-transform-na=* \ 1124 | --program-transform-n=* | --program-transform-=* \ 1125 | --program-transform=* | --program-transfor=* \ 1126 | --program-transfo=* | --program-transf=* \ 1127 | --program-trans=* | --program-tran=* \ 1128 | --progr-tra=* | --program-tr=* | --program-t=*) 1129 program_transform_name=$ac_optarg ;; 1130 1131 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1132 ac_prev=pdfdir ;; 1133 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1134 pdfdir=$ac_optarg ;; 1135 1136 -psdir | --psdir | --psdi | --psd | --ps) 1137 ac_prev=psdir ;; 1138 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1139 psdir=$ac_optarg ;; 1140 1141 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1142 | -silent | --silent | --silen | --sile | --sil) 1143 silent=yes ;; 1144 1145 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1146 ac_prev=sbindir ;; 1147 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1148 | --sbi=* | --sb=*) 1149 sbindir=$ac_optarg ;; 1150 1151 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1152 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1153 | --sharedst | --shareds | --shared | --share | --shar \ 1154 | --sha | --sh) 1155 ac_prev=sharedstatedir ;; 1156 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1157 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1158 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1159 | --sha=* | --sh=*) 1160 sharedstatedir=$ac_optarg ;; 1161 1162 -site | --site | --sit) 1163 ac_prev=site ;; 1164 -site=* | --site=* | --sit=*) 1165 site=$ac_optarg ;; 1166 1167 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1168 ac_prev=srcdir ;; 1169 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1170 srcdir=$ac_optarg ;; 1171 1172 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1173 | --syscon | --sysco | --sysc | --sys | --sy) 1174 ac_prev=sysconfdir ;; 1175 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1176 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1177 sysconfdir=$ac_optarg ;; 1178 1179 -target | --target | --targe | --targ | --tar | --ta | --t) 1180 ac_prev=target_alias ;; 1181 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1182 target_alias=$ac_optarg ;; 1183 1184 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1185 verbose=yes ;; 1186 1187 -version | --version | --versio | --versi | --vers | -V) 1188 ac_init_version=: ;; 1189 1190 -with-* | --with-*) 1191 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1192 # Reject names that are not valid shell variable names. 1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1194 as_fn_error $? "invalid package name: $ac_useropt" 1195 ac_useropt_orig=$ac_useropt 1196 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1197 case $ac_user_opts in 1198 *" 1199"with_$ac_useropt" 1200"*) ;; 1201 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1202 ac_unrecognized_sep=', ';; 1203 esac 1204 eval with_$ac_useropt=\$ac_optarg ;; 1205 1206 -without-* | --without-*) 1207 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1208 # Reject names that are not valid shell variable names. 1209 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1210 as_fn_error $? "invalid package name: $ac_useropt" 1211 ac_useropt_orig=$ac_useropt 1212 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1213 case $ac_user_opts in 1214 *" 1215"with_$ac_useropt" 1216"*) ;; 1217 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1218 ac_unrecognized_sep=', ';; 1219 esac 1220 eval with_$ac_useropt=no ;; 1221 1222 --x) 1223 # Obsolete; use --with-x. 1224 with_x=yes ;; 1225 1226 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1227 | --x-incl | --x-inc | --x-in | --x-i) 1228 ac_prev=x_includes ;; 1229 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1230 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1231 x_includes=$ac_optarg ;; 1232 1233 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1234 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1235 ac_prev=x_libraries ;; 1236 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1237 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1238 x_libraries=$ac_optarg ;; 1239 1240 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1241Try \`$0 --help' for more information" 1242 ;; 1243 1244 *=*) 1245 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1246 # Reject names that are not valid shell variable names. 1247 case $ac_envvar in #( 1248 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1249 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1250 esac 1251 eval $ac_envvar=\$ac_optarg 1252 export $ac_envvar ;; 1253 1254 *) 1255 # FIXME: should be removed in autoconf 3.0. 1256 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1257 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1258 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1259 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1260 ;; 1261 1262 esac 1263done 1264 1265if test -n "$ac_prev"; then 1266 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1267 as_fn_error $? "missing argument to $ac_option" 1268fi 1269 1270if test -n "$ac_unrecognized_opts"; then 1271 case $enable_option_checking in 1272 no) ;; 1273 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1274 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1275 esac 1276fi 1277 1278# Check all directory arguments for consistency. 1279for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1280 datadir sysconfdir sharedstatedir localstatedir includedir \ 1281 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1282 libdir localedir mandir 1283do 1284 eval ac_val=\$$ac_var 1285 # Remove trailing slashes. 1286 case $ac_val in 1287 */ ) 1288 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1289 eval $ac_var=\$ac_val;; 1290 esac 1291 # Be sure to have absolute directory names. 1292 case $ac_val in 1293 [\\/$]* | ?:[\\/]* ) continue;; 1294 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1295 esac 1296 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1297done 1298 1299# There might be people who depend on the old broken behavior: `$host' 1300# used to hold the argument of --host etc. 1301# FIXME: To remove some day. 1302build=$build_alias 1303host=$host_alias 1304target=$target_alias 1305 1306# FIXME: To remove some day. 1307if test "x$host_alias" != x; then 1308 if test "x$build_alias" = x; then 1309 cross_compiling=maybe 1310 elif test "x$build_alias" != "x$host_alias"; then 1311 cross_compiling=yes 1312 fi 1313fi 1314 1315ac_tool_prefix= 1316test -n "$host_alias" && ac_tool_prefix=$host_alias- 1317 1318test "$silent" = yes && exec 6>/dev/null 1319 1320 1321ac_pwd=`pwd` && test -n "$ac_pwd" && 1322ac_ls_di=`ls -di .` && 1323ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1324 as_fn_error $? "working directory cannot be determined" 1325test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1326 as_fn_error $? "pwd does not report name of working directory" 1327 1328 1329# Find the source files, if location was not specified. 1330if test -z "$srcdir"; then 1331 ac_srcdir_defaulted=yes 1332 # Try the directory containing this script, then the parent directory. 1333 ac_confdir=`$as_dirname -- "$as_myself" || 1334$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1335 X"$as_myself" : 'X\(//\)[^/]' \| \ 1336 X"$as_myself" : 'X\(//\)$' \| \ 1337 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1338$as_echo X"$as_myself" | 1339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1340 s//\1/ 1341 q 1342 } 1343 /^X\(\/\/\)[^/].*/{ 1344 s//\1/ 1345 q 1346 } 1347 /^X\(\/\/\)$/{ 1348 s//\1/ 1349 q 1350 } 1351 /^X\(\/\).*/{ 1352 s//\1/ 1353 q 1354 } 1355 s/.*/./; q'` 1356 srcdir=$ac_confdir 1357 if test ! -r "$srcdir/$ac_unique_file"; then 1358 srcdir=.. 1359 fi 1360else 1361 ac_srcdir_defaulted=no 1362fi 1363if test ! -r "$srcdir/$ac_unique_file"; then 1364 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1365 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1366fi 1367ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1368ac_abs_confdir=`( 1369 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1370 pwd)` 1371# When building in place, set srcdir=. 1372if test "$ac_abs_confdir" = "$ac_pwd"; then 1373 srcdir=. 1374fi 1375# Remove unnecessary trailing slashes from srcdir. 1376# Double slashes in file names in object file debugging info 1377# mess up M-x gdb in Emacs. 1378case $srcdir in 1379*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1380esac 1381for ac_var in $ac_precious_vars; do 1382 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1383 eval ac_env_${ac_var}_value=\$${ac_var} 1384 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1385 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1386done 1387 1388# 1389# Report the --help message. 1390# 1391if test "$ac_init_help" = "long"; then 1392 # Omit some internal or obsolete options to make the list less imposing. 1393 # This message is too long to be a string in the A/UX 3.1 sh. 1394 cat <<_ACEOF 1395\`configure' configures osdlyrics 0.4.3 to adapt to many kinds of systems. 1396 1397Usage: $0 [OPTION]... [VAR=VALUE]... 1398 1399To assign environment variables (e.g., CC, CFLAGS...), specify them as 1400VAR=VALUE. See below for descriptions of some of the useful variables. 1401 1402Defaults for the options are specified in brackets. 1403 1404Configuration: 1405 -h, --help display this help and exit 1406 --help=short display options specific to this package 1407 --help=recursive display the short help of all the included packages 1408 -V, --version display version information and exit 1409 -q, --quiet, --silent do not print \`checking ...' messages 1410 --cache-file=FILE cache test results in FILE [disabled] 1411 -C, --config-cache alias for \`--cache-file=config.cache' 1412 -n, --no-create do not create output files 1413 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1414 1415Installation directories: 1416 --prefix=PREFIX install architecture-independent files in PREFIX 1417 [$ac_default_prefix] 1418 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1419 [PREFIX] 1420 1421By default, \`make install' will install all the files in 1422\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1423an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1424for instance \`--prefix=\$HOME'. 1425 1426For better control, use the options below. 1427 1428Fine tuning of the installation directories: 1429 --bindir=DIR user executables [EPREFIX/bin] 1430 --sbindir=DIR system admin executables [EPREFIX/sbin] 1431 --libexecdir=DIR program executables [EPREFIX/libexec] 1432 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1433 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1434 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1435 --libdir=DIR object code libraries [EPREFIX/lib] 1436 --includedir=DIR C header files [PREFIX/include] 1437 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1438 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1439 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1440 --infodir=DIR info documentation [DATAROOTDIR/info] 1441 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1442 --mandir=DIR man documentation [DATAROOTDIR/man] 1443 --docdir=DIR documentation root [DATAROOTDIR/doc/osdlyrics] 1444 --htmldir=DIR html documentation [DOCDIR] 1445 --dvidir=DIR dvi documentation [DOCDIR] 1446 --pdfdir=DIR pdf documentation [DOCDIR] 1447 --psdir=DIR ps documentation [DOCDIR] 1448_ACEOF 1449 1450 cat <<\_ACEOF 1451 1452Program names: 1453 --program-prefix=PREFIX prepend PREFIX to installed program names 1454 --program-suffix=SUFFIX append SUFFIX to installed program names 1455 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1456 1457X features: 1458 --x-includes=DIR X include files are in DIR 1459 --x-libraries=DIR X library files are in DIR 1460 1461System types: 1462 --build=BUILD configure for building on BUILD [guessed] 1463 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1464_ACEOF 1465fi 1466 1467if test -n "$ac_init_help"; then 1468 case $ac_init_help in 1469 short | recursive ) echo "Configuration of osdlyrics 0.4.3:";; 1470 esac 1471 cat <<\_ACEOF 1472 1473Optional Features: 1474 --disable-option-checking ignore unrecognized --enable/--with options 1475 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1476 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1477 --enable-dependency-tracking 1478 do not reject slow dependency extractors 1479 --disable-dependency-tracking 1480 speeds up one-time build 1481 --disable-rpath do not hardcode runtime library paths 1482 --enable-appindicator=[no/auto/yes] 1483 Build support for application indicators 1484 --disable-mpd Disables MPD support. You won't need libmpd if you 1485 use this option 1486 --disable-xmms2 Disables XMMS2 support. You won't need libxmmsclient 1487 if you use this option 1488 --enable-amarok1 Enables Amarok 1.4 support 1489 --disable-nls do not use Native Language Support 1490 1491Optional Packages: 1492 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1493 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1494 --with-x use the X Window System 1495 --with-gnu-ld assume the C compiler uses GNU ld default=no 1496 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib 1497 --without-libiconv-prefix don't search for libiconv in includedir and libdir 1498 --with-gprof-support=DIR Include gmon.out file renaming support 1499 --without-gprof-support Don't do gmon.out file renaming (default) 1500 --with-werror Build with -Wall -Werror 1501 1502Some influential environment variables: 1503 XMKMF Path to xmkmf, Makefile generator for X Window System 1504 CC C compiler command 1505 CFLAGS C compiler flags 1506 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1507 nonstandard directory <lib dir> 1508 LIBS libraries to pass to the linker, e.g. -l<library> 1509 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1510 you have headers in a nonstandard directory <include dir> 1511 CPP C preprocessor 1512 CXX C++ compiler command 1513 CXXFLAGS C++ compiler flags 1514 PKG_CONFIG path to pkg-config utility 1515 PKG_CONFIG_PATH 1516 directories to add to pkg-config's search path 1517 PKG_CONFIG_LIBDIR 1518 path overriding pkg-config's built-in search path 1519 GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config 1520 GTK2_LIBS linker flags for GTK2, overriding pkg-config 1521 X11_CFLAGS C compiler flags for X11, overriding pkg-config 1522 X11_LIBS linker flags for X11, overriding pkg-config 1523 DBUS_GLIB_CFLAGS 1524 C compiler flags for DBUS_GLIB, overriding pkg-config 1525 DBUS_GLIB_LIBS 1526 linker flags for DBUS_GLIB, overriding pkg-config 1527 CURL_CFLAGS C compiler flags for CURL, overriding pkg-config 1528 CURL_LIBS linker flags for CURL, overriding pkg-config 1529 NOTIFY_CFLAGS 1530 C compiler flags for NOTIFY, overriding pkg-config 1531 NOTIFY_LIBS linker flags for NOTIFY, overriding pkg-config 1532 SQLITE_CFLAGS 1533 C compiler flags for SQLITE, overriding pkg-config 1534 SQLITE_LIBS linker flags for SQLITE, overriding pkg-config 1535 MPD_CFLAGS C compiler flags for MPD, overriding pkg-config 1536 MPD_LIBS linker flags for MPD, overriding pkg-config 1537 XMMS2_CFLAGS 1538 C compiler flags for XMMS2, overriding pkg-config 1539 XMMS2_LIBS linker flags for XMMS2, overriding pkg-config 1540 APP_INDICATOR_CFLAGS 1541 C compiler flags for APP_INDICATOR, overriding pkg-config 1542 APP_INDICATOR_LIBS 1543 linker flags for APP_INDICATOR, overriding pkg-config 1544 1545Use these variables to override the choices made by `configure' or to help 1546it to find libraries and programs with nonstandard names/locations. 1547 1548Report bugs to <http://code.google.com/p/osd-lyrics/issues/list>. 1549_ACEOF 1550ac_status=$? 1551fi 1552 1553if test "$ac_init_help" = "recursive"; then 1554 # If there are subdirs, report their specific --help. 1555 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1556 test -d "$ac_dir" || 1557 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1558 continue 1559 ac_builddir=. 1560 1561case "$ac_dir" in 1562.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1563*) 1564 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1565 # A ".." for each directory in $ac_dir_suffix. 1566 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1567 case $ac_top_builddir_sub in 1568 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1569 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1570 esac ;; 1571esac 1572ac_abs_top_builddir=$ac_pwd 1573ac_abs_builddir=$ac_pwd$ac_dir_suffix 1574# for backward compatibility: 1575ac_top_builddir=$ac_top_build_prefix 1576 1577case $srcdir in 1578 .) # We are building in place. 1579 ac_srcdir=. 1580 ac_top_srcdir=$ac_top_builddir_sub 1581 ac_abs_top_srcdir=$ac_pwd ;; 1582 [\\/]* | ?:[\\/]* ) # Absolute name. 1583 ac_srcdir=$srcdir$ac_dir_suffix; 1584 ac_top_srcdir=$srcdir 1585 ac_abs_top_srcdir=$srcdir ;; 1586 *) # Relative name. 1587 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1588 ac_top_srcdir=$ac_top_build_prefix$srcdir 1589 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1590esac 1591ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1592 1593 cd "$ac_dir" || { ac_status=$?; continue; } 1594 # Check for guested configure. 1595 if test -f "$ac_srcdir/configure.gnu"; then 1596 echo && 1597 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1598 elif test -f "$ac_srcdir/configure"; then 1599 echo && 1600 $SHELL "$ac_srcdir/configure" --help=recursive 1601 else 1602 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1603 fi || ac_status=$? 1604 cd "$ac_pwd" || { ac_status=$?; break; } 1605 done 1606fi 1607 1608test -n "$ac_init_help" && exit $ac_status 1609if $ac_init_version; then 1610 cat <<\_ACEOF 1611osdlyrics configure 0.4.3 1612generated by GNU Autoconf 2.69 1613 1614Copyright (C) 2012 Free Software Foundation, Inc. 1615This configure script is free software; the Free Software Foundation 1616gives unlimited permission to copy, distribute and modify it. 1617_ACEOF 1618 exit 1619fi 1620 1621## ------------------------ ## 1622## Autoconf initialization. ## 1623## ------------------------ ## 1624 1625# ac_fn_c_try_compile LINENO 1626# -------------------------- 1627# Try to compile conftest.$ac_ext, and return whether this succeeded. 1628ac_fn_c_try_compile () 1629{ 1630 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1631 rm -f conftest.$ac_objext 1632 if { { ac_try="$ac_compile" 1633case "(($ac_try" in 1634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1635 *) ac_try_echo=$ac_try;; 1636esac 1637eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1638$as_echo "$ac_try_echo"; } >&5 1639 (eval "$ac_compile") 2>conftest.err 1640 ac_status=$? 1641 if test -s conftest.err; then 1642 grep -v '^ *+' conftest.err >conftest.er1 1643 cat conftest.er1 >&5 1644 mv -f conftest.er1 conftest.err 1645 fi 1646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1647 test $ac_status = 0; } && { 1648 test -z "$ac_c_werror_flag" || 1649 test ! -s conftest.err 1650 } && test -s conftest.$ac_objext; then : 1651 ac_retval=0 1652else 1653 $as_echo "$as_me: failed program was:" >&5 1654sed 's/^/| /' conftest.$ac_ext >&5 1655 1656 ac_retval=1 1657fi 1658 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1659 as_fn_set_status $ac_retval 1660 1661} # ac_fn_c_try_compile 1662 1663# ac_fn_c_try_cpp LINENO 1664# ---------------------- 1665# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1666ac_fn_c_try_cpp () 1667{ 1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1669 if { { ac_try="$ac_cpp conftest.$ac_ext" 1670case "(($ac_try" in 1671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1672 *) ac_try_echo=$ac_try;; 1673esac 1674eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1675$as_echo "$ac_try_echo"; } >&5 1676 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1677 ac_status=$? 1678 if test -s conftest.err; then 1679 grep -v '^ *+' conftest.err >conftest.er1 1680 cat conftest.er1 >&5 1681 mv -f conftest.er1 conftest.err 1682 fi 1683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1684 test $ac_status = 0; } > conftest.i && { 1685 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1686 test ! -s conftest.err 1687 }; then : 1688 ac_retval=0 1689else 1690 $as_echo "$as_me: failed program was:" >&5 1691sed 's/^/| /' conftest.$ac_ext >&5 1692 1693 ac_retval=1 1694fi 1695 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1696 as_fn_set_status $ac_retval 1697 1698} # ac_fn_c_try_cpp 1699 1700# ac_fn_c_try_link LINENO 1701# ----------------------- 1702# Try to link conftest.$ac_ext, and return whether this succeeded. 1703ac_fn_c_try_link () 1704{ 1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1706 rm -f conftest.$ac_objext conftest$ac_exeext 1707 if { { ac_try="$ac_link" 1708case "(($ac_try" in 1709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1710 *) ac_try_echo=$ac_try;; 1711esac 1712eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1713$as_echo "$ac_try_echo"; } >&5 1714 (eval "$ac_link") 2>conftest.err 1715 ac_status=$? 1716 if test -s conftest.err; then 1717 grep -v '^ *+' conftest.err >conftest.er1 1718 cat conftest.er1 >&5 1719 mv -f conftest.er1 conftest.err 1720 fi 1721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1722 test $ac_status = 0; } && { 1723 test -z "$ac_c_werror_flag" || 1724 test ! -s conftest.err 1725 } && test -s conftest$ac_exeext && { 1726 test "$cross_compiling" = yes || 1727 test -x conftest$ac_exeext 1728 }; then : 1729 ac_retval=0 1730else 1731 $as_echo "$as_me: failed program was:" >&5 1732sed 's/^/| /' conftest.$ac_ext >&5 1733 1734 ac_retval=1 1735fi 1736 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1737 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1738 # interfere with the next link command; also delete a directory that is 1739 # left behind by Apple's compiler. We do this before executing the actions. 1740 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1742 as_fn_set_status $ac_retval 1743 1744} # ac_fn_c_try_link 1745 1746# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1747# ------------------------------------------------------- 1748# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1749# the include files in INCLUDES and setting the cache variable VAR 1750# accordingly. 1751ac_fn_c_check_header_mongrel () 1752{ 1753 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1754 if eval \${$3+:} false; then : 1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1756$as_echo_n "checking for $2... " >&6; } 1757if eval \${$3+:} false; then : 1758 $as_echo_n "(cached) " >&6 1759fi 1760eval ac_res=\$$3 1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1762$as_echo "$ac_res" >&6; } 1763else 1764 # Is the header compilable? 1765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1766$as_echo_n "checking $2 usability... " >&6; } 1767cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1768/* end confdefs.h. */ 1769$4 1770#include <$2> 1771_ACEOF 1772if ac_fn_c_try_compile "$LINENO"; then : 1773 ac_header_compiler=yes 1774else 1775 ac_header_compiler=no 1776fi 1777rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1778{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1779$as_echo "$ac_header_compiler" >&6; } 1780 1781# Is the header present? 1782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1783$as_echo_n "checking $2 presence... " >&6; } 1784cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1785/* end confdefs.h. */ 1786#include <$2> 1787_ACEOF 1788if ac_fn_c_try_cpp "$LINENO"; then : 1789 ac_header_preproc=yes 1790else 1791 ac_header_preproc=no 1792fi 1793rm -f conftest.err conftest.i conftest.$ac_ext 1794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1795$as_echo "$ac_header_preproc" >&6; } 1796 1797# So? What about this header? 1798case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1799 yes:no: ) 1800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1801$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1803$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1804 ;; 1805 no:yes:* ) 1806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1807$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1809$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1811$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1813$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1815$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1816( $as_echo "## -------------------------------------------------------------- ## 1817## Report this to http://code.google.com/p/osd-lyrics/issues/list ## 1818## -------------------------------------------------------------- ##" 1819 ) | sed "s/^/$as_me: WARNING: /" >&2 1820 ;; 1821esac 1822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1823$as_echo_n "checking for $2... " >&6; } 1824if eval \${$3+:} false; then : 1825 $as_echo_n "(cached) " >&6 1826else 1827 eval "$3=\$ac_header_compiler" 1828fi 1829eval ac_res=\$$3 1830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1831$as_echo "$ac_res" >&6; } 1832fi 1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1834 1835} # ac_fn_c_check_header_mongrel 1836 1837# ac_fn_c_try_run LINENO 1838# ---------------------- 1839# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1840# that executables *can* be run. 1841ac_fn_c_try_run () 1842{ 1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1844 if { { ac_try="$ac_link" 1845case "(($ac_try" in 1846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1847 *) ac_try_echo=$ac_try;; 1848esac 1849eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1850$as_echo "$ac_try_echo"; } >&5 1851 (eval "$ac_link") 2>&5 1852 ac_status=$? 1853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1854 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1855 { { case "(($ac_try" in 1856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1857 *) ac_try_echo=$ac_try;; 1858esac 1859eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1860$as_echo "$ac_try_echo"; } >&5 1861 (eval "$ac_try") 2>&5 1862 ac_status=$? 1863 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1864 test $ac_status = 0; }; }; then : 1865 ac_retval=0 1866else 1867 $as_echo "$as_me: program exited with status $ac_status" >&5 1868 $as_echo "$as_me: failed program was:" >&5 1869sed 's/^/| /' conftest.$ac_ext >&5 1870 1871 ac_retval=$ac_status 1872fi 1873 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1875 as_fn_set_status $ac_retval 1876 1877} # ac_fn_c_try_run 1878 1879# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1880# ------------------------------------------------------- 1881# Tests whether HEADER exists and can be compiled using the include files in 1882# INCLUDES, setting the cache variable VAR accordingly. 1883ac_fn_c_check_header_compile () 1884{ 1885 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1887$as_echo_n "checking for $2... " >&6; } 1888if eval \${$3+:} false; then : 1889 $as_echo_n "(cached) " >&6 1890else 1891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1892/* end confdefs.h. */ 1893$4 1894#include <$2> 1895_ACEOF 1896if ac_fn_c_try_compile "$LINENO"; then : 1897 eval "$3=yes" 1898else 1899 eval "$3=no" 1900fi 1901rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1902fi 1903eval ac_res=\$$3 1904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1905$as_echo "$ac_res" >&6; } 1906 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1907 1908} # ac_fn_c_check_header_compile 1909 1910# ac_fn_cxx_try_compile LINENO 1911# ---------------------------- 1912# Try to compile conftest.$ac_ext, and return whether this succeeded. 1913ac_fn_cxx_try_compile () 1914{ 1915 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1916 rm -f conftest.$ac_objext 1917 if { { ac_try="$ac_compile" 1918case "(($ac_try" in 1919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1920 *) ac_try_echo=$ac_try;; 1921esac 1922eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1923$as_echo "$ac_try_echo"; } >&5 1924 (eval "$ac_compile") 2>conftest.err 1925 ac_status=$? 1926 if test -s conftest.err; then 1927 grep -v '^ *+' conftest.err >conftest.er1 1928 cat conftest.er1 >&5 1929 mv -f conftest.er1 conftest.err 1930 fi 1931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1932 test $ac_status = 0; } && { 1933 test -z "$ac_cxx_werror_flag" || 1934 test ! -s conftest.err 1935 } && test -s conftest.$ac_objext; then : 1936 ac_retval=0 1937else 1938 $as_echo "$as_me: failed program was:" >&5 1939sed 's/^/| /' conftest.$ac_ext >&5 1940 1941 ac_retval=1 1942fi 1943 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1944 as_fn_set_status $ac_retval 1945 1946} # ac_fn_cxx_try_compile 1947 1948# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1949# ------------------------------------------- 1950# Tests whether TYPE exists after having included INCLUDES, setting cache 1951# variable VAR accordingly. 1952ac_fn_c_check_type () 1953{ 1954 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1956$as_echo_n "checking for $2... " >&6; } 1957if eval \${$3+:} false; then : 1958 $as_echo_n "(cached) " >&6 1959else 1960 eval "$3=no" 1961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1962/* end confdefs.h. */ 1963$4 1964int 1965main () 1966{ 1967if (sizeof ($2)) 1968 return 0; 1969 ; 1970 return 0; 1971} 1972_ACEOF 1973if ac_fn_c_try_compile "$LINENO"; then : 1974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1975/* end confdefs.h. */ 1976$4 1977int 1978main () 1979{ 1980if (sizeof (($2))) 1981 return 0; 1982 ; 1983 return 0; 1984} 1985_ACEOF 1986if ac_fn_c_try_compile "$LINENO"; then : 1987 1988else 1989 eval "$3=yes" 1990fi 1991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1992fi 1993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1994fi 1995eval ac_res=\$$3 1996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1997$as_echo "$ac_res" >&6; } 1998 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1999 2000} # ac_fn_c_check_type 2001 2002# ac_fn_c_find_intX_t LINENO BITS VAR 2003# ----------------------------------- 2004# Finds a signed integer type with width BITS, setting cache variable VAR 2005# accordingly. 2006ac_fn_c_find_intX_t () 2007{ 2008 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int$2_t" >&5 2010$as_echo_n "checking for int$2_t... " >&6; } 2011if eval \${$3+:} false; then : 2012 $as_echo_n "(cached) " >&6 2013else 2014 eval "$3=no" 2015 # Order is important - never check a type that is potentially smaller 2016 # than half of the expected target width. 2017 for ac_type in int$2_t 'int' 'long int' \ 2018 'long long int' 'short int' 'signed char'; do 2019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2020/* end confdefs.h. */ 2021$ac_includes_default 2022 enum { N = $2 / 2 - 1 }; 2023int 2024main () 2025{ 2026static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; 2027test_array [0] = 0; 2028return test_array [0]; 2029 2030 ; 2031 return 0; 2032} 2033_ACEOF 2034if ac_fn_c_try_compile "$LINENO"; then : 2035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2036/* end confdefs.h. */ 2037$ac_includes_default 2038 enum { N = $2 / 2 - 1 }; 2039int 2040main () 2041{ 2042static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) 2043 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; 2044test_array [0] = 0; 2045return test_array [0]; 2046 2047 ; 2048 return 0; 2049} 2050_ACEOF 2051if ac_fn_c_try_compile "$LINENO"; then : 2052 2053else 2054 case $ac_type in #( 2055 int$2_t) : 2056 eval "$3=yes" ;; #( 2057 *) : 2058 eval "$3=\$ac_type" ;; 2059esac 2060fi 2061rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2062fi 2063rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2064 if eval test \"x\$"$3"\" = x"no"; then : 2065 2066else 2067 break 2068fi 2069 done 2070fi 2071eval ac_res=\$$3 2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2073$as_echo "$ac_res" >&6; } 2074 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2075 2076} # ac_fn_c_find_intX_t 2077 2078# ac_fn_c_check_func LINENO FUNC VAR 2079# ---------------------------------- 2080# Tests whether FUNC exists, setting the cache variable VAR accordingly 2081ac_fn_c_check_func () 2082{ 2083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 2085$as_echo_n "checking for $2... " >&6; } 2086if eval \${$3+:} false; then : 2087 $as_echo_n "(cached) " >&6 2088else 2089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2090/* end confdefs.h. */ 2091/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 2092 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 2093#define $2 innocuous_$2 2094 2095/* System header to define __stub macros and hopefully few prototypes, 2096 which can conflict with char $2 (); below. 2097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2098 <limits.h> exists even on freestanding compilers. */ 2099 2100#ifdef __STDC__ 2101# include <limits.h> 2102#else 2103# include <assert.h> 2104#endif 2105 2106#undef $2 2107 2108/* Override any GCC internal prototype to avoid an error. 2109 Use char because int might match the return type of a GCC 2110 builtin and then its argument prototype would still apply. */ 2111#ifdef __cplusplus 2112extern "C" 2113#endif 2114char $2 (); 2115/* The GNU C library defines this for functions which it implements 2116 to always fail with ENOSYS. Some functions are actually named 2117 something starting with __ and the normal name is an alias. */ 2118#if defined __stub_$2 || defined __stub___$2 2119choke me 2120#endif 2121 2122int 2123main () 2124{ 2125return $2 (); 2126 ; 2127 return 0; 2128} 2129_ACEOF 2130if ac_fn_c_try_link "$LINENO"; then : 2131 eval "$3=yes" 2132else 2133 eval "$3=no" 2134fi 2135rm -f core conftest.err conftest.$ac_objext \ 2136 conftest$ac_exeext conftest.$ac_ext 2137fi 2138eval ac_res=\$$3 2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 2140$as_echo "$ac_res" >&6; } 2141 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 2142 2143} # ac_fn_c_check_func 2144cat >config.log <<_ACEOF 2145This file contains any messages produced by compilers while 2146running configure, to aid debugging if configure makes a mistake. 2147 2148It was created by osdlyrics $as_me 0.4.3, which was 2149generated by GNU Autoconf 2.69. Invocation command line was 2150 2151 $ $0 $@ 2152 2153_ACEOF 2154exec 5>>config.log 2155{ 2156cat <<_ASUNAME 2157## --------- ## 2158## Platform. ## 2159## --------- ## 2160 2161hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 2162uname -m = `(uname -m) 2>/dev/null || echo unknown` 2163uname -r = `(uname -r) 2>/dev/null || echo unknown` 2164uname -s = `(uname -s) 2>/dev/null || echo unknown` 2165uname -v = `(uname -v) 2>/dev/null || echo unknown` 2166 2167/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 2168/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 2169 2170/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 2171/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 2172/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 2173/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 2174/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 2175/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 2176/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 2177 2178_ASUNAME 2179 2180as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2181for as_dir in $PATH 2182do 2183 IFS=$as_save_IFS 2184 test -z "$as_dir" && as_dir=. 2185 $as_echo "PATH: $as_dir" 2186 done 2187IFS=$as_save_IFS 2188 2189} >&5 2190 2191cat >&5 <<_ACEOF 2192 2193 2194## ----------- ## 2195## Core tests. ## 2196## ----------- ## 2197 2198_ACEOF 2199 2200 2201# Keep a trace of the command line. 2202# Strip out --no-create and --no-recursion so they do not pile up. 2203# Strip out --silent because we don't want to record it for future runs. 2204# Also quote any args containing shell meta-characters. 2205# Make two passes to allow for proper duplicate-argument suppression. 2206ac_configure_args= 2207ac_configure_args0= 2208ac_configure_args1= 2209ac_must_keep_next=false 2210for ac_pass in 1 2 2211do 2212 for ac_arg 2213 do 2214 case $ac_arg in 2215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 2216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2217 | -silent | --silent | --silen | --sile | --sil) 2218 continue ;; 2219 *\'*) 2220 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 2221 esac 2222 case $ac_pass in 2223 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2224 2) 2225 as_fn_append ac_configure_args1 " '$ac_arg'" 2226 if test $ac_must_keep_next = true; then 2227 ac_must_keep_next=false # Got value, back to normal. 2228 else 2229 case $ac_arg in 2230 *=* | --config-cache | -C | -disable-* | --disable-* \ 2231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 2232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 2233 | -with-* | --with-* | -without-* | --without-* | --x) 2234 case "$ac_configure_args0 " in 2235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 2236 esac 2237 ;; 2238 -* ) ac_must_keep_next=true ;; 2239 esac 2240 fi 2241 as_fn_append ac_configure_args " '$ac_arg'" 2242 ;; 2243 esac 2244 done 2245done 2246{ ac_configure_args0=; unset ac_configure_args0;} 2247{ ac_configure_args1=; unset ac_configure_args1;} 2248 2249# When interrupted or exit'd, cleanup temporary files, and complete 2250# config.log. We remove comments because anyway the quotes in there 2251# would cause problems or look ugly. 2252# WARNING: Use '\'' to represent an apostrophe within the trap. 2253# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 2254trap 'exit_status=$? 2255 # Save into config.log some information that might help in debugging. 2256 { 2257 echo 2258 2259 $as_echo "## ---------------- ## 2260## Cache variables. ## 2261## ---------------- ##" 2262 echo 2263 # The following way of writing the cache mishandles newlines in values, 2264( 2265 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 2266 eval ac_val=\$$ac_var 2267 case $ac_val in #( 2268 *${as_nl}*) 2269 case $ac_var in #( 2270 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 2271$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 2272 esac 2273 case $ac_var in #( 2274 _ | IFS | as_nl) ;; #( 2275 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 2276 *) { eval $ac_var=; unset $ac_var;} ;; 2277 esac ;; 2278 esac 2279 done 2280 (set) 2>&1 | 2281 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 2282 *${as_nl}ac_space=\ *) 2283 sed -n \ 2284 "s/'\''/'\''\\\\'\'''\''/g; 2285 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 2286 ;; #( 2287 *) 2288 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2289 ;; 2290 esac | 2291 sort 2292) 2293 echo 2294 2295 $as_echo "## ----------------- ## 2296## Output variables. ## 2297## ----------------- ##" 2298 echo 2299 for ac_var in $ac_subst_vars 2300 do 2301 eval ac_val=\$$ac_var 2302 case $ac_val in 2303 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2304 esac 2305 $as_echo "$ac_var='\''$ac_val'\''" 2306 done | sort 2307 echo 2308 2309 if test -n "$ac_subst_files"; then 2310 $as_echo "## ------------------- ## 2311## File substitutions. ## 2312## ------------------- ##" 2313 echo 2314 for ac_var in $ac_subst_files 2315 do 2316 eval ac_val=\$$ac_var 2317 case $ac_val in 2318 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2319 esac 2320 $as_echo "$ac_var='\''$ac_val'\''" 2321 done | sort 2322 echo 2323 fi 2324 2325 if test -s confdefs.h; then 2326 $as_echo "## ----------- ## 2327## confdefs.h. ## 2328## ----------- ##" 2329 echo 2330 cat confdefs.h 2331 echo 2332 fi 2333 test "$ac_signal" != 0 && 2334 $as_echo "$as_me: caught signal $ac_signal" 2335 $as_echo "$as_me: exit $exit_status" 2336 } >&5 2337 rm -f core *.core core.conftest.* && 2338 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2339 exit $exit_status 2340' 0 2341for ac_signal in 1 2 13 15; do 2342 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2343done 2344ac_signal=0 2345 2346# confdefs.h avoids OS command line length limits that DEFS can exceed. 2347rm -f -r conftest* confdefs.h 2348 2349$as_echo "/* confdefs.h */" > confdefs.h 2350 2351# Predefined preprocessor variables. 2352 2353cat >>confdefs.h <<_ACEOF 2354#define PACKAGE_NAME "$PACKAGE_NAME" 2355_ACEOF 2356 2357cat >>confdefs.h <<_ACEOF 2358#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 2359_ACEOF 2360 2361cat >>confdefs.h <<_ACEOF 2362#define PACKAGE_VERSION "$PACKAGE_VERSION" 2363_ACEOF 2364 2365cat >>confdefs.h <<_ACEOF 2366#define PACKAGE_STRING "$PACKAGE_STRING" 2367_ACEOF 2368 2369cat >>confdefs.h <<_ACEOF 2370#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 2371_ACEOF 2372 2373cat >>confdefs.h <<_ACEOF 2374#define PACKAGE_URL "$PACKAGE_URL" 2375_ACEOF 2376 2377 2378# Let the site file select an alternate cache file if it wants to. 2379# Prefer an explicitly selected file to automatically selected ones. 2380ac_site_file1=NONE 2381ac_site_file2=NONE 2382if test -n "$CONFIG_SITE"; then 2383 # We do not want a PATH search for config.site. 2384 case $CONFIG_SITE in #(( 2385 -*) ac_site_file1=./$CONFIG_SITE;; 2386 */*) ac_site_file1=$CONFIG_SITE;; 2387 *) ac_site_file1=./$CONFIG_SITE;; 2388 esac 2389elif test "x$prefix" != xNONE; then 2390 ac_site_file1=$prefix/share/config.site 2391 ac_site_file2=$prefix/etc/config.site 2392else 2393 ac_site_file1=$ac_default_prefix/share/config.site 2394 ac_site_file2=$ac_default_prefix/etc/config.site 2395fi 2396for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2397do 2398 test "x$ac_site_file" = xNONE && continue 2399 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2400 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2401$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2402 sed 's/^/| /' "$ac_site_file" >&5 2403 . "$ac_site_file" \ 2404 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2405$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2406as_fn_error $? "failed to load site script $ac_site_file 2407See \`config.log' for more details" "$LINENO" 5; } 2408 fi 2409done 2410 2411if test -r "$cache_file"; then 2412 # Some versions of bash will fail to source /dev/null (special files 2413 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2414 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2415 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2416$as_echo "$as_me: loading cache $cache_file" >&6;} 2417 case $cache_file in 2418 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2419 *) . "./$cache_file";; 2420 esac 2421 fi 2422else 2423 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2424$as_echo "$as_me: creating cache $cache_file" >&6;} 2425 >$cache_file 2426fi 2427 2428# Check that the precious variables saved in the cache have kept the same 2429# value. 2430ac_cache_corrupted=false 2431for ac_var in $ac_precious_vars; do 2432 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2433 eval ac_new_set=\$ac_env_${ac_var}_set 2434 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2435 eval ac_new_val=\$ac_env_${ac_var}_value 2436 case $ac_old_set,$ac_new_set in 2437 set,) 2438 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2439$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2440 ac_cache_corrupted=: ;; 2441 ,set) 2442 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2443$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2444 ac_cache_corrupted=: ;; 2445 ,);; 2446 *) 2447 if test "x$ac_old_val" != "x$ac_new_val"; then 2448 # differences in whitespace do not lead to failure. 2449 ac_old_val_w=`echo x $ac_old_val` 2450 ac_new_val_w=`echo x $ac_new_val` 2451 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2452 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2453$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2454 ac_cache_corrupted=: 2455 else 2456 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2457$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2458 eval $ac_var=\$ac_old_val 2459 fi 2460 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2461$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2462 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2463$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2464 fi;; 2465 esac 2466 # Pass precious variables to config.status. 2467 if test "$ac_new_set" = set; then 2468 case $ac_new_val in 2469 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2470 *) ac_arg=$ac_var=$ac_new_val ;; 2471 esac 2472 case " $ac_configure_args " in 2473 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2474 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2475 esac 2476 fi 2477done 2478if $ac_cache_corrupted; then 2479 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2480$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2481 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2482$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2483 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2484fi 2485## -------------------- ## 2486## Main body of script. ## 2487## -------------------- ## 2488 2489ac_ext=c 2490ac_cpp='$CPP $CPPFLAGS' 2491ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2492ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2493ac_compiler_gnu=$ac_cv_c_compiler_gnu 2494 2495 2496am__api_version='1.12' 2497 2498ac_aux_dir= 2499for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2500 if test -f "$ac_dir/install-sh"; then 2501 ac_aux_dir=$ac_dir 2502 ac_install_sh="$ac_aux_dir/install-sh -c" 2503 break 2504 elif test -f "$ac_dir/install.sh"; then 2505 ac_aux_dir=$ac_dir 2506 ac_install_sh="$ac_aux_dir/install.sh -c" 2507 break 2508 elif test -f "$ac_dir/shtool"; then 2509 ac_aux_dir=$ac_dir 2510 ac_install_sh="$ac_aux_dir/shtool install -c" 2511 break 2512 fi 2513done 2514if test -z "$ac_aux_dir"; then 2515 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2516fi 2517 2518# These three variables are undocumented and unsupported, 2519# and are intended to be withdrawn in a future Autoconf release. 2520# They can cause serious problems if a builder's source tree is in a directory 2521# whose full name contains unusual characters. 2522ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2523ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2524ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2525 2526 2527# Find a good install program. We prefer a C program (faster), 2528# so one script is as good as another. But avoid the broken or 2529# incompatible versions: 2530# SysV /etc/install, /usr/sbin/install 2531# SunOS /usr/etc/install 2532# IRIX /sbin/install 2533# AIX /bin/install 2534# AmigaOS /C/install, which installs bootblocks on floppy discs 2535# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2536# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2537# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2538# OS/2's system install, which has a completely different semantic 2539# ./install, which can be erroneously created by make from ./install.sh. 2540# Reject install programs that cannot install multiple files. 2541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2542$as_echo_n "checking for a BSD-compatible install... " >&6; } 2543if test -z "$INSTALL"; then 2544if ${ac_cv_path_install+:} false; then : 2545 $as_echo_n "(cached) " >&6 2546else 2547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2548for as_dir in $PATH 2549do 2550 IFS=$as_save_IFS 2551 test -z "$as_dir" && as_dir=. 2552 # Account for people who put trailing slashes in PATH elements. 2553case $as_dir/ in #(( 2554 ./ | .// | /[cC]/* | \ 2555 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2556 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2557 /usr/ucb/* ) ;; 2558 *) 2559 # OSF1 and SCO ODT 3.0 have their own names for install. 2560 # Don't use installbsd from OSF since it installs stuff as root 2561 # by default. 2562 for ac_prog in ginstall scoinst install; do 2563 for ac_exec_ext in '' $ac_executable_extensions; do 2564 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2565 if test $ac_prog = install && 2566 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2567 # AIX install. It has an incompatible calling convention. 2568 : 2569 elif test $ac_prog = install && 2570 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2571 # program-specific install script used by HP pwplus--don't use. 2572 : 2573 else 2574 rm -rf conftest.one conftest.two conftest.dir 2575 echo one > conftest.one 2576 echo two > conftest.two 2577 mkdir conftest.dir 2578 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2579 test -s conftest.one && test -s conftest.two && 2580 test -s conftest.dir/conftest.one && 2581 test -s conftest.dir/conftest.two 2582 then 2583 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2584 break 3 2585 fi 2586 fi 2587 fi 2588 done 2589 done 2590 ;; 2591esac 2592 2593 done 2594IFS=$as_save_IFS 2595 2596rm -rf conftest.one conftest.two conftest.dir 2597 2598fi 2599 if test "${ac_cv_path_install+set}" = set; then 2600 INSTALL=$ac_cv_path_install 2601 else 2602 # As a last resort, use the slow shell script. Don't cache a 2603 # value for INSTALL within a source directory, because that will 2604 # break other packages using the cache if that directory is 2605 # removed, or if the value is a relative name. 2606 INSTALL=$ac_install_sh 2607 fi 2608fi 2609{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2610$as_echo "$INSTALL" >&6; } 2611 2612# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2613# It thinks the first close brace ends the variable substitution. 2614test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2615 2616test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2617 2618test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2619 2620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2621$as_echo_n "checking whether build environment is sane... " >&6; } 2622# Reject unsafe characters in $srcdir or the absolute working directory 2623# name. Accept space and tab only in the latter. 2624am_lf=' 2625' 2626case `pwd` in 2627 *[\\\"\#\$\&\'\`$am_lf]*) 2628 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2629esac 2630case $srcdir in 2631 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2632 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2633esac 2634 2635# Do 'set' in a subshell so we don't clobber the current shell's 2636# arguments. Must try -L first in case configure is actually a 2637# symlink; some systems play weird games with the mod time of symlinks 2638# (eg FreeBSD returns the mod time of the symlink's containing 2639# directory). 2640if ( 2641 am_has_slept=no 2642 for am_try in 1 2; do 2643 echo "timestamp, slept: $am_has_slept" > conftest.file 2644 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2645 if test "$*" = "X"; then 2646 # -L didn't work. 2647 set X `ls -t "$srcdir/configure" conftest.file` 2648 fi 2649 if test "$*" != "X $srcdir/configure conftest.file" \ 2650 && test "$*" != "X conftest.file $srcdir/configure"; then 2651 2652 # If neither matched, then we have a broken ls. This can happen 2653 # if, for instance, CONFIG_SHELL is bash and it inherits a 2654 # broken ls alias from the environment. This has actually 2655 # happened. Such a system could not be considered "sane". 2656 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2657 alias in your environment" "$LINENO" 5 2658 fi 2659 if test "$2" = conftest.file || test $am_try -eq 2; then 2660 break 2661 fi 2662 # Just in case. 2663 sleep 1 2664 am_has_slept=yes 2665 done 2666 test "$2" = conftest.file 2667 ) 2668then 2669 # Ok. 2670 : 2671else 2672 as_fn_error $? "newly created file is older than distributed files! 2673Check your system clock" "$LINENO" 5 2674fi 2675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2676$as_echo "yes" >&6; } 2677# If we didn't sleep, we still need to ensure time stamps of config.status and 2678# generated files are strictly newer. 2679am_sleep_pid= 2680if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2681 ( sleep 1 ) & 2682 am_sleep_pid=$! 2683fi 2684 2685rm -f conftest.file 2686 2687test "$program_prefix" != NONE && 2688 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2689# Use a double $ so make ignores it. 2690test "$program_suffix" != NONE && 2691 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2692# Double any \ or $. 2693# By default was `s,x,x', remove it if useless. 2694ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2695program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2696 2697# expand $ac_aux_dir to an absolute path 2698am_aux_dir=`cd $ac_aux_dir && pwd` 2699 2700if test x"${MISSING+set}" != xset; then 2701 case $am_aux_dir in 2702 *\ * | *\ *) 2703 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2704 *) 2705 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2706 esac 2707fi 2708# Use eval to expand $SHELL 2709if eval "$MISSING --run true"; then 2710 am_missing_run="$MISSING --run " 2711else 2712 am_missing_run= 2713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2714$as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2715fi 2716 2717if test x"${install_sh}" != xset; then 2718 case $am_aux_dir in 2719 *\ * | *\ *) 2720 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2721 *) 2722 install_sh="\${SHELL} $am_aux_dir/install-sh" 2723 esac 2724fi 2725 2726# Installed binaries are usually stripped using 'strip' when the user 2727# run "make install-strip". However 'strip' might not be the right 2728# tool to use in cross-compilation environments, therefore Automake 2729# will honor the 'STRIP' environment variable to overrule this program. 2730if test "$cross_compiling" != no; then 2731 if test -n "$ac_tool_prefix"; then 2732 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2733set dummy ${ac_tool_prefix}strip; ac_word=$2 2734{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2735$as_echo_n "checking for $ac_word... " >&6; } 2736if ${ac_cv_prog_STRIP+:} false; then : 2737 $as_echo_n "(cached) " >&6 2738else 2739 if test -n "$STRIP"; then 2740 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2741else 2742as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2743for as_dir in $PATH 2744do 2745 IFS=$as_save_IFS 2746 test -z "$as_dir" && as_dir=. 2747 for ac_exec_ext in '' $ac_executable_extensions; do 2748 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2749 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2751 break 2 2752 fi 2753done 2754 done 2755IFS=$as_save_IFS 2756 2757fi 2758fi 2759STRIP=$ac_cv_prog_STRIP 2760if test -n "$STRIP"; then 2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2762$as_echo "$STRIP" >&6; } 2763else 2764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2765$as_echo "no" >&6; } 2766fi 2767 2768 2769fi 2770if test -z "$ac_cv_prog_STRIP"; then 2771 ac_ct_STRIP=$STRIP 2772 # Extract the first word of "strip", so it can be a program name with args. 2773set dummy strip; ac_word=$2 2774{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2775$as_echo_n "checking for $ac_word... " >&6; } 2776if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2777 $as_echo_n "(cached) " >&6 2778else 2779 if test -n "$ac_ct_STRIP"; then 2780 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2781else 2782as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2783for as_dir in $PATH 2784do 2785 IFS=$as_save_IFS 2786 test -z "$as_dir" && as_dir=. 2787 for ac_exec_ext in '' $ac_executable_extensions; do 2788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2789 ac_cv_prog_ac_ct_STRIP="strip" 2790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2791 break 2 2792 fi 2793done 2794 done 2795IFS=$as_save_IFS 2796 2797fi 2798fi 2799ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2800if test -n "$ac_ct_STRIP"; then 2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2802$as_echo "$ac_ct_STRIP" >&6; } 2803else 2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2805$as_echo "no" >&6; } 2806fi 2807 2808 if test "x$ac_ct_STRIP" = x; then 2809 STRIP=":" 2810 else 2811 case $cross_compiling:$ac_tool_warned in 2812yes:) 2813{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2814$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2815ac_tool_warned=yes ;; 2816esac 2817 STRIP=$ac_ct_STRIP 2818 fi 2819else 2820 STRIP="$ac_cv_prog_STRIP" 2821fi 2822 2823fi 2824INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2825 2826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2827$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2828if test -z "$MKDIR_P"; then 2829 if ${ac_cv_path_mkdir+:} false; then : 2830 $as_echo_n "(cached) " >&6 2831else 2832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2833for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2834do 2835 IFS=$as_save_IFS 2836 test -z "$as_dir" && as_dir=. 2837 for ac_prog in mkdir gmkdir; do 2838 for ac_exec_ext in '' $ac_executable_extensions; do 2839 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue 2840 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2841 'mkdir (GNU coreutils) '* | \ 2842 'mkdir (coreutils) '* | \ 2843 'mkdir (fileutils) '4.1*) 2844 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2845 break 3;; 2846 esac 2847 done 2848 done 2849 done 2850IFS=$as_save_IFS 2851 2852fi 2853 2854 test -d ./--version && rmdir ./--version 2855 if test "${ac_cv_path_mkdir+set}" = set; then 2856 MKDIR_P="$ac_cv_path_mkdir -p" 2857 else 2858 # As a last resort, use the slow shell script. Don't cache a 2859 # value for MKDIR_P within a source directory, because that will 2860 # break other packages using the cache if that directory is 2861 # removed, or if the value is a relative name. 2862 MKDIR_P="$ac_install_sh -d" 2863 fi 2864fi 2865{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2866$as_echo "$MKDIR_P" >&6; } 2867 2868mkdir_p="$MKDIR_P" 2869case $mkdir_p in 2870 [\\/$]* | ?:[\\/]*) ;; 2871 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2872esac 2873 2874for ac_prog in gawk mawk nawk awk 2875do 2876 # Extract the first word of "$ac_prog", so it can be a program name with args. 2877set dummy $ac_prog; ac_word=$2 2878{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2879$as_echo_n "checking for $ac_word... " >&6; } 2880if ${ac_cv_prog_AWK+:} false; then : 2881 $as_echo_n "(cached) " >&6 2882else 2883 if test -n "$AWK"; then 2884 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2885else 2886as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2887for as_dir in $PATH 2888do 2889 IFS=$as_save_IFS 2890 test -z "$as_dir" && as_dir=. 2891 for ac_exec_ext in '' $ac_executable_extensions; do 2892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2893 ac_cv_prog_AWK="$ac_prog" 2894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2895 break 2 2896 fi 2897done 2898 done 2899IFS=$as_save_IFS 2900 2901fi 2902fi 2903AWK=$ac_cv_prog_AWK 2904if test -n "$AWK"; then 2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2906$as_echo "$AWK" >&6; } 2907else 2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2909$as_echo "no" >&6; } 2910fi 2911 2912 2913 test -n "$AWK" && break 2914done 2915 2916{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2917$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2918set x ${MAKE-make} 2919ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2920if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2921 $as_echo_n "(cached) " >&6 2922else 2923 cat >conftest.make <<\_ACEOF 2924SHELL = /bin/sh 2925all: 2926 @echo '@@@%%%=$(MAKE)=@@@%%%' 2927_ACEOF 2928# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2929case `${MAKE-make} -f conftest.make 2>/dev/null` in 2930 *@@@%%%=?*=@@@%%%*) 2931 eval ac_cv_prog_make_${ac_make}_set=yes;; 2932 *) 2933 eval ac_cv_prog_make_${ac_make}_set=no;; 2934esac 2935rm -f conftest.make 2936fi 2937if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2939$as_echo "yes" >&6; } 2940 SET_MAKE= 2941else 2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2943$as_echo "no" >&6; } 2944 SET_MAKE="MAKE=${MAKE-make}" 2945fi 2946 2947rm -rf .tst 2>/dev/null 2948mkdir .tst 2>/dev/null 2949if test -d .tst; then 2950 am__leading_dot=. 2951else 2952 am__leading_dot=_ 2953fi 2954rmdir .tst 2>/dev/null 2955 2956if test "`cd $srcdir && pwd`" != "`pwd`"; then 2957 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2958 # is not polluted with repeated "-I." 2959 am__isrc=' -I$(srcdir)' 2960 # test to see if srcdir already configured 2961 if test -f $srcdir/config.status; then 2962 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2963 fi 2964fi 2965 2966# test whether we have cygpath 2967if test -z "$CYGPATH_W"; then 2968 if (cygpath --version) >/dev/null 2>/dev/null; then 2969 CYGPATH_W='cygpath -w' 2970 else 2971 CYGPATH_W=echo 2972 fi 2973fi 2974 2975 2976# Define the identity of the package. 2977 PACKAGE='osdlyrics' 2978 VERSION='0.4.3' 2979 2980 2981cat >>confdefs.h <<_ACEOF 2982#define PACKAGE "$PACKAGE" 2983_ACEOF 2984 2985 2986cat >>confdefs.h <<_ACEOF 2987#define VERSION "$VERSION" 2988_ACEOF 2989 2990# Some tools Automake needs. 2991 2992ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2993 2994 2995AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2996 2997 2998AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2999 3000 3001AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3002 3003 3004MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3005 3006# We need awk for the "check" target. The system "awk" is bad on 3007# some platforms. 3008# Always define AMTAR for backward compatibility. Yes, it's still used 3009# in the wild :-( We should find a proper way to deprecate it ... 3010AMTAR='$${TAR-tar}' 3011 3012am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 3013 3014 3015 3016 3017 3018 3019ac_config_headers="$ac_config_headers config.h" 3020 3021 3022$as_echo "#define PROGRAM_NAME \"OSD Lyrics\"" >>confdefs.h 3023 3024 3025# Checks for header files. 3026DEPDIR="${am__leading_dot}deps" 3027 3028ac_config_commands="$ac_config_commands depfiles" 3029 3030 3031am_make=${MAKE-make} 3032cat > confinc << 'END' 3033am__doit: 3034 @echo this is the am__doit target 3035.PHONY: am__doit 3036END 3037# If we don't find an include directive, just comment out the code. 3038{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3039$as_echo_n "checking for style of include used by $am_make... " >&6; } 3040am__include="#" 3041am__quote= 3042_am_result=none 3043# First try GNU make style include. 3044echo "include confinc" > confmf 3045# Ignore all kinds of additional output from 'make'. 3046case `$am_make -s -f confmf 2> /dev/null` in #( 3047*the\ am__doit\ target*) 3048 am__include=include 3049 am__quote= 3050 _am_result=GNU 3051 ;; 3052esac 3053# Now try BSD make style include. 3054if test "$am__include" = "#"; then 3055 echo '.include "confinc"' > confmf 3056 case `$am_make -s -f confmf 2> /dev/null` in #( 3057 *the\ am__doit\ target*) 3058 am__include=.include 3059 am__quote="\"" 3060 _am_result=BSD 3061 ;; 3062 esac 3063fi 3064 3065 3066{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3067$as_echo "$_am_result" >&6; } 3068rm -f confinc confmf 3069 3070# Check whether --enable-dependency-tracking was given. 3071if test "${enable_dependency_tracking+set}" = set; then : 3072 enableval=$enable_dependency_tracking; 3073fi 3074 3075if test "x$enable_dependency_tracking" != xno; then 3076 am_depcomp="$ac_aux_dir/depcomp" 3077 AMDEPBACKSLASH='\' 3078 am__nodep='_no' 3079fi 3080 if test "x$enable_dependency_tracking" != xno; then 3081 AMDEP_TRUE= 3082 AMDEP_FALSE='#' 3083else 3084 AMDEP_TRUE='#' 3085 AMDEP_FALSE= 3086fi 3087 3088 3089ac_ext=c 3090ac_cpp='$CPP $CPPFLAGS' 3091ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3092ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3093ac_compiler_gnu=$ac_cv_c_compiler_gnu 3094if test -n "$ac_tool_prefix"; then 3095 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3096set dummy ${ac_tool_prefix}gcc; ac_word=$2 3097{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3098$as_echo_n "checking for $ac_word... " >&6; } 3099if ${ac_cv_prog_CC+:} false; then : 3100 $as_echo_n "(cached) " >&6 3101else 3102 if test -n "$CC"; then 3103 ac_cv_prog_CC="$CC" # Let the user override the test. 3104else 3105as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3106for as_dir in $PATH 3107do 3108 IFS=$as_save_IFS 3109 test -z "$as_dir" && as_dir=. 3110 for ac_exec_ext in '' $ac_executable_extensions; do 3111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3112 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3114 break 2 3115 fi 3116done 3117 done 3118IFS=$as_save_IFS 3119 3120fi 3121fi 3122CC=$ac_cv_prog_CC 3123if test -n "$CC"; then 3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3125$as_echo "$CC" >&6; } 3126else 3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3128$as_echo "no" >&6; } 3129fi 3130 3131 3132fi 3133if test -z "$ac_cv_prog_CC"; then 3134 ac_ct_CC=$CC 3135 # Extract the first word of "gcc", so it can be a program name with args. 3136set dummy gcc; ac_word=$2 3137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3138$as_echo_n "checking for $ac_word... " >&6; } 3139if ${ac_cv_prog_ac_ct_CC+:} false; then : 3140 $as_echo_n "(cached) " >&6 3141else 3142 if test -n "$ac_ct_CC"; then 3143 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3144else 3145as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3146for as_dir in $PATH 3147do 3148 IFS=$as_save_IFS 3149 test -z "$as_dir" && as_dir=. 3150 for ac_exec_ext in '' $ac_executable_extensions; do 3151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3152 ac_cv_prog_ac_ct_CC="gcc" 3153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3154 break 2 3155 fi 3156done 3157 done 3158IFS=$as_save_IFS 3159 3160fi 3161fi 3162ac_ct_CC=$ac_cv_prog_ac_ct_CC 3163if test -n "$ac_ct_CC"; then 3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3165$as_echo "$ac_ct_CC" >&6; } 3166else 3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3168$as_echo "no" >&6; } 3169fi 3170 3171 if test "x$ac_ct_CC" = x; then 3172 CC="" 3173 else 3174 case $cross_compiling:$ac_tool_warned in 3175yes:) 3176{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3177$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3178ac_tool_warned=yes ;; 3179esac 3180 CC=$ac_ct_CC 3181 fi 3182else 3183 CC="$ac_cv_prog_CC" 3184fi 3185 3186if test -z "$CC"; then 3187 if test -n "$ac_tool_prefix"; then 3188 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3189set dummy ${ac_tool_prefix}cc; ac_word=$2 3190{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3191$as_echo_n "checking for $ac_word... " >&6; } 3192if ${ac_cv_prog_CC+:} false; then : 3193 $as_echo_n "(cached) " >&6 3194else 3195 if test -n "$CC"; then 3196 ac_cv_prog_CC="$CC" # Let the user override the test. 3197else 3198as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3199for as_dir in $PATH 3200do 3201 IFS=$as_save_IFS 3202 test -z "$as_dir" && as_dir=. 3203 for ac_exec_ext in '' $ac_executable_extensions; do 3204 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3205 ac_cv_prog_CC="${ac_tool_prefix}cc" 3206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3207 break 2 3208 fi 3209done 3210 done 3211IFS=$as_save_IFS 3212 3213fi 3214fi 3215CC=$ac_cv_prog_CC 3216if test -n "$CC"; then 3217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3218$as_echo "$CC" >&6; } 3219else 3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3221$as_echo "no" >&6; } 3222fi 3223 3224 3225 fi 3226fi 3227if test -z "$CC"; then 3228 # Extract the first word of "cc", so it can be a program name with args. 3229set dummy cc; ac_word=$2 3230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3231$as_echo_n "checking for $ac_word... " >&6; } 3232if ${ac_cv_prog_CC+:} false; then : 3233 $as_echo_n "(cached) " >&6 3234else 3235 if test -n "$CC"; then 3236 ac_cv_prog_CC="$CC" # Let the user override the test. 3237else 3238 ac_prog_rejected=no 3239as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3240for as_dir in $PATH 3241do 3242 IFS=$as_save_IFS 3243 test -z "$as_dir" && as_dir=. 3244 for ac_exec_ext in '' $ac_executable_extensions; do 3245 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3246 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3247 ac_prog_rejected=yes 3248 continue 3249 fi 3250 ac_cv_prog_CC="cc" 3251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3252 break 2 3253 fi 3254done 3255 done 3256IFS=$as_save_IFS 3257 3258if test $ac_prog_rejected = yes; then 3259 # We found a bogon in the path, so make sure we never use it. 3260 set dummy $ac_cv_prog_CC 3261 shift 3262 if test $# != 0; then 3263 # We chose a different compiler from the bogus one. 3264 # However, it has the same basename, so the bogon will be chosen 3265 # first if we set CC to just the basename; use the full file name. 3266 shift 3267 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 3268 fi 3269fi 3270fi 3271fi 3272CC=$ac_cv_prog_CC 3273if test -n "$CC"; then 3274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3275$as_echo "$CC" >&6; } 3276else 3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3278$as_echo "no" >&6; } 3279fi 3280 3281 3282fi 3283if test -z "$CC"; then 3284 if test -n "$ac_tool_prefix"; then 3285 for ac_prog in cl.exe 3286 do 3287 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3288set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3290$as_echo_n "checking for $ac_word... " >&6; } 3291if ${ac_cv_prog_CC+:} false; then : 3292 $as_echo_n "(cached) " >&6 3293else 3294 if test -n "$CC"; then 3295 ac_cv_prog_CC="$CC" # Let the user override the test. 3296else 3297as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3298for as_dir in $PATH 3299do 3300 IFS=$as_save_IFS 3301 test -z "$as_dir" && as_dir=. 3302 for ac_exec_ext in '' $ac_executable_extensions; do 3303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3304 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3306 break 2 3307 fi 3308done 3309 done 3310IFS=$as_save_IFS 3311 3312fi 3313fi 3314CC=$ac_cv_prog_CC 3315if test -n "$CC"; then 3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3317$as_echo "$CC" >&6; } 3318else 3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3320$as_echo "no" >&6; } 3321fi 3322 3323 3324 test -n "$CC" && break 3325 done 3326fi 3327if test -z "$CC"; then 3328 ac_ct_CC=$CC 3329 for ac_prog in cl.exe 3330do 3331 # Extract the first word of "$ac_prog", so it can be a program name with args. 3332set dummy $ac_prog; ac_word=$2 3333{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3334$as_echo_n "checking for $ac_word... " >&6; } 3335if ${ac_cv_prog_ac_ct_CC+:} false; then : 3336 $as_echo_n "(cached) " >&6 3337else 3338 if test -n "$ac_ct_CC"; then 3339 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3340else 3341as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3342for as_dir in $PATH 3343do 3344 IFS=$as_save_IFS 3345 test -z "$as_dir" && as_dir=. 3346 for ac_exec_ext in '' $ac_executable_extensions; do 3347 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3348 ac_cv_prog_ac_ct_CC="$ac_prog" 3349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3350 break 2 3351 fi 3352done 3353 done 3354IFS=$as_save_IFS 3355 3356fi 3357fi 3358ac_ct_CC=$ac_cv_prog_ac_ct_CC 3359if test -n "$ac_ct_CC"; then 3360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3361$as_echo "$ac_ct_CC" >&6; } 3362else 3363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3364$as_echo "no" >&6; } 3365fi 3366 3367 3368 test -n "$ac_ct_CC" && break 3369done 3370 3371 if test "x$ac_ct_CC" = x; then 3372 CC="" 3373 else 3374 case $cross_compiling:$ac_tool_warned in 3375yes:) 3376{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3377$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3378ac_tool_warned=yes ;; 3379esac 3380 CC=$ac_ct_CC 3381 fi 3382fi 3383 3384fi 3385 3386 3387test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3388$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3389as_fn_error $? "no acceptable C compiler found in \$PATH 3390See \`config.log' for more details" "$LINENO" 5; } 3391 3392# Provide some information about the compiler. 3393$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3394set X $ac_compile 3395ac_compiler=$2 3396for ac_option in --version -v -V -qversion; do 3397 { { ac_try="$ac_compiler $ac_option >&5" 3398case "(($ac_try" in 3399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3400 *) ac_try_echo=$ac_try;; 3401esac 3402eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3403$as_echo "$ac_try_echo"; } >&5 3404 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3405 ac_status=$? 3406 if test -s conftest.err; then 3407 sed '10a\ 3408... rest of stderr output deleted ... 3409 10q' conftest.err >conftest.er1 3410 cat conftest.er1 >&5 3411 fi 3412 rm -f conftest.er1 conftest.err 3413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3414 test $ac_status = 0; } 3415done 3416 3417cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3418/* end confdefs.h. */ 3419 3420int 3421main () 3422{ 3423 3424 ; 3425 return 0; 3426} 3427_ACEOF 3428ac_clean_files_save=$ac_clean_files 3429ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3430# Try to create an executable without -o first, disregard a.out. 3431# It will help us diagnose broken compilers, and finding out an intuition 3432# of exeext. 3433{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3434$as_echo_n "checking whether the C compiler works... " >&6; } 3435ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3436 3437# The possible output files: 3438ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3439 3440ac_rmfiles= 3441for ac_file in $ac_files 3442do 3443 case $ac_file in 3444 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3445 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3446 esac 3447done 3448rm -f $ac_rmfiles 3449 3450if { { ac_try="$ac_link_default" 3451case "(($ac_try" in 3452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3453 *) ac_try_echo=$ac_try;; 3454esac 3455eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3456$as_echo "$ac_try_echo"; } >&5 3457 (eval "$ac_link_default") 2>&5 3458 ac_status=$? 3459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3460 test $ac_status = 0; }; then : 3461 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3462# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3463# in a Makefile. We should not override ac_cv_exeext if it was cached, 3464# so that the user can short-circuit this test for compilers unknown to 3465# Autoconf. 3466for ac_file in $ac_files '' 3467do 3468 test -f "$ac_file" || continue 3469 case $ac_file in 3470 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 3471 ;; 3472 [ab].out ) 3473 # We found the default executable, but exeext='' is most 3474 # certainly right. 3475 break;; 3476 *.* ) 3477 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 3478 then :; else 3479 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3480 fi 3481 # We set ac_cv_exeext here because the later test for it is not 3482 # safe: cross compilers may not add the suffix if given an `-o' 3483 # argument, so we may need to know it at that point already. 3484 # Even if this section looks crufty: it has the advantage of 3485 # actually working. 3486 break;; 3487 * ) 3488 break;; 3489 esac 3490done 3491test "$ac_cv_exeext" = no && ac_cv_exeext= 3492 3493else 3494 ac_file='' 3495fi 3496if test -z "$ac_file"; then : 3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3498$as_echo "no" >&6; } 3499$as_echo "$as_me: failed program was:" >&5 3500sed 's/^/| /' conftest.$ac_ext >&5 3501 3502{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3503$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3504as_fn_error 77 "C compiler cannot create executables 3505See \`config.log' for more details" "$LINENO" 5; } 3506else 3507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3508$as_echo "yes" >&6; } 3509fi 3510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 3511$as_echo_n "checking for C compiler default output file name... " >&6; } 3512{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 3513$as_echo "$ac_file" >&6; } 3514ac_exeext=$ac_cv_exeext 3515 3516rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 3517ac_clean_files=$ac_clean_files_save 3518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 3519$as_echo_n "checking for suffix of executables... " >&6; } 3520if { { ac_try="$ac_link" 3521case "(($ac_try" in 3522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3523 *) ac_try_echo=$ac_try;; 3524esac 3525eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3526$as_echo "$ac_try_echo"; } >&5 3527 (eval "$ac_link") 2>&5 3528 ac_status=$? 3529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3530 test $ac_status = 0; }; then : 3531 # If both `conftest.exe' and `conftest' are `present' (well, observable) 3532# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 3533# work properly (i.e., refer to `conftest.exe'), while it won't with 3534# `rm'. 3535for ac_file in conftest.exe conftest conftest.*; do 3536 test -f "$ac_file" || continue 3537 case $ac_file in 3538 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3539 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 3540 break;; 3541 * ) break;; 3542 esac 3543done 3544else 3545 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3546$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3547as_fn_error $? "cannot compute suffix of executables: cannot compile and link 3548See \`config.log' for more details" "$LINENO" 5; } 3549fi 3550rm -f conftest conftest$ac_cv_exeext 3551{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 3552$as_echo "$ac_cv_exeext" >&6; } 3553 3554rm -f conftest.$ac_ext 3555EXEEXT=$ac_cv_exeext 3556ac_exeext=$EXEEXT 3557cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3558/* end confdefs.h. */ 3559#include <stdio.h> 3560int 3561main () 3562{ 3563FILE *f = fopen ("conftest.out", "w"); 3564 return ferror (f) || fclose (f) != 0; 3565 3566 ; 3567 return 0; 3568} 3569_ACEOF 3570ac_clean_files="$ac_clean_files conftest.out" 3571# Check that the compiler produces executables we can run. If not, either 3572# the compiler is broken, or we cross compile. 3573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 3574$as_echo_n "checking whether we are cross compiling... " >&6; } 3575if test "$cross_compiling" != yes; then 3576 { { ac_try="$ac_link" 3577case "(($ac_try" in 3578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3579 *) ac_try_echo=$ac_try;; 3580esac 3581eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3582$as_echo "$ac_try_echo"; } >&5 3583 (eval "$ac_link") 2>&5 3584 ac_status=$? 3585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3586 test $ac_status = 0; } 3587 if { ac_try='./conftest$ac_cv_exeext' 3588 { { case "(($ac_try" in 3589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3590 *) ac_try_echo=$ac_try;; 3591esac 3592eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3593$as_echo "$ac_try_echo"; } >&5 3594 (eval "$ac_try") 2>&5 3595 ac_status=$? 3596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3597 test $ac_status = 0; }; }; then 3598 cross_compiling=no 3599 else 3600 if test "$cross_compiling" = maybe; then 3601 cross_compiling=yes 3602 else 3603 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3604$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3605as_fn_error $? "cannot run C compiled programs. 3606If you meant to cross compile, use \`--host'. 3607See \`config.log' for more details" "$LINENO" 5; } 3608 fi 3609 fi 3610fi 3611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 3612$as_echo "$cross_compiling" >&6; } 3613 3614rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 3615ac_clean_files=$ac_clean_files_save 3616{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 3617$as_echo_n "checking for suffix of object files... " >&6; } 3618if ${ac_cv_objext+:} false; then : 3619 $as_echo_n "(cached) " >&6 3620else 3621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3622/* end confdefs.h. */ 3623 3624int 3625main () 3626{ 3627 3628 ; 3629 return 0; 3630} 3631_ACEOF 3632rm -f conftest.o conftest.obj 3633if { { ac_try="$ac_compile" 3634case "(($ac_try" in 3635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3636 *) ac_try_echo=$ac_try;; 3637esac 3638eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3639$as_echo "$ac_try_echo"; } >&5 3640 (eval "$ac_compile") 2>&5 3641 ac_status=$? 3642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3643 test $ac_status = 0; }; then : 3644 for ac_file in conftest.o conftest.obj conftest.*; do 3645 test -f "$ac_file" || continue; 3646 case $ac_file in 3647 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 3648 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 3649 break;; 3650 esac 3651done 3652else 3653 $as_echo "$as_me: failed program was:" >&5 3654sed 's/^/| /' conftest.$ac_ext >&5 3655 3656{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3657$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3658as_fn_error $? "cannot compute suffix of object files: cannot compile 3659See \`config.log' for more details" "$LINENO" 5; } 3660fi 3661rm -f conftest.$ac_cv_objext conftest.$ac_ext 3662fi 3663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 3664$as_echo "$ac_cv_objext" >&6; } 3665OBJEXT=$ac_cv_objext 3666ac_objext=$OBJEXT 3667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 3668$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 3669if ${ac_cv_c_compiler_gnu+:} false; then : 3670 $as_echo_n "(cached) " >&6 3671else 3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3673/* end confdefs.h. */ 3674 3675int 3676main () 3677{ 3678#ifndef __GNUC__ 3679 choke me 3680#endif 3681 3682 ; 3683 return 0; 3684} 3685_ACEOF 3686if ac_fn_c_try_compile "$LINENO"; then : 3687 ac_compiler_gnu=yes 3688else 3689 ac_compiler_gnu=no 3690fi 3691rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3692ac_cv_c_compiler_gnu=$ac_compiler_gnu 3693 3694fi 3695{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 3696$as_echo "$ac_cv_c_compiler_gnu" >&6; } 3697if test $ac_compiler_gnu = yes; then 3698 GCC=yes 3699else 3700 GCC= 3701fi 3702ac_test_CFLAGS=${CFLAGS+set} 3703ac_save_CFLAGS=$CFLAGS 3704{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 3705$as_echo_n "checking whether $CC accepts -g... " >&6; } 3706if ${ac_cv_prog_cc_g+:} false; then : 3707 $as_echo_n "(cached) " >&6 3708else 3709 ac_save_c_werror_flag=$ac_c_werror_flag 3710 ac_c_werror_flag=yes 3711 ac_cv_prog_cc_g=no 3712 CFLAGS="-g" 3713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3714/* end confdefs.h. */ 3715 3716int 3717main () 3718{ 3719 3720 ; 3721 return 0; 3722} 3723_ACEOF 3724if ac_fn_c_try_compile "$LINENO"; then : 3725 ac_cv_prog_cc_g=yes 3726else 3727 CFLAGS="" 3728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3729/* end confdefs.h. */ 3730 3731int 3732main () 3733{ 3734 3735 ; 3736 return 0; 3737} 3738_ACEOF 3739if ac_fn_c_try_compile "$LINENO"; then : 3740 3741else 3742 ac_c_werror_flag=$ac_save_c_werror_flag 3743 CFLAGS="-g" 3744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3745/* end confdefs.h. */ 3746 3747int 3748main () 3749{ 3750 3751 ; 3752 return 0; 3753} 3754_ACEOF 3755if ac_fn_c_try_compile "$LINENO"; then : 3756 ac_cv_prog_cc_g=yes 3757fi 3758rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3759fi 3760rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3761fi 3762rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3763 ac_c_werror_flag=$ac_save_c_werror_flag 3764fi 3765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3766$as_echo "$ac_cv_prog_cc_g" >&6; } 3767if test "$ac_test_CFLAGS" = set; then 3768 CFLAGS=$ac_save_CFLAGS 3769elif test $ac_cv_prog_cc_g = yes; then 3770 if test "$GCC" = yes; then 3771 CFLAGS="-g -O2" 3772 else 3773 CFLAGS="-g" 3774 fi 3775else 3776 if test "$GCC" = yes; then 3777 CFLAGS="-O2" 3778 else 3779 CFLAGS= 3780 fi 3781fi 3782{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3783$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3784if ${ac_cv_prog_cc_c89+:} false; then : 3785 $as_echo_n "(cached) " >&6 3786else 3787 ac_cv_prog_cc_c89=no 3788ac_save_CC=$CC 3789cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3790/* end confdefs.h. */ 3791#include <stdarg.h> 3792#include <stdio.h> 3793struct stat; 3794/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3795struct buf { int x; }; 3796FILE * (*rcsopen) (struct buf *, struct stat *, int); 3797static char *e (p, i) 3798 char **p; 3799 int i; 3800{ 3801 return p[i]; 3802} 3803static char *f (char * (*g) (char **, int), char **p, ...) 3804{ 3805 char *s; 3806 va_list v; 3807 va_start (v,p); 3808 s = g (p, va_arg (v,int)); 3809 va_end (v); 3810 return s; 3811} 3812 3813/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3814 function prototypes and stuff, but not '\xHH' hex character constants. 3815 These don't provoke an error unfortunately, instead are silently treated 3816 as 'x'. The following induces an error, until -std is added to get 3817 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3818 array size at least. It's necessary to write '\x00'==0 to get something 3819 that's true only with -std. */ 3820int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3821 3822/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3823 inside strings and character constants. */ 3824#define FOO(x) 'x' 3825int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3826 3827int test (int i, double x); 3828struct s1 {int (*f) (int a);}; 3829struct s2 {int (*f) (double a);}; 3830int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3831int argc; 3832char **argv; 3833int 3834main () 3835{ 3836return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3837 ; 3838 return 0; 3839} 3840_ACEOF 3841for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3842 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3843do 3844 CC="$ac_save_CC $ac_arg" 3845 if ac_fn_c_try_compile "$LINENO"; then : 3846 ac_cv_prog_cc_c89=$ac_arg 3847fi 3848rm -f core conftest.err conftest.$ac_objext 3849 test "x$ac_cv_prog_cc_c89" != "xno" && break 3850done 3851rm -f conftest.$ac_ext 3852CC=$ac_save_CC 3853 3854fi 3855# AC_CACHE_VAL 3856case "x$ac_cv_prog_cc_c89" in 3857 x) 3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3859$as_echo "none needed" >&6; } ;; 3860 xno) 3861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3862$as_echo "unsupported" >&6; } ;; 3863 *) 3864 CC="$CC $ac_cv_prog_cc_c89" 3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3866$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3867esac 3868if test "x$ac_cv_prog_cc_c89" != xno; then : 3869 3870fi 3871 3872ac_ext=c 3873ac_cpp='$CPP $CPPFLAGS' 3874ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3875ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3876ac_compiler_gnu=$ac_cv_c_compiler_gnu 3877 3878depcc="$CC" am_compiler_list= 3879 3880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3881$as_echo_n "checking dependency style of $depcc... " >&6; } 3882if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3883 $as_echo_n "(cached) " >&6 3884else 3885 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3886 # We make a subdir and do the tests there. Otherwise we can end up 3887 # making bogus files that we don't know about and never remove. For 3888 # instance it was reported that on HP-UX the gcc test will end up 3889 # making a dummy file named 'D' -- because '-MD' means "put the output 3890 # in D". 3891 rm -rf conftest.dir 3892 mkdir conftest.dir 3893 # Copy depcomp to subdir because otherwise we won't find it if we're 3894 # using a relative directory. 3895 cp "$am_depcomp" conftest.dir 3896 cd conftest.dir 3897 # We will build objects and dependencies in a subdirectory because 3898 # it helps to detect inapplicable dependency modes. For instance 3899 # both Tru64's cc and ICC support -MD to output dependencies as a 3900 # side effect of compilation, but ICC will put the dependencies in 3901 # the current directory while Tru64 will put them in the object 3902 # directory. 3903 mkdir sub 3904 3905 am_cv_CC_dependencies_compiler_type=none 3906 if test "$am_compiler_list" = ""; then 3907 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3908 fi 3909 am__universal=false 3910 case " $depcc " in #( 3911 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3912 esac 3913 3914 for depmode in $am_compiler_list; do 3915 # Setup a source with many dependencies, because some compilers 3916 # like to wrap large dependency lists on column 80 (with \), and 3917 # we should not choose a depcomp mode which is confused by this. 3918 # 3919 # We need to recreate these files for each test, as the compiler may 3920 # overwrite some of them when testing with obscure command lines. 3921 # This happens at least with the AIX C compiler. 3922 : > sub/conftest.c 3923 for i in 1 2 3 4 5 6; do 3924 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3925 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 3926 # Solaris 10 /bin/sh. 3927 echo '/* dummy */' > sub/conftst$i.h 3928 done 3929 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3930 3931 # We check with '-c' and '-o' for the sake of the "dashmstdout" 3932 # mode. It turns out that the SunPro C++ compiler does not properly 3933 # handle '-M -o', and we need to detect this. Also, some Intel 3934 # versions had trouble with output in subdirs. 3935 am__obj=sub/conftest.${OBJEXT-o} 3936 am__minus_obj="-o $am__obj" 3937 case $depmode in 3938 gcc) 3939 # This depmode causes a compiler race in universal mode. 3940 test "$am__universal" = false || continue 3941 ;; 3942 nosideeffect) 3943 # After this tag, mechanisms are not by side-effect, so they'll 3944 # only be used when explicitly requested. 3945 if test "x$enable_dependency_tracking" = xyes; then 3946 continue 3947 else 3948 break 3949 fi 3950 ;; 3951 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3952 # This compiler won't grok '-c -o', but also, the minuso test has 3953 # not run yet. These depmodes are late enough in the game, and 3954 # so weak that their functioning should not be impacted. 3955 am__obj=conftest.${OBJEXT-o} 3956 am__minus_obj= 3957 ;; 3958 none) break ;; 3959 esac 3960 if depmode=$depmode \ 3961 source=sub/conftest.c object=$am__obj \ 3962 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3963 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3964 >/dev/null 2>conftest.err && 3965 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3966 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3967 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3968 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3969 # icc doesn't choke on unknown options, it will just issue warnings 3970 # or remarks (even with -Werror). So we grep stderr for any message 3971 # that says an option was ignored or not supported. 3972 # When given -MP, icc 7.0 and 7.1 complain thusly: 3973 # icc: Command line warning: ignoring option '-M'; no argument required 3974 # The diagnosis changed in icc 8.0: 3975 # icc: Command line remark: option '-MP' not supported 3976 if (grep 'ignoring option' conftest.err || 3977 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3978 am_cv_CC_dependencies_compiler_type=$depmode 3979 break 3980 fi 3981 fi 3982 done 3983 3984 cd .. 3985 rm -rf conftest.dir 3986else 3987 am_cv_CC_dependencies_compiler_type=none 3988fi 3989 3990fi 3991{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3992$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3993CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3994 3995 if 3996 test "x$enable_dependency_tracking" != xno \ 3997 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3998 am__fastdepCC_TRUE= 3999 am__fastdepCC_FALSE='#' 4000else 4001 am__fastdepCC_TRUE='#' 4002 am__fastdepCC_FALSE= 4003fi 4004 4005 4006 4007ac_ext=c 4008ac_cpp='$CPP $CPPFLAGS' 4009ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4010ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4011ac_compiler_gnu=$ac_cv_c_compiler_gnu 4012{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 4013$as_echo_n "checking how to run the C preprocessor... " >&6; } 4014# On Suns, sometimes $CPP names a directory. 4015if test -n "$CPP" && test -d "$CPP"; then 4016 CPP= 4017fi 4018if test -z "$CPP"; then 4019 if ${ac_cv_prog_CPP+:} false; then : 4020 $as_echo_n "(cached) " >&6 4021else 4022 # Double quotes because CPP needs to be expanded 4023 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 4024 do 4025 ac_preproc_ok=false 4026for ac_c_preproc_warn_flag in '' yes 4027do 4028 # Use a header file that comes with gcc, so configuring glibc 4029 # with a fresh cross-compiler works. 4030 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4031 # <limits.h> exists even on freestanding compilers. 4032 # On the NeXT, cc -E runs the code through the compiler's parser, 4033 # not just through cpp. "Syntax error" is here to catch this case. 4034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4035/* end confdefs.h. */ 4036#ifdef __STDC__ 4037# include <limits.h> 4038#else 4039# include <assert.h> 4040#endif 4041 Syntax error 4042_ACEOF 4043if ac_fn_c_try_cpp "$LINENO"; then : 4044 4045else 4046 # Broken: fails on valid input. 4047continue 4048fi 4049rm -f conftest.err conftest.i conftest.$ac_ext 4050 4051 # OK, works on sane cases. Now check whether nonexistent headers 4052 # can be detected and how. 4053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4054/* end confdefs.h. */ 4055#include <ac_nonexistent.h> 4056_ACEOF 4057if ac_fn_c_try_cpp "$LINENO"; then : 4058 # Broken: success on invalid input. 4059continue 4060else 4061 # Passes both tests. 4062ac_preproc_ok=: 4063break 4064fi 4065rm -f conftest.err conftest.i conftest.$ac_ext 4066 4067done 4068# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4069rm -f conftest.i conftest.err conftest.$ac_ext 4070if $ac_preproc_ok; then : 4071 break 4072fi 4073 4074 done 4075 ac_cv_prog_CPP=$CPP 4076 4077fi 4078 CPP=$ac_cv_prog_CPP 4079else 4080 ac_cv_prog_CPP=$CPP 4081fi 4082{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 4083$as_echo "$CPP" >&6; } 4084ac_preproc_ok=false 4085for ac_c_preproc_warn_flag in '' yes 4086do 4087 # Use a header file that comes with gcc, so configuring glibc 4088 # with a fresh cross-compiler works. 4089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 4090 # <limits.h> exists even on freestanding compilers. 4091 # On the NeXT, cc -E runs the code through the compiler's parser, 4092 # not just through cpp. "Syntax error" is here to catch this case. 4093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4094/* end confdefs.h. */ 4095#ifdef __STDC__ 4096# include <limits.h> 4097#else 4098# include <assert.h> 4099#endif 4100 Syntax error 4101_ACEOF 4102if ac_fn_c_try_cpp "$LINENO"; then : 4103 4104else 4105 # Broken: fails on valid input. 4106continue 4107fi 4108rm -f conftest.err conftest.i conftest.$ac_ext 4109 4110 # OK, works on sane cases. Now check whether nonexistent headers 4111 # can be detected and how. 4112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4113/* end confdefs.h. */ 4114#include <ac_nonexistent.h> 4115_ACEOF 4116if ac_fn_c_try_cpp "$LINENO"; then : 4117 # Broken: success on invalid input. 4118continue 4119else 4120 # Passes both tests. 4121ac_preproc_ok=: 4122break 4123fi 4124rm -f conftest.err conftest.i conftest.$ac_ext 4125 4126done 4127# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 4128rm -f conftest.i conftest.err conftest.$ac_ext 4129if $ac_preproc_ok; then : 4130 4131else 4132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4133$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4134as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 4135See \`config.log' for more details" "$LINENO" 5; } 4136fi 4137 4138ac_ext=c 4139ac_cpp='$CPP $CPPFLAGS' 4140ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4141ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4142ac_compiler_gnu=$ac_cv_c_compiler_gnu 4143 4144 4145{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 4146$as_echo_n "checking for X... " >&6; } 4147 4148 4149# Check whether --with-x was given. 4150if test "${with_x+set}" = set; then : 4151 withval=$with_x; 4152fi 4153 4154# $have_x is `yes', `no', `disabled', or empty when we do not yet know. 4155if test "x$with_x" = xno; then 4156 # The user explicitly disabled X. 4157 have_x=disabled 4158else 4159 case $x_includes,$x_libraries in #( 4160 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 4161 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then : 4162 $as_echo_n "(cached) " >&6 4163else 4164 # One or both of the vars are not set, and there is no cached value. 4165ac_x_includes=no ac_x_libraries=no 4166rm -f -r conftest.dir 4167if mkdir conftest.dir; then 4168 cd conftest.dir 4169 cat >Imakefile <<'_ACEOF' 4170incroot: 4171 @echo incroot='${INCROOT}' 4172usrlibdir: 4173 @echo usrlibdir='${USRLIBDIR}' 4174libdir: 4175 @echo libdir='${LIBDIR}' 4176_ACEOF 4177 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 4178 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 4179 for ac_var in incroot usrlibdir libdir; do 4180 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 4181 done 4182 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 4183 for ac_extension in a so sl dylib la dll; do 4184 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && 4185 test -f "$ac_im_libdir/libX11.$ac_extension"; then 4186 ac_im_usrlibdir=$ac_im_libdir; break 4187 fi 4188 done 4189 # Screen out bogus values from the imake configuration. They are 4190 # bogus both because they are the default anyway, and because 4191 # using them would break gcc on systems where it needs fixed includes. 4192 case $ac_im_incroot in 4193 /usr/include) ac_x_includes= ;; 4194 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 4195 esac 4196 case $ac_im_usrlibdir in 4197 /usr/lib | /usr/lib64 | /lib | /lib64) ;; 4198 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 4199 esac 4200 fi 4201 cd .. 4202 rm -f -r conftest.dir 4203fi 4204 4205# Standard set of common directories for X headers. 4206# Check X11 before X11Rn because it is often a symlink to the current release. 4207ac_x_header_dirs=' 4208/usr/X11/include 4209/usr/X11R7/include 4210/usr/X11R6/include 4211/usr/X11R5/include 4212/usr/X11R4/include 4213 4214/usr/include/X11 4215/usr/include/X11R7 4216/usr/include/X11R6 4217/usr/include/X11R5 4218/usr/include/X11R4 4219 4220/usr/local/X11/include 4221/usr/local/X11R7/include 4222/usr/local/X11R6/include 4223/usr/local/X11R5/include 4224/usr/local/X11R4/include 4225 4226/usr/local/include/X11 4227/usr/local/include/X11R7 4228/usr/local/include/X11R6 4229/usr/local/include/X11R5 4230/usr/local/include/X11R4 4231 4232/usr/X386/include 4233/usr/x386/include 4234/usr/XFree86/include/X11 4235 4236/usr/include 4237/usr/local/include 4238/usr/unsupported/include 4239/usr/athena/include 4240/usr/local/x11r5/include 4241/usr/lpp/Xamples/include 4242 4243/usr/openwin/include 4244/usr/openwin/share/include' 4245 4246if test "$ac_x_includes" = no; then 4247 # Guess where to find include files, by looking for Xlib.h. 4248 # First, try using that file with no special directory specified. 4249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4250/* end confdefs.h. */ 4251#include <X11/Xlib.h> 4252_ACEOF 4253if ac_fn_c_try_cpp "$LINENO"; then : 4254 # We can compile using X headers with no special include directory. 4255ac_x_includes= 4256else 4257 for ac_dir in $ac_x_header_dirs; do 4258 if test -r "$ac_dir/X11/Xlib.h"; then 4259 ac_x_includes=$ac_dir 4260 break 4261 fi 4262done 4263fi 4264rm -f conftest.err conftest.i conftest.$ac_ext 4265fi # $ac_x_includes = no 4266 4267if test "$ac_x_libraries" = no; then 4268 # Check for the libraries. 4269 # See if we find them without any special options. 4270 # Don't add to $LIBS permanently. 4271 ac_save_LIBS=$LIBS 4272 LIBS="-lX11 $LIBS" 4273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4274/* end confdefs.h. */ 4275#include <X11/Xlib.h> 4276int 4277main () 4278{ 4279XrmInitialize () 4280 ; 4281 return 0; 4282} 4283_ACEOF 4284if ac_fn_c_try_link "$LINENO"; then : 4285 LIBS=$ac_save_LIBS 4286# We can link X programs with no special library path. 4287ac_x_libraries= 4288else 4289 LIBS=$ac_save_LIBS 4290for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 4291do 4292 # Don't even attempt the hair of trying to link an X program! 4293 for ac_extension in a so sl dylib la dll; do 4294 if test -r "$ac_dir/libX11.$ac_extension"; then 4295 ac_x_libraries=$ac_dir 4296 break 2 4297 fi 4298 done 4299done 4300fi 4301rm -f core conftest.err conftest.$ac_objext \ 4302 conftest$ac_exeext conftest.$ac_ext 4303fi # $ac_x_libraries = no 4304 4305case $ac_x_includes,$ac_x_libraries in #( 4306 no,* | *,no | *\'*) 4307 # Didn't find X, or a directory has "'" in its name. 4308 ac_cv_have_x="have_x=no";; #( 4309 *) 4310 # Record where we found X for the cache. 4311 ac_cv_have_x="have_x=yes\ 4312 ac_x_includes='$ac_x_includes'\ 4313 ac_x_libraries='$ac_x_libraries'" 4314esac 4315fi 4316;; #( 4317 *) have_x=yes;; 4318 esac 4319 eval "$ac_cv_have_x" 4320fi # $with_x != no 4321 4322if test "$have_x" != yes; then 4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 4324$as_echo "$have_x" >&6; } 4325 no_x=yes 4326else 4327 # If each of the values was on the command line, it overrides each guess. 4328 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 4329 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 4330 # Update the cache value to reflect the command line values. 4331 ac_cv_have_x="have_x=yes\ 4332 ac_x_includes='$x_includes'\ 4333 ac_x_libraries='$x_libraries'" 4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 4335$as_echo "libraries $x_libraries, headers $x_includes" >&6; } 4336fi 4337 4338{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 4339$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 4340if ${ac_cv_path_GREP+:} false; then : 4341 $as_echo_n "(cached) " >&6 4342else 4343 if test -z "$GREP"; then 4344 ac_path_GREP_found=false 4345 # Loop through the user's path and test for each of PROGNAME-LIST 4346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4347for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4348do 4349 IFS=$as_save_IFS 4350 test -z "$as_dir" && as_dir=. 4351 for ac_prog in grep ggrep; do 4352 for ac_exec_ext in '' $ac_executable_extensions; do 4353 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 4354 as_fn_executable_p "$ac_path_GREP" || continue 4355# Check for GNU ac_path_GREP and select it if it is found. 4356 # Check for GNU $ac_path_GREP 4357case `"$ac_path_GREP" --version 2>&1` in 4358*GNU*) 4359 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 4360*) 4361 ac_count=0 4362 $as_echo_n 0123456789 >"conftest.in" 4363 while : 4364 do 4365 cat "conftest.in" "conftest.in" >"conftest.tmp" 4366 mv "conftest.tmp" "conftest.in" 4367 cp "conftest.in" "conftest.nl" 4368 $as_echo 'GREP' >> "conftest.nl" 4369 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4370 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4371 as_fn_arith $ac_count + 1 && ac_count=$as_val 4372 if test $ac_count -gt ${ac_path_GREP_max-0}; then 4373 # Best one so far, save it but keep looking for a better one 4374 ac_cv_path_GREP="$ac_path_GREP" 4375 ac_path_GREP_max=$ac_count 4376 fi 4377 # 10*(2^10) chars as input seems more than enough 4378 test $ac_count -gt 10 && break 4379 done 4380 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4381esac 4382 4383 $ac_path_GREP_found && break 3 4384 done 4385 done 4386 done 4387IFS=$as_save_IFS 4388 if test -z "$ac_cv_path_GREP"; then 4389 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4390 fi 4391else 4392 ac_cv_path_GREP=$GREP 4393fi 4394 4395fi 4396{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 4397$as_echo "$ac_cv_path_GREP" >&6; } 4398 GREP="$ac_cv_path_GREP" 4399 4400 4401{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 4402$as_echo_n "checking for egrep... " >&6; } 4403if ${ac_cv_path_EGREP+:} false; then : 4404 $as_echo_n "(cached) " >&6 4405else 4406 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 4407 then ac_cv_path_EGREP="$GREP -E" 4408 else 4409 if test -z "$EGREP"; then 4410 ac_path_EGREP_found=false 4411 # Loop through the user's path and test for each of PROGNAME-LIST 4412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4413for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 4414do 4415 IFS=$as_save_IFS 4416 test -z "$as_dir" && as_dir=. 4417 for ac_prog in egrep; do 4418 for ac_exec_ext in '' $ac_executable_extensions; do 4419 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 4420 as_fn_executable_p "$ac_path_EGREP" || continue 4421# Check for GNU ac_path_EGREP and select it if it is found. 4422 # Check for GNU $ac_path_EGREP 4423case `"$ac_path_EGREP" --version 2>&1` in 4424*GNU*) 4425 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 4426*) 4427 ac_count=0 4428 $as_echo_n 0123456789 >"conftest.in" 4429 while : 4430 do 4431 cat "conftest.in" "conftest.in" >"conftest.tmp" 4432 mv "conftest.tmp" "conftest.in" 4433 cp "conftest.in" "conftest.nl" 4434 $as_echo 'EGREP' >> "conftest.nl" 4435 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 4436 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 4437 as_fn_arith $ac_count + 1 && ac_count=$as_val 4438 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 4439 # Best one so far, save it but keep looking for a better one 4440 ac_cv_path_EGREP="$ac_path_EGREP" 4441 ac_path_EGREP_max=$ac_count 4442 fi 4443 # 10*(2^10) chars as input seems more than enough 4444 test $ac_count -gt 10 && break 4445 done 4446 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 4447esac 4448 4449 $ac_path_EGREP_found && break 3 4450 done 4451 done 4452 done 4453IFS=$as_save_IFS 4454 if test -z "$ac_cv_path_EGREP"; then 4455 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 4456 fi 4457else 4458 ac_cv_path_EGREP=$EGREP 4459fi 4460 4461 fi 4462fi 4463{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 4464$as_echo "$ac_cv_path_EGREP" >&6; } 4465 EGREP="$ac_cv_path_EGREP" 4466 4467 4468{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 4469$as_echo_n "checking for ANSI C header files... " >&6; } 4470if ${ac_cv_header_stdc+:} false; then : 4471 $as_echo_n "(cached) " >&6 4472else 4473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4474/* end confdefs.h. */ 4475#include <stdlib.h> 4476#include <stdarg.h> 4477#include <string.h> 4478#include <float.h> 4479 4480int 4481main () 4482{ 4483 4484 ; 4485 return 0; 4486} 4487_ACEOF 4488if ac_fn_c_try_compile "$LINENO"; then : 4489 ac_cv_header_stdc=yes 4490else 4491 ac_cv_header_stdc=no 4492fi 4493rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4494 4495if test $ac_cv_header_stdc = yes; then 4496 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4498/* end confdefs.h. */ 4499#include <string.h> 4500 4501_ACEOF 4502if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4503 $EGREP "memchr" >/dev/null 2>&1; then : 4504 4505else 4506 ac_cv_header_stdc=no 4507fi 4508rm -f conftest* 4509 4510fi 4511 4512if test $ac_cv_header_stdc = yes; then 4513 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4515/* end confdefs.h. */ 4516#include <stdlib.h> 4517 4518_ACEOF 4519if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4520 $EGREP "free" >/dev/null 2>&1; then : 4521 4522else 4523 ac_cv_header_stdc=no 4524fi 4525rm -f conftest* 4526 4527fi 4528 4529if test $ac_cv_header_stdc = yes; then 4530 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4531 if test "$cross_compiling" = yes; then : 4532 : 4533else 4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4535/* end confdefs.h. */ 4536#include <ctype.h> 4537#include <stdlib.h> 4538#if ((' ' & 0x0FF) == 0x020) 4539# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4540# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4541#else 4542# define ISLOWER(c) \ 4543 (('a' <= (c) && (c) <= 'i') \ 4544 || ('j' <= (c) && (c) <= 'r') \ 4545 || ('s' <= (c) && (c) <= 'z')) 4546# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4547#endif 4548 4549#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4550int 4551main () 4552{ 4553 int i; 4554 for (i = 0; i < 256; i++) 4555 if (XOR (islower (i), ISLOWER (i)) 4556 || toupper (i) != TOUPPER (i)) 4557 return 2; 4558 return 0; 4559} 4560_ACEOF 4561if ac_fn_c_try_run "$LINENO"; then : 4562 4563else 4564 ac_cv_header_stdc=no 4565fi 4566rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 4567 conftest.$ac_objext conftest.beam conftest.$ac_ext 4568fi 4569 4570fi 4571fi 4572{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 4573$as_echo "$ac_cv_header_stdc" >&6; } 4574if test $ac_cv_header_stdc = yes; then 4575 4576$as_echo "#define STDC_HEADERS 1" >>confdefs.h 4577 4578fi 4579 4580# On IRIX 5.3, sys/types and inttypes.h are conflicting. 4581for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4582 inttypes.h stdint.h unistd.h 4583do : 4584 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4585ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 4586" 4587if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4588 cat >>confdefs.h <<_ACEOF 4589#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4590_ACEOF 4591 4592fi 4593 4594done 4595 4596 4597for ac_header in fcntl.h libintl.h limits.h locale.h stddef.h stdlib.h string.h sys/time.h unistd.h 4598do : 4599 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 4600ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 4601if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 4602 cat >>confdefs.h <<_ACEOF 4603#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 4604_ACEOF 4605 4606fi 4607 4608done 4609 4610 4611# Checks for programs. 4612ac_ext=c 4613ac_cpp='$CPP $CPPFLAGS' 4614ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4615ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4616ac_compiler_gnu=$ac_cv_c_compiler_gnu 4617if test -n "$ac_tool_prefix"; then 4618 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4619set dummy ${ac_tool_prefix}gcc; ac_word=$2 4620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4621$as_echo_n "checking for $ac_word... " >&6; } 4622if ${ac_cv_prog_CC+:} false; then : 4623 $as_echo_n "(cached) " >&6 4624else 4625 if test -n "$CC"; then 4626 ac_cv_prog_CC="$CC" # Let the user override the test. 4627else 4628as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4629for as_dir in $PATH 4630do 4631 IFS=$as_save_IFS 4632 test -z "$as_dir" && as_dir=. 4633 for ac_exec_ext in '' $ac_executable_extensions; do 4634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4635 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4637 break 2 4638 fi 4639done 4640 done 4641IFS=$as_save_IFS 4642 4643fi 4644fi 4645CC=$ac_cv_prog_CC 4646if test -n "$CC"; then 4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4648$as_echo "$CC" >&6; } 4649else 4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4651$as_echo "no" >&6; } 4652fi 4653 4654 4655fi 4656if test -z "$ac_cv_prog_CC"; then 4657 ac_ct_CC=$CC 4658 # Extract the first word of "gcc", so it can be a program name with args. 4659set dummy gcc; ac_word=$2 4660{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4661$as_echo_n "checking for $ac_word... " >&6; } 4662if ${ac_cv_prog_ac_ct_CC+:} false; then : 4663 $as_echo_n "(cached) " >&6 4664else 4665 if test -n "$ac_ct_CC"; then 4666 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4667else 4668as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4669for as_dir in $PATH 4670do 4671 IFS=$as_save_IFS 4672 test -z "$as_dir" && as_dir=. 4673 for ac_exec_ext in '' $ac_executable_extensions; do 4674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4675 ac_cv_prog_ac_ct_CC="gcc" 4676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4677 break 2 4678 fi 4679done 4680 done 4681IFS=$as_save_IFS 4682 4683fi 4684fi 4685ac_ct_CC=$ac_cv_prog_ac_ct_CC 4686if test -n "$ac_ct_CC"; then 4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4688$as_echo "$ac_ct_CC" >&6; } 4689else 4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4691$as_echo "no" >&6; } 4692fi 4693 4694 if test "x$ac_ct_CC" = x; then 4695 CC="" 4696 else 4697 case $cross_compiling:$ac_tool_warned in 4698yes:) 4699{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4700$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4701ac_tool_warned=yes ;; 4702esac 4703 CC=$ac_ct_CC 4704 fi 4705else 4706 CC="$ac_cv_prog_CC" 4707fi 4708 4709if test -z "$CC"; then 4710 if test -n "$ac_tool_prefix"; then 4711 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 4712set dummy ${ac_tool_prefix}cc; ac_word=$2 4713{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4714$as_echo_n "checking for $ac_word... " >&6; } 4715if ${ac_cv_prog_CC+:} false; then : 4716 $as_echo_n "(cached) " >&6 4717else 4718 if test -n "$CC"; then 4719 ac_cv_prog_CC="$CC" # Let the user override the test. 4720else 4721as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4722for as_dir in $PATH 4723do 4724 IFS=$as_save_IFS 4725 test -z "$as_dir" && as_dir=. 4726 for ac_exec_ext in '' $ac_executable_extensions; do 4727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4728 ac_cv_prog_CC="${ac_tool_prefix}cc" 4729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4730 break 2 4731 fi 4732done 4733 done 4734IFS=$as_save_IFS 4735 4736fi 4737fi 4738CC=$ac_cv_prog_CC 4739if test -n "$CC"; then 4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4741$as_echo "$CC" >&6; } 4742else 4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4744$as_echo "no" >&6; } 4745fi 4746 4747 4748 fi 4749fi 4750if test -z "$CC"; then 4751 # Extract the first word of "cc", so it can be a program name with args. 4752set dummy cc; ac_word=$2 4753{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4754$as_echo_n "checking for $ac_word... " >&6; } 4755if ${ac_cv_prog_CC+:} false; then : 4756 $as_echo_n "(cached) " >&6 4757else 4758 if test -n "$CC"; then 4759 ac_cv_prog_CC="$CC" # Let the user override the test. 4760else 4761 ac_prog_rejected=no 4762as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4763for as_dir in $PATH 4764do 4765 IFS=$as_save_IFS 4766 test -z "$as_dir" && as_dir=. 4767 for ac_exec_ext in '' $ac_executable_extensions; do 4768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4769 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 4770 ac_prog_rejected=yes 4771 continue 4772 fi 4773 ac_cv_prog_CC="cc" 4774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4775 break 2 4776 fi 4777done 4778 done 4779IFS=$as_save_IFS 4780 4781if test $ac_prog_rejected = yes; then 4782 # We found a bogon in the path, so make sure we never use it. 4783 set dummy $ac_cv_prog_CC 4784 shift 4785 if test $# != 0; then 4786 # We chose a different compiler from the bogus one. 4787 # However, it has the same basename, so the bogon will be chosen 4788 # first if we set CC to just the basename; use the full file name. 4789 shift 4790 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 4791 fi 4792fi 4793fi 4794fi 4795CC=$ac_cv_prog_CC 4796if test -n "$CC"; then 4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4798$as_echo "$CC" >&6; } 4799else 4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4801$as_echo "no" >&6; } 4802fi 4803 4804 4805fi 4806if test -z "$CC"; then 4807 if test -n "$ac_tool_prefix"; then 4808 for ac_prog in cl.exe 4809 do 4810 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 4811set dummy $ac_tool_prefix$ac_prog; ac_word=$2 4812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4813$as_echo_n "checking for $ac_word... " >&6; } 4814if ${ac_cv_prog_CC+:} false; then : 4815 $as_echo_n "(cached) " >&6 4816else 4817 if test -n "$CC"; then 4818 ac_cv_prog_CC="$CC" # Let the user override the test. 4819else 4820as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4821for as_dir in $PATH 4822do 4823 IFS=$as_save_IFS 4824 test -z "$as_dir" && as_dir=. 4825 for ac_exec_ext in '' $ac_executable_extensions; do 4826 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4827 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 4828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4829 break 2 4830 fi 4831done 4832 done 4833IFS=$as_save_IFS 4834 4835fi 4836fi 4837CC=$ac_cv_prog_CC 4838if test -n "$CC"; then 4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4840$as_echo "$CC" >&6; } 4841else 4842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4843$as_echo "no" >&6; } 4844fi 4845 4846 4847 test -n "$CC" && break 4848 done 4849fi 4850if test -z "$CC"; then 4851 ac_ct_CC=$CC 4852 for ac_prog in cl.exe 4853do 4854 # Extract the first word of "$ac_prog", so it can be a program name with args. 4855set dummy $ac_prog; ac_word=$2 4856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4857$as_echo_n "checking for $ac_word... " >&6; } 4858if ${ac_cv_prog_ac_ct_CC+:} false; then : 4859 $as_echo_n "(cached) " >&6 4860else 4861 if test -n "$ac_ct_CC"; then 4862 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4863else 4864as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4865for as_dir in $PATH 4866do 4867 IFS=$as_save_IFS 4868 test -z "$as_dir" && as_dir=. 4869 for ac_exec_ext in '' $ac_executable_extensions; do 4870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4871 ac_cv_prog_ac_ct_CC="$ac_prog" 4872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 4873 break 2 4874 fi 4875done 4876 done 4877IFS=$as_save_IFS 4878 4879fi 4880fi 4881ac_ct_CC=$ac_cv_prog_ac_ct_CC 4882if test -n "$ac_ct_CC"; then 4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4884$as_echo "$ac_ct_CC" >&6; } 4885else 4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4887$as_echo "no" >&6; } 4888fi 4889 4890 4891 test -n "$ac_ct_CC" && break 4892done 4893 4894 if test "x$ac_ct_CC" = x; then 4895 CC="" 4896 else 4897 case $cross_compiling:$ac_tool_warned in 4898yes:) 4899{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 4900$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 4901ac_tool_warned=yes ;; 4902esac 4903 CC=$ac_ct_CC 4904 fi 4905fi 4906 4907fi 4908 4909 4910test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4911$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4912as_fn_error $? "no acceptable C compiler found in \$PATH 4913See \`config.log' for more details" "$LINENO" 5; } 4914 4915# Provide some information about the compiler. 4916$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 4917set X $ac_compile 4918ac_compiler=$2 4919for ac_option in --version -v -V -qversion; do 4920 { { ac_try="$ac_compiler $ac_option >&5" 4921case "(($ac_try" in 4922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4923 *) ac_try_echo=$ac_try;; 4924esac 4925eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4926$as_echo "$ac_try_echo"; } >&5 4927 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 4928 ac_status=$? 4929 if test -s conftest.err; then 4930 sed '10a\ 4931... rest of stderr output deleted ... 4932 10q' conftest.err >conftest.er1 4933 cat conftest.er1 >&5 4934 fi 4935 rm -f conftest.er1 conftest.err 4936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4937 test $ac_status = 0; } 4938done 4939 4940{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 4941$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 4942if ${ac_cv_c_compiler_gnu+:} false; then : 4943 $as_echo_n "(cached) " >&6 4944else 4945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4946/* end confdefs.h. */ 4947 4948int 4949main () 4950{ 4951#ifndef __GNUC__ 4952 choke me 4953#endif 4954 4955 ; 4956 return 0; 4957} 4958_ACEOF 4959if ac_fn_c_try_compile "$LINENO"; then : 4960 ac_compiler_gnu=yes 4961else 4962 ac_compiler_gnu=no 4963fi 4964rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 4965ac_cv_c_compiler_gnu=$ac_compiler_gnu 4966 4967fi 4968{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4969$as_echo "$ac_cv_c_compiler_gnu" >&6; } 4970if test $ac_compiler_gnu = yes; then 4971 GCC=yes 4972else 4973 GCC= 4974fi 4975ac_test_CFLAGS=${CFLAGS+set} 4976ac_save_CFLAGS=$CFLAGS 4977{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4978$as_echo_n "checking whether $CC accepts -g... " >&6; } 4979if ${ac_cv_prog_cc_g+:} false; then : 4980 $as_echo_n "(cached) " >&6 4981else 4982 ac_save_c_werror_flag=$ac_c_werror_flag 4983 ac_c_werror_flag=yes 4984 ac_cv_prog_cc_g=no 4985 CFLAGS="-g" 4986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4987/* end confdefs.h. */ 4988 4989int 4990main () 4991{ 4992 4993 ; 4994 return 0; 4995} 4996_ACEOF 4997if ac_fn_c_try_compile "$LINENO"; then : 4998 ac_cv_prog_cc_g=yes 4999else 5000 CFLAGS="" 5001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5002/* end confdefs.h. */ 5003 5004int 5005main () 5006{ 5007 5008 ; 5009 return 0; 5010} 5011_ACEOF 5012if ac_fn_c_try_compile "$LINENO"; then : 5013 5014else 5015 ac_c_werror_flag=$ac_save_c_werror_flag 5016 CFLAGS="-g" 5017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5018/* end confdefs.h. */ 5019 5020int 5021main () 5022{ 5023 5024 ; 5025 return 0; 5026} 5027_ACEOF 5028if ac_fn_c_try_compile "$LINENO"; then : 5029 ac_cv_prog_cc_g=yes 5030fi 5031rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5032fi 5033rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5034fi 5035rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5036 ac_c_werror_flag=$ac_save_c_werror_flag 5037fi 5038{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 5039$as_echo "$ac_cv_prog_cc_g" >&6; } 5040if test "$ac_test_CFLAGS" = set; then 5041 CFLAGS=$ac_save_CFLAGS 5042elif test $ac_cv_prog_cc_g = yes; then 5043 if test "$GCC" = yes; then 5044 CFLAGS="-g -O2" 5045 else 5046 CFLAGS="-g" 5047 fi 5048else 5049 if test "$GCC" = yes; then 5050 CFLAGS="-O2" 5051 else 5052 CFLAGS= 5053 fi 5054fi 5055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 5056$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 5057if ${ac_cv_prog_cc_c89+:} false; then : 5058 $as_echo_n "(cached) " >&6 5059else 5060 ac_cv_prog_cc_c89=no 5061ac_save_CC=$CC 5062cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5063/* end confdefs.h. */ 5064#include <stdarg.h> 5065#include <stdio.h> 5066struct stat; 5067/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 5068struct buf { int x; }; 5069FILE * (*rcsopen) (struct buf *, struct stat *, int); 5070static char *e (p, i) 5071 char **p; 5072 int i; 5073{ 5074 return p[i]; 5075} 5076static char *f (char * (*g) (char **, int), char **p, ...) 5077{ 5078 char *s; 5079 va_list v; 5080 va_start (v,p); 5081 s = g (p, va_arg (v,int)); 5082 va_end (v); 5083 return s; 5084} 5085 5086/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 5087 function prototypes and stuff, but not '\xHH' hex character constants. 5088 These don't provoke an error unfortunately, instead are silently treated 5089 as 'x'. The following induces an error, until -std is added to get 5090 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 5091 array size at least. It's necessary to write '\x00'==0 to get something 5092 that's true only with -std. */ 5093int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 5094 5095/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 5096 inside strings and character constants. */ 5097#define FOO(x) 'x' 5098int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 5099 5100int test (int i, double x); 5101struct s1 {int (*f) (int a);}; 5102struct s2 {int (*f) (double a);}; 5103int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 5104int argc; 5105char **argv; 5106int 5107main () 5108{ 5109return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 5110 ; 5111 return 0; 5112} 5113_ACEOF 5114for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 5115 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5116do 5117 CC="$ac_save_CC $ac_arg" 5118 if ac_fn_c_try_compile "$LINENO"; then : 5119 ac_cv_prog_cc_c89=$ac_arg 5120fi 5121rm -f core conftest.err conftest.$ac_objext 5122 test "x$ac_cv_prog_cc_c89" != "xno" && break 5123done 5124rm -f conftest.$ac_ext 5125CC=$ac_save_CC 5126 5127fi 5128# AC_CACHE_VAL 5129case "x$ac_cv_prog_cc_c89" in 5130 x) 5131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5132$as_echo "none needed" >&6; } ;; 5133 xno) 5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5135$as_echo "unsupported" >&6; } ;; 5136 *) 5137 CC="$CC $ac_cv_prog_cc_c89" 5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5139$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 5140esac 5141if test "x$ac_cv_prog_cc_c89" != xno; then : 5142 5143fi 5144 5145ac_ext=c 5146ac_cpp='$CPP $CPPFLAGS' 5147ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5148ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5149ac_compiler_gnu=$ac_cv_c_compiler_gnu 5150 5151depcc="$CC" am_compiler_list= 5152 5153{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5154$as_echo_n "checking dependency style of $depcc... " >&6; } 5155if ${am_cv_CC_dependencies_compiler_type+:} false; then : 5156 $as_echo_n "(cached) " >&6 5157else 5158 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5159 # We make a subdir and do the tests there. Otherwise we can end up 5160 # making bogus files that we don't know about and never remove. For 5161 # instance it was reported that on HP-UX the gcc test will end up 5162 # making a dummy file named 'D' -- because '-MD' means "put the output 5163 # in D". 5164 rm -rf conftest.dir 5165 mkdir conftest.dir 5166 # Copy depcomp to subdir because otherwise we won't find it if we're 5167 # using a relative directory. 5168 cp "$am_depcomp" conftest.dir 5169 cd conftest.dir 5170 # We will build objects and dependencies in a subdirectory because 5171 # it helps to detect inapplicable dependency modes. For instance 5172 # both Tru64's cc and ICC support -MD to output dependencies as a 5173 # side effect of compilation, but ICC will put the dependencies in 5174 # the current directory while Tru64 will put them in the object 5175 # directory. 5176 mkdir sub 5177 5178 am_cv_CC_dependencies_compiler_type=none 5179 if test "$am_compiler_list" = ""; then 5180 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5181 fi 5182 am__universal=false 5183 case " $depcc " in #( 5184 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5185 esac 5186 5187 for depmode in $am_compiler_list; do 5188 # Setup a source with many dependencies, because some compilers 5189 # like to wrap large dependency lists on column 80 (with \), and 5190 # we should not choose a depcomp mode which is confused by this. 5191 # 5192 # We need to recreate these files for each test, as the compiler may 5193 # overwrite some of them when testing with obscure command lines. 5194 # This happens at least with the AIX C compiler. 5195 : > sub/conftest.c 5196 for i in 1 2 3 4 5 6; do 5197 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5198 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5199 # Solaris 10 /bin/sh. 5200 echo '/* dummy */' > sub/conftst$i.h 5201 done 5202 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5203 5204 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5205 # mode. It turns out that the SunPro C++ compiler does not properly 5206 # handle '-M -o', and we need to detect this. Also, some Intel 5207 # versions had trouble with output in subdirs. 5208 am__obj=sub/conftest.${OBJEXT-o} 5209 am__minus_obj="-o $am__obj" 5210 case $depmode in 5211 gcc) 5212 # This depmode causes a compiler race in universal mode. 5213 test "$am__universal" = false || continue 5214 ;; 5215 nosideeffect) 5216 # After this tag, mechanisms are not by side-effect, so they'll 5217 # only be used when explicitly requested. 5218 if test "x$enable_dependency_tracking" = xyes; then 5219 continue 5220 else 5221 break 5222 fi 5223 ;; 5224 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5225 # This compiler won't grok '-c -o', but also, the minuso test has 5226 # not run yet. These depmodes are late enough in the game, and 5227 # so weak that their functioning should not be impacted. 5228 am__obj=conftest.${OBJEXT-o} 5229 am__minus_obj= 5230 ;; 5231 none) break ;; 5232 esac 5233 if depmode=$depmode \ 5234 source=sub/conftest.c object=$am__obj \ 5235 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5236 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5237 >/dev/null 2>conftest.err && 5238 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5239 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5240 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5241 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5242 # icc doesn't choke on unknown options, it will just issue warnings 5243 # or remarks (even with -Werror). So we grep stderr for any message 5244 # that says an option was ignored or not supported. 5245 # When given -MP, icc 7.0 and 7.1 complain thusly: 5246 # icc: Command line warning: ignoring option '-M'; no argument required 5247 # The diagnosis changed in icc 8.0: 5248 # icc: Command line remark: option '-MP' not supported 5249 if (grep 'ignoring option' conftest.err || 5250 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5251 am_cv_CC_dependencies_compiler_type=$depmode 5252 break 5253 fi 5254 fi 5255 done 5256 5257 cd .. 5258 rm -rf conftest.dir 5259else 5260 am_cv_CC_dependencies_compiler_type=none 5261fi 5262 5263fi 5264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5265$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 5266CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5267 5268 if 5269 test "x$enable_dependency_tracking" != xno \ 5270 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5271 am__fastdepCC_TRUE= 5272 am__fastdepCC_FALSE='#' 5273else 5274 am__fastdepCC_TRUE='#' 5275 am__fastdepCC_FALSE= 5276fi 5277 5278 5279ac_ext=cpp 5280ac_cpp='$CXXCPP $CPPFLAGS' 5281ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5282ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5283ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 5284if test -z "$CXX"; then 5285 if test -n "$CCC"; then 5286 CXX=$CCC 5287 else 5288 if test -n "$ac_tool_prefix"; then 5289 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5290 do 5291 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5292set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5294$as_echo_n "checking for $ac_word... " >&6; } 5295if ${ac_cv_prog_CXX+:} false; then : 5296 $as_echo_n "(cached) " >&6 5297else 5298 if test -n "$CXX"; then 5299 ac_cv_prog_CXX="$CXX" # Let the user override the test. 5300else 5301as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5302for as_dir in $PATH 5303do 5304 IFS=$as_save_IFS 5305 test -z "$as_dir" && as_dir=. 5306 for ac_exec_ext in '' $ac_executable_extensions; do 5307 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5308 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 5309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5310 break 2 5311 fi 5312done 5313 done 5314IFS=$as_save_IFS 5315 5316fi 5317fi 5318CXX=$ac_cv_prog_CXX 5319if test -n "$CXX"; then 5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 5321$as_echo "$CXX" >&6; } 5322else 5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5324$as_echo "no" >&6; } 5325fi 5326 5327 5328 test -n "$CXX" && break 5329 done 5330fi 5331if test -z "$CXX"; then 5332 ac_ct_CXX=$CXX 5333 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 5334do 5335 # Extract the first word of "$ac_prog", so it can be a program name with args. 5336set dummy $ac_prog; ac_word=$2 5337{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5338$as_echo_n "checking for $ac_word... " >&6; } 5339if ${ac_cv_prog_ac_ct_CXX+:} false; then : 5340 $as_echo_n "(cached) " >&6 5341else 5342 if test -n "$ac_ct_CXX"; then 5343 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 5344else 5345as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5346for as_dir in $PATH 5347do 5348 IFS=$as_save_IFS 5349 test -z "$as_dir" && as_dir=. 5350 for ac_exec_ext in '' $ac_executable_extensions; do 5351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5352 ac_cv_prog_ac_ct_CXX="$ac_prog" 5353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5354 break 2 5355 fi 5356done 5357 done 5358IFS=$as_save_IFS 5359 5360fi 5361fi 5362ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 5363if test -n "$ac_ct_CXX"; then 5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 5365$as_echo "$ac_ct_CXX" >&6; } 5366else 5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5368$as_echo "no" >&6; } 5369fi 5370 5371 5372 test -n "$ac_ct_CXX" && break 5373done 5374 5375 if test "x$ac_ct_CXX" = x; then 5376 CXX="g++" 5377 else 5378 case $cross_compiling:$ac_tool_warned in 5379yes:) 5380{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5381$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5382ac_tool_warned=yes ;; 5383esac 5384 CXX=$ac_ct_CXX 5385 fi 5386fi 5387 5388 fi 5389fi 5390# Provide some information about the compiler. 5391$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 5392set X $ac_compile 5393ac_compiler=$2 5394for ac_option in --version -v -V -qversion; do 5395 { { ac_try="$ac_compiler $ac_option >&5" 5396case "(($ac_try" in 5397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5398 *) ac_try_echo=$ac_try;; 5399esac 5400eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5401$as_echo "$ac_try_echo"; } >&5 5402 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5403 ac_status=$? 5404 if test -s conftest.err; then 5405 sed '10a\ 5406... rest of stderr output deleted ... 5407 10q' conftest.err >conftest.er1 5408 cat conftest.er1 >&5 5409 fi 5410 rm -f conftest.er1 conftest.err 5411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5412 test $ac_status = 0; } 5413done 5414 5415{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 5416$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 5417if ${ac_cv_cxx_compiler_gnu+:} false; then : 5418 $as_echo_n "(cached) " >&6 5419else 5420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5421/* end confdefs.h. */ 5422 5423int 5424main () 5425{ 5426#ifndef __GNUC__ 5427 choke me 5428#endif 5429 5430 ; 5431 return 0; 5432} 5433_ACEOF 5434if ac_fn_cxx_try_compile "$LINENO"; then : 5435 ac_compiler_gnu=yes 5436else 5437 ac_compiler_gnu=no 5438fi 5439rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5440ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 5441 5442fi 5443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 5444$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 5445if test $ac_compiler_gnu = yes; then 5446 GXX=yes 5447else 5448 GXX= 5449fi 5450ac_test_CXXFLAGS=${CXXFLAGS+set} 5451ac_save_CXXFLAGS=$CXXFLAGS 5452{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 5453$as_echo_n "checking whether $CXX accepts -g... " >&6; } 5454if ${ac_cv_prog_cxx_g+:} false; then : 5455 $as_echo_n "(cached) " >&6 5456else 5457 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 5458 ac_cxx_werror_flag=yes 5459 ac_cv_prog_cxx_g=no 5460 CXXFLAGS="-g" 5461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5462/* end confdefs.h. */ 5463 5464int 5465main () 5466{ 5467 5468 ; 5469 return 0; 5470} 5471_ACEOF 5472if ac_fn_cxx_try_compile "$LINENO"; then : 5473 ac_cv_prog_cxx_g=yes 5474else 5475 CXXFLAGS="" 5476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5477/* end confdefs.h. */ 5478 5479int 5480main () 5481{ 5482 5483 ; 5484 return 0; 5485} 5486_ACEOF 5487if ac_fn_cxx_try_compile "$LINENO"; then : 5488 5489else 5490 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5491 CXXFLAGS="-g" 5492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5493/* end confdefs.h. */ 5494 5495int 5496main () 5497{ 5498 5499 ; 5500 return 0; 5501} 5502_ACEOF 5503if ac_fn_cxx_try_compile "$LINENO"; then : 5504 ac_cv_prog_cxx_g=yes 5505fi 5506rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5507fi 5508rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5509fi 5510rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5511 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 5512fi 5513{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 5514$as_echo "$ac_cv_prog_cxx_g" >&6; } 5515if test "$ac_test_CXXFLAGS" = set; then 5516 CXXFLAGS=$ac_save_CXXFLAGS 5517elif test $ac_cv_prog_cxx_g = yes; then 5518 if test "$GXX" = yes; then 5519 CXXFLAGS="-g -O2" 5520 else 5521 CXXFLAGS="-g" 5522 fi 5523else 5524 if test "$GXX" = yes; then 5525 CXXFLAGS="-O2" 5526 else 5527 CXXFLAGS= 5528 fi 5529fi 5530ac_ext=c 5531ac_cpp='$CPP $CPPFLAGS' 5532ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5533ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5534ac_compiler_gnu=$ac_cv_c_compiler_gnu 5535 5536depcc="$CXX" am_compiler_list= 5537 5538{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5539$as_echo_n "checking dependency style of $depcc... " >&6; } 5540if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 5541 $as_echo_n "(cached) " >&6 5542else 5543 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5544 # We make a subdir and do the tests there. Otherwise we can end up 5545 # making bogus files that we don't know about and never remove. For 5546 # instance it was reported that on HP-UX the gcc test will end up 5547 # making a dummy file named 'D' -- because '-MD' means "put the output 5548 # in D". 5549 rm -rf conftest.dir 5550 mkdir conftest.dir 5551 # Copy depcomp to subdir because otherwise we won't find it if we're 5552 # using a relative directory. 5553 cp "$am_depcomp" conftest.dir 5554 cd conftest.dir 5555 # We will build objects and dependencies in a subdirectory because 5556 # it helps to detect inapplicable dependency modes. For instance 5557 # both Tru64's cc and ICC support -MD to output dependencies as a 5558 # side effect of compilation, but ICC will put the dependencies in 5559 # the current directory while Tru64 will put them in the object 5560 # directory. 5561 mkdir sub 5562 5563 am_cv_CXX_dependencies_compiler_type=none 5564 if test "$am_compiler_list" = ""; then 5565 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5566 fi 5567 am__universal=false 5568 case " $depcc " in #( 5569 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5570 esac 5571 5572 for depmode in $am_compiler_list; do 5573 # Setup a source with many dependencies, because some compilers 5574 # like to wrap large dependency lists on column 80 (with \), and 5575 # we should not choose a depcomp mode which is confused by this. 5576 # 5577 # We need to recreate these files for each test, as the compiler may 5578 # overwrite some of them when testing with obscure command lines. 5579 # This happens at least with the AIX C compiler. 5580 : > sub/conftest.c 5581 for i in 1 2 3 4 5 6; do 5582 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5583 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5584 # Solaris 10 /bin/sh. 5585 echo '/* dummy */' > sub/conftst$i.h 5586 done 5587 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5588 5589 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5590 # mode. It turns out that the SunPro C++ compiler does not properly 5591 # handle '-M -o', and we need to detect this. Also, some Intel 5592 # versions had trouble with output in subdirs. 5593 am__obj=sub/conftest.${OBJEXT-o} 5594 am__minus_obj="-o $am__obj" 5595 case $depmode in 5596 gcc) 5597 # This depmode causes a compiler race in universal mode. 5598 test "$am__universal" = false || continue 5599 ;; 5600 nosideeffect) 5601 # After this tag, mechanisms are not by side-effect, so they'll 5602 # only be used when explicitly requested. 5603 if test "x$enable_dependency_tracking" = xyes; then 5604 continue 5605 else 5606 break 5607 fi 5608 ;; 5609 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5610 # This compiler won't grok '-c -o', but also, the minuso test has 5611 # not run yet. These depmodes are late enough in the game, and 5612 # so weak that their functioning should not be impacted. 5613 am__obj=conftest.${OBJEXT-o} 5614 am__minus_obj= 5615 ;; 5616 none) break ;; 5617 esac 5618 if depmode=$depmode \ 5619 source=sub/conftest.c object=$am__obj \ 5620 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5621 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5622 >/dev/null 2>conftest.err && 5623 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5624 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5625 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5626 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5627 # icc doesn't choke on unknown options, it will just issue warnings 5628 # or remarks (even with -Werror). So we grep stderr for any message 5629 # that says an option was ignored or not supported. 5630 # When given -MP, icc 7.0 and 7.1 complain thusly: 5631 # icc: Command line warning: ignoring option '-M'; no argument required 5632 # The diagnosis changed in icc 8.0: 5633 # icc: Command line remark: option '-MP' not supported 5634 if (grep 'ignoring option' conftest.err || 5635 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5636 am_cv_CXX_dependencies_compiler_type=$depmode 5637 break 5638 fi 5639 fi 5640 done 5641 5642 cd .. 5643 rm -rf conftest.dir 5644else 5645 am_cv_CXX_dependencies_compiler_type=none 5646fi 5647 5648fi 5649{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 5650$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 5651CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 5652 5653 if 5654 test "x$enable_dependency_tracking" != xno \ 5655 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 5656 am__fastdepCXX_TRUE= 5657 am__fastdepCXX_FALSE='#' 5658else 5659 am__fastdepCXX_TRUE='#' 5660 am__fastdepCXX_FALSE= 5661fi 5662 5663 5664{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 5665$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 5666set x ${MAKE-make} 5667ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 5668if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 5669 $as_echo_n "(cached) " >&6 5670else 5671 cat >conftest.make <<\_ACEOF 5672SHELL = /bin/sh 5673all: 5674 @echo '@@@%%%=$(MAKE)=@@@%%%' 5675_ACEOF 5676# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 5677case `${MAKE-make} -f conftest.make 2>/dev/null` in 5678 *@@@%%%=?*=@@@%%%*) 5679 eval ac_cv_prog_make_${ac_make}_set=yes;; 5680 *) 5681 eval ac_cv_prog_make_${ac_make}_set=no;; 5682esac 5683rm -f conftest.make 5684fi 5685if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 5686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5687$as_echo "yes" >&6; } 5688 SET_MAKE= 5689else 5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5691$as_echo "no" >&6; } 5692 SET_MAKE="MAKE=${MAKE-make}" 5693fi 5694 5695if test "x$CC" != xcc; then 5696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 5697$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } 5698else 5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 5700$as_echo_n "checking whether cc understands -c and -o together... " >&6; } 5701fi 5702set dummy $CC; ac_cc=`$as_echo "$2" | 5703 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 5704if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then : 5705 $as_echo_n "(cached) " >&6 5706else 5707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5708/* end confdefs.h. */ 5709 5710int 5711main () 5712{ 5713 5714 ; 5715 return 0; 5716} 5717_ACEOF 5718# Make sure it works both with $CC and with simple cc. 5719# We do the test twice because some compilers refuse to overwrite an 5720# existing .o file with -o, though they will create one. 5721ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 5722rm -f conftest2.* 5723if { { case "(($ac_try" in 5724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5725 *) ac_try_echo=$ac_try;; 5726esac 5727eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5728$as_echo "$ac_try_echo"; } >&5 5729 (eval "$ac_try") 2>&5 5730 ac_status=$? 5731 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5732 test $ac_status = 0; } && 5733 test -f conftest2.$ac_objext && { { case "(($ac_try" in 5734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5735 *) ac_try_echo=$ac_try;; 5736esac 5737eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5738$as_echo "$ac_try_echo"; } >&5 5739 (eval "$ac_try") 2>&5 5740 ac_status=$? 5741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5742 test $ac_status = 0; }; 5743then 5744 eval ac_cv_prog_cc_${ac_cc}_c_o=yes 5745 if test "x$CC" != xcc; then 5746 # Test first that cc exists at all. 5747 if { ac_try='cc -c conftest.$ac_ext >&5' 5748 { { case "(($ac_try" in 5749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5750 *) ac_try_echo=$ac_try;; 5751esac 5752eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5753$as_echo "$ac_try_echo"; } >&5 5754 (eval "$ac_try") 2>&5 5755 ac_status=$? 5756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5757 test $ac_status = 0; }; }; then 5758 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' 5759 rm -f conftest2.* 5760 if { { case "(($ac_try" in 5761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5762 *) ac_try_echo=$ac_try;; 5763esac 5764eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5765$as_echo "$ac_try_echo"; } >&5 5766 (eval "$ac_try") 2>&5 5767 ac_status=$? 5768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5769 test $ac_status = 0; } && 5770 test -f conftest2.$ac_objext && { { case "(($ac_try" in 5771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5772 *) ac_try_echo=$ac_try;; 5773esac 5774eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5775$as_echo "$ac_try_echo"; } >&5 5776 (eval "$ac_try") 2>&5 5777 ac_status=$? 5778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5779 test $ac_status = 0; }; 5780 then 5781 # cc works too. 5782 : 5783 else 5784 # cc exists but doesn't like -o. 5785 eval ac_cv_prog_cc_${ac_cc}_c_o=no 5786 fi 5787 fi 5788 fi 5789else 5790 eval ac_cv_prog_cc_${ac_cc}_c_o=no 5791fi 5792rm -f core conftest* 5793 5794fi 5795if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then 5796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 5797$as_echo "yes" >&6; } 5798else 5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5800$as_echo "no" >&6; } 5801 5802$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h 5803 5804fi 5805 5806# FIXME: we rely on the cache variable name because 5807# there is no other way. 5808set dummy $CC 5809am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` 5810eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o 5811if test "$am_t" != yes; then 5812 # Losing compiler, so override with the script. 5813 # FIXME: It is wrong to rewrite CC. 5814 # But if we don't then we get into trouble of one sort or another. 5815 # A longer-term fix would be to have automake use am__CC in this case, 5816 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5817 CC="$am_aux_dir/compile $CC" 5818fi 5819 5820 5821if test -n "$ac_tool_prefix"; then 5822 for ac_prog in ar lib "link -lib" 5823 do 5824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5825set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5826{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5827$as_echo_n "checking for $ac_word... " >&6; } 5828if ${ac_cv_prog_AR+:} false; then : 5829 $as_echo_n "(cached) " >&6 5830else 5831 if test -n "$AR"; then 5832 ac_cv_prog_AR="$AR" # Let the user override the test. 5833else 5834as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5835for as_dir in $PATH 5836do 5837 IFS=$as_save_IFS 5838 test -z "$as_dir" && as_dir=. 5839 for ac_exec_ext in '' $ac_executable_extensions; do 5840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5841 ac_cv_prog_AR="$ac_tool_prefix$ac_prog" 5842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5843 break 2 5844 fi 5845done 5846 done 5847IFS=$as_save_IFS 5848 5849fi 5850fi 5851AR=$ac_cv_prog_AR 5852if test -n "$AR"; then 5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 5854$as_echo "$AR" >&6; } 5855else 5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5857$as_echo "no" >&6; } 5858fi 5859 5860 5861 test -n "$AR" && break 5862 done 5863fi 5864if test -z "$AR"; then 5865 ac_ct_AR=$AR 5866 for ac_prog in ar lib "link -lib" 5867do 5868 # Extract the first word of "$ac_prog", so it can be a program name with args. 5869set dummy $ac_prog; ac_word=$2 5870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5871$as_echo_n "checking for $ac_word... " >&6; } 5872if ${ac_cv_prog_ac_ct_AR+:} false; then : 5873 $as_echo_n "(cached) " >&6 5874else 5875 if test -n "$ac_ct_AR"; then 5876 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. 5877else 5878as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5879for as_dir in $PATH 5880do 5881 IFS=$as_save_IFS 5882 test -z "$as_dir" && as_dir=. 5883 for ac_exec_ext in '' $ac_executable_extensions; do 5884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5885 ac_cv_prog_ac_ct_AR="$ac_prog" 5886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 5887 break 2 5888 fi 5889done 5890 done 5891IFS=$as_save_IFS 5892 5893fi 5894fi 5895ac_ct_AR=$ac_cv_prog_ac_ct_AR 5896if test -n "$ac_ct_AR"; then 5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 5898$as_echo "$ac_ct_AR" >&6; } 5899else 5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 5901$as_echo "no" >&6; } 5902fi 5903 5904 5905 test -n "$ac_ct_AR" && break 5906done 5907 5908 if test "x$ac_ct_AR" = x; then 5909 AR="false" 5910 else 5911 case $cross_compiling:$ac_tool_warned in 5912yes:) 5913{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5914$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5915ac_tool_warned=yes ;; 5916esac 5917 AR=$ac_ct_AR 5918 fi 5919fi 5920 5921: ${AR=ar} 5922 5923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5 5924$as_echo_n "checking the archiver ($AR) interface... " >&6; } 5925if ${am_cv_ar_interface+:} false; then : 5926 $as_echo_n "(cached) " >&6 5927else 5928 am_cv_ar_interface=ar 5929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5930/* end confdefs.h. */ 5931int some_variable = 0; 5932_ACEOF 5933if ac_fn_c_try_compile "$LINENO"; then : 5934 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5' 5935 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 5936 (eval $am_ar_try) 2>&5 5937 ac_status=$? 5938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5939 test $ac_status = 0; } 5940 if test "$ac_status" -eq 0; then 5941 am_cv_ar_interface=ar 5942 else 5943 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5' 5944 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5 5945 (eval $am_ar_try) 2>&5 5946 ac_status=$? 5947 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5948 test $ac_status = 0; } 5949 if test "$ac_status" -eq 0; then 5950 am_cv_ar_interface=lib 5951 else 5952 am_cv_ar_interface=unknown 5953 fi 5954 fi 5955 rm -f conftest.lib libconftest.a 5956 5957fi 5958rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5959 5960fi 5961{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5 5962$as_echo "$am_cv_ar_interface" >&6; } 5963 5964case $am_cv_ar_interface in 5965ar) 5966 ;; 5967lib) 5968 # Microsoft lib, so override with the ar-lib wrapper script. 5969 # FIXME: It is wrong to rewrite AR. 5970 # But if we don't then we get into trouble of one sort or another. 5971 # A longer-term fix would be to have automake use am__AR in this case, 5972 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something 5973 # similar. 5974 AR="$am_aux_dir/ar-lib $AR" 5975 ;; 5976unknown) 5977 as_fn_error $? "could not determine $AR interface" "$LINENO" 5 5978 ;; 5979esac 5980 5981if test -n "$ac_tool_prefix"; then 5982 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 5983set dummy ${ac_tool_prefix}ranlib; ac_word=$2 5984{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5985$as_echo_n "checking for $ac_word... " >&6; } 5986if ${ac_cv_prog_RANLIB+:} false; then : 5987 $as_echo_n "(cached) " >&6 5988else 5989 if test -n "$RANLIB"; then 5990 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 5991else 5992as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5993for as_dir in $PATH 5994do 5995 IFS=$as_save_IFS 5996 test -z "$as_dir" && as_dir=. 5997 for ac_exec_ext in '' $ac_executable_extensions; do 5998 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 5999 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 6000 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6001 break 2 6002 fi 6003done 6004 done 6005IFS=$as_save_IFS 6006 6007fi 6008fi 6009RANLIB=$ac_cv_prog_RANLIB 6010if test -n "$RANLIB"; then 6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 6012$as_echo "$RANLIB" >&6; } 6013else 6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6015$as_echo "no" >&6; } 6016fi 6017 6018 6019fi 6020if test -z "$ac_cv_prog_RANLIB"; then 6021 ac_ct_RANLIB=$RANLIB 6022 # Extract the first word of "ranlib", so it can be a program name with args. 6023set dummy ranlib; ac_word=$2 6024{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6025$as_echo_n "checking for $ac_word... " >&6; } 6026if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 6027 $as_echo_n "(cached) " >&6 6028else 6029 if test -n "$ac_ct_RANLIB"; then 6030 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 6031else 6032as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6033for as_dir in $PATH 6034do 6035 IFS=$as_save_IFS 6036 test -z "$as_dir" && as_dir=. 6037 for ac_exec_ext in '' $ac_executable_extensions; do 6038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 6039 ac_cv_prog_ac_ct_RANLIB="ranlib" 6040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 6041 break 2 6042 fi 6043done 6044 done 6045IFS=$as_save_IFS 6046 6047fi 6048fi 6049ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 6050if test -n "$ac_ct_RANLIB"; then 6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 6052$as_echo "$ac_ct_RANLIB" >&6; } 6053else 6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6055$as_echo "no" >&6; } 6056fi 6057 6058 if test "x$ac_ct_RANLIB" = x; then 6059 RANLIB=":" 6060 else 6061 case $cross_compiling:$ac_tool_warned in 6062yes:) 6063{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6064$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6065ac_tool_warned=yes ;; 6066esac 6067 RANLIB=$ac_ct_RANLIB 6068 fi 6069else 6070 RANLIB="$ac_cv_prog_RANLIB" 6071fi 6072 6073ac_config_files="$ac_config_files po/Makefile.in Makefile lib/Makefile lib/chardetect/Makefile dailydeb.sh src/Makefile src/tests/Makefile data/Makefile" 6074 6075 6076# Checks for typedefs, structures, and compiler characteristics. 6077{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5 6078$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; } 6079if ${ac_cv_header_stdbool_h+:} false; then : 6080 $as_echo_n "(cached) " >&6 6081else 6082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6083/* end confdefs.h. */ 6084 6085 #include <stdbool.h> 6086 #ifndef bool 6087 "error: bool is not defined" 6088 #endif 6089 #ifndef false 6090 "error: false is not defined" 6091 #endif 6092 #if false 6093 "error: false is not 0" 6094 #endif 6095 #ifndef true 6096 "error: true is not defined" 6097 #endif 6098 #if true != 1 6099 "error: true is not 1" 6100 #endif 6101 #ifndef __bool_true_false_are_defined 6102 "error: __bool_true_false_are_defined is not defined" 6103 #endif 6104 6105 struct s { _Bool s: 1; _Bool t; } s; 6106 6107 char a[true == 1 ? 1 : -1]; 6108 char b[false == 0 ? 1 : -1]; 6109 char c[__bool_true_false_are_defined == 1 ? 1 : -1]; 6110 char d[(bool) 0.5 == true ? 1 : -1]; 6111 /* See body of main program for 'e'. */ 6112 char f[(_Bool) 0.0 == false ? 1 : -1]; 6113 char g[true]; 6114 char h[sizeof (_Bool)]; 6115 char i[sizeof s.t]; 6116 enum { j = false, k = true, l = false * true, m = true * 256 }; 6117 /* The following fails for 6118 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */ 6119 _Bool n[m]; 6120 char o[sizeof n == m * sizeof n[0] ? 1 : -1]; 6121 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1]; 6122 /* Catch a bug in an HP-UX C compiler. See 6123 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html 6124 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html 6125 */ 6126 _Bool q = true; 6127 _Bool *pq = &q; 6128 6129int 6130main () 6131{ 6132 6133 bool e = &s; 6134 *pq |= q; 6135 *pq |= ! q; 6136 /* Refer to every declared value, to avoid compiler optimizations. */ 6137 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l 6138 + !m + !n + !o + !p + !q + !pq); 6139 6140 ; 6141 return 0; 6142} 6143_ACEOF 6144if ac_fn_c_try_compile "$LINENO"; then : 6145 ac_cv_header_stdbool_h=yes 6146else 6147 ac_cv_header_stdbool_h=no 6148fi 6149rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6150fi 6151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5 6152$as_echo "$ac_cv_header_stdbool_h" >&6; } 6153 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default" 6154if test "x$ac_cv_type__Bool" = xyes; then : 6155 6156cat >>confdefs.h <<_ACEOF 6157#define HAVE__BOOL 1 6158_ACEOF 6159 6160 6161fi 6162 6163 6164if test $ac_cv_header_stdbool_h = yes; then 6165 6166$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h 6167 6168fi 6169 6170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 6171$as_echo_n "checking for inline... " >&6; } 6172if ${ac_cv_c_inline+:} false; then : 6173 $as_echo_n "(cached) " >&6 6174else 6175 ac_cv_c_inline=no 6176for ac_kw in inline __inline__ __inline; do 6177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6178/* end confdefs.h. */ 6179#ifndef __cplusplus 6180typedef int foo_t; 6181static $ac_kw foo_t static_foo () {return 0; } 6182$ac_kw foo_t foo () {return 0; } 6183#endif 6184 6185_ACEOF 6186if ac_fn_c_try_compile "$LINENO"; then : 6187 ac_cv_c_inline=$ac_kw 6188fi 6189rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6190 test "$ac_cv_c_inline" != no && break 6191done 6192 6193fi 6194{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 6195$as_echo "$ac_cv_c_inline" >&6; } 6196 6197case $ac_cv_c_inline in 6198 inline | yes) ;; 6199 *) 6200 case $ac_cv_c_inline in 6201 no) ac_val=;; 6202 *) ac_val=$ac_cv_c_inline;; 6203 esac 6204 cat >>confdefs.h <<_ACEOF 6205#ifndef __cplusplus 6206#define inline $ac_val 6207#endif 6208_ACEOF 6209 ;; 6210esac 6211 6212ac_fn_c_find_intX_t "$LINENO" "32" "ac_cv_c_int32_t" 6213case $ac_cv_c_int32_t in #( 6214 no|yes) ;; #( 6215 *) 6216 6217cat >>confdefs.h <<_ACEOF 6218#define int32_t $ac_cv_c_int32_t 6219_ACEOF 6220;; 6221esac 6222 6223ac_fn_c_find_intX_t "$LINENO" "64" "ac_cv_c_int64_t" 6224case $ac_cv_c_int64_t in #( 6225 no|yes) ;; #( 6226 *) 6227 6228cat >>confdefs.h <<_ACEOF 6229#define int64_t $ac_cv_c_int64_t 6230_ACEOF 6231;; 6232esac 6233 6234ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default" 6235if test "x$ac_cv_type_pid_t" = xyes; then : 6236 6237else 6238 6239cat >>confdefs.h <<_ACEOF 6240#define pid_t int 6241_ACEOF 6242 6243fi 6244 6245ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 6246if test "x$ac_cv_type_size_t" = xyes; then : 6247 6248else 6249 6250cat >>confdefs.h <<_ACEOF 6251#define size_t unsigned int 6252_ACEOF 6253 6254fi 6255 6256ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default" 6257if test "x$ac_cv_type_ssize_t" = xyes; then : 6258 6259else 6260 6261cat >>confdefs.h <<_ACEOF 6262#define ssize_t int 6263_ACEOF 6264 6265fi 6266 6267 6268# Checks for library functions. 6269# AM_GNU_GETTEXT 6270for ac_header in vfork.h 6271do : 6272 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default" 6273if test "x$ac_cv_header_vfork_h" = xyes; then : 6274 cat >>confdefs.h <<_ACEOF 6275#define HAVE_VFORK_H 1 6276_ACEOF 6277 6278fi 6279 6280done 6281 6282for ac_func in fork vfork 6283do : 6284 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6285ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6286if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 6287 cat >>confdefs.h <<_ACEOF 6288#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6289_ACEOF 6290 6291fi 6292done 6293 6294if test "x$ac_cv_func_fork" = xyes; then 6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5 6296$as_echo_n "checking for working fork... " >&6; } 6297if ${ac_cv_func_fork_works+:} false; then : 6298 $as_echo_n "(cached) " >&6 6299else 6300 if test "$cross_compiling" = yes; then : 6301 ac_cv_func_fork_works=cross 6302else 6303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6304/* end confdefs.h. */ 6305$ac_includes_default 6306int 6307main () 6308{ 6309 6310 /* By Ruediger Kuhlmann. */ 6311 return fork () < 0; 6312 6313 ; 6314 return 0; 6315} 6316_ACEOF 6317if ac_fn_c_try_run "$LINENO"; then : 6318 ac_cv_func_fork_works=yes 6319else 6320 ac_cv_func_fork_works=no 6321fi 6322rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6323 conftest.$ac_objext conftest.beam conftest.$ac_ext 6324fi 6325 6326fi 6327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5 6328$as_echo "$ac_cv_func_fork_works" >&6; } 6329 6330else 6331 ac_cv_func_fork_works=$ac_cv_func_fork 6332fi 6333if test "x$ac_cv_func_fork_works" = xcross; then 6334 case $host in 6335 *-*-amigaos* | *-*-msdosdjgpp*) 6336 # Override, as these systems have only a dummy fork() stub 6337 ac_cv_func_fork_works=no 6338 ;; 6339 *) 6340 ac_cv_func_fork_works=yes 6341 ;; 6342 esac 6343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5 6344$as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;} 6345fi 6346ac_cv_func_vfork_works=$ac_cv_func_vfork 6347if test "x$ac_cv_func_vfork" = xyes; then 6348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5 6349$as_echo_n "checking for working vfork... " >&6; } 6350if ${ac_cv_func_vfork_works+:} false; then : 6351 $as_echo_n "(cached) " >&6 6352else 6353 if test "$cross_compiling" = yes; then : 6354 ac_cv_func_vfork_works=cross 6355else 6356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6357/* end confdefs.h. */ 6358/* Thanks to Paul Eggert for this test. */ 6359$ac_includes_default 6360#include <sys/wait.h> 6361#ifdef HAVE_VFORK_H 6362# include <vfork.h> 6363#endif 6364/* On some sparc systems, changes by the child to local and incoming 6365 argument registers are propagated back to the parent. The compiler 6366 is told about this with #include <vfork.h>, but some compilers 6367 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a 6368 static variable whose address is put into a register that is 6369 clobbered by the vfork. */ 6370static void 6371#ifdef __cplusplus 6372sparc_address_test (int arg) 6373# else 6374sparc_address_test (arg) int arg; 6375#endif 6376{ 6377 static pid_t child; 6378 if (!child) { 6379 child = vfork (); 6380 if (child < 0) { 6381 perror ("vfork"); 6382 _exit(2); 6383 } 6384 if (!child) { 6385 arg = getpid(); 6386 write(-1, "", 0); 6387 _exit (arg); 6388 } 6389 } 6390} 6391 6392int 6393main () 6394{ 6395 pid_t parent = getpid (); 6396 pid_t child; 6397 6398 sparc_address_test (0); 6399 6400 child = vfork (); 6401 6402 if (child == 0) { 6403 /* Here is another test for sparc vfork register problems. This 6404 test uses lots of local variables, at least as many local 6405 variables as main has allocated so far including compiler 6406 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris 6407 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should 6408 reuse the register of parent for one of the local variables, 6409 since it will think that parent can't possibly be used any more 6410 in this routine. Assigning to the local variable will thus 6411 munge parent in the parent process. */ 6412 pid_t 6413 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(), 6414 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid(); 6415 /* Convince the compiler that p..p7 are live; otherwise, it might 6416 use the same hardware register for all 8 local variables. */ 6417 if (p != p1 || p != p2 || p != p3 || p != p4 6418 || p != p5 || p != p6 || p != p7) 6419 _exit(1); 6420 6421 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent 6422 from child file descriptors. If the child closes a descriptor 6423 before it execs or exits, this munges the parent's descriptor 6424 as well. Test for this by closing stdout in the child. */ 6425 _exit(close(fileno(stdout)) != 0); 6426 } else { 6427 int status; 6428 struct stat st; 6429 6430 while (wait(&status) != child) 6431 ; 6432 return ( 6433 /* Was there some problem with vforking? */ 6434 child < 0 6435 6436 /* Did the child fail? (This shouldn't happen.) */ 6437 || status 6438 6439 /* Did the vfork/compiler bug occur? */ 6440 || parent != getpid() 6441 6442 /* Did the file descriptor bug occur? */ 6443 || fstat(fileno(stdout), &st) != 0 6444 ); 6445 } 6446} 6447_ACEOF 6448if ac_fn_c_try_run "$LINENO"; then : 6449 ac_cv_func_vfork_works=yes 6450else 6451 ac_cv_func_vfork_works=no 6452fi 6453rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6454 conftest.$ac_objext conftest.beam conftest.$ac_ext 6455fi 6456 6457fi 6458{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5 6459$as_echo "$ac_cv_func_vfork_works" >&6; } 6460 6461fi; 6462if test "x$ac_cv_func_fork_works" = xcross; then 6463 ac_cv_func_vfork_works=$ac_cv_func_vfork 6464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5 6465$as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;} 6466fi 6467 6468if test "x$ac_cv_func_vfork_works" = xyes; then 6469 6470$as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h 6471 6472else 6473 6474$as_echo "#define vfork fork" >>confdefs.h 6475 6476fi 6477if test "x$ac_cv_func_fork_works" = xyes; then 6478 6479$as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h 6480 6481fi 6482 6483for ac_header in stdlib.h 6484do : 6485 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 6486if test "x$ac_cv_header_stdlib_h" = xyes; then : 6487 cat >>confdefs.h <<_ACEOF 6488#define HAVE_STDLIB_H 1 6489_ACEOF 6490 6491fi 6492 6493done 6494 6495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5 6496$as_echo_n "checking for GNU libc compatible malloc... " >&6; } 6497if ${ac_cv_func_malloc_0_nonnull+:} false; then : 6498 $as_echo_n "(cached) " >&6 6499else 6500 if test "$cross_compiling" = yes; then : 6501 ac_cv_func_malloc_0_nonnull=no 6502else 6503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6504/* end confdefs.h. */ 6505#if defined STDC_HEADERS || defined HAVE_STDLIB_H 6506# include <stdlib.h> 6507#else 6508char *malloc (); 6509#endif 6510 6511int 6512main () 6513{ 6514return ! malloc (0); 6515 ; 6516 return 0; 6517} 6518_ACEOF 6519if ac_fn_c_try_run "$LINENO"; then : 6520 ac_cv_func_malloc_0_nonnull=yes 6521else 6522 ac_cv_func_malloc_0_nonnull=no 6523fi 6524rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6525 conftest.$ac_objext conftest.beam conftest.$ac_ext 6526fi 6527 6528fi 6529{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5 6530$as_echo "$ac_cv_func_malloc_0_nonnull" >&6; } 6531if test $ac_cv_func_malloc_0_nonnull = yes; then : 6532 6533$as_echo "#define HAVE_MALLOC 1" >>confdefs.h 6534 6535else 6536 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h 6537 6538 case " $LIBOBJS " in 6539 *" malloc.$ac_objext "* ) ;; 6540 *) LIBOBJS="$LIBOBJS malloc.$ac_objext" 6541 ;; 6542esac 6543 6544 6545$as_echo "#define malloc rpl_malloc" >>confdefs.h 6546 6547fi 6548 6549 6550for ac_header in stdlib.h 6551do : 6552 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default" 6553if test "x$ac_cv_header_stdlib_h" = xyes; then : 6554 cat >>confdefs.h <<_ACEOF 6555#define HAVE_STDLIB_H 1 6556_ACEOF 6557 6558fi 6559 6560done 6561 6562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5 6563$as_echo_n "checking for GNU libc compatible realloc... " >&6; } 6564if ${ac_cv_func_realloc_0_nonnull+:} false; then : 6565 $as_echo_n "(cached) " >&6 6566else 6567 if test "$cross_compiling" = yes; then : 6568 ac_cv_func_realloc_0_nonnull=no 6569else 6570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 6571/* end confdefs.h. */ 6572#if defined STDC_HEADERS || defined HAVE_STDLIB_H 6573# include <stdlib.h> 6574#else 6575char *realloc (); 6576#endif 6577 6578int 6579main () 6580{ 6581return ! realloc (0, 0); 6582 ; 6583 return 0; 6584} 6585_ACEOF 6586if ac_fn_c_try_run "$LINENO"; then : 6587 ac_cv_func_realloc_0_nonnull=yes 6588else 6589 ac_cv_func_realloc_0_nonnull=no 6590fi 6591rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 6592 conftest.$ac_objext conftest.beam conftest.$ac_ext 6593fi 6594 6595fi 6596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5 6597$as_echo "$ac_cv_func_realloc_0_nonnull" >&6; } 6598if test $ac_cv_func_realloc_0_nonnull = yes; then : 6599 6600$as_echo "#define HAVE_REALLOC 1" >>confdefs.h 6601 6602else 6603 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h 6604 6605 case " $LIBOBJS " in 6606 *" realloc.$ac_objext "* ) ;; 6607 *) LIBOBJS="$LIBOBJS realloc.$ac_objext" 6608 ;; 6609esac 6610 6611 6612$as_echo "#define realloc rpl_realloc" >>confdefs.h 6613 6614fi 6615 6616 6617for ac_func in ftruncate gettimeofday memset pathconf sqrt strcasecmp strchr strdup strerror strrchr strstr 6618do : 6619 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 6620ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 6621if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 6622 cat >>confdefs.h <<_ACEOF 6623#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 6624_ACEOF 6625 6626fi 6627done 6628 6629# Make sure we can run config.sub. 6630$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || 6631 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 6632 6633{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 6634$as_echo_n "checking build system type... " >&6; } 6635if ${ac_cv_build+:} false; then : 6636 $as_echo_n "(cached) " >&6 6637else 6638 ac_build_alias=$build_alias 6639test "x$ac_build_alias" = x && 6640 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` 6641test "x$ac_build_alias" = x && 6642 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 6643ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || 6644 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 6645 6646fi 6647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 6648$as_echo "$ac_cv_build" >&6; } 6649case $ac_cv_build in 6650*-*-*) ;; 6651*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 6652esac 6653build=$ac_cv_build 6654ac_save_IFS=$IFS; IFS='-' 6655set x $ac_cv_build 6656shift 6657build_cpu=$1 6658build_vendor=$2 6659shift; shift 6660# Remember, the first character of IFS is used to create $*, 6661# except with old shells: 6662build_os=$* 6663IFS=$ac_save_IFS 6664case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 6665 6666 6667{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 6668$as_echo_n "checking host system type... " >&6; } 6669if ${ac_cv_host+:} false; then : 6670 $as_echo_n "(cached) " >&6 6671else 6672 if test "x$host_alias" = x; then 6673 ac_cv_host=$ac_cv_build 6674else 6675 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || 6676 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 6677fi 6678 6679fi 6680{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 6681$as_echo "$ac_cv_host" >&6; } 6682case $ac_cv_host in 6683*-*-*) ;; 6684*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 6685esac 6686host=$ac_cv_host 6687ac_save_IFS=$IFS; IFS='-' 6688set x $ac_cv_host 6689shift 6690host_cpu=$1 6691host_vendor=$2 6692shift; shift 6693# Remember, the first character of IFS is used to create $*, 6694# except with old shells: 6695host_os=$* 6696IFS=$ac_save_IFS 6697case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 6698 6699 6700 6701 if test "X$prefix" = "XNONE"; then 6702 acl_final_prefix="$ac_default_prefix" 6703 else 6704 acl_final_prefix="$prefix" 6705 fi 6706 if test "X$exec_prefix" = "XNONE"; then 6707 acl_final_exec_prefix='${prefix}' 6708 else 6709 acl_final_exec_prefix="$exec_prefix" 6710 fi 6711 acl_save_prefix="$prefix" 6712 prefix="$acl_final_prefix" 6713 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\" 6714 prefix="$acl_save_prefix" 6715 6716 6717# Check whether --with-gnu-ld was given. 6718if test "${with_gnu_ld+set}" = set; then : 6719 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes 6720else 6721 with_gnu_ld=no 6722fi 6723 6724# Prepare PATH_SEPARATOR. 6725# The user is always right. 6726if test "${PATH_SEPARATOR+set}" != set; then 6727 echo "#! /bin/sh" >conf$$.sh 6728 echo "exit 0" >>conf$$.sh 6729 chmod +x conf$$.sh 6730 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 6731 PATH_SEPARATOR=';' 6732 else 6733 PATH_SEPARATOR=: 6734 fi 6735 rm -f conf$$.sh 6736fi 6737ac_prog=ld 6738if test "$GCC" = yes; then 6739 # Check if gcc -print-prog-name=ld gives a path. 6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 6741$as_echo_n "checking for ld used by GCC... " >&6; } 6742 case $host in 6743 *-*-mingw*) 6744 # gcc leaves a trailing carriage return which upsets mingw 6745 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; 6746 *) 6747 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; 6748 esac 6749 case $ac_prog in 6750 # Accept absolute paths. 6751 [\\/]* | [A-Za-z]:[\\/]*) 6752 re_direlt='/[^/][^/]*/\.\./' 6753 # Canonicalize the path of ld 6754 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` 6755 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do 6756 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` 6757 done 6758 test -z "$LD" && LD="$ac_prog" 6759 ;; 6760 "") 6761 # If it fails, then pretend we aren't using GCC. 6762 ac_prog=ld 6763 ;; 6764 *) 6765 # If it is relative, then search for the first ld in PATH. 6766 with_gnu_ld=unknown 6767 ;; 6768 esac 6769elif test "$with_gnu_ld" = yes; then 6770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 6771$as_echo_n "checking for GNU ld... " >&6; } 6772else 6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 6774$as_echo_n "checking for non-GNU ld... " >&6; } 6775fi 6776if ${acl_cv_path_LD+:} false; then : 6777 $as_echo_n "(cached) " >&6 6778else 6779 if test -z "$LD"; then 6780 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}" 6781 for ac_dir in $PATH; do 6782 test -z "$ac_dir" && ac_dir=. 6783 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then 6784 acl_cv_path_LD="$ac_dir/$ac_prog" 6785 # Check to see if the program is GNU ld. I'd rather use --version, 6786 # but apparently some GNU ld's only accept -v. 6787 # Break only if it was the GNU/non-GNU ld that we prefer. 6788 case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in 6789 *GNU* | *'with BFD'*) 6790 test "$with_gnu_ld" != no && break ;; 6791 *) 6792 test "$with_gnu_ld" != yes && break ;; 6793 esac 6794 fi 6795 done 6796 IFS="$ac_save_ifs" 6797else 6798 acl_cv_path_LD="$LD" # Let the user override the test with a path. 6799fi 6800fi 6801 6802LD="$acl_cv_path_LD" 6803if test -n "$LD"; then 6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 6805$as_echo "$LD" >&6; } 6806else 6807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 6808$as_echo "no" >&6; } 6809fi 6810test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 6811{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 6812$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } 6813if ${acl_cv_prog_gnu_ld+:} false; then : 6814 $as_echo_n "(cached) " >&6 6815else 6816 # I'd rather use --version here, but apparently some GNU ld's only accept -v. 6817case `$LD -v 2>&1 </dev/null` in 6818*GNU* | *'with BFD'*) 6819 acl_cv_prog_gnu_ld=yes ;; 6820*) 6821 acl_cv_prog_gnu_ld=no ;; 6822esac 6823fi 6824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 6825$as_echo "$acl_cv_prog_gnu_ld" >&6; } 6826with_gnu_ld=$acl_cv_prog_gnu_ld 6827 6828 6829 6830 6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 6832$as_echo_n "checking for shared library run path origin... " >&6; } 6833if ${acl_cv_rpath+:} false; then : 6834 $as_echo_n "(cached) " >&6 6835else 6836 6837 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \ 6838 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh 6839 . ./conftest.sh 6840 rm -f ./conftest.sh 6841 acl_cv_rpath=done 6842 6843fi 6844{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 6845$as_echo "$acl_cv_rpath" >&6; } 6846 wl="$acl_cv_wl" 6847 acl_libext="$acl_cv_libext" 6848 acl_shlibext="$acl_cv_shlibext" 6849 acl_libname_spec="$acl_cv_libname_spec" 6850 acl_library_names_spec="$acl_cv_library_names_spec" 6851 acl_hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec" 6852 acl_hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator" 6853 acl_hardcode_direct="$acl_cv_hardcode_direct" 6854 acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" 6855 # Check whether --enable-rpath was given. 6856if test "${enable_rpath+set}" = set; then : 6857 enableval=$enable_rpath; : 6858else 6859 enable_rpath=yes 6860fi 6861 6862 6863 6864 acl_libdirstem=lib 6865 searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'` 6866 if test -n "$searchpath"; then 6867 acl_save_IFS="${IFS= }"; IFS=":" 6868 for searchdir in $searchpath; do 6869 if test -d "$searchdir"; then 6870 case "$searchdir" in 6871 */lib64/ | */lib64 ) acl_libdirstem=lib64 ;; 6872 *) searchdir=`cd "$searchdir" && pwd` 6873 case "$searchdir" in 6874 */lib64 ) acl_libdirstem=lib64 ;; 6875 esac ;; 6876 esac 6877 fi 6878 done 6879 IFS="$acl_save_IFS" 6880 fi 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 use_additional=yes 6891 6892 acl_save_prefix="$prefix" 6893 prefix="$acl_final_prefix" 6894 acl_save_exec_prefix="$exec_prefix" 6895 exec_prefix="$acl_final_exec_prefix" 6896 6897 eval additional_includedir=\"$includedir\" 6898 eval additional_libdir=\"$libdir\" 6899 6900 exec_prefix="$acl_save_exec_prefix" 6901 prefix="$acl_save_prefix" 6902 6903 6904# Check whether --with-libiconv-prefix was given. 6905if test "${with_libiconv_prefix+set}" = set; then : 6906 withval=$with_libiconv_prefix; 6907 if test "X$withval" = "Xno"; then 6908 use_additional=no 6909 else 6910 if test "X$withval" = "X"; then 6911 6912 acl_save_prefix="$prefix" 6913 prefix="$acl_final_prefix" 6914 acl_save_exec_prefix="$exec_prefix" 6915 exec_prefix="$acl_final_exec_prefix" 6916 6917 eval additional_includedir=\"$includedir\" 6918 eval additional_libdir=\"$libdir\" 6919 6920 exec_prefix="$acl_save_exec_prefix" 6921 prefix="$acl_save_prefix" 6922 6923 else 6924 additional_includedir="$withval/include" 6925 additional_libdir="$withval/$acl_libdirstem" 6926 fi 6927 fi 6928 6929fi 6930 6931 LIBICONV= 6932 LTLIBICONV= 6933 INCICONV= 6934 LIBICONV_PREFIX= 6935 rpathdirs= 6936 ltrpathdirs= 6937 names_already_handled= 6938 names_next_round='iconv ' 6939 while test -n "$names_next_round"; do 6940 names_this_round="$names_next_round" 6941 names_next_round= 6942 for name in $names_this_round; do 6943 already_handled= 6944 for n in $names_already_handled; do 6945 if test "$n" = "$name"; then 6946 already_handled=yes 6947 break 6948 fi 6949 done 6950 if test -z "$already_handled"; then 6951 names_already_handled="$names_already_handled $name" 6952 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'` 6953 eval value=\"\$HAVE_LIB$uppername\" 6954 if test -n "$value"; then 6955 if test "$value" = yes; then 6956 eval value=\"\$LIB$uppername\" 6957 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value" 6958 eval value=\"\$LTLIB$uppername\" 6959 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value" 6960 else 6961 : 6962 fi 6963 else 6964 found_dir= 6965 found_la= 6966 found_so= 6967 found_a= 6968 eval libname=\"$acl_libname_spec\" # typically: libname=lib$name 6969 if test -n "$acl_shlibext"; then 6970 shrext=".$acl_shlibext" # typically: shrext=.so 6971 else 6972 shrext= 6973 fi 6974 if test $use_additional = yes; then 6975 dir="$additional_libdir" 6976 if test -n "$acl_shlibext"; then 6977 if test -f "$dir/$libname$shrext"; then 6978 found_dir="$dir" 6979 found_so="$dir/$libname$shrext" 6980 else 6981 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 6982 ver=`(cd "$dir" && \ 6983 for f in "$libname$shrext".*; do echo "$f"; done \ 6984 | sed -e "s,^$libname$shrext\\\\.,," \ 6985 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 6986 | sed 1q ) 2>/dev/null` 6987 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 6988 found_dir="$dir" 6989 found_so="$dir/$libname$shrext.$ver" 6990 fi 6991 else 6992 eval library_names=\"$acl_library_names_spec\" 6993 for f in $library_names; do 6994 if test -f "$dir/$f"; then 6995 found_dir="$dir" 6996 found_so="$dir/$f" 6997 break 6998 fi 6999 done 7000 fi 7001 fi 7002 fi 7003 if test "X$found_dir" = "X"; then 7004 if test -f "$dir/$libname.$acl_libext"; then 7005 found_dir="$dir" 7006 found_a="$dir/$libname.$acl_libext" 7007 fi 7008 fi 7009 if test "X$found_dir" != "X"; then 7010 if test -f "$dir/$libname.la"; then 7011 found_la="$dir/$libname.la" 7012 fi 7013 fi 7014 fi 7015 if test "X$found_dir" = "X"; then 7016 for x in $LDFLAGS $LTLIBICONV; do 7017 7018 acl_save_prefix="$prefix" 7019 prefix="$acl_final_prefix" 7020 acl_save_exec_prefix="$exec_prefix" 7021 exec_prefix="$acl_final_exec_prefix" 7022 eval x=\"$x\" 7023 exec_prefix="$acl_save_exec_prefix" 7024 prefix="$acl_save_prefix" 7025 7026 case "$x" in 7027 -L*) 7028 dir=`echo "X$x" | sed -e 's/^X-L//'` 7029 if test -n "$acl_shlibext"; then 7030 if test -f "$dir/$libname$shrext"; then 7031 found_dir="$dir" 7032 found_so="$dir/$libname$shrext" 7033 else 7034 if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then 7035 ver=`(cd "$dir" && \ 7036 for f in "$libname$shrext".*; do echo "$f"; done \ 7037 | sed -e "s,^$libname$shrext\\\\.,," \ 7038 | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \ 7039 | sed 1q ) 2>/dev/null` 7040 if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then 7041 found_dir="$dir" 7042 found_so="$dir/$libname$shrext.$ver" 7043 fi 7044 else 7045 eval library_names=\"$acl_library_names_spec\" 7046 for f in $library_names; do 7047 if test -f "$dir/$f"; then 7048 found_dir="$dir" 7049 found_so="$dir/$f" 7050 break 7051 fi 7052 done 7053 fi 7054 fi 7055 fi 7056 if test "X$found_dir" = "X"; then 7057 if test -f "$dir/$libname.$acl_libext"; then 7058 found_dir="$dir" 7059 found_a="$dir/$libname.$acl_libext" 7060 fi 7061 fi 7062 if test "X$found_dir" != "X"; then 7063 if test -f "$dir/$libname.la"; then 7064 found_la="$dir/$libname.la" 7065 fi 7066 fi 7067 ;; 7068 esac 7069 if test "X$found_dir" != "X"; then 7070 break 7071 fi 7072 done 7073 fi 7074 if test "X$found_dir" != "X"; then 7075 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name" 7076 if test "X$found_so" != "X"; then 7077 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then 7078 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 7079 else 7080 haveit= 7081 for x in $ltrpathdirs; do 7082 if test "X$x" = "X$found_dir"; then 7083 haveit=yes 7084 break 7085 fi 7086 done 7087 if test -z "$haveit"; then 7088 ltrpathdirs="$ltrpathdirs $found_dir" 7089 fi 7090 if test "$acl_hardcode_direct" = yes; then 7091 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 7092 else 7093 if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then 7094 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 7095 haveit= 7096 for x in $rpathdirs; do 7097 if test "X$x" = "X$found_dir"; then 7098 haveit=yes 7099 break 7100 fi 7101 done 7102 if test -z "$haveit"; then 7103 rpathdirs="$rpathdirs $found_dir" 7104 fi 7105 else 7106 haveit= 7107 for x in $LDFLAGS $LIBICONV; do 7108 7109 acl_save_prefix="$prefix" 7110 prefix="$acl_final_prefix" 7111 acl_save_exec_prefix="$exec_prefix" 7112 exec_prefix="$acl_final_exec_prefix" 7113 eval x=\"$x\" 7114 exec_prefix="$acl_save_exec_prefix" 7115 prefix="$acl_save_prefix" 7116 7117 if test "X$x" = "X-L$found_dir"; then 7118 haveit=yes 7119 break 7120 fi 7121 done 7122 if test -z "$haveit"; then 7123 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir" 7124 fi 7125 if test "$acl_hardcode_minus_L" != no; then 7126 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so" 7127 else 7128 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 7129 fi 7130 fi 7131 fi 7132 fi 7133 else 7134 if test "X$found_a" != "X"; then 7135 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a" 7136 else 7137 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name" 7138 fi 7139 fi 7140 additional_includedir= 7141 case "$found_dir" in 7142 */$acl_libdirstem | */$acl_libdirstem/) 7143 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'` 7144 LIBICONV_PREFIX="$basedir" 7145 additional_includedir="$basedir/include" 7146 ;; 7147 esac 7148 if test "X$additional_includedir" != "X"; then 7149 if test "X$additional_includedir" != "X/usr/include"; then 7150 haveit= 7151 if test "X$additional_includedir" = "X/usr/local/include"; then 7152 if test -n "$GCC"; then 7153 case $host_os in 7154 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 7155 esac 7156 fi 7157 fi 7158 if test -z "$haveit"; then 7159 for x in $CPPFLAGS $INCICONV; do 7160 7161 acl_save_prefix="$prefix" 7162 prefix="$acl_final_prefix" 7163 acl_save_exec_prefix="$exec_prefix" 7164 exec_prefix="$acl_final_exec_prefix" 7165 eval x=\"$x\" 7166 exec_prefix="$acl_save_exec_prefix" 7167 prefix="$acl_save_prefix" 7168 7169 if test "X$x" = "X-I$additional_includedir"; then 7170 haveit=yes 7171 break 7172 fi 7173 done 7174 if test -z "$haveit"; then 7175 if test -d "$additional_includedir"; then 7176 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir" 7177 fi 7178 fi 7179 fi 7180 fi 7181 fi 7182 if test -n "$found_la"; then 7183 save_libdir="$libdir" 7184 case "$found_la" in 7185 */* | *\\*) . "$found_la" ;; 7186 *) . "./$found_la" ;; 7187 esac 7188 libdir="$save_libdir" 7189 for dep in $dependency_libs; do 7190 case "$dep" in 7191 -L*) 7192 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'` 7193 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then 7194 haveit= 7195 if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then 7196 if test -n "$GCC"; then 7197 case $host_os in 7198 linux* | gnu* | k*bsd*-gnu) haveit=yes;; 7199 esac 7200 fi 7201 fi 7202 if test -z "$haveit"; then 7203 haveit= 7204 for x in $LDFLAGS $LIBICONV; do 7205 7206 acl_save_prefix="$prefix" 7207 prefix="$acl_final_prefix" 7208 acl_save_exec_prefix="$exec_prefix" 7209 exec_prefix="$acl_final_exec_prefix" 7210 eval x=\"$x\" 7211 exec_prefix="$acl_save_exec_prefix" 7212 prefix="$acl_save_prefix" 7213 7214 if test "X$x" = "X-L$additional_libdir"; then 7215 haveit=yes 7216 break 7217 fi 7218 done 7219 if test -z "$haveit"; then 7220 if test -d "$additional_libdir"; then 7221 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir" 7222 fi 7223 fi 7224 haveit= 7225 for x in $LDFLAGS $LTLIBICONV; do 7226 7227 acl_save_prefix="$prefix" 7228 prefix="$acl_final_prefix" 7229 acl_save_exec_prefix="$exec_prefix" 7230 exec_prefix="$acl_final_exec_prefix" 7231 eval x=\"$x\" 7232 exec_prefix="$acl_save_exec_prefix" 7233 prefix="$acl_save_prefix" 7234 7235 if test "X$x" = "X-L$additional_libdir"; then 7236 haveit=yes 7237 break 7238 fi 7239 done 7240 if test -z "$haveit"; then 7241 if test -d "$additional_libdir"; then 7242 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir" 7243 fi 7244 fi 7245 fi 7246 fi 7247 ;; 7248 -R*) 7249 dir=`echo "X$dep" | sed -e 's/^X-R//'` 7250 if test "$enable_rpath" != no; then 7251 haveit= 7252 for x in $rpathdirs; do 7253 if test "X$x" = "X$dir"; then 7254 haveit=yes 7255 break 7256 fi 7257 done 7258 if test -z "$haveit"; then 7259 rpathdirs="$rpathdirs $dir" 7260 fi 7261 haveit= 7262 for x in $ltrpathdirs; do 7263 if test "X$x" = "X$dir"; then 7264 haveit=yes 7265 break 7266 fi 7267 done 7268 if test -z "$haveit"; then 7269 ltrpathdirs="$ltrpathdirs $dir" 7270 fi 7271 fi 7272 ;; 7273 -l*) 7274 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'` 7275 ;; 7276 *.la) 7277 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'` 7278 ;; 7279 *) 7280 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep" 7281 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep" 7282 ;; 7283 esac 7284 done 7285 fi 7286 else 7287 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name" 7288 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name" 7289 fi 7290 fi 7291 fi 7292 done 7293 done 7294 if test "X$rpathdirs" != "X"; then 7295 if test -n "$acl_hardcode_libdir_separator"; then 7296 alldirs= 7297 for found_dir in $rpathdirs; do 7298 alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir" 7299 done 7300 acl_save_libdir="$libdir" 7301 libdir="$alldirs" 7302 eval flag=\"$acl_hardcode_libdir_flag_spec\" 7303 libdir="$acl_save_libdir" 7304 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 7305 else 7306 for found_dir in $rpathdirs; do 7307 acl_save_libdir="$libdir" 7308 libdir="$found_dir" 7309 eval flag=\"$acl_hardcode_libdir_flag_spec\" 7310 libdir="$acl_save_libdir" 7311 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag" 7312 done 7313 fi 7314 fi 7315 if test "X$ltrpathdirs" != "X"; then 7316 for found_dir in $ltrpathdirs; do 7317 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir" 7318 done 7319 fi 7320 7321 7322 7323 7324 7325 7326 7327 am_save_CPPFLAGS="$CPPFLAGS" 7328 7329 for element in $INCICONV; do 7330 haveit= 7331 for x in $CPPFLAGS; do 7332 7333 acl_save_prefix="$prefix" 7334 prefix="$acl_final_prefix" 7335 acl_save_exec_prefix="$exec_prefix" 7336 exec_prefix="$acl_final_exec_prefix" 7337 eval x=\"$x\" 7338 exec_prefix="$acl_save_exec_prefix" 7339 prefix="$acl_save_prefix" 7340 7341 if test "X$x" = "X$element"; then 7342 haveit=yes 7343 break 7344 fi 7345 done 7346 if test -z "$haveit"; then 7347 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element" 7348 fi 7349 done 7350 7351 7352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 7353$as_echo_n "checking for iconv... " >&6; } 7354if ${am_cv_func_iconv+:} false; then : 7355 $as_echo_n "(cached) " >&6 7356else 7357 7358 am_cv_func_iconv="no, consider installing GNU libiconv" 7359 am_cv_lib_iconv=no 7360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7361/* end confdefs.h. */ 7362#include <stdlib.h> 7363#include <iconv.h> 7364int 7365main () 7366{ 7367iconv_t cd = iconv_open("",""); 7368 iconv(cd,NULL,NULL,NULL,NULL); 7369 iconv_close(cd); 7370 ; 7371 return 0; 7372} 7373_ACEOF 7374if ac_fn_c_try_link "$LINENO"; then : 7375 am_cv_func_iconv=yes 7376fi 7377rm -f core conftest.err conftest.$ac_objext \ 7378 conftest$ac_exeext conftest.$ac_ext 7379 if test "$am_cv_func_iconv" != yes; then 7380 am_save_LIBS="$LIBS" 7381 LIBS="$LIBS $LIBICONV" 7382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7383/* end confdefs.h. */ 7384#include <stdlib.h> 7385#include <iconv.h> 7386int 7387main () 7388{ 7389iconv_t cd = iconv_open("",""); 7390 iconv(cd,NULL,NULL,NULL,NULL); 7391 iconv_close(cd); 7392 ; 7393 return 0; 7394} 7395_ACEOF 7396if ac_fn_c_try_link "$LINENO"; then : 7397 am_cv_lib_iconv=yes 7398 am_cv_func_iconv=yes 7399fi 7400rm -f core conftest.err conftest.$ac_objext \ 7401 conftest$ac_exeext conftest.$ac_ext 7402 LIBS="$am_save_LIBS" 7403 fi 7404 7405fi 7406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 7407$as_echo "$am_cv_func_iconv" >&6; } 7408 if test "$am_cv_func_iconv" = yes; then 7409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 7410$as_echo_n "checking for working iconv... " >&6; } 7411if ${am_cv_func_iconv_works+:} false; then : 7412 $as_echo_n "(cached) " >&6 7413else 7414 7415 am_save_LIBS="$LIBS" 7416 if test $am_cv_lib_iconv = yes; then 7417 LIBS="$LIBS $LIBICONV" 7418 fi 7419 if test "$cross_compiling" = yes; then : 7420 case "$host_os" in 7421 aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; 7422 *) am_cv_func_iconv_works="guessing yes" ;; 7423 esac 7424else 7425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7426/* end confdefs.h. */ 7427 7428#include <iconv.h> 7429#include <string.h> 7430int main () 7431{ 7432 /* Test against AIX 5.1 bug: Failures are not distinguishable from successful 7433 returns. */ 7434 { 7435 iconv_t cd_utf8_to_88591 = iconv_open ("ISO8859-1", "UTF-8"); 7436 if (cd_utf8_to_88591 != (iconv_t)(-1)) 7437 { 7438 static const char input[] = "\342\202\254"; /* EURO SIGN */ 7439 char buf[10]; 7440 const char *inptr = input; 7441 size_t inbytesleft = strlen (input); 7442 char *outptr = buf; 7443 size_t outbytesleft = sizeof (buf); 7444 size_t res = iconv (cd_utf8_to_88591, 7445 (char **) &inptr, &inbytesleft, 7446 &outptr, &outbytesleft); 7447 if (res == 0) 7448 return 1; 7449 } 7450 } 7451#if 0 /* This bug could be worked around by the caller. */ 7452 /* Test against HP-UX 11.11 bug: Positive return value instead of 0. */ 7453 { 7454 iconv_t cd_88591_to_utf8 = iconv_open ("utf8", "iso88591"); 7455 if (cd_88591_to_utf8 != (iconv_t)(-1)) 7456 { 7457 static const char input[] = "\304rger mit b\366sen B\374bchen ohne Augenma\337"; 7458 char buf[50]; 7459 const char *inptr = input; 7460 size_t inbytesleft = strlen (input); 7461 char *outptr = buf; 7462 size_t outbytesleft = sizeof (buf); 7463 size_t res = iconv (cd_88591_to_utf8, 7464 (char **) &inptr, &inbytesleft, 7465 &outptr, &outbytesleft); 7466 if ((int)res > 0) 7467 return 1; 7468 } 7469 } 7470#endif 7471 /* Test against HP-UX 11.11 bug: No converter from EUC-JP to UTF-8 is 7472 provided. */ 7473 if (/* Try standardized names. */ 7474 iconv_open ("UTF-8", "EUC-JP") == (iconv_t)(-1) 7475 /* Try IRIX, OSF/1 names. */ 7476 && iconv_open ("UTF-8", "eucJP") == (iconv_t)(-1) 7477 /* Try AIX names. */ 7478 && iconv_open ("UTF-8", "IBM-eucJP") == (iconv_t)(-1) 7479 /* Try HP-UX names. */ 7480 && iconv_open ("utf8", "eucJP") == (iconv_t)(-1)) 7481 return 1; 7482 return 0; 7483} 7484_ACEOF 7485if ac_fn_c_try_run "$LINENO"; then : 7486 am_cv_func_iconv_works=yes 7487else 7488 am_cv_func_iconv_works=no 7489fi 7490rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 7491 conftest.$ac_objext conftest.beam conftest.$ac_ext 7492fi 7493 7494 LIBS="$am_save_LIBS" 7495 7496fi 7497{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 7498$as_echo "$am_cv_func_iconv_works" >&6; } 7499 case "$am_cv_func_iconv_works" in 7500 *no) am_func_iconv=no am_cv_lib_iconv=no ;; 7501 *) am_func_iconv=yes ;; 7502 esac 7503 else 7504 am_func_iconv=no am_cv_lib_iconv=no 7505 fi 7506 if test "$am_func_iconv" = yes; then 7507 7508$as_echo "#define HAVE_ICONV 1" >>confdefs.h 7509 7510 fi 7511 if test "$am_cv_lib_iconv" = yes; then 7512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 7513$as_echo_n "checking how to link with libiconv... " >&6; } 7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 7515$as_echo "$LIBICONV" >&6; } 7516 else 7517 CPPFLAGS="$am_save_CPPFLAGS" 7518 LIBICONV= 7519 LTLIBICONV= 7520 fi 7521 7522 7523 7524 if test "$am_cv_func_iconv" = yes; then 7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5 7526$as_echo_n "checking for iconv declaration... " >&6; } 7527 if ${am_cv_proto_iconv+:} false; then : 7528 $as_echo_n "(cached) " >&6 7529else 7530 7531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7532/* end confdefs.h. */ 7533 7534#include <stdlib.h> 7535#include <iconv.h> 7536extern 7537#ifdef __cplusplus 7538"C" 7539#endif 7540#if defined(__STDC__) || defined(__cplusplus) 7541size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); 7542#else 7543size_t iconv(); 7544#endif 7545 7546int 7547main () 7548{ 7549 7550 ; 7551 return 0; 7552} 7553_ACEOF 7554if ac_fn_c_try_compile "$LINENO"; then : 7555 am_cv_proto_iconv_arg1="" 7556else 7557 am_cv_proto_iconv_arg1="const" 7558fi 7559rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7560 am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);" 7561fi 7562 7563 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'` 7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:- 7565 }$am_cv_proto_iconv" >&5 7566$as_echo "${ac_t:- 7567 }$am_cv_proto_iconv" >&6; } 7568 7569cat >>confdefs.h <<_ACEOF 7570#define ICONV_CONST $am_cv_proto_iconv_arg1 7571_ACEOF 7572 7573 fi 7574 7575 7576#define paths 7577OL_ICONDIR='${datadir}/${PACKAGE}/icons' 7578 7579OL_GUIDIR='${datadir}/${PACKAGE}' 7580 7581 7582# gprof support 7583 7584# Check whether --with-gprof-support was given. 7585if test "${with_gprof_support+set}" = set; then : 7586 withval=$with_gprof_support; case "$withval" in 7587 yes) 7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7589$as_echo "yes" >&6; } 7590 7591$as_echo "#define WITH_GPROF_SUPPORT /**/" >>confdefs.h 7592 7593 CFLAGS="-pg $CFLAGS" 7594 LDFLAGS="-pg $LDFLAGS" 7595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-gprof-support called without argument - using default" >&5 7596$as_echo "$as_me: WARNING: --with-gprof-support called without argument - using default" >&2;} 7597 gmondir="/tmp" 7598 7599 ;; 7600 no) 7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7602$as_echo "no" >&6; } 7603 ;; 7604 *) 7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7606$as_echo "yes" >&6; } 7607 7608$as_echo "#define WITH_GPROF_SUPPORT /**/" >>confdefs.h 7609 7610 CFLAGS="-pg $CFLAGS" 7611 LDFLAGS="-pg $LDFLAGS" 7612 gmondir="$withval" 7613 7614 ;; 7615 esac 7616 7617fi 7618 7619 7620# dev restrict support 7621 7622# Check whether --with-werror was given. 7623if test "${with_werror+set}" = set; then : 7624 withval=$with_werror; case "$withval" in 7625 yes) 7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7627$as_echo "yes" >&6; } 7628 CFLAGS="-Wall -Werror $CFLAGS" 7629 ;; 7630 *) 7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7632$as_echo "no" >&6; } 7633 ;; 7634 esac 7635 7636fi 7637 7638 7639APPINDICATOR_REQUIRED=0.0.7 7640 7641# Check whether --enable-appindicator was given. 7642if test "${enable_appindicator+set}" = set; then : 7643 enableval=$enable_appindicator; enable_appindicator=$enableval 7644else 7645 enable_appindicator="auto" 7646fi 7647 7648 7649# Check whether --enable-mpd was given. 7650if test "${enable_mpd+set}" = set; then : 7651 enableval=$enable_mpd; 7652else 7653 enable_mpd=yes 7654fi 7655 7656 7657# Check whether --enable-xmms2 was given. 7658if test "${enable_xmms2+set}" = set; then : 7659 enableval=$enable_xmms2; 7660else 7661 enable_xmms2=yes 7662fi 7663 7664 7665# Check whether --enable-amarok1 was given. 7666if test "${enable_amarok1+set}" = set; then : 7667 enableval=$enable_amarok1; 7668else 7669 enable_amarok1=no 7670fi 7671 7672 7673if test "x$enable_amarok1" != xno; then : 7674 7675$as_echo "#define ENABLE_AMAROK1 1" >>confdefs.h 7676 7677fi 7678 7679# Checks for libraries. 7680{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp in -ldl" >&5 7681$as_echo_n "checking for exp in -ldl... " >&6; } 7682if ${ac_cv_lib_dl_exp+:} false; then : 7683 $as_echo_n "(cached) " >&6 7684else 7685 ac_check_lib_save_LIBS=$LIBS 7686LIBS="-ldl $LIBS" 7687cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7688/* end confdefs.h. */ 7689 7690/* Override any GCC internal prototype to avoid an error. 7691 Use char because int might match the return type of a GCC 7692 builtin and then its argument prototype would still apply. */ 7693#ifdef __cplusplus 7694extern "C" 7695#endif 7696char exp (); 7697int 7698main () 7699{ 7700return exp (); 7701 ; 7702 return 0; 7703} 7704_ACEOF 7705if ac_fn_c_try_link "$LINENO"; then : 7706 ac_cv_lib_dl_exp=yes 7707else 7708 ac_cv_lib_dl_exp=no 7709fi 7710rm -f core conftest.err conftest.$ac_objext \ 7711 conftest$ac_exeext conftest.$ac_ext 7712LIBS=$ac_check_lib_save_LIBS 7713fi 7714{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_exp" >&5 7715$as_echo "$ac_cv_lib_dl_exp" >&6; } 7716if test "x$ac_cv_lib_dl_exp" = xyes; then : 7717 cat >>confdefs.h <<_ACEOF 7718#define HAVE_LIBDL 1 7719_ACEOF 7720 7721 LIBS="-ldl $LIBS" 7722 7723fi 7724 7725 7726 7727 7728 7729 7730 7731 7732if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 7733 if test -n "$ac_tool_prefix"; then 7734 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 7735set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 7736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7737$as_echo_n "checking for $ac_word... " >&6; } 7738if ${ac_cv_path_PKG_CONFIG+:} false; then : 7739 $as_echo_n "(cached) " >&6 7740else 7741 case $PKG_CONFIG in 7742 [\\/]* | ?:[\\/]*) 7743 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 7744 ;; 7745 *) 7746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7747for as_dir in $PATH 7748do 7749 IFS=$as_save_IFS 7750 test -z "$as_dir" && as_dir=. 7751 for ac_exec_ext in '' $ac_executable_extensions; do 7752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7753 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 7754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7755 break 2 7756 fi 7757done 7758 done 7759IFS=$as_save_IFS 7760 7761 ;; 7762esac 7763fi 7764PKG_CONFIG=$ac_cv_path_PKG_CONFIG 7765if test -n "$PKG_CONFIG"; then 7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 7767$as_echo "$PKG_CONFIG" >&6; } 7768else 7769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7770$as_echo "no" >&6; } 7771fi 7772 7773 7774fi 7775if test -z "$ac_cv_path_PKG_CONFIG"; then 7776 ac_pt_PKG_CONFIG=$PKG_CONFIG 7777 # Extract the first word of "pkg-config", so it can be a program name with args. 7778set dummy pkg-config; ac_word=$2 7779{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7780$as_echo_n "checking for $ac_word... " >&6; } 7781if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 7782 $as_echo_n "(cached) " >&6 7783else 7784 case $ac_pt_PKG_CONFIG in 7785 [\\/]* | ?:[\\/]*) 7786 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 7787 ;; 7788 *) 7789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7790for as_dir in $PATH 7791do 7792 IFS=$as_save_IFS 7793 test -z "$as_dir" && as_dir=. 7794 for ac_exec_ext in '' $ac_executable_extensions; do 7795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 7796 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 7797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 7798 break 2 7799 fi 7800done 7801 done 7802IFS=$as_save_IFS 7803 7804 ;; 7805esac 7806fi 7807ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 7808if test -n "$ac_pt_PKG_CONFIG"; then 7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 7810$as_echo "$ac_pt_PKG_CONFIG" >&6; } 7811else 7812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7813$as_echo "no" >&6; } 7814fi 7815 7816 if test "x$ac_pt_PKG_CONFIG" = x; then 7817 PKG_CONFIG="" 7818 else 7819 case $cross_compiling:$ac_tool_warned in 7820yes:) 7821{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7822$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7823ac_tool_warned=yes ;; 7824esac 7825 PKG_CONFIG=$ac_pt_PKG_CONFIG 7826 fi 7827else 7828 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 7829fi 7830 7831fi 7832if test -n "$PKG_CONFIG"; then 7833 _pkg_min_version=0.9.0 7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 7835$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 7836 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7838$as_echo "yes" >&6; } 7839 else 7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7841$as_echo "no" >&6; } 7842 PKG_CONFIG="" 7843 fi 7844fi 7845 7846pkg_failed=no 7847{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5 7848$as_echo_n "checking for GTK2... " >&6; } 7849 7850if test -n "$GTK2_CFLAGS"; then 7851 pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS" 7852 elif test -n "$PKG_CONFIG"; then 7853 if test -n "$PKG_CONFIG" && \ 7854 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.20.0, 7855 gthread-2.0, 7856 gmodule-export-2.0, 7857 gio-2.0, 7858 gio-unix-2.0\""; } >&5 7859 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.20.0, 7860 gthread-2.0, 7861 gmodule-export-2.0, 7862 gio-2.0, 7863 gio-unix-2.0") 2>&5 7864 ac_status=$? 7865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7866 test $ac_status = 0; }; then 7867 pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.20.0, 7868 gthread-2.0, 7869 gmodule-export-2.0, 7870 gio-2.0, 7871 gio-unix-2.0" 2>/dev/null` 7872 test "x$?" != "x0" && pkg_failed=yes 7873else 7874 pkg_failed=yes 7875fi 7876 else 7877 pkg_failed=untried 7878fi 7879if test -n "$GTK2_LIBS"; then 7880 pkg_cv_GTK2_LIBS="$GTK2_LIBS" 7881 elif test -n "$PKG_CONFIG"; then 7882 if test -n "$PKG_CONFIG" && \ 7883 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.20.0, 7884 gthread-2.0, 7885 gmodule-export-2.0, 7886 gio-2.0, 7887 gio-unix-2.0\""; } >&5 7888 ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.20.0, 7889 gthread-2.0, 7890 gmodule-export-2.0, 7891 gio-2.0, 7892 gio-unix-2.0") 2>&5 7893 ac_status=$? 7894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7895 test $ac_status = 0; }; then 7896 pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.20.0, 7897 gthread-2.0, 7898 gmodule-export-2.0, 7899 gio-2.0, 7900 gio-unix-2.0" 2>/dev/null` 7901 test "x$?" != "x0" && pkg_failed=yes 7902else 7903 pkg_failed=yes 7904fi 7905 else 7906 pkg_failed=untried 7907fi 7908 7909 7910 7911if test $pkg_failed = yes; then 7912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7913$as_echo "no" >&6; } 7914 7915if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 7916 _pkg_short_errors_supported=yes 7917else 7918 _pkg_short_errors_supported=no 7919fi 7920 if test $_pkg_short_errors_supported = yes; then 7921 GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0 >= 2.20.0, 7922 gthread-2.0, 7923 gmodule-export-2.0, 7924 gio-2.0, 7925 gio-unix-2.0" 2>&1` 7926 else 7927 GTK2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0 >= 2.20.0, 7928 gthread-2.0, 7929 gmodule-export-2.0, 7930 gio-2.0, 7931 gio-unix-2.0" 2>&1` 7932 fi 7933 # Put the nasty error message in config.log where it belongs 7934 echo "$GTK2_PKG_ERRORS" >&5 7935 7936 as_fn_error $? "Package requirements (gtk+-2.0 >= 2.20.0, 7937 gthread-2.0, 7938 gmodule-export-2.0, 7939 gio-2.0, 7940 gio-unix-2.0) were not met: 7941 7942$GTK2_PKG_ERRORS 7943 7944Consider adjusting the PKG_CONFIG_PATH environment variable if you 7945installed software in a non-standard prefix. 7946 7947Alternatively, you may set the environment variables GTK2_CFLAGS 7948and GTK2_LIBS to avoid the need to call pkg-config. 7949See the pkg-config man page for more details." "$LINENO" 5 7950elif test $pkg_failed = untried; then 7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 7952$as_echo "no" >&6; } 7953 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 7954$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 7955as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 7956is in your PATH or set the PKG_CONFIG environment variable to the full 7957path to pkg-config. 7958 7959Alternatively, you may set the environment variables GTK2_CFLAGS 7960and GTK2_LIBS to avoid the need to call pkg-config. 7961See the pkg-config man page for more details. 7962 7963To get pkg-config, see <http://pkg-config.freedesktop.org/>. 7964See \`config.log' for more details" "$LINENO" 5; } 7965else 7966 GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS 7967 GTK2_LIBS=$pkg_cv_GTK2_LIBS 7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7969$as_echo "yes" >&6; } 7970 7971fi 7972 7973pkg_failed=no 7974{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5 7975$as_echo_n "checking for X11... " >&6; } 7976 7977if test -n "$X11_CFLAGS"; then 7978 pkg_cv_X11_CFLAGS="$X11_CFLAGS" 7979 elif test -n "$PKG_CONFIG"; then 7980 if test -n "$PKG_CONFIG" && \ 7981 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5 7982 ($PKG_CONFIG --exists --print-errors "x11") 2>&5 7983 ac_status=$? 7984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 7985 test $ac_status = 0; }; then 7986 pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null` 7987 test "x$?" != "x0" && pkg_failed=yes 7988else 7989 pkg_failed=yes 7990fi 7991 else 7992 pkg_failed=untried 7993fi 7994if test -n "$X11_LIBS"; then 7995 pkg_cv_X11_LIBS="$X11_LIBS" 7996 elif test -n "$PKG_CONFIG"; then 7997 if test -n "$PKG_CONFIG" && \ 7998 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5 7999 ($PKG_CONFIG --exists --print-errors "x11") 2>&5 8000 ac_status=$? 8001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8002 test $ac_status = 0; }; then 8003 pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null` 8004 test "x$?" != "x0" && pkg_failed=yes 8005else 8006 pkg_failed=yes 8007fi 8008 else 8009 pkg_failed=untried 8010fi 8011 8012 8013 8014if test $pkg_failed = yes; then 8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8016$as_echo "no" >&6; } 8017 8018if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 8019 _pkg_short_errors_supported=yes 8020else 8021 _pkg_short_errors_supported=no 8022fi 8023 if test $_pkg_short_errors_supported = yes; then 8024 X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1` 8025 else 8026 X11_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1` 8027 fi 8028 # Put the nasty error message in config.log where it belongs 8029 echo "$X11_PKG_ERRORS" >&5 8030 8031 as_fn_error $? "Package requirements (x11) were not met: 8032 8033$X11_PKG_ERRORS 8034 8035Consider adjusting the PKG_CONFIG_PATH environment variable if you 8036installed software in a non-standard prefix. 8037 8038Alternatively, you may set the environment variables X11_CFLAGS 8039and X11_LIBS to avoid the need to call pkg-config. 8040See the pkg-config man page for more details." "$LINENO" 5 8041elif test $pkg_failed = untried; then 8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8043$as_echo "no" >&6; } 8044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8045$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8046as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 8047is in your PATH or set the PKG_CONFIG environment variable to the full 8048path to pkg-config. 8049 8050Alternatively, you may set the environment variables X11_CFLAGS 8051and X11_LIBS to avoid the need to call pkg-config. 8052See the pkg-config man page for more details. 8053 8054To get pkg-config, see <http://pkg-config.freedesktop.org/>. 8055See \`config.log' for more details" "$LINENO" 5; } 8056else 8057 X11_CFLAGS=$pkg_cv_X11_CFLAGS 8058 X11_LIBS=$pkg_cv_X11_LIBS 8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8060$as_echo "yes" >&6; } 8061 8062fi 8063pkg_failed=no 8064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS_GLIB" >&5 8065$as_echo_n "checking for DBUS_GLIB... " >&6; } 8066 8067if test -n "$DBUS_GLIB_CFLAGS"; then 8068 pkg_cv_DBUS_GLIB_CFLAGS="$DBUS_GLIB_CFLAGS" 8069 elif test -n "$PKG_CONFIG"; then 8070 if test -n "$PKG_CONFIG" && \ 8071 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1\""; } >&5 8072 ($PKG_CONFIG --exists --print-errors "dbus-glib-1") 2>&5 8073 ac_status=$? 8074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8075 test $ac_status = 0; }; then 8076 pkg_cv_DBUS_GLIB_CFLAGS=`$PKG_CONFIG --cflags "dbus-glib-1" 2>/dev/null` 8077 test "x$?" != "x0" && pkg_failed=yes 8078else 8079 pkg_failed=yes 8080fi 8081 else 8082 pkg_failed=untried 8083fi 8084if test -n "$DBUS_GLIB_LIBS"; then 8085 pkg_cv_DBUS_GLIB_LIBS="$DBUS_GLIB_LIBS" 8086 elif test -n "$PKG_CONFIG"; then 8087 if test -n "$PKG_CONFIG" && \ 8088 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-glib-1\""; } >&5 8089 ($PKG_CONFIG --exists --print-errors "dbus-glib-1") 2>&5 8090 ac_status=$? 8091 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8092 test $ac_status = 0; }; then 8093 pkg_cv_DBUS_GLIB_LIBS=`$PKG_CONFIG --libs "dbus-glib-1" 2>/dev/null` 8094 test "x$?" != "x0" && pkg_failed=yes 8095else 8096 pkg_failed=yes 8097fi 8098 else 8099 pkg_failed=untried 8100fi 8101 8102 8103 8104if test $pkg_failed = yes; then 8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8106$as_echo "no" >&6; } 8107 8108if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 8109 _pkg_short_errors_supported=yes 8110else 8111 _pkg_short_errors_supported=no 8112fi 8113 if test $_pkg_short_errors_supported = yes; then 8114 DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-glib-1" 2>&1` 8115 else 8116 DBUS_GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-glib-1" 2>&1` 8117 fi 8118 # Put the nasty error message in config.log where it belongs 8119 echo "$DBUS_GLIB_PKG_ERRORS" >&5 8120 8121 as_fn_error $? "Package requirements (dbus-glib-1) were not met: 8122 8123$DBUS_GLIB_PKG_ERRORS 8124 8125Consider adjusting the PKG_CONFIG_PATH environment variable if you 8126installed software in a non-standard prefix. 8127 8128Alternatively, you may set the environment variables DBUS_GLIB_CFLAGS 8129and DBUS_GLIB_LIBS to avoid the need to call pkg-config. 8130See the pkg-config man page for more details." "$LINENO" 5 8131elif test $pkg_failed = untried; then 8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8133$as_echo "no" >&6; } 8134 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8135$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8136as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 8137is in your PATH or set the PKG_CONFIG environment variable to the full 8138path to pkg-config. 8139 8140Alternatively, you may set the environment variables DBUS_GLIB_CFLAGS 8141and DBUS_GLIB_LIBS to avoid the need to call pkg-config. 8142See the pkg-config man page for more details. 8143 8144To get pkg-config, see <http://pkg-config.freedesktop.org/>. 8145See \`config.log' for more details" "$LINENO" 5; } 8146else 8147 DBUS_GLIB_CFLAGS=$pkg_cv_DBUS_GLIB_CFLAGS 8148 DBUS_GLIB_LIBS=$pkg_cv_DBUS_GLIB_LIBS 8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8150$as_echo "yes" >&6; } 8151 8152fi 8153 8154pkg_failed=no 8155{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CURL" >&5 8156$as_echo_n "checking for CURL... " >&6; } 8157 8158if test -n "$CURL_CFLAGS"; then 8159 pkg_cv_CURL_CFLAGS="$CURL_CFLAGS" 8160 elif test -n "$PKG_CONFIG"; then 8161 if test -n "$PKG_CONFIG" && \ 8162 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 8163 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 8164 ac_status=$? 8165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8166 test $ac_status = 0; }; then 8167 pkg_cv_CURL_CFLAGS=`$PKG_CONFIG --cflags "libcurl" 2>/dev/null` 8168 test "x$?" != "x0" && pkg_failed=yes 8169else 8170 pkg_failed=yes 8171fi 8172 else 8173 pkg_failed=untried 8174fi 8175if test -n "$CURL_LIBS"; then 8176 pkg_cv_CURL_LIBS="$CURL_LIBS" 8177 elif test -n "$PKG_CONFIG"; then 8178 if test -n "$PKG_CONFIG" && \ 8179 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libcurl\""; } >&5 8180 ($PKG_CONFIG --exists --print-errors "libcurl") 2>&5 8181 ac_status=$? 8182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8183 test $ac_status = 0; }; then 8184 pkg_cv_CURL_LIBS=`$PKG_CONFIG --libs "libcurl" 2>/dev/null` 8185 test "x$?" != "x0" && pkg_failed=yes 8186else 8187 pkg_failed=yes 8188fi 8189 else 8190 pkg_failed=untried 8191fi 8192 8193 8194 8195if test $pkg_failed = yes; then 8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8197$as_echo "no" >&6; } 8198 8199if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 8200 _pkg_short_errors_supported=yes 8201else 8202 _pkg_short_errors_supported=no 8203fi 8204 if test $_pkg_short_errors_supported = yes; then 8205 CURL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libcurl" 2>&1` 8206 else 8207 CURL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libcurl" 2>&1` 8208 fi 8209 # Put the nasty error message in config.log where it belongs 8210 echo "$CURL_PKG_ERRORS" >&5 8211 8212 as_fn_error $? "Package requirements (libcurl) were not met: 8213 8214$CURL_PKG_ERRORS 8215 8216Consider adjusting the PKG_CONFIG_PATH environment variable if you 8217installed software in a non-standard prefix. 8218 8219Alternatively, you may set the environment variables CURL_CFLAGS 8220and CURL_LIBS to avoid the need to call pkg-config. 8221See the pkg-config man page for more details." "$LINENO" 5 8222elif test $pkg_failed = untried; then 8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8224$as_echo "no" >&6; } 8225 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8226$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8227as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 8228is in your PATH or set the PKG_CONFIG environment variable to the full 8229path to pkg-config. 8230 8231Alternatively, you may set the environment variables CURL_CFLAGS 8232and CURL_LIBS to avoid the need to call pkg-config. 8233See the pkg-config man page for more details. 8234 8235To get pkg-config, see <http://pkg-config.freedesktop.org/>. 8236See \`config.log' for more details" "$LINENO" 5; } 8237else 8238 CURL_CFLAGS=$pkg_cv_CURL_CFLAGS 8239 CURL_LIBS=$pkg_cv_CURL_LIBS 8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8241$as_echo "yes" >&6; } 8242 8243fi 8244 8245pkg_failed=no 8246{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for NOTIFY" >&5 8247$as_echo_n "checking for NOTIFY... " >&6; } 8248 8249if test -n "$NOTIFY_CFLAGS"; then 8250 pkg_cv_NOTIFY_CFLAGS="$NOTIFY_CFLAGS" 8251 elif test -n "$PKG_CONFIG"; then 8252 if test -n "$PKG_CONFIG" && \ 8253 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5 8254 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5 8255 ac_status=$? 8256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8257 test $ac_status = 0; }; then 8258 pkg_cv_NOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify" 2>/dev/null` 8259 test "x$?" != "x0" && pkg_failed=yes 8260else 8261 pkg_failed=yes 8262fi 8263 else 8264 pkg_failed=untried 8265fi 8266if test -n "$NOTIFY_LIBS"; then 8267 pkg_cv_NOTIFY_LIBS="$NOTIFY_LIBS" 8268 elif test -n "$PKG_CONFIG"; then 8269 if test -n "$PKG_CONFIG" && \ 8270 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify\""; } >&5 8271 ($PKG_CONFIG --exists --print-errors "libnotify") 2>&5 8272 ac_status=$? 8273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8274 test $ac_status = 0; }; then 8275 pkg_cv_NOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify" 2>/dev/null` 8276 test "x$?" != "x0" && pkg_failed=yes 8277else 8278 pkg_failed=yes 8279fi 8280 else 8281 pkg_failed=untried 8282fi 8283 8284 8285 8286if test $pkg_failed = yes; then 8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8288$as_echo "no" >&6; } 8289 8290if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 8291 _pkg_short_errors_supported=yes 8292else 8293 _pkg_short_errors_supported=no 8294fi 8295 if test $_pkg_short_errors_supported = yes; then 8296 NOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libnotify" 2>&1` 8297 else 8298 NOTIFY_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libnotify" 2>&1` 8299 fi 8300 # Put the nasty error message in config.log where it belongs 8301 echo "$NOTIFY_PKG_ERRORS" >&5 8302 8303 as_fn_error $? "Package requirements (libnotify) were not met: 8304 8305$NOTIFY_PKG_ERRORS 8306 8307Consider adjusting the PKG_CONFIG_PATH environment variable if you 8308installed software in a non-standard prefix. 8309 8310Alternatively, you may set the environment variables NOTIFY_CFLAGS 8311and NOTIFY_LIBS to avoid the need to call pkg-config. 8312See the pkg-config man page for more details." "$LINENO" 5 8313elif test $pkg_failed = untried; then 8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8315$as_echo "no" >&6; } 8316 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8317$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8318as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 8319is in your PATH or set the PKG_CONFIG environment variable to the full 8320path to pkg-config. 8321 8322Alternatively, you may set the environment variables NOTIFY_CFLAGS 8323and NOTIFY_LIBS to avoid the need to call pkg-config. 8324See the pkg-config man page for more details. 8325 8326To get pkg-config, see <http://pkg-config.freedesktop.org/>. 8327See \`config.log' for more details" "$LINENO" 5; } 8328else 8329 NOTIFY_CFLAGS=$pkg_cv_NOTIFY_CFLAGS 8330 NOTIFY_LIBS=$pkg_cv_NOTIFY_LIBS 8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8332$as_echo "yes" >&6; } 8333 8334fi 8335if test -n "$PKG_CONFIG" && \ 8336 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5 8337 ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5 8338 ac_status=$? 8339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8340 test $ac_status = 0; }; then 8341 8342$as_echo "#define HAVE_LIBNOTIFY_0_7 1" >>confdefs.h 8343 8344fi 8345 8346 8347pkg_failed=no 8348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5 8349$as_echo_n "checking for SQLITE... " >&6; } 8350 8351if test -n "$SQLITE_CFLAGS"; then 8352 pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS" 8353 elif test -n "$PKG_CONFIG"; then 8354 if test -n "$PKG_CONFIG" && \ 8355 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.3.0\""; } >&5 8356 ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.3.0") 2>&5 8357 ac_status=$? 8358 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8359 test $ac_status = 0; }; then 8360 pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3 >= 3.3.0" 2>/dev/null` 8361 test "x$?" != "x0" && pkg_failed=yes 8362else 8363 pkg_failed=yes 8364fi 8365 else 8366 pkg_failed=untried 8367fi 8368if test -n "$SQLITE_LIBS"; then 8369 pkg_cv_SQLITE_LIBS="$SQLITE_LIBS" 8370 elif test -n "$PKG_CONFIG"; then 8371 if test -n "$PKG_CONFIG" && \ 8372 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3 >= 3.3.0\""; } >&5 8373 ($PKG_CONFIG --exists --print-errors "sqlite3 >= 3.3.0") 2>&5 8374 ac_status=$? 8375 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8376 test $ac_status = 0; }; then 8377 pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3 >= 3.3.0" 2>/dev/null` 8378 test "x$?" != "x0" && pkg_failed=yes 8379else 8380 pkg_failed=yes 8381fi 8382 else 8383 pkg_failed=untried 8384fi 8385 8386 8387 8388if test $pkg_failed = yes; then 8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8390$as_echo "no" >&6; } 8391 8392if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 8393 _pkg_short_errors_supported=yes 8394else 8395 _pkg_short_errors_supported=no 8396fi 8397 if test $_pkg_short_errors_supported = yes; then 8398 SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3 >= 3.3.0" 2>&1` 8399 else 8400 SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3 >= 3.3.0" 2>&1` 8401 fi 8402 # Put the nasty error message in config.log where it belongs 8403 echo "$SQLITE_PKG_ERRORS" >&5 8404 8405 as_fn_error $? "Package requirements (sqlite3 >= 3.3.0) were not met: 8406 8407$SQLITE_PKG_ERRORS 8408 8409Consider adjusting the PKG_CONFIG_PATH environment variable if you 8410installed software in a non-standard prefix. 8411 8412Alternatively, you may set the environment variables SQLITE_CFLAGS 8413and SQLITE_LIBS to avoid the need to call pkg-config. 8414See the pkg-config man page for more details." "$LINENO" 5 8415elif test $pkg_failed = untried; then 8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8417$as_echo "no" >&6; } 8418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8419$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8420as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 8421is in your PATH or set the PKG_CONFIG environment variable to the full 8422path to pkg-config. 8423 8424Alternatively, you may set the environment variables SQLITE_CFLAGS 8425and SQLITE_LIBS to avoid the need to call pkg-config. 8426See the pkg-config man page for more details. 8427 8428To get pkg-config, see <http://pkg-config.freedesktop.org/>. 8429See \`config.log' for more details" "$LINENO" 5; } 8430else 8431 SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS 8432 SQLITE_LIBS=$pkg_cv_SQLITE_LIBS 8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8434$as_echo "yes" >&6; } 8435 8436fi 8437MPD_CFLAGS= 8438MPD_LIBS= 8439if test "x$enable_mpd" != "xno"; then : 8440 8441pkg_failed=no 8442{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPD" >&5 8443$as_echo_n "checking for MPD... " >&6; } 8444 8445if test -n "$MPD_CFLAGS"; then 8446 pkg_cv_MPD_CFLAGS="$MPD_CFLAGS" 8447 elif test -n "$PKG_CONFIG"; then 8448 if test -n "$PKG_CONFIG" && \ 8449 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpd\""; } >&5 8450 ($PKG_CONFIG --exists --print-errors "libmpd") 2>&5 8451 ac_status=$? 8452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8453 test $ac_status = 0; }; then 8454 pkg_cv_MPD_CFLAGS=`$PKG_CONFIG --cflags "libmpd" 2>/dev/null` 8455 test "x$?" != "x0" && pkg_failed=yes 8456else 8457 pkg_failed=yes 8458fi 8459 else 8460 pkg_failed=untried 8461fi 8462if test -n "$MPD_LIBS"; then 8463 pkg_cv_MPD_LIBS="$MPD_LIBS" 8464 elif test -n "$PKG_CONFIG"; then 8465 if test -n "$PKG_CONFIG" && \ 8466 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmpd\""; } >&5 8467 ($PKG_CONFIG --exists --print-errors "libmpd") 2>&5 8468 ac_status=$? 8469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8470 test $ac_status = 0; }; then 8471 pkg_cv_MPD_LIBS=`$PKG_CONFIG --libs "libmpd" 2>/dev/null` 8472 test "x$?" != "x0" && pkg_failed=yes 8473else 8474 pkg_failed=yes 8475fi 8476 else 8477 pkg_failed=untried 8478fi 8479 8480 8481 8482if test $pkg_failed = yes; then 8483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8484$as_echo "no" >&6; } 8485 8486if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 8487 _pkg_short_errors_supported=yes 8488else 8489 _pkg_short_errors_supported=no 8490fi 8491 if test $_pkg_short_errors_supported = yes; then 8492 MPD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libmpd" 2>&1` 8493 else 8494 MPD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libmpd" 2>&1` 8495 fi 8496 # Put the nasty error message in config.log where it belongs 8497 echo "$MPD_PKG_ERRORS" >&5 8498 8499 enable_mpd=no 8500 #BUILD_MPD_SUPPORT=0 8501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmpd is not available, use --disable-mpd to disable MPD support" >&5 8502$as_echo "$as_me: WARNING: libmpd is not available, use --disable-mpd to disable MPD support" >&2;} 8503 8504elif test $pkg_failed = untried; then 8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8506$as_echo "no" >&6; } 8507 enable_mpd=no 8508 #BUILD_MPD_SUPPORT=0 8509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libmpd is not available, use --disable-mpd to disable MPD support" >&5 8510$as_echo "$as_me: WARNING: libmpd is not available, use --disable-mpd to disable MPD support" >&2;} 8511 8512else 8513 MPD_CFLAGS=$pkg_cv_MPD_CFLAGS 8514 MPD_LIBS=$pkg_cv_MPD_LIBS 8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8516$as_echo "yes" >&6; } 8517 8518$as_echo "#define ENABLE_MPD 1" >>confdefs.h 8519 8520 #BUILD_MPD_SUPPORT=1 8521 8522fi 8523 8524else 8525 BUILD_MPD_SUPPORT=0 8526 8527 8528 8529 8530fi 8531XMMS2_CFLAGS= 8532XMMS2_LIBS= 8533if test "x$enable_xmms2" != "xno"; then : 8534 8535pkg_failed=no 8536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XMMS2" >&5 8537$as_echo_n "checking for XMMS2... " >&6; } 8538 8539if test -n "$XMMS2_CFLAGS"; then 8540 pkg_cv_XMMS2_CFLAGS="$XMMS2_CFLAGS" 8541 elif test -n "$PKG_CONFIG"; then 8542 if test -n "$PKG_CONFIG" && \ 8543 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmms2-client\""; } >&5 8544 ($PKG_CONFIG --exists --print-errors "xmms2-client") 2>&5 8545 ac_status=$? 8546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8547 test $ac_status = 0; }; then 8548 pkg_cv_XMMS2_CFLAGS=`$PKG_CONFIG --cflags "xmms2-client" 2>/dev/null` 8549 test "x$?" != "x0" && pkg_failed=yes 8550else 8551 pkg_failed=yes 8552fi 8553 else 8554 pkg_failed=untried 8555fi 8556if test -n "$XMMS2_LIBS"; then 8557 pkg_cv_XMMS2_LIBS="$XMMS2_LIBS" 8558 elif test -n "$PKG_CONFIG"; then 8559 if test -n "$PKG_CONFIG" && \ 8560 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xmms2-client\""; } >&5 8561 ($PKG_CONFIG --exists --print-errors "xmms2-client") 2>&5 8562 ac_status=$? 8563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8564 test $ac_status = 0; }; then 8565 pkg_cv_XMMS2_LIBS=`$PKG_CONFIG --libs "xmms2-client" 2>/dev/null` 8566 test "x$?" != "x0" && pkg_failed=yes 8567else 8568 pkg_failed=yes 8569fi 8570 else 8571 pkg_failed=untried 8572fi 8573 8574 8575 8576if test $pkg_failed = yes; then 8577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8578$as_echo "no" >&6; } 8579 8580if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 8581 _pkg_short_errors_supported=yes 8582else 8583 _pkg_short_errors_supported=no 8584fi 8585 if test $_pkg_short_errors_supported = yes; then 8586 XMMS2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xmms2-client" 2>&1` 8587 else 8588 XMMS2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xmms2-client" 2>&1` 8589 fi 8590 # Put the nasty error message in config.log where it belongs 8591 echo "$XMMS2_PKG_ERRORS" >&5 8592 8593 enable_xmms2=no 8594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmms2-client is not available, use --disable-xmms2 to disable XMMS2 support" >&5 8595$as_echo "$as_me: WARNING: xmms2-client is not available, use --disable-xmms2 to disable XMMS2 support" >&2;} 8596 8597elif test $pkg_failed = untried; then 8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8599$as_echo "no" >&6; } 8600 enable_xmms2=no 8601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmms2-client is not available, use --disable-xmms2 to disable XMMS2 support" >&5 8602$as_echo "$as_me: WARNING: xmms2-client is not available, use --disable-xmms2 to disable XMMS2 support" >&2;} 8603 8604else 8605 XMMS2_CFLAGS=$pkg_cv_XMMS2_CFLAGS 8606 XMMS2_LIBS=$pkg_cv_XMMS2_LIBS 8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8608$as_echo "yes" >&6; } 8609 8610$as_echo "#define ENABLE_XMMS2 1" >>confdefs.h 8611 8612 8613fi 8614 8615else 8616 BUILD_XMMS2_SUPPORT=0 8617 8618 8619 8620 8621fi 8622#AM_CONDITIONAL(BUILD_MPD_SUPPORT, [test "x$enable_mpd" != "xno"]) 8623#AC_SUBST(BUILD_MPD_SUPPORT) 8624if test x$enable_appindicator = xauto ; then 8625 if test -n "$PKG_CONFIG" && \ 8626 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 >= \$APPINDICATOR_REQUIRED\""; } >&5 8627 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 >= $APPINDICATOR_REQUIRED") 2>&5 8628 ac_status=$? 8629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8630 test $ac_status = 0; }; then 8631 enable_appindicator="yes" 8632else 8633 enable_appindicator="no" 8634fi 8635fi 8636 8637if test x$enable_appindicator = xyes ; then 8638 if test -n "$PKG_CONFIG" && \ 8639 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 >= \$APPINDICATOR_REQUIRED\""; } >&5 8640 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 >= $APPINDICATOR_REQUIRED") 2>&5 8641 ac_status=$? 8642 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8643 test $ac_status = 0; }; then 8644 : 8645else 8646 as_fn_error $? "appindicator-0.1 is not installed" "$LINENO" 5 8647fi 8648 8649pkg_failed=no 8650{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for APP_INDICATOR" >&5 8651$as_echo_n "checking for APP_INDICATOR... " >&6; } 8652 8653if test -n "$APP_INDICATOR_CFLAGS"; then 8654 pkg_cv_APP_INDICATOR_CFLAGS="$APP_INDICATOR_CFLAGS" 8655 elif test -n "$PKG_CONFIG"; then 8656 if test -n "$PKG_CONFIG" && \ 8657 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 >= \$APPINDICATOR_REQUIRED\""; } >&5 8658 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 >= $APPINDICATOR_REQUIRED") 2>&5 8659 ac_status=$? 8660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8661 test $ac_status = 0; }; then 8662 pkg_cv_APP_INDICATOR_CFLAGS=`$PKG_CONFIG --cflags "appindicator-0.1 >= $APPINDICATOR_REQUIRED" 2>/dev/null` 8663 test "x$?" != "x0" && pkg_failed=yes 8664else 8665 pkg_failed=yes 8666fi 8667 else 8668 pkg_failed=untried 8669fi 8670if test -n "$APP_INDICATOR_LIBS"; then 8671 pkg_cv_APP_INDICATOR_LIBS="$APP_INDICATOR_LIBS" 8672 elif test -n "$PKG_CONFIG"; then 8673 if test -n "$PKG_CONFIG" && \ 8674 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"appindicator-0.1 >= \$APPINDICATOR_REQUIRED\""; } >&5 8675 ($PKG_CONFIG --exists --print-errors "appindicator-0.1 >= $APPINDICATOR_REQUIRED") 2>&5 8676 ac_status=$? 8677 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 8678 test $ac_status = 0; }; then 8679 pkg_cv_APP_INDICATOR_LIBS=`$PKG_CONFIG --libs "appindicator-0.1 >= $APPINDICATOR_REQUIRED" 2>/dev/null` 8680 test "x$?" != "x0" && pkg_failed=yes 8681else 8682 pkg_failed=yes 8683fi 8684 else 8685 pkg_failed=untried 8686fi 8687 8688 8689 8690if test $pkg_failed = yes; then 8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8692$as_echo "no" >&6; } 8693 8694if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 8695 _pkg_short_errors_supported=yes 8696else 8697 _pkg_short_errors_supported=no 8698fi 8699 if test $_pkg_short_errors_supported = yes; then 8700 APP_INDICATOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "appindicator-0.1 >= $APPINDICATOR_REQUIRED" 2>&1` 8701 else 8702 APP_INDICATOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "appindicator-0.1 >= $APPINDICATOR_REQUIRED" 2>&1` 8703 fi 8704 # Put the nasty error message in config.log where it belongs 8705 echo "$APP_INDICATOR_PKG_ERRORS" >&5 8706 8707 as_fn_error $? "Package requirements (appindicator-0.1 >= $APPINDICATOR_REQUIRED) were not met: 8708 8709$APP_INDICATOR_PKG_ERRORS 8710 8711Consider adjusting the PKG_CONFIG_PATH environment variable if you 8712installed software in a non-standard prefix. 8713 8714Alternatively, you may set the environment variables APP_INDICATOR_CFLAGS 8715and APP_INDICATOR_LIBS to avoid the need to call pkg-config. 8716See the pkg-config man page for more details." "$LINENO" 5 8717elif test $pkg_failed = untried; then 8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8719$as_echo "no" >&6; } 8720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8721$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 8722as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 8723is in your PATH or set the PKG_CONFIG environment variable to the full 8724path to pkg-config. 8725 8726Alternatively, you may set the environment variables APP_INDICATOR_CFLAGS 8727and APP_INDICATOR_LIBS to avoid the need to call pkg-config. 8728See the pkg-config man page for more details. 8729 8730To get pkg-config, see <http://pkg-config.freedesktop.org/>. 8731See \`config.log' for more details" "$LINENO" 5; } 8732else 8733 APP_INDICATOR_CFLAGS=$pkg_cv_APP_INDICATOR_CFLAGS 8734 APP_INDICATOR_LIBS=$pkg_cv_APP_INDICATOR_LIBS 8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8736$as_echo "yes" >&6; } 8737 8738fi 8739 8740 8741 8742$as_echo "#define HAVE_APP_INDICATOR 1" >>confdefs.h 8743 8744fi 8745 if test x"$enable_appindicator" = xyes; then 8746 HAVE_APP_INDICATOR_TRUE= 8747 HAVE_APP_INDICATOR_FALSE='#' 8748else 8749 HAVE_APP_INDICATOR_TRUE='#' 8750 HAVE_APP_INDICATOR_FALSE= 8751fi 8752 8753 8754# i18n support from GNU gettext. 8755GETTEXT_PACKAGE=osdlyrics 8756 8757 8758cat >>confdefs.h <<_ACEOF 8759#define GETTEXT_PACKAGE "$GETTEXT_PACKAGE" 8760_ACEOF 8761 8762 8763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 8764$as_echo_n "checking whether NLS is requested... " >&6; } 8765 # Check whether --enable-nls was given. 8766if test "${enable_nls+set}" = set; then : 8767 enableval=$enable_nls; USE_NLS=$enableval 8768else 8769 USE_NLS=yes 8770fi 8771 8772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 8773$as_echo "$USE_NLS" >&6; } 8774 8775 8776 8777 8778case "$am__api_version" in 8779 1.01234) 8780 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 8781 ;; 8782 *) 8783 ;; 8784esac 8785 8786INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35.0 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 8787INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 8788INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 8789if test -n "0.35.0"; then 8790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35.0" >&5 8791$as_echo_n "checking for intltool >= 0.35.0... " >&6; } 8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 8793$as_echo "$INTLTOOL_APPLIED_VERSION found" >&6; } 8794 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 8795 as_fn_error $? "Your intltool is too old. You need intltool 0.35.0 or later." "$LINENO" 5 8796fi 8797 8798# Extract the first word of "intltool-update", so it can be a program name with args. 8799set dummy intltool-update; ac_word=$2 8800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8801$as_echo_n "checking for $ac_word... " >&6; } 8802if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then : 8803 $as_echo_n "(cached) " >&6 8804else 8805 case $INTLTOOL_UPDATE in 8806 [\\/]* | ?:[\\/]*) 8807 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 8808 ;; 8809 *) 8810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8811for as_dir in $PATH 8812do 8813 IFS=$as_save_IFS 8814 test -z "$as_dir" && as_dir=. 8815 for ac_exec_ext in '' $ac_executable_extensions; do 8816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8817 ac_cv_path_INTLTOOL_UPDATE="$as_dir/$ac_word$ac_exec_ext" 8818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8819 break 2 8820 fi 8821done 8822 done 8823IFS=$as_save_IFS 8824 8825 ;; 8826esac 8827fi 8828INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 8829if test -n "$INTLTOOL_UPDATE"; then 8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 8831$as_echo "$INTLTOOL_UPDATE" >&6; } 8832else 8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8834$as_echo "no" >&6; } 8835fi 8836 8837 8838# Extract the first word of "intltool-merge", so it can be a program name with args. 8839set dummy intltool-merge; ac_word=$2 8840{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8841$as_echo_n "checking for $ac_word... " >&6; } 8842if ${ac_cv_path_INTLTOOL_MERGE+:} false; then : 8843 $as_echo_n "(cached) " >&6 8844else 8845 case $INTLTOOL_MERGE in 8846 [\\/]* | ?:[\\/]*) 8847 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 8848 ;; 8849 *) 8850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8851for as_dir in $PATH 8852do 8853 IFS=$as_save_IFS 8854 test -z "$as_dir" && as_dir=. 8855 for ac_exec_ext in '' $ac_executable_extensions; do 8856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8857 ac_cv_path_INTLTOOL_MERGE="$as_dir/$ac_word$ac_exec_ext" 8858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8859 break 2 8860 fi 8861done 8862 done 8863IFS=$as_save_IFS 8864 8865 ;; 8866esac 8867fi 8868INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 8869if test -n "$INTLTOOL_MERGE"; then 8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 8871$as_echo "$INTLTOOL_MERGE" >&6; } 8872else 8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8874$as_echo "no" >&6; } 8875fi 8876 8877 8878# Extract the first word of "intltool-extract", so it can be a program name with args. 8879set dummy intltool-extract; ac_word=$2 8880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 8881$as_echo_n "checking for $ac_word... " >&6; } 8882if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then : 8883 $as_echo_n "(cached) " >&6 8884else 8885 case $INTLTOOL_EXTRACT in 8886 [\\/]* | ?:[\\/]*) 8887 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 8888 ;; 8889 *) 8890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 8891for as_dir in $PATH 8892do 8893 IFS=$as_save_IFS 8894 test -z "$as_dir" && as_dir=. 8895 for ac_exec_ext in '' $ac_executable_extensions; do 8896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 8897 ac_cv_path_INTLTOOL_EXTRACT="$as_dir/$ac_word$ac_exec_ext" 8898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 8899 break 2 8900 fi 8901done 8902 done 8903IFS=$as_save_IFS 8904 8905 ;; 8906esac 8907fi 8908INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 8909if test -n "$INTLTOOL_EXTRACT"; then 8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 8911$as_echo "$INTLTOOL_EXTRACT" >&6; } 8912else 8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 8914$as_echo "no" >&6; } 8915fi 8916 8917 8918if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 8919 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 8920fi 8921 8922if test -z "$AM_DEFAULT_VERBOSITY"; then 8923 AM_DEFAULT_VERBOSITY=1 8924fi 8925 8926 8927INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' 8928INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' 8929INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' 8930 8931 8932 8933 8934INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' 8935intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' 8936intltool__v_merge_options_0='-q' 8937 8938 8939 8940 8941 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 $< $@' 8942INTLTOOL_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 $< $@' 8943 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 $< $@' 8944 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 $< $@' 8945 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 $< $@' 8946 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 $< $@' 8947 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 $< $@' 8948 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 $< $@' 8949INTLTOOL_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 $< $@' 8950 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 $< $@' 8951 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 $< $@' 8952if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then 8953 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 $< $@' 8954else 8955 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' 8956fi 8957 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 $< $@' 8958 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 $< $@' 8959 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 $< $@' 8960 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 $< $@' 8961 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 $< $@' 8962 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 $< $@' 8963 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 $< $@' 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061# Check the gettext tools to make sure they are GNU 9062# Extract the first word of "xgettext", so it can be a program name with args. 9063set dummy xgettext; ac_word=$2 9064{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9065$as_echo_n "checking for $ac_word... " >&6; } 9066if ${ac_cv_path_XGETTEXT+:} false; then : 9067 $as_echo_n "(cached) " >&6 9068else 9069 case $XGETTEXT in 9070 [\\/]* | ?:[\\/]*) 9071 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 9072 ;; 9073 *) 9074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9075for as_dir in $PATH 9076do 9077 IFS=$as_save_IFS 9078 test -z "$as_dir" && as_dir=. 9079 for ac_exec_ext in '' $ac_executable_extensions; do 9080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9081 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext" 9082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9083 break 2 9084 fi 9085done 9086 done 9087IFS=$as_save_IFS 9088 9089 ;; 9090esac 9091fi 9092XGETTEXT=$ac_cv_path_XGETTEXT 9093if test -n "$XGETTEXT"; then 9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 9095$as_echo "$XGETTEXT" >&6; } 9096else 9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9098$as_echo "no" >&6; } 9099fi 9100 9101 9102# Extract the first word of "msgmerge", so it can be a program name with args. 9103set dummy msgmerge; ac_word=$2 9104{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9105$as_echo_n "checking for $ac_word... " >&6; } 9106if ${ac_cv_path_MSGMERGE+:} false; then : 9107 $as_echo_n "(cached) " >&6 9108else 9109 case $MSGMERGE in 9110 [\\/]* | ?:[\\/]*) 9111 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 9112 ;; 9113 *) 9114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9115for as_dir in $PATH 9116do 9117 IFS=$as_save_IFS 9118 test -z "$as_dir" && as_dir=. 9119 for ac_exec_ext in '' $ac_executable_extensions; do 9120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9121 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext" 9122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9123 break 2 9124 fi 9125done 9126 done 9127IFS=$as_save_IFS 9128 9129 ;; 9130esac 9131fi 9132MSGMERGE=$ac_cv_path_MSGMERGE 9133if test -n "$MSGMERGE"; then 9134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 9135$as_echo "$MSGMERGE" >&6; } 9136else 9137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9138$as_echo "no" >&6; } 9139fi 9140 9141 9142# Extract the first word of "msgfmt", so it can be a program name with args. 9143set dummy msgfmt; ac_word=$2 9144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9145$as_echo_n "checking for $ac_word... " >&6; } 9146if ${ac_cv_path_MSGFMT+:} false; then : 9147 $as_echo_n "(cached) " >&6 9148else 9149 case $MSGFMT in 9150 [\\/]* | ?:[\\/]*) 9151 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 9152 ;; 9153 *) 9154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9155for as_dir in $PATH 9156do 9157 IFS=$as_save_IFS 9158 test -z "$as_dir" && as_dir=. 9159 for ac_exec_ext in '' $ac_executable_extensions; do 9160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9161 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext" 9162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9163 break 2 9164 fi 9165done 9166 done 9167IFS=$as_save_IFS 9168 9169 ;; 9170esac 9171fi 9172MSGFMT=$ac_cv_path_MSGFMT 9173if test -n "$MSGFMT"; then 9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 9175$as_echo "$MSGFMT" >&6; } 9176else 9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9178$as_echo "no" >&6; } 9179fi 9180 9181 9182# Extract the first word of "gmsgfmt", so it can be a program name with args. 9183set dummy gmsgfmt; ac_word=$2 9184{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9185$as_echo_n "checking for $ac_word... " >&6; } 9186if ${ac_cv_path_GMSGFMT+:} false; then : 9187 $as_echo_n "(cached) " >&6 9188else 9189 case $GMSGFMT in 9190 [\\/]* | ?:[\\/]*) 9191 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 9192 ;; 9193 *) 9194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9195for as_dir in $PATH 9196do 9197 IFS=$as_save_IFS 9198 test -z "$as_dir" && as_dir=. 9199 for ac_exec_ext in '' $ac_executable_extensions; do 9200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9201 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 9202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9203 break 2 9204 fi 9205done 9206 done 9207IFS=$as_save_IFS 9208 9209 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 9210 ;; 9211esac 9212fi 9213GMSGFMT=$ac_cv_path_GMSGFMT 9214if test -n "$GMSGFMT"; then 9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 9216$as_echo "$GMSGFMT" >&6; } 9217else 9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9219$as_echo "no" >&6; } 9220fi 9221 9222 9223if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 9224 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 9225fi 9226xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 9227mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 9228mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 9229if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 9230 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 9231fi 9232 9233# Extract the first word of "perl", so it can be a program name with args. 9234set dummy perl; ac_word=$2 9235{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9236$as_echo_n "checking for $ac_word... " >&6; } 9237if ${ac_cv_path_INTLTOOL_PERL+:} false; then : 9238 $as_echo_n "(cached) " >&6 9239else 9240 case $INTLTOOL_PERL in 9241 [\\/]* | ?:[\\/]*) 9242 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 9243 ;; 9244 *) 9245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9246for as_dir in $PATH 9247do 9248 IFS=$as_save_IFS 9249 test -z "$as_dir" && as_dir=. 9250 for ac_exec_ext in '' $ac_executable_extensions; do 9251 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9252 ac_cv_path_INTLTOOL_PERL="$as_dir/$ac_word$ac_exec_ext" 9253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9254 break 2 9255 fi 9256done 9257 done 9258IFS=$as_save_IFS 9259 9260 ;; 9261esac 9262fi 9263INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 9264if test -n "$INTLTOOL_PERL"; then 9265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 9266$as_echo "$INTLTOOL_PERL" >&6; } 9267else 9268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9269$as_echo "no" >&6; } 9270fi 9271 9272 9273if test -z "$INTLTOOL_PERL"; then 9274 as_fn_error $? "perl not found" "$LINENO" 5 9275fi 9276{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 9277$as_echo_n "checking for perl >= 5.8.1... " >&6; } 9278$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 9279if test $? -ne 0; then 9280 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 9281else 9282 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` 9283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 9284$as_echo "$IT_PERL_VERSION" >&6; } 9285fi 9286if test "x" != "xno-xml"; then 9287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 9288$as_echo_n "checking for XML::Parser... " >&6; } 9289 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 9291$as_echo "ok" >&6; } 9292 else 9293 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 9294 fi 9295fi 9296 9297# Substitute ALL_LINGUAS so we can use it in po/Makefile 9298 9299 9300# Set DATADIRNAME correctly if it is not set yet 9301# (copied from glib-gettext.m4) 9302if test -z "$DATADIRNAME"; then 9303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9304/* end confdefs.h. */ 9305 9306int 9307main () 9308{ 9309extern int _nl_msg_cat_cntr; 9310 return _nl_msg_cat_cntr 9311 ; 9312 return 0; 9313} 9314_ACEOF 9315if ac_fn_c_try_link "$LINENO"; then : 9316 DATADIRNAME=share 9317else 9318 case $host in 9319 *-*-solaris*) 9320 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 9321if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 9322 DATADIRNAME=share 9323else 9324 DATADIRNAME=lib 9325fi 9326 9327 ;; 9328 *) 9329 DATADIRNAME=lib 9330 ;; 9331 esac 9332fi 9333rm -f core conftest.err conftest.$ac_objext \ 9334 conftest$ac_exeext conftest.$ac_ext 9335fi 9336 9337 9338 9339 9340 9341 9342 for ac_header in locale.h 9343do : 9344 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default" 9345if test "x$ac_cv_header_locale_h" = xyes; then : 9346 cat >>confdefs.h <<_ACEOF 9347#define HAVE_LOCALE_H 1 9348_ACEOF 9349 9350fi 9351 9352done 9353 9354 if test $ac_cv_header_locale_h = yes; then 9355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5 9356$as_echo_n "checking for LC_MESSAGES... " >&6; } 9357if ${am_cv_val_LC_MESSAGES+:} false; then : 9358 $as_echo_n "(cached) " >&6 9359else 9360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9361/* end confdefs.h. */ 9362#include <locale.h> 9363int 9364main () 9365{ 9366return LC_MESSAGES 9367 ; 9368 return 0; 9369} 9370_ACEOF 9371if ac_fn_c_try_link "$LINENO"; then : 9372 am_cv_val_LC_MESSAGES=yes 9373else 9374 am_cv_val_LC_MESSAGES=no 9375fi 9376rm -f core conftest.err conftest.$ac_objext \ 9377 conftest$ac_exeext conftest.$ac_ext 9378fi 9379{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5 9380$as_echo "$am_cv_val_LC_MESSAGES" >&6; } 9381 if test $am_cv_val_LC_MESSAGES = yes; then 9382 9383$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h 9384 9385 fi 9386 fi 9387 USE_NLS=yes 9388 9389 9390 gt_cv_have_gettext=no 9391 9392 CATOBJEXT=NONE 9393 XGETTEXT=: 9394 INTLLIBS= 9395 9396 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default" 9397if test "x$ac_cv_header_libintl_h" = xyes; then : 9398 gt_cv_func_dgettext_libintl="no" 9399 libintl_extra_libs="" 9400 9401 # 9402 # First check in libc 9403 # 9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5 9405$as_echo_n "checking for ngettext in libc... " >&6; } 9406if ${gt_cv_func_ngettext_libc+:} false; then : 9407 $as_echo_n "(cached) " >&6 9408else 9409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9410/* end confdefs.h. */ 9411 9412#include <libintl.h> 9413 9414int 9415main () 9416{ 9417return !ngettext ("","", 1) 9418 ; 9419 return 0; 9420} 9421_ACEOF 9422if ac_fn_c_try_link "$LINENO"; then : 9423 gt_cv_func_ngettext_libc=yes 9424else 9425 gt_cv_func_ngettext_libc=no 9426fi 9427rm -f core conftest.err conftest.$ac_objext \ 9428 conftest$ac_exeext conftest.$ac_ext 9429 9430fi 9431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_ngettext_libc" >&5 9432$as_echo "$gt_cv_func_ngettext_libc" >&6; } 9433 9434 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 9435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5 9436$as_echo_n "checking for dgettext in libc... " >&6; } 9437if ${gt_cv_func_dgettext_libc+:} false; then : 9438 $as_echo_n "(cached) " >&6 9439else 9440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9441/* end confdefs.h. */ 9442 9443#include <libintl.h> 9444 9445int 9446main () 9447{ 9448return !dgettext ("","") 9449 ; 9450 return 0; 9451} 9452_ACEOF 9453if ac_fn_c_try_link "$LINENO"; then : 9454 gt_cv_func_dgettext_libc=yes 9455else 9456 gt_cv_func_dgettext_libc=no 9457fi 9458rm -f core conftest.err conftest.$ac_objext \ 9459 conftest$ac_exeext conftest.$ac_ext 9460 9461fi 9462{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_dgettext_libc" >&5 9463$as_echo "$gt_cv_func_dgettext_libc" >&6; } 9464 fi 9465 9466 if test "$gt_cv_func_ngettext_libc" = "yes" ; then 9467 for ac_func in bind_textdomain_codeset 9468do : 9469 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 9470if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 9471 cat >>confdefs.h <<_ACEOF 9472#define HAVE_BIND_TEXTDOMAIN_CODESET 1 9473_ACEOF 9474 9475fi 9476done 9477 9478 fi 9479 9480 # 9481 # If we don't have everything we want, check in libintl 9482 # 9483 if test "$gt_cv_func_dgettext_libc" != "yes" \ 9484 || test "$gt_cv_func_ngettext_libc" != "yes" \ 9485 || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then 9486 9487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5 9488$as_echo_n "checking for bindtextdomain in -lintl... " >&6; } 9489if ${ac_cv_lib_intl_bindtextdomain+:} false; then : 9490 $as_echo_n "(cached) " >&6 9491else 9492 ac_check_lib_save_LIBS=$LIBS 9493LIBS="-lintl $LIBS" 9494cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9495/* end confdefs.h. */ 9496 9497/* Override any GCC internal prototype to avoid an error. 9498 Use char because int might match the return type of a GCC 9499 builtin and then its argument prototype would still apply. */ 9500#ifdef __cplusplus 9501extern "C" 9502#endif 9503char bindtextdomain (); 9504int 9505main () 9506{ 9507return bindtextdomain (); 9508 ; 9509 return 0; 9510} 9511_ACEOF 9512if ac_fn_c_try_link "$LINENO"; then : 9513 ac_cv_lib_intl_bindtextdomain=yes 9514else 9515 ac_cv_lib_intl_bindtextdomain=no 9516fi 9517rm -f core conftest.err conftest.$ac_objext \ 9518 conftest$ac_exeext conftest.$ac_ext 9519LIBS=$ac_check_lib_save_LIBS 9520fi 9521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5 9522$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; } 9523if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then : 9524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 9525$as_echo_n "checking for ngettext in -lintl... " >&6; } 9526if ${ac_cv_lib_intl_ngettext+:} false; then : 9527 $as_echo_n "(cached) " >&6 9528else 9529 ac_check_lib_save_LIBS=$LIBS 9530LIBS="-lintl $LIBS" 9531cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9532/* end confdefs.h. */ 9533 9534/* Override any GCC internal prototype to avoid an error. 9535 Use char because int might match the return type of a GCC 9536 builtin and then its argument prototype would still apply. */ 9537#ifdef __cplusplus 9538extern "C" 9539#endif 9540char ngettext (); 9541int 9542main () 9543{ 9544return ngettext (); 9545 ; 9546 return 0; 9547} 9548_ACEOF 9549if ac_fn_c_try_link "$LINENO"; then : 9550 ac_cv_lib_intl_ngettext=yes 9551else 9552 ac_cv_lib_intl_ngettext=no 9553fi 9554rm -f core conftest.err conftest.$ac_objext \ 9555 conftest$ac_exeext conftest.$ac_ext 9556LIBS=$ac_check_lib_save_LIBS 9557fi 9558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 9559$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 9560if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 9561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5 9562$as_echo_n "checking for dgettext in -lintl... " >&6; } 9563if ${ac_cv_lib_intl_dgettext+:} false; then : 9564 $as_echo_n "(cached) " >&6 9565else 9566 ac_check_lib_save_LIBS=$LIBS 9567LIBS="-lintl $LIBS" 9568cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9569/* end confdefs.h. */ 9570 9571/* Override any GCC internal prototype to avoid an error. 9572 Use char because int might match the return type of a GCC 9573 builtin and then its argument prototype would still apply. */ 9574#ifdef __cplusplus 9575extern "C" 9576#endif 9577char dgettext (); 9578int 9579main () 9580{ 9581return dgettext (); 9582 ; 9583 return 0; 9584} 9585_ACEOF 9586if ac_fn_c_try_link "$LINENO"; then : 9587 ac_cv_lib_intl_dgettext=yes 9588else 9589 ac_cv_lib_intl_dgettext=no 9590fi 9591rm -f core conftest.err conftest.$ac_objext \ 9592 conftest$ac_exeext conftest.$ac_ext 9593LIBS=$ac_check_lib_save_LIBS 9594fi 9595{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5 9596$as_echo "$ac_cv_lib_intl_dgettext" >&6; } 9597if test "x$ac_cv_lib_intl_dgettext" = xyes; then : 9598 gt_cv_func_dgettext_libintl=yes 9599fi 9600 9601fi 9602 9603fi 9604 9605 9606 if test "$gt_cv_func_dgettext_libintl" != "yes" ; then 9607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -liconv is needed to use gettext" >&5 9608$as_echo_n "checking if -liconv is needed to use gettext... " >&6; } 9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5 9610$as_echo "" >&6; } 9611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5 9612$as_echo_n "checking for ngettext in -lintl... " >&6; } 9613if ${ac_cv_lib_intl_ngettext+:} false; then : 9614 $as_echo_n "(cached) " >&6 9615else 9616 ac_check_lib_save_LIBS=$LIBS 9617LIBS="-lintl -liconv $LIBS" 9618cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9619/* end confdefs.h. */ 9620 9621/* Override any GCC internal prototype to avoid an error. 9622 Use char because int might match the return type of a GCC 9623 builtin and then its argument prototype would still apply. */ 9624#ifdef __cplusplus 9625extern "C" 9626#endif 9627char ngettext (); 9628int 9629main () 9630{ 9631return ngettext (); 9632 ; 9633 return 0; 9634} 9635_ACEOF 9636if ac_fn_c_try_link "$LINENO"; then : 9637 ac_cv_lib_intl_ngettext=yes 9638else 9639 ac_cv_lib_intl_ngettext=no 9640fi 9641rm -f core conftest.err conftest.$ac_objext \ 9642 conftest$ac_exeext conftest.$ac_ext 9643LIBS=$ac_check_lib_save_LIBS 9644fi 9645{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5 9646$as_echo "$ac_cv_lib_intl_ngettext" >&6; } 9647if test "x$ac_cv_lib_intl_ngettext" = xyes; then : 9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5 9649$as_echo_n "checking for dcgettext in -lintl... " >&6; } 9650if ${ac_cv_lib_intl_dcgettext+:} false; then : 9651 $as_echo_n "(cached) " >&6 9652else 9653 ac_check_lib_save_LIBS=$LIBS 9654LIBS="-lintl -liconv $LIBS" 9655cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9656/* end confdefs.h. */ 9657 9658/* Override any GCC internal prototype to avoid an error. 9659 Use char because int might match the return type of a GCC 9660 builtin and then its argument prototype would still apply. */ 9661#ifdef __cplusplus 9662extern "C" 9663#endif 9664char dcgettext (); 9665int 9666main () 9667{ 9668return dcgettext (); 9669 ; 9670 return 0; 9671} 9672_ACEOF 9673if ac_fn_c_try_link "$LINENO"; then : 9674 ac_cv_lib_intl_dcgettext=yes 9675else 9676 ac_cv_lib_intl_dcgettext=no 9677fi 9678rm -f core conftest.err conftest.$ac_objext \ 9679 conftest$ac_exeext conftest.$ac_ext 9680LIBS=$ac_check_lib_save_LIBS 9681fi 9682{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5 9683$as_echo "$ac_cv_lib_intl_dcgettext" >&6; } 9684if test "x$ac_cv_lib_intl_dcgettext" = xyes; then : 9685 gt_cv_func_dgettext_libintl=yes 9686 libintl_extra_libs=-liconv 9687else 9688 : 9689fi 9690 9691else 9692 : 9693fi 9694 9695 fi 9696 9697 # 9698 # If we found libintl, then check in it for bind_textdomain_codeset(); 9699 # we'll prefer libc if neither have bind_textdomain_codeset(), 9700 # and both have dgettext and ngettext 9701 # 9702 if test "$gt_cv_func_dgettext_libintl" = "yes" ; then 9703 glib_save_LIBS="$LIBS" 9704 LIBS="$LIBS -lintl $libintl_extra_libs" 9705 unset ac_cv_func_bind_textdomain_codeset 9706 for ac_func in bind_textdomain_codeset 9707do : 9708 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 9709if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 9710 cat >>confdefs.h <<_ACEOF 9711#define HAVE_BIND_TEXTDOMAIN_CODESET 1 9712_ACEOF 9713 9714fi 9715done 9716 9717 LIBS="$glib_save_LIBS" 9718 9719 if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then 9720 gt_cv_func_dgettext_libc=no 9721 else 9722 if test "$gt_cv_func_dgettext_libc" = "yes" \ 9723 && test "$gt_cv_func_ngettext_libc" = "yes"; then 9724 gt_cv_func_dgettext_libintl=no 9725 fi 9726 fi 9727 fi 9728 fi 9729 9730 if test "$gt_cv_func_dgettext_libc" = "yes" \ 9731 || test "$gt_cv_func_dgettext_libintl" = "yes"; then 9732 gt_cv_have_gettext=yes 9733 fi 9734 9735 if test "$gt_cv_func_dgettext_libintl" = "yes"; then 9736 INTLLIBS="-lintl $libintl_extra_libs" 9737 fi 9738 9739 if test "$gt_cv_have_gettext" = "yes"; then 9740 9741$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h 9742 9743 # Extract the first word of "msgfmt", so it can be a program name with args. 9744set dummy msgfmt; ac_word=$2 9745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9746$as_echo_n "checking for $ac_word... " >&6; } 9747if ${ac_cv_path_MSGFMT+:} false; then : 9748 $as_echo_n "(cached) " >&6 9749else 9750 case "$MSGFMT" in 9751 /*) 9752 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 9753 ;; 9754 *) 9755 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 9756 for ac_dir in $PATH; do 9757 test -z "$ac_dir" && ac_dir=. 9758 if test -f $ac_dir/$ac_word; then 9759 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then 9760 ac_cv_path_MSGFMT="$ac_dir/$ac_word" 9761 break 9762 fi 9763 fi 9764 done 9765 IFS="$ac_save_ifs" 9766 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no" 9767 ;; 9768esac 9769fi 9770MSGFMT="$ac_cv_path_MSGFMT" 9771if test "$MSGFMT" != "no"; then 9772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 9773$as_echo "$MSGFMT" >&6; } 9774else 9775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9776$as_echo "no" >&6; } 9777fi 9778 if test "$MSGFMT" != "no"; then 9779 glib_save_LIBS="$LIBS" 9780 LIBS="$LIBS $INTLLIBS" 9781 for ac_func in dcgettext 9782do : 9783 ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext" 9784if test "x$ac_cv_func_dcgettext" = xyes; then : 9785 cat >>confdefs.h <<_ACEOF 9786#define HAVE_DCGETTEXT 1 9787_ACEOF 9788 9789fi 9790done 9791 9792 MSGFMT_OPTS= 9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if msgfmt accepts -c" >&5 9794$as_echo_n "checking if msgfmt accepts -c... " >&6; } 9795 cat >conftest.foo <<_ACEOF 9796 9797msgid "" 9798msgstr "" 9799"Content-Type: text/plain; charset=UTF-8\n" 9800"Project-Id-Version: test 1.0\n" 9801"PO-Revision-Date: 2007-02-15 12:01+0100\n" 9802"Last-Translator: test <foo@bar.xx>\n" 9803"Language-Team: C <LL@li.org>\n" 9804"MIME-Version: 1.0\n" 9805"Content-Transfer-Encoding: 8bit\n" 9806 9807_ACEOF 9808if { { $as_echo "$as_me:${as_lineno-$LINENO}: \$MSGFMT -c -o /dev/null conftest.foo"; } >&5 9809 ($MSGFMT -c -o /dev/null conftest.foo) 2>&5 9810 ac_status=$? 9811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 9812 test $ac_status = 0; }; then 9813 MSGFMT_OPTS=-c; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9814$as_echo "yes" >&6; } 9815else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9816$as_echo "no" >&6; } 9817echo "$as_me: failed input was:" >&5 9818sed 's/^/| /' conftest.foo >&5 9819fi 9820 9821 # Extract the first word of "gmsgfmt", so it can be a program name with args. 9822set dummy gmsgfmt; ac_word=$2 9823{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9824$as_echo_n "checking for $ac_word... " >&6; } 9825if ${ac_cv_path_GMSGFMT+:} false; then : 9826 $as_echo_n "(cached) " >&6 9827else 9828 case $GMSGFMT in 9829 [\\/]* | ?:[\\/]*) 9830 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 9831 ;; 9832 *) 9833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9834for as_dir in $PATH 9835do 9836 IFS=$as_save_IFS 9837 test -z "$as_dir" && as_dir=. 9838 for ac_exec_ext in '' $ac_executable_extensions; do 9839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 9840 ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" 9841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 9842 break 2 9843 fi 9844done 9845 done 9846IFS=$as_save_IFS 9847 9848 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 9849 ;; 9850esac 9851fi 9852GMSGFMT=$ac_cv_path_GMSGFMT 9853if test -n "$GMSGFMT"; then 9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 9855$as_echo "$GMSGFMT" >&6; } 9856else 9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9858$as_echo "no" >&6; } 9859fi 9860 9861 9862 # Extract the first word of "xgettext", so it can be a program name with args. 9863set dummy xgettext; ac_word=$2 9864{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 9865$as_echo_n "checking for $ac_word... " >&6; } 9866if ${ac_cv_path_XGETTEXT+:} false; then : 9867 $as_echo_n "(cached) " >&6 9868else 9869 case "$XGETTEXT" in 9870 /*) 9871 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 9872 ;; 9873 *) 9874 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" 9875 for ac_dir in $PATH; do 9876 test -z "$ac_dir" && ac_dir=. 9877 if test -f $ac_dir/$ac_word; then 9878 if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then 9879 ac_cv_path_XGETTEXT="$ac_dir/$ac_word" 9880 break 9881 fi 9882 fi 9883 done 9884 IFS="$ac_save_ifs" 9885 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":" 9886 ;; 9887esac 9888fi 9889XGETTEXT="$ac_cv_path_XGETTEXT" 9890if test "$XGETTEXT" != ":"; then 9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 9892$as_echo "$XGETTEXT" >&6; } 9893else 9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 9895$as_echo "no" >&6; } 9896fi 9897 9898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9899/* end confdefs.h. */ 9900 9901int 9902main () 9903{ 9904extern int _nl_msg_cat_cntr; 9905 return _nl_msg_cat_cntr 9906 ; 9907 return 0; 9908} 9909_ACEOF 9910if ac_fn_c_try_link "$LINENO"; then : 9911 CATOBJEXT=.gmo 9912 DATADIRNAME=share 9913else 9914 case $host in 9915 *-*-solaris*) 9916 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 9917if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then : 9918 CATOBJEXT=.gmo 9919 DATADIRNAME=share 9920else 9921 CATOBJEXT=.mo 9922 DATADIRNAME=lib 9923fi 9924 9925 ;; 9926 *-*-openbsd*) 9927 CATOBJEXT=.mo 9928 DATADIRNAME=share 9929 ;; 9930 *) 9931 CATOBJEXT=.mo 9932 DATADIRNAME=lib 9933 ;; 9934 esac 9935fi 9936rm -f core conftest.err conftest.$ac_objext \ 9937 conftest$ac_exeext conftest.$ac_ext 9938 LIBS="$glib_save_LIBS" 9939 INSTOBJEXT=.mo 9940 else 9941 gt_cv_have_gettext=no 9942 fi 9943 fi 9944 9945fi 9946 9947 9948 9949 if test "$gt_cv_have_gettext" = "yes" ; then 9950 9951$as_echo "#define ENABLE_NLS 1" >>confdefs.h 9952 9953 fi 9954 9955 if test "$XGETTEXT" != ":"; then 9956 if $XGETTEXT --omit-header /dev/null 2> /dev/null; then 9957 : ; 9958 else 9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5 9960$as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; } 9961 XGETTEXT=":" 9962 fi 9963 fi 9964 9965 # We need to process the po/ directory. 9966 POSUB=po 9967 9968 ac_config_commands="$ac_config_commands default-1" 9969 9970 9971 for lang in $ALL_LINGUAS; do 9972 GMOFILES="$GMOFILES $lang.gmo" 9973 POFILES="$POFILES $lang.po" 9974 done 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 if test "$gt_cv_have_gettext" = "yes"; then 9989 if test "x$ALL_LINGUAS" = "x"; then 9990 LINGUAS= 9991 else 9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5 9993$as_echo_n "checking for catalogs to be installed... " >&6; } 9994 NEW_LINGUAS= 9995 for presentlang in $ALL_LINGUAS; do 9996 useit=no 9997 if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then 9998 desiredlanguages="$LINGUAS" 9999 else 10000 desiredlanguages="$ALL_LINGUAS" 10001 fi 10002 for desiredlang in $desiredlanguages; do 10003 # Use the presentlang catalog if desiredlang is 10004 # a. equal to presentlang, or 10005 # b. a variant of presentlang (because in this case, 10006 # presentlang can be used as a fallback for messages 10007 # which are not translated in the desiredlang catalog). 10008 case "$desiredlang" in 10009 "$presentlang"*) useit=yes;; 10010 esac 10011 done 10012 if test $useit = yes; then 10013 NEW_LINGUAS="$NEW_LINGUAS $presentlang" 10014 fi 10015 done 10016 LINGUAS=$NEW_LINGUAS 10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5 10018$as_echo "$LINGUAS" >&6; } 10019 fi 10020 10021 if test -n "$LINGUAS"; then 10022 for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done 10023 fi 10024 fi 10025 10026 MKINSTALLDIRS= 10027 if test -n "$ac_aux_dir"; then 10028 MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" 10029 fi 10030 if test -z "$MKINSTALLDIRS"; then 10031 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" 10032 fi 10033 10034 10035 test -d po || mkdir po 10036 if test "x$srcdir" != "x."; then 10037 if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then 10038 posrcprefix="$srcdir/" 10039 else 10040 posrcprefix="../$srcdir/" 10041 fi 10042 else 10043 posrcprefix="../" 10044 fi 10045 rm -f po/POTFILES 10046 sed -e "/^#/d" -e "/^\$/d" -e "s,.*, $posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \ 10047 < $srcdir/po/POTFILES.in > po/POTFILES 10048 10049 10050# Checks for header files. 10051for ac_header in stdlib.h string.h 10052do : 10053 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 10054ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 10055if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 10056 cat >>confdefs.h <<_ACEOF 10057#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 10058_ACEOF 10059 10060fi 10061 10062done 10063 10064 10065# Checks for typedefs, structures, and compiler characteristics. 10066 10067# Checks for library functions. 10068 10069cat >confcache <<\_ACEOF 10070# This file is a shell script that caches the results of configure 10071# tests run on this system so they can be shared between configure 10072# scripts and configure runs, see configure's option --config-cache. 10073# It is not useful on other systems. If it contains results you don't 10074# want to keep, you may remove or edit it. 10075# 10076# config.status only pays attention to the cache file if you give it 10077# the --recheck option to rerun configure. 10078# 10079# `ac_cv_env_foo' variables (set or unset) will be overridden when 10080# loading this file, other *unset* `ac_cv_foo' will be assigned the 10081# following values. 10082 10083_ACEOF 10084 10085# The following way of writing the cache mishandles newlines in values, 10086# but we know of no workaround that is simple, portable, and efficient. 10087# So, we kill variables containing newlines. 10088# Ultrix sh set writes to stderr and can't be redirected directly, 10089# and sets the high bit in the cache file unless we assign to the vars. 10090( 10091 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 10092 eval ac_val=\$$ac_var 10093 case $ac_val in #( 10094 *${as_nl}*) 10095 case $ac_var in #( 10096 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 10097$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 10098 esac 10099 case $ac_var in #( 10100 _ | IFS | as_nl) ;; #( 10101 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 10102 *) { eval $ac_var=; unset $ac_var;} ;; 10103 esac ;; 10104 esac 10105 done 10106 10107 (set) 2>&1 | 10108 case $as_nl`(ac_space=' '; set) 2>&1` in #( 10109 *${as_nl}ac_space=\ *) 10110 # `set' does not quote correctly, so add quotes: double-quote 10111 # substitution turns \\\\ into \\, and sed turns \\ into \. 10112 sed -n \ 10113 "s/'/'\\\\''/g; 10114 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 10115 ;; #( 10116 *) 10117 # `set' quotes correctly as required by POSIX, so do not add quotes. 10118 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 10119 ;; 10120 esac | 10121 sort 10122) | 10123 sed ' 10124 /^ac_cv_env_/b end 10125 t clear 10126 :clear 10127 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 10128 t end 10129 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 10130 :end' >>confcache 10131if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 10132 if test -w "$cache_file"; then 10133 if test "x$cache_file" != "x/dev/null"; then 10134 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 10135$as_echo "$as_me: updating cache $cache_file" >&6;} 10136 if test ! -f "$cache_file" || test -h "$cache_file"; then 10137 cat confcache >"$cache_file" 10138 else 10139 case $cache_file in #( 10140 */* | ?:*) 10141 mv -f confcache "$cache_file"$$ && 10142 mv -f "$cache_file"$$ "$cache_file" ;; #( 10143 *) 10144 mv -f confcache "$cache_file" ;; 10145 esac 10146 fi 10147 fi 10148 else 10149 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 10150$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 10151 fi 10152fi 10153rm -f confcache 10154 10155test "x$prefix" = xNONE && prefix=$ac_default_prefix 10156# Let make expand exec_prefix. 10157test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 10158 10159DEFS=-DHAVE_CONFIG_H 10160 10161ac_libobjs= 10162ac_ltlibobjs= 10163U= 10164for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 10165 # 1. Remove the extension, and $U if already installed. 10166 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 10167 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 10168 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 10169 # will be set to the directory where LIBOBJS objects are built. 10170 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 10171 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 10172done 10173LIBOBJS=$ac_libobjs 10174 10175LTLIBOBJS=$ac_ltlibobjs 10176 10177 10178{ $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 10179$as_echo_n "checking that generated files are newer than configure... " >&6; } 10180 if test -n "$am_sleep_pid"; then 10181 # Hide warnings about reused PIDs. 10182 wait $am_sleep_pid 2>/dev/null 10183 fi 10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 10185$as_echo "done" >&6; } 10186 if test -n "$EXEEXT"; then 10187 am__EXEEXT_TRUE= 10188 am__EXEEXT_FALSE='#' 10189else 10190 am__EXEEXT_TRUE='#' 10191 am__EXEEXT_FALSE= 10192fi 10193 10194if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 10195 as_fn_error $? "conditional \"AMDEP\" was never defined. 10196Usually this means the macro was only invoked conditionally." "$LINENO" 5 10197fi 10198if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 10199 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 10200Usually this means the macro was only invoked conditionally." "$LINENO" 5 10201fi 10202if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 10203 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 10204Usually this means the macro was only invoked conditionally." "$LINENO" 5 10205fi 10206if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 10207 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 10208Usually this means the macro was only invoked conditionally." "$LINENO" 5 10209fi 10210if test -z "${HAVE_APP_INDICATOR_TRUE}" && test -z "${HAVE_APP_INDICATOR_FALSE}"; then 10211 as_fn_error $? "conditional \"HAVE_APP_INDICATOR\" was never defined. 10212Usually this means the macro was only invoked conditionally." "$LINENO" 5 10213fi 10214 10215 ac_config_commands="$ac_config_commands po/stamp-it" 10216 10217 10218 10219: "${CONFIG_STATUS=./config.status}" 10220ac_write_fail=0 10221ac_clean_files_save=$ac_clean_files 10222ac_clean_files="$ac_clean_files $CONFIG_STATUS" 10223{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 10224$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 10225as_write_fail=0 10226cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 10227#! $SHELL 10228# Generated by $as_me. 10229# Run this file to recreate the current configuration. 10230# Compiler output produced by configure, useful for debugging 10231# configure, is in config.log if it exists. 10232 10233debug=false 10234ac_cs_recheck=false 10235ac_cs_silent=false 10236 10237SHELL=\${CONFIG_SHELL-$SHELL} 10238export SHELL 10239_ASEOF 10240cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 10241## -------------------- ## 10242## M4sh Initialization. ## 10243## -------------------- ## 10244 10245# Be more Bourne compatible 10246DUALCASE=1; export DUALCASE # for MKS sh 10247if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 10248 emulate sh 10249 NULLCMD=: 10250 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 10251 # is contrary to our usage. Disable this feature. 10252 alias -g '${1+"$@"}'='"$@"' 10253 setopt NO_GLOB_SUBST 10254else 10255 case `(set -o) 2>/dev/null` in #( 10256 *posix*) : 10257 set -o posix ;; #( 10258 *) : 10259 ;; 10260esac 10261fi 10262 10263 10264as_nl=' 10265' 10266export as_nl 10267# Printing a long string crashes Solaris 7 /usr/bin/printf. 10268as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 10269as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 10270as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 10271# Prefer a ksh shell builtin over an external printf program on Solaris, 10272# but without wasting forks for bash or zsh. 10273if test -z "$BASH_VERSION$ZSH_VERSION" \ 10274 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 10275 as_echo='print -r --' 10276 as_echo_n='print -rn --' 10277elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 10278 as_echo='printf %s\n' 10279 as_echo_n='printf %s' 10280else 10281 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 10282 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 10283 as_echo_n='/usr/ucb/echo -n' 10284 else 10285 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 10286 as_echo_n_body='eval 10287 arg=$1; 10288 case $arg in #( 10289 *"$as_nl"*) 10290 expr "X$arg" : "X\\(.*\\)$as_nl"; 10291 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 10292 esac; 10293 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 10294 ' 10295 export as_echo_n_body 10296 as_echo_n='sh -c $as_echo_n_body as_echo' 10297 fi 10298 export as_echo_body 10299 as_echo='sh -c $as_echo_body as_echo' 10300fi 10301 10302# The user is always right. 10303if test "${PATH_SEPARATOR+set}" != set; then 10304 PATH_SEPARATOR=: 10305 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 10306 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 10307 PATH_SEPARATOR=';' 10308 } 10309fi 10310 10311 10312# IFS 10313# We need space, tab and new line, in precisely that order. Quoting is 10314# there to prevent editors from complaining about space-tab. 10315# (If _AS_PATH_WALK were called with IFS unset, it would disable word 10316# splitting by setting IFS to empty value.) 10317IFS=" "" $as_nl" 10318 10319# Find who we are. Look in the path if we contain no directory separator. 10320as_myself= 10321case $0 in #(( 10322 *[\\/]* ) as_myself=$0 ;; 10323 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 10324for as_dir in $PATH 10325do 10326 IFS=$as_save_IFS 10327 test -z "$as_dir" && as_dir=. 10328 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 10329 done 10330IFS=$as_save_IFS 10331 10332 ;; 10333esac 10334# We did not find ourselves, most probably we were run as `sh COMMAND' 10335# in which case we are not to be found in the path. 10336if test "x$as_myself" = x; then 10337 as_myself=$0 10338fi 10339if test ! -f "$as_myself"; then 10340 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 10341 exit 1 10342fi 10343 10344# Unset variables that we do not need and which cause bugs (e.g. in 10345# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 10346# suppresses any "Segmentation fault" message there. '((' could 10347# trigger a bug in pdksh 5.2.14. 10348for as_var in BASH_ENV ENV MAIL MAILPATH 10349do eval test x\${$as_var+set} = xset \ 10350 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 10351done 10352PS1='$ ' 10353PS2='> ' 10354PS4='+ ' 10355 10356# NLS nuisances. 10357LC_ALL=C 10358export LC_ALL 10359LANGUAGE=C 10360export LANGUAGE 10361 10362# CDPATH. 10363(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 10364 10365 10366# as_fn_error STATUS ERROR [LINENO LOG_FD] 10367# ---------------------------------------- 10368# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 10369# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 10370# script with STATUS, using 1 if that was 0. 10371as_fn_error () 10372{ 10373 as_status=$1; test $as_status -eq 0 && as_status=1 10374 if test "$4"; then 10375 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 10376 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 10377 fi 10378 $as_echo "$as_me: error: $2" >&2 10379 as_fn_exit $as_status 10380} # as_fn_error 10381 10382 10383# as_fn_set_status STATUS 10384# ----------------------- 10385# Set $? to STATUS, without forking. 10386as_fn_set_status () 10387{ 10388 return $1 10389} # as_fn_set_status 10390 10391# as_fn_exit STATUS 10392# ----------------- 10393# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 10394as_fn_exit () 10395{ 10396 set +e 10397 as_fn_set_status $1 10398 exit $1 10399} # as_fn_exit 10400 10401# as_fn_unset VAR 10402# --------------- 10403# Portably unset VAR. 10404as_fn_unset () 10405{ 10406 { eval $1=; unset $1;} 10407} 10408as_unset=as_fn_unset 10409# as_fn_append VAR VALUE 10410# ---------------------- 10411# Append the text in VALUE to the end of the definition contained in VAR. Take 10412# advantage of any shell optimizations that allow amortized linear growth over 10413# repeated appends, instead of the typical quadratic growth present in naive 10414# implementations. 10415if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 10416 eval 'as_fn_append () 10417 { 10418 eval $1+=\$2 10419 }' 10420else 10421 as_fn_append () 10422 { 10423 eval $1=\$$1\$2 10424 } 10425fi # as_fn_append 10426 10427# as_fn_arith ARG... 10428# ------------------ 10429# Perform arithmetic evaluation on the ARGs, and store the result in the 10430# global $as_val. Take advantage of shells that can avoid forks. The arguments 10431# must be portable across $(()) and expr. 10432if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 10433 eval 'as_fn_arith () 10434 { 10435 as_val=$(( $* )) 10436 }' 10437else 10438 as_fn_arith () 10439 { 10440 as_val=`expr "$@" || test $? -eq 1` 10441 } 10442fi # as_fn_arith 10443 10444 10445if expr a : '\(a\)' >/dev/null 2>&1 && 10446 test "X`expr 00001 : '.*\(...\)'`" = X001; then 10447 as_expr=expr 10448else 10449 as_expr=false 10450fi 10451 10452if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 10453 as_basename=basename 10454else 10455 as_basename=false 10456fi 10457 10458if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 10459 as_dirname=dirname 10460else 10461 as_dirname=false 10462fi 10463 10464as_me=`$as_basename -- "$0" || 10465$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 10466 X"$0" : 'X\(//\)$' \| \ 10467 X"$0" : 'X\(/\)' \| . 2>/dev/null || 10468$as_echo X/"$0" | 10469 sed '/^.*\/\([^/][^/]*\)\/*$/{ 10470 s//\1/ 10471 q 10472 } 10473 /^X\/\(\/\/\)$/{ 10474 s//\1/ 10475 q 10476 } 10477 /^X\/\(\/\).*/{ 10478 s//\1/ 10479 q 10480 } 10481 s/.*/./; q'` 10482 10483# Avoid depending upon Character Ranges. 10484as_cr_letters='abcdefghijklmnopqrstuvwxyz' 10485as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 10486as_cr_Letters=$as_cr_letters$as_cr_LETTERS 10487as_cr_digits='0123456789' 10488as_cr_alnum=$as_cr_Letters$as_cr_digits 10489 10490ECHO_C= ECHO_N= ECHO_T= 10491case `echo -n x` in #((((( 10492-n*) 10493 case `echo 'xy\c'` in 10494 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 10495 xy) ECHO_C='\c';; 10496 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 10497 ECHO_T=' ';; 10498 esac;; 10499*) 10500 ECHO_N='-n';; 10501esac 10502 10503rm -f conf$$ conf$$.exe conf$$.file 10504if test -d conf$$.dir; then 10505 rm -f conf$$.dir/conf$$.file 10506else 10507 rm -f conf$$.dir 10508 mkdir conf$$.dir 2>/dev/null 10509fi 10510if (echo >conf$$.file) 2>/dev/null; then 10511 if ln -s conf$$.file conf$$ 2>/dev/null; then 10512 as_ln_s='ln -s' 10513 # ... but there are two gotchas: 10514 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 10515 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 10516 # In both cases, we have to default to `cp -pR'. 10517 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 10518 as_ln_s='cp -pR' 10519 elif ln conf$$.file conf$$ 2>/dev/null; then 10520 as_ln_s=ln 10521 else 10522 as_ln_s='cp -pR' 10523 fi 10524else 10525 as_ln_s='cp -pR' 10526fi 10527rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 10528rmdir conf$$.dir 2>/dev/null 10529 10530 10531# as_fn_mkdir_p 10532# ------------- 10533# Create "$as_dir" as a directory, including parents if necessary. 10534as_fn_mkdir_p () 10535{ 10536 10537 case $as_dir in #( 10538 -*) as_dir=./$as_dir;; 10539 esac 10540 test -d "$as_dir" || eval $as_mkdir_p || { 10541 as_dirs= 10542 while :; do 10543 case $as_dir in #( 10544 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 10545 *) as_qdir=$as_dir;; 10546 esac 10547 as_dirs="'$as_qdir' $as_dirs" 10548 as_dir=`$as_dirname -- "$as_dir" || 10549$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10550 X"$as_dir" : 'X\(//\)[^/]' \| \ 10551 X"$as_dir" : 'X\(//\)$' \| \ 10552 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 10553$as_echo X"$as_dir" | 10554 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10555 s//\1/ 10556 q 10557 } 10558 /^X\(\/\/\)[^/].*/{ 10559 s//\1/ 10560 q 10561 } 10562 /^X\(\/\/\)$/{ 10563 s//\1/ 10564 q 10565 } 10566 /^X\(\/\).*/{ 10567 s//\1/ 10568 q 10569 } 10570 s/.*/./; q'` 10571 test -d "$as_dir" && break 10572 done 10573 test -z "$as_dirs" || eval "mkdir $as_dirs" 10574 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 10575 10576 10577} # as_fn_mkdir_p 10578if mkdir -p . 2>/dev/null; then 10579 as_mkdir_p='mkdir -p "$as_dir"' 10580else 10581 test -d ./-p && rmdir ./-p 10582 as_mkdir_p=false 10583fi 10584 10585 10586# as_fn_executable_p FILE 10587# ----------------------- 10588# Test if FILE is an executable regular file. 10589as_fn_executable_p () 10590{ 10591 test -f "$1" && test -x "$1" 10592} # as_fn_executable_p 10593as_test_x='test -x' 10594as_executable_p=as_fn_executable_p 10595 10596# Sed expression to map a string onto a valid CPP name. 10597as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 10598 10599# Sed expression to map a string onto a valid variable name. 10600as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 10601 10602 10603exec 6>&1 10604## ----------------------------------- ## 10605## Main body of $CONFIG_STATUS script. ## 10606## ----------------------------------- ## 10607_ASEOF 10608test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 10609 10610cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10611# Save the log message, to keep $0 and so on meaningful, and to 10612# report actual input values of CONFIG_FILES etc. instead of their 10613# values after options handling. 10614ac_log=" 10615This file was extended by osdlyrics $as_me 0.4.3, which was 10616generated by GNU Autoconf 2.69. Invocation command line was 10617 10618 CONFIG_FILES = $CONFIG_FILES 10619 CONFIG_HEADERS = $CONFIG_HEADERS 10620 CONFIG_LINKS = $CONFIG_LINKS 10621 CONFIG_COMMANDS = $CONFIG_COMMANDS 10622 $ $0 $@ 10623 10624on `(hostname || uname -n) 2>/dev/null | sed 1q` 10625" 10626 10627_ACEOF 10628 10629case $ac_config_files in *" 10630"*) set x $ac_config_files; shift; ac_config_files=$*;; 10631esac 10632 10633case $ac_config_headers in *" 10634"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 10635esac 10636 10637 10638cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10639# Files that config.status was made for. 10640config_files="$ac_config_files" 10641config_headers="$ac_config_headers" 10642config_commands="$ac_config_commands" 10643 10644_ACEOF 10645 10646cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10647ac_cs_usage="\ 10648\`$as_me' instantiates files and other configuration actions 10649from templates according to the current configuration. Unless the files 10650and actions are specified as TAGs, all are instantiated by default. 10651 10652Usage: $0 [OPTION]... [TAG]... 10653 10654 -h, --help print this help, then exit 10655 -V, --version print version number and configuration settings, then exit 10656 --config print configuration, then exit 10657 -q, --quiet, --silent 10658 do not print progress messages 10659 -d, --debug don't remove temporary files 10660 --recheck update $as_me by reconfiguring in the same conditions 10661 --file=FILE[:TEMPLATE] 10662 instantiate the configuration file FILE 10663 --header=FILE[:TEMPLATE] 10664 instantiate the configuration header FILE 10665 10666Configuration files: 10667$config_files 10668 10669Configuration headers: 10670$config_headers 10671 10672Configuration commands: 10673$config_commands 10674 10675Report bugs to <http://code.google.com/p/osd-lyrics/issues/list>." 10676 10677_ACEOF 10678cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10679ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 10680ac_cs_version="\\ 10681osdlyrics config.status 0.4.3 10682configured by $0, generated by GNU Autoconf 2.69, 10683 with options \\"\$ac_cs_config\\" 10684 10685Copyright (C) 2012 Free Software Foundation, Inc. 10686This config.status script is free software; the Free Software Foundation 10687gives unlimited permission to copy, distribute and modify it." 10688 10689ac_pwd='$ac_pwd' 10690srcdir='$srcdir' 10691INSTALL='$INSTALL' 10692MKDIR_P='$MKDIR_P' 10693AWK='$AWK' 10694test -n "\$AWK" || AWK=awk 10695_ACEOF 10696 10697cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10698# The default lists apply if the user does not specify any file. 10699ac_need_defaults=: 10700while test $# != 0 10701do 10702 case $1 in 10703 --*=?*) 10704 ac_option=`expr "X$1" : 'X\([^=]*\)='` 10705 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 10706 ac_shift=: 10707 ;; 10708 --*=) 10709 ac_option=`expr "X$1" : 'X\([^=]*\)='` 10710 ac_optarg= 10711 ac_shift=: 10712 ;; 10713 *) 10714 ac_option=$1 10715 ac_optarg=$2 10716 ac_shift=shift 10717 ;; 10718 esac 10719 10720 case $ac_option in 10721 # Handling of the options. 10722 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 10723 ac_cs_recheck=: ;; 10724 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 10725 $as_echo "$ac_cs_version"; exit ;; 10726 --config | --confi | --conf | --con | --co | --c ) 10727 $as_echo "$ac_cs_config"; exit ;; 10728 --debug | --debu | --deb | --de | --d | -d ) 10729 debug=: ;; 10730 --file | --fil | --fi | --f ) 10731 $ac_shift 10732 case $ac_optarg in 10733 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10734 '') as_fn_error $? "missing file argument" ;; 10735 esac 10736 as_fn_append CONFIG_FILES " '$ac_optarg'" 10737 ac_need_defaults=false;; 10738 --header | --heade | --head | --hea ) 10739 $ac_shift 10740 case $ac_optarg in 10741 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 10742 esac 10743 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 10744 ac_need_defaults=false;; 10745 --he | --h) 10746 # Conflict between --help and --header 10747 as_fn_error $? "ambiguous option: \`$1' 10748Try \`$0 --help' for more information.";; 10749 --help | --hel | -h ) 10750 $as_echo "$ac_cs_usage"; exit ;; 10751 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 10752 | -silent | --silent | --silen | --sile | --sil | --si | --s) 10753 ac_cs_silent=: ;; 10754 10755 # This is an error. 10756 -*) as_fn_error $? "unrecognized option: \`$1' 10757Try \`$0 --help' for more information." ;; 10758 10759 *) as_fn_append ac_config_targets " $1" 10760 ac_need_defaults=false ;; 10761 10762 esac 10763 shift 10764done 10765 10766ac_configure_extra_args= 10767 10768if $ac_cs_silent; then 10769 exec 6>/dev/null 10770 ac_configure_extra_args="$ac_configure_extra_args --silent" 10771fi 10772 10773_ACEOF 10774cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10775if \$ac_cs_recheck; then 10776 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 10777 shift 10778 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 10779 CONFIG_SHELL='$SHELL' 10780 export CONFIG_SHELL 10781 exec "\$@" 10782fi 10783 10784_ACEOF 10785cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10786exec 5>>config.log 10787{ 10788 echo 10789 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 10790## Running $as_me. ## 10791_ASBOX 10792 $as_echo "$ac_log" 10793} >&5 10794 10795_ACEOF 10796cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10797# 10798# INIT-COMMANDS 10799# 10800AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 10801 10802 10803_ACEOF 10804 10805cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10806 10807# Handling of arguments. 10808for ac_config_target in $ac_config_targets 10809do 10810 case $ac_config_target in 10811 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 10812 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 10813 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 10814 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 10815 "lib/Makefile") CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;; 10816 "lib/chardetect/Makefile") CONFIG_FILES="$CONFIG_FILES lib/chardetect/Makefile" ;; 10817 "dailydeb.sh") CONFIG_FILES="$CONFIG_FILES dailydeb.sh" ;; 10818 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 10819 "src/tests/Makefile") CONFIG_FILES="$CONFIG_FILES src/tests/Makefile" ;; 10820 "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;; 10821 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;; 10822 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 10823 10824 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 10825 esac 10826done 10827 10828 10829# If the user did not use the arguments to specify the items to instantiate, 10830# then the envvar interface is used. Set only those that are not. 10831# We use the long form for the default assignment because of an extremely 10832# bizarre bug on SunOS 4.1.3. 10833if $ac_need_defaults; then 10834 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 10835 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers 10836 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 10837fi 10838 10839# Have a temporary directory for convenience. Make it in the build tree 10840# simply because there is no reason against having it here, and in addition, 10841# creating and moving files from /tmp can sometimes cause problems. 10842# Hook for its removal unless debugging. 10843# Note that there is a small window in which the directory will not be cleaned: 10844# after its creation but before its name has been assigned to `$tmp'. 10845$debug || 10846{ 10847 tmp= ac_tmp= 10848 trap 'exit_status=$? 10849 : "${ac_tmp:=$tmp}" 10850 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 10851' 0 10852 trap 'as_fn_exit 1' 1 2 13 15 10853} 10854# Create a (secure) tmp directory for tmp files. 10855 10856{ 10857 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 10858 test -d "$tmp" 10859} || 10860{ 10861 tmp=./conf$$-$RANDOM 10862 (umask 077 && mkdir "$tmp") 10863} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 10864ac_tmp=$tmp 10865 10866# Set up the scripts for CONFIG_FILES section. 10867# No need to generate them if there are no CONFIG_FILES. 10868# This happens for instance with `./config.status config.h'. 10869if test -n "$CONFIG_FILES"; then 10870 10871 10872ac_cr=`echo X | tr X '\015'` 10873# On cygwin, bash can eat \r inside `` if the user requested igncr. 10874# But we know of no other shell where ac_cr would be empty at this 10875# point, so we can use a bashism as a fallback. 10876if test "x$ac_cr" = x; then 10877 eval ac_cr=\$\'\\r\' 10878fi 10879ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 10880if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 10881 ac_cs_awk_cr='\\r' 10882else 10883 ac_cs_awk_cr=$ac_cr 10884fi 10885 10886echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 10887_ACEOF 10888 10889 10890{ 10891 echo "cat >conf$$subs.awk <<_ACEOF" && 10892 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 10893 echo "_ACEOF" 10894} >conf$$subs.sh || 10895 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10896ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 10897ac_delim='%!_!# ' 10898for ac_last_try in false false false false false :; do 10899 . ./conf$$subs.sh || 10900 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10901 10902 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 10903 if test $ac_delim_n = $ac_delim_num; then 10904 break 10905 elif $ac_last_try; then 10906 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10907 else 10908 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 10909 fi 10910done 10911rm -f conf$$subs.sh 10912 10913cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10914cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 10915_ACEOF 10916sed -n ' 10917h 10918s/^/S["/; s/!.*/"]=/ 10919p 10920g 10921s/^[^!]*!// 10922:repl 10923t repl 10924s/'"$ac_delim"'$// 10925t delim 10926:nl 10927h 10928s/\(.\{148\}\)..*/\1/ 10929t more1 10930s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 10931p 10932n 10933b repl 10934:more1 10935s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10936p 10937g 10938s/.\{148\}// 10939t nl 10940:delim 10941h 10942s/\(.\{148\}\)..*/\1/ 10943t more2 10944s/["\\]/\\&/g; s/^/"/; s/$/"/ 10945p 10946b 10947:more2 10948s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10949p 10950g 10951s/.\{148\}// 10952t delim 10953' <conf$$subs.awk | sed ' 10954/^[^""]/{ 10955 N 10956 s/\n// 10957} 10958' >>$CONFIG_STATUS || ac_write_fail=1 10959rm -f conf$$subs.awk 10960cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10961_ACAWK 10962cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 10963 for (key in S) S_is_set[key] = 1 10964 FS = "" 10965 10966} 10967{ 10968 line = $ 0 10969 nfields = split(line, field, "@") 10970 substed = 0 10971 len = length(field[1]) 10972 for (i = 2; i < nfields; i++) { 10973 key = field[i] 10974 keylen = length(key) 10975 if (S_is_set[key]) { 10976 value = S[key] 10977 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 10978 len += length(value) + length(field[++i]) 10979 substed = 1 10980 } else 10981 len += 1 + keylen 10982 } 10983 10984 print line 10985} 10986 10987_ACAWK 10988_ACEOF 10989cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10990if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 10991 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 10992else 10993 cat 10994fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 10995 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 10996_ACEOF 10997 10998# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 10999# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 11000# trailing colons and then remove the whole line if VPATH becomes empty 11001# (actually we leave an empty line to preserve line numbers). 11002if test "x$srcdir" = x.; then 11003 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 11004h 11005s/// 11006s/^/:/ 11007s/[ ]*$/:/ 11008s/:\$(srcdir):/:/g 11009s/:\${srcdir}:/:/g 11010s/:@srcdir@:/:/g 11011s/^:*// 11012s/:*$// 11013x 11014s/\(=[ ]*\).*/\1/ 11015G 11016s/\n// 11017s/^[^=]*=[ ]*$// 11018}' 11019fi 11020 11021cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11022fi # test -n "$CONFIG_FILES" 11023 11024# Set up the scripts for CONFIG_HEADERS section. 11025# No need to generate them if there are no CONFIG_HEADERS. 11026# This happens for instance with `./config.status Makefile'. 11027if test -n "$CONFIG_HEADERS"; then 11028cat >"$ac_tmp/defines.awk" <<\_ACAWK || 11029BEGIN { 11030_ACEOF 11031 11032# Transform confdefs.h into an awk script `defines.awk', embedded as 11033# here-document in config.status, that substitutes the proper values into 11034# config.h.in to produce config.h. 11035 11036# Create a delimiter string that does not exist in confdefs.h, to ease 11037# handling of long lines. 11038ac_delim='%!_!# ' 11039for ac_last_try in false false :; do 11040 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 11041 if test -z "$ac_tt"; then 11042 break 11043 elif $ac_last_try; then 11044 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 11045 else 11046 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 11047 fi 11048done 11049 11050# For the awk script, D is an array of macro values keyed by name, 11051# likewise P contains macro parameters if any. Preserve backslash 11052# newline sequences. 11053 11054ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 11055sed -n ' 11056s/.\{148\}/&'"$ac_delim"'/g 11057t rset 11058:rset 11059s/^[ ]*#[ ]*define[ ][ ]*/ / 11060t def 11061d 11062:def 11063s/\\$// 11064t bsnl 11065s/["\\]/\\&/g 11066s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 11067D["\1"]=" \3"/p 11068s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 11069d 11070:bsnl 11071s/["\\]/\\&/g 11072s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 11073D["\1"]=" \3\\\\\\n"\\/p 11074t cont 11075s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 11076t cont 11077d 11078:cont 11079n 11080s/.\{148\}/&'"$ac_delim"'/g 11081t clear 11082:clear 11083s/\\$// 11084t bsnlc 11085s/["\\]/\\&/g; s/^/"/; s/$/"/p 11086d 11087:bsnlc 11088s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 11089b cont 11090' <confdefs.h | sed ' 11091s/'"$ac_delim"'/"\\\ 11092"/g' >>$CONFIG_STATUS || ac_write_fail=1 11093 11094cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11095 for (key in D) D_is_set[key] = 1 11096 FS = "" 11097} 11098/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 11099 line = \$ 0 11100 split(line, arg, " ") 11101 if (arg[1] == "#") { 11102 defundef = arg[2] 11103 mac1 = arg[3] 11104 } else { 11105 defundef = substr(arg[1], 2) 11106 mac1 = arg[2] 11107 } 11108 split(mac1, mac2, "(") #) 11109 macro = mac2[1] 11110 prefix = substr(line, 1, index(line, defundef) - 1) 11111 if (D_is_set[macro]) { 11112 # Preserve the white space surrounding the "#". 11113 print prefix "define", macro P[macro] D[macro] 11114 next 11115 } else { 11116 # Replace #undef with comments. This is necessary, for example, 11117 # in the case of _POSIX_SOURCE, which is predefined and required 11118 # on some systems where configure will not decide to define it. 11119 if (defundef == "undef") { 11120 print "/*", prefix defundef, macro, "*/" 11121 next 11122 } 11123 } 11124} 11125{ print } 11126_ACAWK 11127_ACEOF 11128cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11129 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 11130fi # test -n "$CONFIG_HEADERS" 11131 11132 11133eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 11134shift 11135for ac_tag 11136do 11137 case $ac_tag in 11138 :[FHLC]) ac_mode=$ac_tag; continue;; 11139 esac 11140 case $ac_mode$ac_tag in 11141 :[FHL]*:*);; 11142 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 11143 :[FH]-) ac_tag=-:-;; 11144 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 11145 esac 11146 ac_save_IFS=$IFS 11147 IFS=: 11148 set x $ac_tag 11149 IFS=$ac_save_IFS 11150 shift 11151 ac_file=$1 11152 shift 11153 11154 case $ac_mode in 11155 :L) ac_source=$1;; 11156 :[FH]) 11157 ac_file_inputs= 11158 for ac_f 11159 do 11160 case $ac_f in 11161 -) ac_f="$ac_tmp/stdin";; 11162 *) # Look for the file first in the build tree, then in the source tree 11163 # (if the path is not absolute). The absolute path cannot be DOS-style, 11164 # because $ac_f cannot contain `:'. 11165 test -f "$ac_f" || 11166 case $ac_f in 11167 [\\/$]*) false;; 11168 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 11169 esac || 11170 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 11171 esac 11172 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 11173 as_fn_append ac_file_inputs " '$ac_f'" 11174 done 11175 11176 # Let's still pretend it is `configure' which instantiates (i.e., don't 11177 # use $as_me), people would be surprised to read: 11178 # /* config.h. Generated by config.status. */ 11179 configure_input='Generated from '` 11180 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 11181 `' by configure.' 11182 if test x"$ac_file" != x-; then 11183 configure_input="$ac_file. $configure_input" 11184 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 11185$as_echo "$as_me: creating $ac_file" >&6;} 11186 fi 11187 # Neutralize special characters interpreted by sed in replacement strings. 11188 case $configure_input in #( 11189 *\&* | *\|* | *\\* ) 11190 ac_sed_conf_input=`$as_echo "$configure_input" | 11191 sed 's/[\\\\&|]/\\\\&/g'`;; #( 11192 *) ac_sed_conf_input=$configure_input;; 11193 esac 11194 11195 case $ac_tag in 11196 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 11197 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 11198 esac 11199 ;; 11200 esac 11201 11202 ac_dir=`$as_dirname -- "$ac_file" || 11203$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11204 X"$ac_file" : 'X\(//\)[^/]' \| \ 11205 X"$ac_file" : 'X\(//\)$' \| \ 11206 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 11207$as_echo X"$ac_file" | 11208 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11209 s//\1/ 11210 q 11211 } 11212 /^X\(\/\/\)[^/].*/{ 11213 s//\1/ 11214 q 11215 } 11216 /^X\(\/\/\)$/{ 11217 s//\1/ 11218 q 11219 } 11220 /^X\(\/\).*/{ 11221 s//\1/ 11222 q 11223 } 11224 s/.*/./; q'` 11225 as_dir="$ac_dir"; as_fn_mkdir_p 11226 ac_builddir=. 11227 11228case "$ac_dir" in 11229.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 11230*) 11231 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 11232 # A ".." for each directory in $ac_dir_suffix. 11233 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 11234 case $ac_top_builddir_sub in 11235 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 11236 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 11237 esac ;; 11238esac 11239ac_abs_top_builddir=$ac_pwd 11240ac_abs_builddir=$ac_pwd$ac_dir_suffix 11241# for backward compatibility: 11242ac_top_builddir=$ac_top_build_prefix 11243 11244case $srcdir in 11245 .) # We are building in place. 11246 ac_srcdir=. 11247 ac_top_srcdir=$ac_top_builddir_sub 11248 ac_abs_top_srcdir=$ac_pwd ;; 11249 [\\/]* | ?:[\\/]* ) # Absolute name. 11250 ac_srcdir=$srcdir$ac_dir_suffix; 11251 ac_top_srcdir=$srcdir 11252 ac_abs_top_srcdir=$srcdir ;; 11253 *) # Relative name. 11254 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 11255 ac_top_srcdir=$ac_top_build_prefix$srcdir 11256 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 11257esac 11258ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 11259 11260 11261 case $ac_mode in 11262 :F) 11263 # 11264 # CONFIG_FILE 11265 # 11266 11267 case $INSTALL in 11268 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 11269 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 11270 esac 11271 ac_MKDIR_P=$MKDIR_P 11272 case $MKDIR_P in 11273 [\\/$]* | ?:[\\/]* ) ;; 11274 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 11275 esac 11276_ACEOF 11277 11278cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11279# If the template does not know about datarootdir, expand it. 11280# FIXME: This hack should be removed a few years after 2.60. 11281ac_datarootdir_hack=; ac_datarootdir_seen= 11282ac_sed_dataroot=' 11283/datarootdir/ { 11284 p 11285 q 11286} 11287/@datadir@/p 11288/@docdir@/p 11289/@infodir@/p 11290/@localedir@/p 11291/@mandir@/p' 11292case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 11293*datarootdir*) ac_datarootdir_seen=yes;; 11294*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 11295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 11296$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 11297_ACEOF 11298cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11299 ac_datarootdir_hack=' 11300 s&@datadir@&$datadir&g 11301 s&@docdir@&$docdir&g 11302 s&@infodir@&$infodir&g 11303 s&@localedir@&$localedir&g 11304 s&@mandir@&$mandir&g 11305 s&\\\${datarootdir}&$datarootdir&g' ;; 11306esac 11307_ACEOF 11308 11309# Neutralize VPATH when `$srcdir' = `.'. 11310# Shell code in configure.ac might set extrasub. 11311# FIXME: do we really want to maintain this feature? 11312cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 11313ac_sed_extra="$ac_vpsub 11314$extrasub 11315_ACEOF 11316cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 11317:t 11318/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 11319s|@configure_input@|$ac_sed_conf_input|;t t 11320s&@top_builddir@&$ac_top_builddir_sub&;t t 11321s&@top_build_prefix@&$ac_top_build_prefix&;t t 11322s&@srcdir@&$ac_srcdir&;t t 11323s&@abs_srcdir@&$ac_abs_srcdir&;t t 11324s&@top_srcdir@&$ac_top_srcdir&;t t 11325s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 11326s&@builddir@&$ac_builddir&;t t 11327s&@abs_builddir@&$ac_abs_builddir&;t t 11328s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 11329s&@INSTALL@&$ac_INSTALL&;t t 11330s&@MKDIR_P@&$ac_MKDIR_P&;t t 11331$ac_datarootdir_hack 11332" 11333eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 11334 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11335 11336test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 11337 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 11338 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 11339 "$ac_tmp/out"`; test -z "$ac_out"; } && 11340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11341which seems to be undefined. Please make sure it is defined" >&5 11342$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 11343which seems to be undefined. Please make sure it is defined" >&2;} 11344 11345 rm -f "$ac_tmp/stdin" 11346 case $ac_file in 11347 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 11348 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 11349 esac \ 11350 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11351 ;; 11352 :H) 11353 # 11354 # CONFIG_HEADER 11355 # 11356 if test x"$ac_file" != x-; then 11357 { 11358 $as_echo "/* $configure_input */" \ 11359 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 11360 } >"$ac_tmp/config.h" \ 11361 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11362 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 11363 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 11364$as_echo "$as_me: $ac_file is unchanged" >&6;} 11365 else 11366 rm -f "$ac_file" 11367 mv "$ac_tmp/config.h" "$ac_file" \ 11368 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 11369 fi 11370 else 11371 $as_echo "/* $configure_input */" \ 11372 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 11373 || as_fn_error $? "could not create -" "$LINENO" 5 11374 fi 11375# Compute "$ac_file"'s index in $config_headers. 11376_am_arg="$ac_file" 11377_am_stamp_count=1 11378for _am_header in $config_headers :; do 11379 case $_am_header in 11380 $_am_arg | $_am_arg:* ) 11381 break ;; 11382 * ) 11383 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 11384 esac 11385done 11386echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 11387$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11388 X"$_am_arg" : 'X\(//\)[^/]' \| \ 11389 X"$_am_arg" : 'X\(//\)$' \| \ 11390 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 11391$as_echo X"$_am_arg" | 11392 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11393 s//\1/ 11394 q 11395 } 11396 /^X\(\/\/\)[^/].*/{ 11397 s//\1/ 11398 q 11399 } 11400 /^X\(\/\/\)$/{ 11401 s//\1/ 11402 q 11403 } 11404 /^X\(\/\).*/{ 11405 s//\1/ 11406 q 11407 } 11408 s/.*/./; q'`/stamp-h$_am_stamp_count 11409 ;; 11410 11411 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 11412$as_echo "$as_me: executing $ac_file commands" >&6;} 11413 ;; 11414 esac 11415 11416 11417 case $ac_file$ac_mode in 11418 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 11419 # Autoconf 2.62 quotes --file arguments for eval, but not when files 11420 # are listed without --file. Let's play safe and only enable the eval 11421 # if we detect the quoting. 11422 case $CONFIG_FILES in 11423 *\'*) eval set x "$CONFIG_FILES" ;; 11424 *) set x $CONFIG_FILES ;; 11425 esac 11426 shift 11427 for mf 11428 do 11429 # Strip MF so we end up with the name of the file. 11430 mf=`echo "$mf" | sed -e 's/:.*$//'` 11431 # Check whether this is an Automake generated Makefile or not. 11432 # We used to match only the files named 'Makefile.in', but 11433 # some people rename them; so instead we look at the file content. 11434 # Grep'ing the first line is not enough: some people post-process 11435 # each Makefile.in and add a new line on top of each file to say so. 11436 # Grep'ing the whole file is not good either: AIX grep has a line 11437 # limit of 2048, but all sed's we know have understand at least 4000. 11438 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 11439 dirpart=`$as_dirname -- "$mf" || 11440$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11441 X"$mf" : 'X\(//\)[^/]' \| \ 11442 X"$mf" : 'X\(//\)$' \| \ 11443 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 11444$as_echo X"$mf" | 11445 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11446 s//\1/ 11447 q 11448 } 11449 /^X\(\/\/\)[^/].*/{ 11450 s//\1/ 11451 q 11452 } 11453 /^X\(\/\/\)$/{ 11454 s//\1/ 11455 q 11456 } 11457 /^X\(\/\).*/{ 11458 s//\1/ 11459 q 11460 } 11461 s/.*/./; q'` 11462 else 11463 continue 11464 fi 11465 # Extract the definition of DEPDIR, am__include, and am__quote 11466 # from the Makefile without running 'make'. 11467 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 11468 test -z "$DEPDIR" && continue 11469 am__include=`sed -n 's/^am__include = //p' < "$mf"` 11470 test -z "am__include" && continue 11471 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 11472 # Find all dependency output files, they are included files with 11473 # $(DEPDIR) in their names. We invoke sed twice because it is the 11474 # simplest approach to changing $(DEPDIR) to its actual value in the 11475 # expansion. 11476 for file in `sed -n " 11477 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 11478 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 11479 # Make sure the directory exists. 11480 test -f "$dirpart/$file" && continue 11481 fdir=`$as_dirname -- "$file" || 11482$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 11483 X"$file" : 'X\(//\)[^/]' \| \ 11484 X"$file" : 'X\(//\)$' \| \ 11485 X"$file" : 'X\(/\)' \| . 2>/dev/null || 11486$as_echo X"$file" | 11487 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 11488 s//\1/ 11489 q 11490 } 11491 /^X\(\/\/\)[^/].*/{ 11492 s//\1/ 11493 q 11494 } 11495 /^X\(\/\/\)$/{ 11496 s//\1/ 11497 q 11498 } 11499 /^X\(\/\).*/{ 11500 s//\1/ 11501 q 11502 } 11503 s/.*/./; q'` 11504 as_dir=$dirpart/$fdir; as_fn_mkdir_p 11505 # echo "creating $dirpart/$file" 11506 echo '# dummy' > "$dirpart/$file" 11507 done 11508 done 11509} 11510 ;; 11511 "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*) 11512 sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile 11513 esac ;; 11514 "po/stamp-it":C) 11515 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 11516 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 11517 fi 11518 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 11519 >"po/stamp-it.tmp" 11520 sed '/^#/d 11521 s/^[[].*] *// 11522 /^[ ]*$/d 11523 '"s|^| $ac_top_srcdir/|" \ 11524 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 11525 11526 sed '/^POTFILES =/,/[^\\]$/ { 11527 /^POTFILES =/!d 11528 r po/POTFILES 11529 } 11530 ' "po/Makefile.in" >"po/Makefile" 11531 rm -f "po/Makefile.tmp" 11532 mv "po/stamp-it.tmp" "po/stamp-it" 11533 ;; 11534 11535 esac 11536done # for ac_tag 11537 11538 11539as_fn_exit 0 11540_ACEOF 11541ac_clean_files=$ac_clean_files_save 11542 11543test $ac_write_fail = 0 || 11544 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 11545 11546 11547# configure is writing to config.log, and then calls config.status. 11548# config.status does its own redirection, appending to config.log. 11549# Unfortunately, on DOS this fails, as config.log is still kept open 11550# by configure, so config.status won't be able to write to it; its 11551# output is simply discarded. So we exec the FD to /dev/null, 11552# effectively closing config.log, so it can be properly (re)opened and 11553# appended to by config.status. When coming back to configure, we 11554# need to make the FD available again. 11555if test "$no_create" != yes; then 11556 ac_cs_success=: 11557 ac_config_status_args= 11558 test "$silent" = yes && 11559 ac_config_status_args="$ac_config_status_args --quiet" 11560 exec 5>/dev/null 11561 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 11562 exec 5>>config.log 11563 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 11564 # would make configure fail if this is the last instruction. 11565 $ac_cs_success || as_fn_exit 1 11566fi 11567if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 11568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 11569$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 11570fi 11571 11572