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