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