1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.71 for ristretto 0.12.1. 4# 5# Copyright (c) 2006-2021 6# The Xfce development team. All rights reserved. 7# 8# Written for Xfce by Stephan Arts <stephan@xfce.org>. 9# 10# 11# Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation, 12# Inc. 13# 14# 15# This configure script is free software; the Free Software Foundation 16# gives unlimited permission to copy, distribute and modify it. 17## -------------------- ## 18## M4sh Initialization. ## 19## -------------------- ## 20 21# Be more Bourne compatible 22DUALCASE=1; export DUALCASE # for MKS sh 23as_nop=: 24if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 25then : 26 emulate sh 27 NULLCMD=: 28 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 29 # is contrary to our usage. Disable this feature. 30 alias -g '${1+"$@"}'='"$@"' 31 setopt NO_GLOB_SUBST 32else $as_nop 33 case `(set -o) 2>/dev/null` in #( 34 *posix*) : 35 set -o posix ;; #( 36 *) : 37 ;; 38esac 39fi 40 41 42 43# Reset variables that may have inherited troublesome values from 44# the environment. 45 46# IFS needs to be set, to space, tab, and newline, in precisely that order. 47# (If _AS_PATH_WALK were called with IFS unset, it would have the 48# side effect of setting IFS to empty, thus disabling word splitting.) 49# Quoting is to prevent editors from complaining about space-tab. 50as_nl=' 51' 52export as_nl 53IFS=" "" $as_nl" 54 55PS1='$ ' 56PS2='> ' 57PS4='+ ' 58 59# Ensure predictable behavior from utilities with locale-dependent output. 60LC_ALL=C 61export LC_ALL 62LANGUAGE=C 63export LANGUAGE 64 65# We cannot yet rely on "unset" to work, but we need these variables 66# to be unset--not just set to an empty or harmless value--now, to 67# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 68# also avoids known problems related to "unset" and subshell syntax 69# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 70for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 71do eval test \${$as_var+y} \ 72 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 73done 74 75# Ensure that fds 0, 1, and 2 are open. 76if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 77if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 78if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 79 80# The user is always right. 81if ${PATH_SEPARATOR+false} :; then 82 PATH_SEPARATOR=: 83 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 84 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 85 PATH_SEPARATOR=';' 86 } 87fi 88 89 90# Find who we are. Look in the path if we contain no directory separator. 91as_myself= 92case $0 in #(( 93 *[\\/]* ) as_myself=$0 ;; 94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95for as_dir in $PATH 96do 97 IFS=$as_save_IFS 98 case $as_dir in #((( 99 '') as_dir=./ ;; 100 */) ;; 101 *) as_dir=$as_dir/ ;; 102 esac 103 test -r "$as_dir$0" && as_myself=$as_dir$0 && break 104 done 105IFS=$as_save_IFS 106 107 ;; 108esac 109# We did not find ourselves, most probably we were run as `sh COMMAND' 110# in which case we are not to be found in the path. 111if test "x$as_myself" = x; then 112 as_myself=$0 113fi 114if test ! -f "$as_myself"; then 115 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 116 exit 1 117fi 118 119 120# Use a proper internal environment variable to ensure we don't fall 121 # into an infinite loop, continuously re-executing ourselves. 122 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 123 _as_can_reexec=no; export _as_can_reexec; 124 # We cannot yet assume a decent shell, so we have to provide a 125# neutralization value for shells without unset; and this also 126# works around shells that cannot unset nonexistent variables. 127# Preserve -v and -x to the replacement shell. 128BASH_ENV=/dev/null 129ENV=/dev/null 130(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 131case $- in # (((( 132 *v*x* | *x*v* ) as_opts=-vx ;; 133 *v* ) as_opts=-v ;; 134 *x* ) as_opts=-x ;; 135 * ) as_opts= ;; 136esac 137exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 138# Admittedly, this is quite paranoid, since all the known shells bail 139# out after a failed `exec'. 140printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 141exit 255 142 fi 143 # We don't want this to propagate to other subprocesses. 144 { _as_can_reexec=; unset _as_can_reexec;} 145if test "x$CONFIG_SHELL" = x; then 146 as_bourne_compatible="as_nop=: 147if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 148then : 149 emulate sh 150 NULLCMD=: 151 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 152 # is contrary to our usage. Disable this feature. 153 alias -g '\${1+\"\$@\"}'='\"\$@\"' 154 setopt NO_GLOB_SUBST 155else \$as_nop 156 case \`(set -o) 2>/dev/null\` in #( 157 *posix*) : 158 set -o posix ;; #( 159 *) : 160 ;; 161esac 162fi 163" 164 as_required="as_fn_return () { (exit \$1); } 165as_fn_success () { as_fn_return 0; } 166as_fn_failure () { as_fn_return 1; } 167as_fn_ret_success () { return 0; } 168as_fn_ret_failure () { return 1; } 169 170exitcode=0 171as_fn_success || { exitcode=1; echo as_fn_success failed.; } 172as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 173as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 174as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 175if ( set x; as_fn_ret_success y && test x = \"\$1\" ) 176then : 177 178else \$as_nop 179 exitcode=1; echo positional parameters were not saved. 180fi 181test x\$exitcode = x0 || exit 1 182blah=\$(echo \$(echo blah)) 183test x\"\$blah\" = xblah || exit 1 184test -x / || exit 1" 185 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 186 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 187 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 188 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" 189 if (eval "$as_required") 2>/dev/null 190then : 191 as_have_required=yes 192else $as_nop 193 as_have_required=no 194fi 195 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null 196then : 197 198else $as_nop 199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 200as_found=false 201for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 202do 203 IFS=$as_save_IFS 204 case $as_dir in #((( 205 '') as_dir=./ ;; 206 */) ;; 207 *) as_dir=$as_dir/ ;; 208 esac 209 as_found=: 210 case $as_dir in #( 211 /*) 212 for as_base in sh bash ksh sh5; do 213 # Try only shells that exist, to save several forks. 214 as_shell=$as_dir$as_base 215 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 216 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null 217then : 218 CONFIG_SHELL=$as_shell as_have_required=yes 219 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null 220then : 221 break 2 222fi 223fi 224 done;; 225 esac 226 as_found=false 227done 228IFS=$as_save_IFS 229if $as_found 230then : 231 232else $as_nop 233 if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 234 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null 235then : 236 CONFIG_SHELL=$SHELL as_have_required=yes 237fi 238fi 239 240 241 if test "x$CONFIG_SHELL" != x 242then : 243 export CONFIG_SHELL 244 # We cannot yet assume a decent shell, so we have to provide a 245# neutralization value for shells without unset; and this also 246# works around shells that cannot unset nonexistent variables. 247# Preserve -v and -x to the replacement shell. 248BASH_ENV=/dev/null 249ENV=/dev/null 250(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 251case $- in # (((( 252 *v*x* | *x*v* ) as_opts=-vx ;; 253 *v* ) as_opts=-v ;; 254 *x* ) as_opts=-x ;; 255 * ) as_opts= ;; 256esac 257exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 258# Admittedly, this is quite paranoid, since all the known shells bail 259# out after a failed `exec'. 260printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2 261exit 255 262fi 263 264 if test x$as_have_required = xno 265then : 266 printf "%s\n" "$0: This script requires a shell more modern than all" 267 printf "%s\n" "$0: the shells that I found on your system." 268 if test ${ZSH_VERSION+y} ; then 269 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should" 270 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later." 271 else 272 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org about your system, 273$0: including any error possibly output before this 274$0: message. Then install a modern shell, or manually run 275$0: the script under such a shell if you do have one." 276 fi 277 exit 1 278fi 279fi 280fi 281SHELL=${CONFIG_SHELL-/bin/sh} 282export SHELL 283# Unset more variables known to interfere with behavior of common tools. 284CLICOLOR_FORCE= GREP_OPTIONS= 285unset CLICOLOR_FORCE GREP_OPTIONS 286 287## --------------------- ## 288## M4sh Shell Functions. ## 289## --------------------- ## 290# as_fn_unset VAR 291# --------------- 292# Portably unset VAR. 293as_fn_unset () 294{ 295 { eval $1=; unset $1;} 296} 297as_unset=as_fn_unset 298 299 300# as_fn_set_status STATUS 301# ----------------------- 302# Set $? to STATUS, without forking. 303as_fn_set_status () 304{ 305 return $1 306} # as_fn_set_status 307 308# as_fn_exit STATUS 309# ----------------- 310# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 311as_fn_exit () 312{ 313 set +e 314 as_fn_set_status $1 315 exit $1 316} # as_fn_exit 317# as_fn_nop 318# --------- 319# Do nothing but, unlike ":", preserve the value of $?. 320as_fn_nop () 321{ 322 return $? 323} 324as_nop=as_fn_nop 325 326# as_fn_mkdir_p 327# ------------- 328# Create "$as_dir" as a directory, including parents if necessary. 329as_fn_mkdir_p () 330{ 331 332 case $as_dir in #( 333 -*) as_dir=./$as_dir;; 334 esac 335 test -d "$as_dir" || eval $as_mkdir_p || { 336 as_dirs= 337 while :; do 338 case $as_dir in #( 339 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 340 *) as_qdir=$as_dir;; 341 esac 342 as_dirs="'$as_qdir' $as_dirs" 343 as_dir=`$as_dirname -- "$as_dir" || 344$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 345 X"$as_dir" : 'X\(//\)[^/]' \| \ 346 X"$as_dir" : 'X\(//\)$' \| \ 347 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 348printf "%s\n" X"$as_dir" | 349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 350 s//\1/ 351 q 352 } 353 /^X\(\/\/\)[^/].*/{ 354 s//\1/ 355 q 356 } 357 /^X\(\/\/\)$/{ 358 s//\1/ 359 q 360 } 361 /^X\(\/\).*/{ 362 s//\1/ 363 q 364 } 365 s/.*/./; q'` 366 test -d "$as_dir" && break 367 done 368 test -z "$as_dirs" || eval "mkdir $as_dirs" 369 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 370 371 372} # as_fn_mkdir_p 373 374# as_fn_executable_p FILE 375# ----------------------- 376# Test if FILE is an executable regular file. 377as_fn_executable_p () 378{ 379 test -f "$1" && test -x "$1" 380} # as_fn_executable_p 381# as_fn_append VAR VALUE 382# ---------------------- 383# Append the text in VALUE to the end of the definition contained in VAR. Take 384# advantage of any shell optimizations that allow amortized linear growth over 385# repeated appends, instead of the typical quadratic growth present in naive 386# implementations. 387if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 388then : 389 eval 'as_fn_append () 390 { 391 eval $1+=\$2 392 }' 393else $as_nop 394 as_fn_append () 395 { 396 eval $1=\$$1\$2 397 } 398fi # as_fn_append 399 400# as_fn_arith ARG... 401# ------------------ 402# Perform arithmetic evaluation on the ARGs, and store the result in the 403# global $as_val. Take advantage of shells that can avoid forks. The arguments 404# must be portable across $(()) and expr. 405if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 406then : 407 eval 'as_fn_arith () 408 { 409 as_val=$(( $* )) 410 }' 411else $as_nop 412 as_fn_arith () 413 { 414 as_val=`expr "$@" || test $? -eq 1` 415 } 416fi # as_fn_arith 417 418# as_fn_nop 419# --------- 420# Do nothing but, unlike ":", preserve the value of $?. 421as_fn_nop () 422{ 423 return $? 424} 425as_nop=as_fn_nop 426 427# as_fn_error STATUS ERROR [LINENO LOG_FD] 428# ---------------------------------------- 429# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 430# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 431# script with STATUS, using 1 if that was 0. 432as_fn_error () 433{ 434 as_status=$1; test $as_status -eq 0 && as_status=1 435 if test "$4"; then 436 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 437 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 438 fi 439 printf "%s\n" "$as_me: error: $2" >&2 440 as_fn_exit $as_status 441} # as_fn_error 442 443if expr a : '\(a\)' >/dev/null 2>&1 && 444 test "X`expr 00001 : '.*\(...\)'`" = X001; then 445 as_expr=expr 446else 447 as_expr=false 448fi 449 450if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 451 as_basename=basename 452else 453 as_basename=false 454fi 455 456if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 457 as_dirname=dirname 458else 459 as_dirname=false 460fi 461 462as_me=`$as_basename -- "$0" || 463$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 464 X"$0" : 'X\(//\)$' \| \ 465 X"$0" : 'X\(/\)' \| . 2>/dev/null || 466printf "%s\n" X/"$0" | 467 sed '/^.*\/\([^/][^/]*\)\/*$/{ 468 s//\1/ 469 q 470 } 471 /^X\/\(\/\/\)$/{ 472 s//\1/ 473 q 474 } 475 /^X\/\(\/\).*/{ 476 s//\1/ 477 q 478 } 479 s/.*/./; q'` 480 481# Avoid depending upon Character Ranges. 482as_cr_letters='abcdefghijklmnopqrstuvwxyz' 483as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 484as_cr_Letters=$as_cr_letters$as_cr_LETTERS 485as_cr_digits='0123456789' 486as_cr_alnum=$as_cr_Letters$as_cr_digits 487 488 489 as_lineno_1=$LINENO as_lineno_1a=$LINENO 490 as_lineno_2=$LINENO as_lineno_2a=$LINENO 491 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 492 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 493 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 494 sed -n ' 495 p 496 /[$]LINENO/= 497 ' <$as_myself | 498 sed ' 499 s/[$]LINENO.*/&-/ 500 t lineno 501 b 502 :lineno 503 N 504 :loop 505 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 506 t loop 507 s/-\n.*// 508 ' >$as_me.lineno && 509 chmod +x "$as_me.lineno" || 510 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 511 512 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 513 # already done that, so ensure we don't try to do so again and fall 514 # in an infinite loop. This has already happened in practice. 515 _as_can_reexec=no; export _as_can_reexec 516 # Don't try to exec as it changes $[0], causing all sort of problems 517 # (the dirname of $[0] is not the place where we might find the 518 # original and so on. Autoconf is especially sensitive to this). 519 . "./$as_me.lineno" 520 # Exit status is that of the last command. 521 exit 522} 523 524 525# Determine whether it's possible to make 'echo' print without a newline. 526# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 527# for compatibility with existing Makefiles. 528ECHO_C= ECHO_N= ECHO_T= 529case `echo -n x` in #((((( 530-n*) 531 case `echo 'xy\c'` in 532 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 533 xy) ECHO_C='\c';; 534 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 535 ECHO_T=' ';; 536 esac;; 537*) 538 ECHO_N='-n';; 539esac 540 541# For backward compatibility with old third-party macros, we provide 542# the shell variables $as_echo and $as_echo_n. New code should use 543# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 544as_echo='printf %s\n' 545as_echo_n='printf %s' 546 547 548rm -f conf$$ conf$$.exe conf$$.file 549if test -d conf$$.dir; then 550 rm -f conf$$.dir/conf$$.file 551else 552 rm -f conf$$.dir 553 mkdir conf$$.dir 2>/dev/null 554fi 555if (echo >conf$$.file) 2>/dev/null; then 556 if ln -s conf$$.file conf$$ 2>/dev/null; then 557 as_ln_s='ln -s' 558 # ... but there are two gotchas: 559 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 560 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 561 # In both cases, we have to default to `cp -pR'. 562 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 563 as_ln_s='cp -pR' 564 elif ln conf$$.file conf$$ 2>/dev/null; then 565 as_ln_s=ln 566 else 567 as_ln_s='cp -pR' 568 fi 569else 570 as_ln_s='cp -pR' 571fi 572rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 573rmdir conf$$.dir 2>/dev/null 574 575if mkdir -p . 2>/dev/null; then 576 as_mkdir_p='mkdir -p "$as_dir"' 577else 578 test -d ./-p && rmdir ./-p 579 as_mkdir_p=false 580fi 581 582as_test_x='test -x' 583as_executable_p=as_fn_executable_p 584 585# Sed expression to map a string onto a valid CPP name. 586as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 587 588# Sed expression to map a string onto a valid variable name. 589as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 590 591 592test -n "$DJDIR" || exec 7<&0 </dev/null 593exec 6>&1 594 595# Name of the host. 596# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 597# so uname gets run too. 598ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 599 600# 601# Initializations. 602# 603ac_default_prefix=/usr/local 604ac_clean_files= 605ac_config_libobj_dir=. 606LIBOBJS= 607cross_compiling=no 608subdirs= 609MFLAGS= 610MAKEFLAGS= 611 612# Identity of this package. 613PACKAGE_NAME='ristretto' 614PACKAGE_TARNAME='ristretto' 615PACKAGE_VERSION='0.12.1' 616PACKAGE_STRING='ristretto 0.12.1' 617PACKAGE_BUGREPORT='' 618PACKAGE_URL='' 619 620# Factoring default headers for most tests. 621ac_includes_default="\ 622#include <stddef.h> 623#ifdef HAVE_STDIO_H 624# include <stdio.h> 625#endif 626#ifdef HAVE_STDLIB_H 627# include <stdlib.h> 628#endif 629#ifdef HAVE_STRING_H 630# include <string.h> 631#endif 632#ifdef HAVE_INTTYPES_H 633# include <inttypes.h> 634#endif 635#ifdef HAVE_STDINT_H 636# include <stdint.h> 637#endif 638#ifdef HAVE_STRINGS_H 639# include <strings.h> 640#endif 641#ifdef HAVE_SYS_TYPES_H 642# include <sys/types.h> 643#endif 644#ifdef HAVE_SYS_STAT_H 645# include <sys/stat.h> 646#endif 647#ifdef HAVE_UNISTD_H 648# include <unistd.h> 649#endif" 650 651ac_header_c_list= 652ac_subst_vars='am__EXEEXT_FALSE 653am__EXEEXT_TRUE 654LTLIBOBJS 655LIBOBJS 656LIBM 657host_os 658host_vendor 659host_cpu 660host 661build_os 662build_vendor 663build_cpu 664build 665MAGIC_LIBS 666LIBX11_LIBS 667LIBX11_LDFLAGS 668LIBX11_CFLAGS 669X_EXTRA_LIBS 670X_LIBS 671X_PRE_LIBS 672X_CFLAGS 673CPP 674XMKMF 675CAIRO_REQUIRED_VERSION 676CAIRO_LIBS 677CAIRO_CFLAGS 678CAIRO_VERSION 679LIBEXIF_REQUIRED_VERSION 680LIBEXIF_LIBS 681LIBEXIF_CFLAGS 682LIBEXIF_VERSION 683XFCONF_REQUIRED_VERSION 684XFCONF_LIBS 685XFCONF_CFLAGS 686XFCONF_VERSION 687LIBXFCE4UTIL_REQUIRED_VERSION 688LIBXFCE4UTIL_LIBS 689LIBXFCE4UTIL_CFLAGS 690LIBXFCE4UTIL_VERSION 691LIBXFCE4UI_REQUIRED_VERSION 692LIBXFCE4UI_LIBS 693LIBXFCE4UI_CFLAGS 694LIBXFCE4UI_VERSION 695GTK_REQUIRED_VERSION 696GTK_LIBS 697GTK_CFLAGS 698GTK_VERSION 699GLIB_REQUIRED_VERSION 700GLIB_LIBS 701GLIB_CFLAGS 702GLIB_VERSION 703PKG_CONFIG_LIBDIR 704PKG_CONFIG_PATH 705PKG_CONFIG 706GETTEXT_PACKAGE 707ALL_LINGUAS 708INTLTOOL_PERL 709GMSGFMT 710MSGFMT 711MSGMERGE 712XGETTEXT 713INTLTOOL_POLICY_RULE 714INTLTOOL_SERVICE_RULE 715INTLTOOL_THEME_RULE 716INTLTOOL_SCHEMAS_RULE 717INTLTOOL_CAVES_RULE 718INTLTOOL_XML_NOMERGE_RULE 719INTLTOOL_XML_RULE 720INTLTOOL_KBD_RULE 721INTLTOOL_XAM_RULE 722INTLTOOL_UI_RULE 723INTLTOOL_SOUNDLIST_RULE 724INTLTOOL_SHEET_RULE 725INTLTOOL_SERVER_RULE 726INTLTOOL_PONG_RULE 727INTLTOOL_OAF_RULE 728INTLTOOL_PROP_RULE 729INTLTOOL_KEYS_RULE 730INTLTOOL_DIRECTORY_RULE 731INTLTOOL_DESKTOP_RULE 732intltool__v_merge_options_0 733intltool__v_merge_options_ 734INTLTOOL_V_MERGE_OPTIONS 735INTLTOOL__v_MERGE_0 736INTLTOOL__v_MERGE_ 737INTLTOOL_V_MERGE 738INTLTOOL_EXTRACT 739INTLTOOL_MERGE 740INTLTOOL_UPDATE 741USE_NLS 742HAVE_CYGWIN_FALSE 743HAVE_CYGWIN_TRUE 744am__fastdepCC_FALSE 745am__fastdepCC_TRUE 746CCDEPMODE 747am__nodep 748AMDEPBACKSLASH 749AMDEP_FALSE 750AMDEP_TRUE 751am__include 752DEPDIR 753OBJEXT 754EXEEXT 755ac_ct_CC 756CPPFLAGS 757LDFLAGS 758CFLAGS 759CC 760MAINT 761MAINTAINER_MODE_FALSE 762MAINTAINER_MODE_TRUE 763AM_BACKSLASH 764AM_DEFAULT_VERBOSITY 765AM_DEFAULT_V 766AM_V 767CSCOPE 768ETAGS 769CTAGS 770am__untar 771am__tar 772AMTAR 773am__leading_dot 774SET_MAKE 775AWK 776mkdir_p 777MKDIR_P 778INSTALL_STRIP_PROGRAM 779STRIP 780install_sh 781MAKEINFO 782AUTOHEADER 783AUTOMAKE 784AUTOCONF 785ACLOCAL 786VERSION 787PACKAGE 788CYGPATH_W 789am__isrc 790INSTALL_DATA 791INSTALL_SCRIPT 792INSTALL_PROGRAM 793target_alias 794host_alias 795build_alias 796LIBS 797ECHO_T 798ECHO_N 799ECHO_C 800DEFS 801mandir 802localedir 803libdir 804psdir 805pdfdir 806dvidir 807htmldir 808infodir 809docdir 810oldincludedir 811includedir 812runstatedir 813localstatedir 814sharedstatedir 815sysconfdir 816datadir 817datarootdir 818libexecdir 819sbindir 820bindir 821program_transform_name 822prefix 823exec_prefix 824PACKAGE_URL 825PACKAGE_BUGREPORT 826PACKAGE_STRING 827PACKAGE_VERSION 828PACKAGE_TARNAME 829PACKAGE_NAME 830PATH_SEPARATOR 831SHELL 832am__quote' 833ac_subst_files='' 834ac_user_opts=' 835enable_option_checking 836enable_silent_rules 837enable_maintainer_mode 838enable_dependency_tracking 839enable_nls 840with_locales_dir 841with_x 842enable_debug 843' 844 ac_precious_vars='build_alias 845host_alias 846target_alias 847CC 848CFLAGS 849LDFLAGS 850LIBS 851CPPFLAGS 852PKG_CONFIG 853PKG_CONFIG_PATH 854PKG_CONFIG_LIBDIR 855XMKMF 856CPP' 857 858 859# Initialize some variables set by options. 860ac_init_help= 861ac_init_version=false 862ac_unrecognized_opts= 863ac_unrecognized_sep= 864# The variables have the same names as the options, with 865# dashes changed to underlines. 866cache_file=/dev/null 867exec_prefix=NONE 868no_create= 869no_recursion= 870prefix=NONE 871program_prefix=NONE 872program_suffix=NONE 873program_transform_name=s,x,x, 874silent= 875site= 876srcdir= 877verbose= 878x_includes=NONE 879x_libraries=NONE 880 881# Installation directory options. 882# These are left unexpanded so users can "make install exec_prefix=/foo" 883# and all the variables that are supposed to be based on exec_prefix 884# by default will actually change. 885# Use braces instead of parens because sh, perl, etc. also accept them. 886# (The list follows the same order as the GNU Coding Standards.) 887bindir='${exec_prefix}/bin' 888sbindir='${exec_prefix}/sbin' 889libexecdir='${exec_prefix}/libexec' 890datarootdir='${prefix}/share' 891datadir='${datarootdir}' 892sysconfdir='${prefix}/etc' 893sharedstatedir='${prefix}/com' 894localstatedir='${prefix}/var' 895runstatedir='${localstatedir}/run' 896includedir='${prefix}/include' 897oldincludedir='/usr/include' 898docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 899infodir='${datarootdir}/info' 900htmldir='${docdir}' 901dvidir='${docdir}' 902pdfdir='${docdir}' 903psdir='${docdir}' 904libdir='${exec_prefix}/lib' 905localedir='${datarootdir}/locale' 906mandir='${datarootdir}/man' 907 908ac_prev= 909ac_dashdash= 910for ac_option 911do 912 # If the previous option needs an argument, assign it. 913 if test -n "$ac_prev"; then 914 eval $ac_prev=\$ac_option 915 ac_prev= 916 continue 917 fi 918 919 case $ac_option in 920 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 921 *=) ac_optarg= ;; 922 *) ac_optarg=yes ;; 923 esac 924 925 case $ac_dashdash$ac_option in 926 --) 927 ac_dashdash=yes ;; 928 929 -bindir | --bindir | --bindi | --bind | --bin | --bi) 930 ac_prev=bindir ;; 931 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 932 bindir=$ac_optarg ;; 933 934 -build | --build | --buil | --bui | --bu) 935 ac_prev=build_alias ;; 936 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 937 build_alias=$ac_optarg ;; 938 939 -cache-file | --cache-file | --cache-fil | --cache-fi \ 940 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 941 ac_prev=cache_file ;; 942 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 943 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 944 cache_file=$ac_optarg ;; 945 946 --config-cache | -C) 947 cache_file=config.cache ;; 948 949 -datadir | --datadir | --datadi | --datad) 950 ac_prev=datadir ;; 951 -datadir=* | --datadir=* | --datadi=* | --datad=*) 952 datadir=$ac_optarg ;; 953 954 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 955 | --dataroo | --dataro | --datar) 956 ac_prev=datarootdir ;; 957 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 958 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 959 datarootdir=$ac_optarg ;; 960 961 -disable-* | --disable-*) 962 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 963 # Reject names that are not valid shell variable names. 964 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 965 as_fn_error $? "invalid feature name: \`$ac_useropt'" 966 ac_useropt_orig=$ac_useropt 967 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 968 case $ac_user_opts in 969 *" 970"enable_$ac_useropt" 971"*) ;; 972 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 973 ac_unrecognized_sep=', ';; 974 esac 975 eval enable_$ac_useropt=no ;; 976 977 -docdir | --docdir | --docdi | --doc | --do) 978 ac_prev=docdir ;; 979 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 980 docdir=$ac_optarg ;; 981 982 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 983 ac_prev=dvidir ;; 984 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 985 dvidir=$ac_optarg ;; 986 987 -enable-* | --enable-*) 988 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 989 # Reject names that are not valid shell variable names. 990 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 991 as_fn_error $? "invalid feature name: \`$ac_useropt'" 992 ac_useropt_orig=$ac_useropt 993 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 994 case $ac_user_opts in 995 *" 996"enable_$ac_useropt" 997"*) ;; 998 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 999 ac_unrecognized_sep=', ';; 1000 esac 1001 eval enable_$ac_useropt=\$ac_optarg ;; 1002 1003 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 1004 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 1005 | --exec | --exe | --ex) 1006 ac_prev=exec_prefix ;; 1007 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 1008 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 1009 | --exec=* | --exe=* | --ex=*) 1010 exec_prefix=$ac_optarg ;; 1011 1012 -gas | --gas | --ga | --g) 1013 # Obsolete; use --with-gas. 1014 with_gas=yes ;; 1015 1016 -help | --help | --hel | --he | -h) 1017 ac_init_help=long ;; 1018 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 1019 ac_init_help=recursive ;; 1020 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 1021 ac_init_help=short ;; 1022 1023 -host | --host | --hos | --ho) 1024 ac_prev=host_alias ;; 1025 -host=* | --host=* | --hos=* | --ho=*) 1026 host_alias=$ac_optarg ;; 1027 1028 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 1029 ac_prev=htmldir ;; 1030 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 1031 | --ht=*) 1032 htmldir=$ac_optarg ;; 1033 1034 -includedir | --includedir | --includedi | --included | --include \ 1035 | --includ | --inclu | --incl | --inc) 1036 ac_prev=includedir ;; 1037 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 1038 | --includ=* | --inclu=* | --incl=* | --inc=*) 1039 includedir=$ac_optarg ;; 1040 1041 -infodir | --infodir | --infodi | --infod | --info | --inf) 1042 ac_prev=infodir ;; 1043 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 1044 infodir=$ac_optarg ;; 1045 1046 -libdir | --libdir | --libdi | --libd) 1047 ac_prev=libdir ;; 1048 -libdir=* | --libdir=* | --libdi=* | --libd=*) 1049 libdir=$ac_optarg ;; 1050 1051 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 1052 | --libexe | --libex | --libe) 1053 ac_prev=libexecdir ;; 1054 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 1055 | --libexe=* | --libex=* | --libe=*) 1056 libexecdir=$ac_optarg ;; 1057 1058 -localedir | --localedir | --localedi | --localed | --locale) 1059 ac_prev=localedir ;; 1060 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 1061 localedir=$ac_optarg ;; 1062 1063 -localstatedir | --localstatedir | --localstatedi | --localstated \ 1064 | --localstate | --localstat | --localsta | --localst | --locals) 1065 ac_prev=localstatedir ;; 1066 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 1067 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 1068 localstatedir=$ac_optarg ;; 1069 1070 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 1071 ac_prev=mandir ;; 1072 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 1073 mandir=$ac_optarg ;; 1074 1075 -nfp | --nfp | --nf) 1076 # Obsolete; use --without-fp. 1077 with_fp=no ;; 1078 1079 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1080 | --no-cr | --no-c | -n) 1081 no_create=yes ;; 1082 1083 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1084 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1085 no_recursion=yes ;; 1086 1087 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 1088 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 1089 | --oldin | --oldi | --old | --ol | --o) 1090 ac_prev=oldincludedir ;; 1091 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 1092 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 1093 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 1094 oldincludedir=$ac_optarg ;; 1095 1096 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 1097 ac_prev=prefix ;; 1098 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 1099 prefix=$ac_optarg ;; 1100 1101 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 1102 | --program-pre | --program-pr | --program-p) 1103 ac_prev=program_prefix ;; 1104 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 1105 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 1106 program_prefix=$ac_optarg ;; 1107 1108 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 1109 | --program-suf | --program-su | --program-s) 1110 ac_prev=program_suffix ;; 1111 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 1112 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 1113 program_suffix=$ac_optarg ;; 1114 1115 -program-transform-name | --program-transform-name \ 1116 | --program-transform-nam | --program-transform-na \ 1117 | --program-transform-n | --program-transform- \ 1118 | --program-transform | --program-transfor \ 1119 | --program-transfo | --program-transf \ 1120 | --program-trans | --program-tran \ 1121 | --progr-tra | --program-tr | --program-t) 1122 ac_prev=program_transform_name ;; 1123 -program-transform-name=* | --program-transform-name=* \ 1124 | --program-transform-nam=* | --program-transform-na=* \ 1125 | --program-transform-n=* | --program-transform-=* \ 1126 | --program-transform=* | --program-transfor=* \ 1127 | --program-transfo=* | --program-transf=* \ 1128 | --program-trans=* | --program-tran=* \ 1129 | --progr-tra=* | --program-tr=* | --program-t=*) 1130 program_transform_name=$ac_optarg ;; 1131 1132 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 1133 ac_prev=pdfdir ;; 1134 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 1135 pdfdir=$ac_optarg ;; 1136 1137 -psdir | --psdir | --psdi | --psd | --ps) 1138 ac_prev=psdir ;; 1139 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 1140 psdir=$ac_optarg ;; 1141 1142 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1143 | -silent | --silent | --silen | --sile | --sil) 1144 silent=yes ;; 1145 1146 -runstatedir | --runstatedir | --runstatedi | --runstated \ 1147 | --runstate | --runstat | --runsta | --runst | --runs \ 1148 | --run | --ru | --r) 1149 ac_prev=runstatedir ;; 1150 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 1151 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 1152 | --run=* | --ru=* | --r=*) 1153 runstatedir=$ac_optarg ;; 1154 1155 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1156 ac_prev=sbindir ;; 1157 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1158 | --sbi=* | --sb=*) 1159 sbindir=$ac_optarg ;; 1160 1161 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1162 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1163 | --sharedst | --shareds | --shared | --share | --shar \ 1164 | --sha | --sh) 1165 ac_prev=sharedstatedir ;; 1166 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1167 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1168 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1169 | --sha=* | --sh=*) 1170 sharedstatedir=$ac_optarg ;; 1171 1172 -site | --site | --sit) 1173 ac_prev=site ;; 1174 -site=* | --site=* | --sit=*) 1175 site=$ac_optarg ;; 1176 1177 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1178 ac_prev=srcdir ;; 1179 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1180 srcdir=$ac_optarg ;; 1181 1182 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1183 | --syscon | --sysco | --sysc | --sys | --sy) 1184 ac_prev=sysconfdir ;; 1185 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1186 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1187 sysconfdir=$ac_optarg ;; 1188 1189 -target | --target | --targe | --targ | --tar | --ta | --t) 1190 ac_prev=target_alias ;; 1191 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1192 target_alias=$ac_optarg ;; 1193 1194 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1195 verbose=yes ;; 1196 1197 -version | --version | --versio | --versi | --vers | -V) 1198 ac_init_version=: ;; 1199 1200 -with-* | --with-*) 1201 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1202 # Reject names that are not valid shell variable names. 1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1204 as_fn_error $? "invalid package name: \`$ac_useropt'" 1205 ac_useropt_orig=$ac_useropt 1206 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1207 case $ac_user_opts in 1208 *" 1209"with_$ac_useropt" 1210"*) ;; 1211 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1212 ac_unrecognized_sep=', ';; 1213 esac 1214 eval with_$ac_useropt=\$ac_optarg ;; 1215 1216 -without-* | --without-*) 1217 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1218 # Reject names that are not valid shell variable names. 1219 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1220 as_fn_error $? "invalid package name: \`$ac_useropt'" 1221 ac_useropt_orig=$ac_useropt 1222 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'` 1223 case $ac_user_opts in 1224 *" 1225"with_$ac_useropt" 1226"*) ;; 1227 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1228 ac_unrecognized_sep=', ';; 1229 esac 1230 eval with_$ac_useropt=no ;; 1231 1232 --x) 1233 # Obsolete; use --with-x. 1234 with_x=yes ;; 1235 1236 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1237 | --x-incl | --x-inc | --x-in | --x-i) 1238 ac_prev=x_includes ;; 1239 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1240 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1241 x_includes=$ac_optarg ;; 1242 1243 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1244 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1245 ac_prev=x_libraries ;; 1246 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1247 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1248 x_libraries=$ac_optarg ;; 1249 1250 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1251Try \`$0 --help' for more information" 1252 ;; 1253 1254 *=*) 1255 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1256 # Reject names that are not valid shell variable names. 1257 case $ac_envvar in #( 1258 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1259 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1260 esac 1261 eval $ac_envvar=\$ac_optarg 1262 export $ac_envvar ;; 1263 1264 *) 1265 # FIXME: should be removed in autoconf 3.0. 1266 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2 1267 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1268 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2 1269 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1270 ;; 1271 1272 esac 1273done 1274 1275if test -n "$ac_prev"; then 1276 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1277 as_fn_error $? "missing argument to $ac_option" 1278fi 1279 1280if test -n "$ac_unrecognized_opts"; then 1281 case $enable_option_checking in 1282 no) ;; 1283 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1284 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1285 esac 1286fi 1287 1288# Check all directory arguments for consistency. 1289for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1290 datadir sysconfdir sharedstatedir localstatedir includedir \ 1291 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1292 libdir localedir mandir runstatedir 1293do 1294 eval ac_val=\$$ac_var 1295 # Remove trailing slashes. 1296 case $ac_val in 1297 */ ) 1298 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1299 eval $ac_var=\$ac_val;; 1300 esac 1301 # Be sure to have absolute directory names. 1302 case $ac_val in 1303 [\\/$]* | ?:[\\/]* ) continue;; 1304 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1305 esac 1306 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1307done 1308 1309# There might be people who depend on the old broken behavior: `$host' 1310# used to hold the argument of --host etc. 1311# FIXME: To remove some day. 1312build=$build_alias 1313host=$host_alias 1314target=$target_alias 1315 1316# FIXME: To remove some day. 1317if test "x$host_alias" != x; then 1318 if test "x$build_alias" = x; then 1319 cross_compiling=maybe 1320 elif test "x$build_alias" != "x$host_alias"; then 1321 cross_compiling=yes 1322 fi 1323fi 1324 1325ac_tool_prefix= 1326test -n "$host_alias" && ac_tool_prefix=$host_alias- 1327 1328test "$silent" = yes && exec 6>/dev/null 1329 1330 1331ac_pwd=`pwd` && test -n "$ac_pwd" && 1332ac_ls_di=`ls -di .` && 1333ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1334 as_fn_error $? "working directory cannot be determined" 1335test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1336 as_fn_error $? "pwd does not report name of working directory" 1337 1338 1339# Find the source files, if location was not specified. 1340if test -z "$srcdir"; then 1341 ac_srcdir_defaulted=yes 1342 # Try the directory containing this script, then the parent directory. 1343 ac_confdir=`$as_dirname -- "$as_myself" || 1344$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1345 X"$as_myself" : 'X\(//\)[^/]' \| \ 1346 X"$as_myself" : 'X\(//\)$' \| \ 1347 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1348printf "%s\n" X"$as_myself" | 1349 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1350 s//\1/ 1351 q 1352 } 1353 /^X\(\/\/\)[^/].*/{ 1354 s//\1/ 1355 q 1356 } 1357 /^X\(\/\/\)$/{ 1358 s//\1/ 1359 q 1360 } 1361 /^X\(\/\).*/{ 1362 s//\1/ 1363 q 1364 } 1365 s/.*/./; q'` 1366 srcdir=$ac_confdir 1367 if test ! -r "$srcdir/$ac_unique_file"; then 1368 srcdir=.. 1369 fi 1370else 1371 ac_srcdir_defaulted=no 1372fi 1373if test ! -r "$srcdir/$ac_unique_file"; then 1374 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1375 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1376fi 1377ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1378ac_abs_confdir=`( 1379 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1380 pwd)` 1381# When building in place, set srcdir=. 1382if test "$ac_abs_confdir" = "$ac_pwd"; then 1383 srcdir=. 1384fi 1385# Remove unnecessary trailing slashes from srcdir. 1386# Double slashes in file names in object file debugging info 1387# mess up M-x gdb in Emacs. 1388case $srcdir in 1389*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1390esac 1391for ac_var in $ac_precious_vars; do 1392 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1393 eval ac_env_${ac_var}_value=\$${ac_var} 1394 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1395 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1396done 1397 1398# 1399# Report the --help message. 1400# 1401if test "$ac_init_help" = "long"; then 1402 # Omit some internal or obsolete options to make the list less imposing. 1403 # This message is too long to be a string in the A/UX 3.1 sh. 1404 cat <<_ACEOF 1405\`configure' configures ristretto 0.12.1 to adapt to many kinds of systems. 1406 1407Usage: $0 [OPTION]... [VAR=VALUE]... 1408 1409To assign environment variables (e.g., CC, CFLAGS...), specify them as 1410VAR=VALUE. See below for descriptions of some of the useful variables. 1411 1412Defaults for the options are specified in brackets. 1413 1414Configuration: 1415 -h, --help display this help and exit 1416 --help=short display options specific to this package 1417 --help=recursive display the short help of all the included packages 1418 -V, --version display version information and exit 1419 -q, --quiet, --silent do not print \`checking ...' messages 1420 --cache-file=FILE cache test results in FILE [disabled] 1421 -C, --config-cache alias for \`--cache-file=config.cache' 1422 -n, --no-create do not create output files 1423 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1424 1425Installation directories: 1426 --prefix=PREFIX install architecture-independent files in PREFIX 1427 [$ac_default_prefix] 1428 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1429 [PREFIX] 1430 1431By default, \`make install' will install all the files in 1432\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1433an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1434for instance \`--prefix=\$HOME'. 1435 1436For better control, use the options below. 1437 1438Fine tuning of the installation directories: 1439 --bindir=DIR user executables [EPREFIX/bin] 1440 --sbindir=DIR system admin executables [EPREFIX/sbin] 1441 --libexecdir=DIR program executables [EPREFIX/libexec] 1442 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1443 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1444 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1445 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1446 --libdir=DIR object code libraries [EPREFIX/lib] 1447 --includedir=DIR C header files [PREFIX/include] 1448 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1449 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1450 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1451 --infodir=DIR info documentation [DATAROOTDIR/info] 1452 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1453 --mandir=DIR man documentation [DATAROOTDIR/man] 1454 --docdir=DIR documentation root [DATAROOTDIR/doc/ristretto] 1455 --htmldir=DIR html documentation [DOCDIR] 1456 --dvidir=DIR dvi documentation [DOCDIR] 1457 --pdfdir=DIR pdf documentation [DOCDIR] 1458 --psdir=DIR ps documentation [DOCDIR] 1459_ACEOF 1460 1461 cat <<\_ACEOF 1462 1463Program names: 1464 --program-prefix=PREFIX prepend PREFIX to installed program names 1465 --program-suffix=SUFFIX append SUFFIX to installed program names 1466 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1467 1468X features: 1469 --x-includes=DIR X include files are in DIR 1470 --x-libraries=DIR X library files are in DIR 1471 1472System types: 1473 --build=BUILD configure for building on BUILD [guessed] 1474 --host=HOST cross-compile to build programs to run on HOST [BUILD] 1475_ACEOF 1476fi 1477 1478if test -n "$ac_init_help"; then 1479 case $ac_init_help in 1480 short | recursive ) echo "Configuration of ristretto 0.12.1:";; 1481 esac 1482 cat <<\_ACEOF 1483 1484Optional Features: 1485 --disable-option-checking ignore unrecognized --enable/--with options 1486 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1487 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1488 --enable-silent-rules less verbose build output (undo: "make V=1") 1489 --disable-silent-rules verbose build output (undo: "make V=0") 1490 --enable-maintainer-mode 1491 enable make rules and dependencies not useful (and 1492 sometimes confusing) to the casual installer 1493 --enable-dependency-tracking 1494 do not reject slow dependency extractors 1495 --disable-dependency-tracking 1496 speeds up one-time build 1497 --disable-nls do not use Native Language Support 1498 --enable-debug[=no|minimum|yes|full] 1499 Build with debugging support [default=[]] 1500 --disable-debug Include no debugging support 1501 1502Optional Packages: 1503 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1504 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1505 1506 --with-locales-dir=DIR Install locales into DIR 1507 1508 --with-x use the X Window System 1509 1510Some influential environment variables: 1511 CC C compiler command 1512 CFLAGS C compiler flags 1513 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1514 nonstandard directory <lib dir> 1515 LIBS libraries to pass to the linker, e.g. -l<library> 1516 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1517 you have headers in a nonstandard directory <include dir> 1518 PKG_CONFIG path to pkg-config utility 1519 PKG_CONFIG_PATH 1520 directories to add to pkg-config's search path 1521 PKG_CONFIG_LIBDIR 1522 path overriding pkg-config's built-in search path 1523 XMKMF Path to xmkmf, Makefile generator for X Window System 1524 CPP C preprocessor 1525 1526Use these variables to override the choices made by `configure' or to help 1527it to find libraries and programs with nonstandard names/locations. 1528 1529Report bugs to the package provider. 1530_ACEOF 1531ac_status=$? 1532fi 1533 1534if test "$ac_init_help" = "recursive"; then 1535 # If there are subdirs, report their specific --help. 1536 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1537 test -d "$ac_dir" || 1538 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1539 continue 1540 ac_builddir=. 1541 1542case "$ac_dir" in 1543.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1544*) 1545 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 1546 # A ".." for each directory in $ac_dir_suffix. 1547 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1548 case $ac_top_builddir_sub in 1549 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1550 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1551 esac ;; 1552esac 1553ac_abs_top_builddir=$ac_pwd 1554ac_abs_builddir=$ac_pwd$ac_dir_suffix 1555# for backward compatibility: 1556ac_top_builddir=$ac_top_build_prefix 1557 1558case $srcdir in 1559 .) # We are building in place. 1560 ac_srcdir=. 1561 ac_top_srcdir=$ac_top_builddir_sub 1562 ac_abs_top_srcdir=$ac_pwd ;; 1563 [\\/]* | ?:[\\/]* ) # Absolute name. 1564 ac_srcdir=$srcdir$ac_dir_suffix; 1565 ac_top_srcdir=$srcdir 1566 ac_abs_top_srcdir=$srcdir ;; 1567 *) # Relative name. 1568 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1569 ac_top_srcdir=$ac_top_build_prefix$srcdir 1570 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1571esac 1572ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1573 1574 cd "$ac_dir" || { ac_status=$?; continue; } 1575 # Check for configure.gnu first; this name is used for a wrapper for 1576 # Metaconfig's "Configure" on case-insensitive file systems. 1577 if test -f "$ac_srcdir/configure.gnu"; then 1578 echo && 1579 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1580 elif test -f "$ac_srcdir/configure"; then 1581 echo && 1582 $SHELL "$ac_srcdir/configure" --help=recursive 1583 else 1584 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1585 fi || ac_status=$? 1586 cd "$ac_pwd" || { ac_status=$?; break; } 1587 done 1588fi 1589 1590test -n "$ac_init_help" && exit $ac_status 1591if $ac_init_version; then 1592 cat <<\_ACEOF 1593ristretto configure 0.12.1 1594generated by GNU Autoconf 2.71 1595 1596Copyright (C) 2021 Free Software Foundation, Inc. 1597This configure script is free software; the Free Software Foundation 1598gives unlimited permission to copy, distribute and modify it. 1599 1600Copyright (c) 2006-2021 1601 The Xfce development team. All rights reserved. 1602 1603Written for Xfce by Stephan Arts <stephan@xfce.org>. 1604_ACEOF 1605 exit 1606fi 1607 1608## ------------------------ ## 1609## Autoconf initialization. ## 1610## ------------------------ ## 1611 1612# ac_fn_c_try_compile LINENO 1613# -------------------------- 1614# Try to compile conftest.$ac_ext, and return whether this succeeded. 1615ac_fn_c_try_compile () 1616{ 1617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1618 rm -f conftest.$ac_objext conftest.beam 1619 if { { ac_try="$ac_compile" 1620case "(($ac_try" in 1621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1622 *) ac_try_echo=$ac_try;; 1623esac 1624eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1625printf "%s\n" "$ac_try_echo"; } >&5 1626 (eval "$ac_compile") 2>conftest.err 1627 ac_status=$? 1628 if test -s conftest.err; then 1629 grep -v '^ *+' conftest.err >conftest.er1 1630 cat conftest.er1 >&5 1631 mv -f conftest.er1 conftest.err 1632 fi 1633 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1634 test $ac_status = 0; } && { 1635 test -z "$ac_c_werror_flag" || 1636 test ! -s conftest.err 1637 } && test -s conftest.$ac_objext 1638then : 1639 ac_retval=0 1640else $as_nop 1641 printf "%s\n" "$as_me: failed program was:" >&5 1642sed 's/^/| /' conftest.$ac_ext >&5 1643 1644 ac_retval=1 1645fi 1646 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1647 as_fn_set_status $ac_retval 1648 1649} # ac_fn_c_try_compile 1650 1651# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1652# ------------------------------------------------------- 1653# Tests whether HEADER exists and can be compiled using the include files in 1654# INCLUDES, setting the cache variable VAR accordingly. 1655ac_fn_c_check_header_compile () 1656{ 1657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1659printf %s "checking for $2... " >&6; } 1660if eval test \${$3+y} 1661then : 1662 printf %s "(cached) " >&6 1663else $as_nop 1664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1665/* end confdefs.h. */ 1666$4 1667#include <$2> 1668_ACEOF 1669if ac_fn_c_try_compile "$LINENO" 1670then : 1671 eval "$3=yes" 1672else $as_nop 1673 eval "$3=no" 1674fi 1675rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 1676fi 1677eval ac_res=\$$3 1678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1679printf "%s\n" "$ac_res" >&6; } 1680 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1681 1682} # ac_fn_c_check_header_compile 1683 1684# ac_fn_c_try_link LINENO 1685# ----------------------- 1686# Try to link conftest.$ac_ext, and return whether this succeeded. 1687ac_fn_c_try_link () 1688{ 1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1690 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext 1691 if { { ac_try="$ac_link" 1692case "(($ac_try" in 1693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1694 *) ac_try_echo=$ac_try;; 1695esac 1696eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1697printf "%s\n" "$ac_try_echo"; } >&5 1698 (eval "$ac_link") 2>conftest.err 1699 ac_status=$? 1700 if test -s conftest.err; then 1701 grep -v '^ *+' conftest.err >conftest.er1 1702 cat conftest.er1 >&5 1703 mv -f conftest.er1 conftest.err 1704 fi 1705 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1706 test $ac_status = 0; } && { 1707 test -z "$ac_c_werror_flag" || 1708 test ! -s conftest.err 1709 } && test -s conftest$ac_exeext && { 1710 test "$cross_compiling" = yes || 1711 test -x conftest$ac_exeext 1712 } 1713then : 1714 ac_retval=0 1715else $as_nop 1716 printf "%s\n" "$as_me: failed program was:" >&5 1717sed 's/^/| /' conftest.$ac_ext >&5 1718 1719 ac_retval=1 1720fi 1721 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1722 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1723 # interfere with the next link command; also delete a directory that is 1724 # left behind by Apple's compiler. We do this before executing the actions. 1725 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1727 as_fn_set_status $ac_retval 1728 1729} # ac_fn_c_try_link 1730 1731# ac_fn_c_check_func LINENO FUNC VAR 1732# ---------------------------------- 1733# Tests whether FUNC exists, setting the cache variable VAR accordingly 1734ac_fn_c_check_func () 1735{ 1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1738printf %s "checking for $2... " >&6; } 1739if eval test \${$3+y} 1740then : 1741 printf %s "(cached) " >&6 1742else $as_nop 1743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1744/* end confdefs.h. */ 1745/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1746 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1747#define $2 innocuous_$2 1748 1749/* System header to define __stub macros and hopefully few prototypes, 1750 which can conflict with char $2 (); below. */ 1751 1752#include <limits.h> 1753#undef $2 1754 1755/* Override any GCC internal prototype to avoid an error. 1756 Use char because int might match the return type of a GCC 1757 builtin and then its argument prototype would still apply. */ 1758#ifdef __cplusplus 1759extern "C" 1760#endif 1761char $2 (); 1762/* The GNU C library defines this for functions which it implements 1763 to always fail with ENOSYS. Some functions are actually named 1764 something starting with __ and the normal name is an alias. */ 1765#if defined __stub_$2 || defined __stub___$2 1766choke me 1767#endif 1768 1769int 1770main (void) 1771{ 1772return $2 (); 1773 ; 1774 return 0; 1775} 1776_ACEOF 1777if ac_fn_c_try_link "$LINENO" 1778then : 1779 eval "$3=yes" 1780else $as_nop 1781 eval "$3=no" 1782fi 1783rm -f core conftest.err conftest.$ac_objext conftest.beam \ 1784 conftest$ac_exeext conftest.$ac_ext 1785fi 1786eval ac_res=\$$3 1787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1788printf "%s\n" "$ac_res" >&6; } 1789 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1790 1791} # ac_fn_c_check_func 1792 1793# ac_fn_c_try_cpp LINENO 1794# ---------------------- 1795# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1796ac_fn_c_try_cpp () 1797{ 1798 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1799 if { { ac_try="$ac_cpp conftest.$ac_ext" 1800case "(($ac_try" in 1801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1802 *) ac_try_echo=$ac_try;; 1803esac 1804eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1805printf "%s\n" "$ac_try_echo"; } >&5 1806 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1807 ac_status=$? 1808 if test -s conftest.err; then 1809 grep -v '^ *+' conftest.err >conftest.er1 1810 cat conftest.er1 >&5 1811 mv -f conftest.er1 conftest.err 1812 fi 1813 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1814 test $ac_status = 0; } > conftest.i && { 1815 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1816 test ! -s conftest.err 1817 } 1818then : 1819 ac_retval=0 1820else $as_nop 1821 printf "%s\n" "$as_me: failed program was:" >&5 1822sed 's/^/| /' conftest.$ac_ext >&5 1823 1824 ac_retval=1 1825fi 1826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1827 as_fn_set_status $ac_retval 1828 1829} # ac_fn_c_try_cpp 1830ac_configure_args_raw= 1831for ac_arg 1832do 1833 case $ac_arg in 1834 *\'*) 1835 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1836 esac 1837 as_fn_append ac_configure_args_raw " '$ac_arg'" 1838done 1839 1840case $ac_configure_args_raw in 1841 *$as_nl*) 1842 ac_safe_unquote= ;; 1843 *) 1844 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab. 1845 ac_unsafe_a="$ac_unsafe_z#~" 1846 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g" 1847 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;; 1848esac 1849 1850cat >config.log <<_ACEOF 1851This file contains any messages produced by compilers while 1852running configure, to aid debugging if configure makes a mistake. 1853 1854It was created by ristretto $as_me 0.12.1, which was 1855generated by GNU Autoconf 2.71. Invocation command line was 1856 1857 $ $0$ac_configure_args_raw 1858 1859_ACEOF 1860exec 5>>config.log 1861{ 1862cat <<_ASUNAME 1863## --------- ## 1864## Platform. ## 1865## --------- ## 1866 1867hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1868uname -m = `(uname -m) 2>/dev/null || echo unknown` 1869uname -r = `(uname -r) 2>/dev/null || echo unknown` 1870uname -s = `(uname -s) 2>/dev/null || echo unknown` 1871uname -v = `(uname -v) 2>/dev/null || echo unknown` 1872 1873/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1874/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1875 1876/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1877/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1878/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1879/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1880/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1881/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1882/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1883 1884_ASUNAME 1885 1886as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1887for as_dir in $PATH 1888do 1889 IFS=$as_save_IFS 1890 case $as_dir in #((( 1891 '') as_dir=./ ;; 1892 */) ;; 1893 *) as_dir=$as_dir/ ;; 1894 esac 1895 printf "%s\n" "PATH: $as_dir" 1896 done 1897IFS=$as_save_IFS 1898 1899} >&5 1900 1901cat >&5 <<_ACEOF 1902 1903 1904## ----------- ## 1905## Core tests. ## 1906## ----------- ## 1907 1908_ACEOF 1909 1910 1911# Keep a trace of the command line. 1912# Strip out --no-create and --no-recursion so they do not pile up. 1913# Strip out --silent because we don't want to record it for future runs. 1914# Also quote any args containing shell meta-characters. 1915# Make two passes to allow for proper duplicate-argument suppression. 1916ac_configure_args= 1917ac_configure_args0= 1918ac_configure_args1= 1919ac_must_keep_next=false 1920for ac_pass in 1 2 1921do 1922 for ac_arg 1923 do 1924 case $ac_arg in 1925 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1926 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1927 | -silent | --silent | --silen | --sile | --sil) 1928 continue ;; 1929 *\'*) 1930 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1931 esac 1932 case $ac_pass in 1933 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1934 2) 1935 as_fn_append ac_configure_args1 " '$ac_arg'" 1936 if test $ac_must_keep_next = true; then 1937 ac_must_keep_next=false # Got value, back to normal. 1938 else 1939 case $ac_arg in 1940 *=* | --config-cache | -C | -disable-* | --disable-* \ 1941 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1942 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1943 | -with-* | --with-* | -without-* | --without-* | --x) 1944 case "$ac_configure_args0 " in 1945 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1946 esac 1947 ;; 1948 -* ) ac_must_keep_next=true ;; 1949 esac 1950 fi 1951 as_fn_append ac_configure_args " '$ac_arg'" 1952 ;; 1953 esac 1954 done 1955done 1956{ ac_configure_args0=; unset ac_configure_args0;} 1957{ ac_configure_args1=; unset ac_configure_args1;} 1958 1959# When interrupted or exit'd, cleanup temporary files, and complete 1960# config.log. We remove comments because anyway the quotes in there 1961# would cause problems or look ugly. 1962# WARNING: Use '\'' to represent an apostrophe within the trap. 1963# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1964trap 'exit_status=$? 1965 # Sanitize IFS. 1966 IFS=" "" $as_nl" 1967 # Save into config.log some information that might help in debugging. 1968 { 1969 echo 1970 1971 printf "%s\n" "## ---------------- ## 1972## Cache variables. ## 1973## ---------------- ##" 1974 echo 1975 # The following way of writing the cache mishandles newlines in values, 1976( 1977 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1978 eval ac_val=\$$ac_var 1979 case $ac_val in #( 1980 *${as_nl}*) 1981 case $ac_var in #( 1982 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1983printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1984 esac 1985 case $ac_var in #( 1986 _ | IFS | as_nl) ;; #( 1987 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1988 *) { eval $ac_var=; unset $ac_var;} ;; 1989 esac ;; 1990 esac 1991 done 1992 (set) 2>&1 | 1993 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1994 *${as_nl}ac_space=\ *) 1995 sed -n \ 1996 "s/'\''/'\''\\\\'\'''\''/g; 1997 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1998 ;; #( 1999 *) 2000 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 2001 ;; 2002 esac | 2003 sort 2004) 2005 echo 2006 2007 printf "%s\n" "## ----------------- ## 2008## Output variables. ## 2009## ----------------- ##" 2010 echo 2011 for ac_var in $ac_subst_vars 2012 do 2013 eval ac_val=\$$ac_var 2014 case $ac_val in 2015 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2016 esac 2017 printf "%s\n" "$ac_var='\''$ac_val'\''" 2018 done | sort 2019 echo 2020 2021 if test -n "$ac_subst_files"; then 2022 printf "%s\n" "## ------------------- ## 2023## File substitutions. ## 2024## ------------------- ##" 2025 echo 2026 for ac_var in $ac_subst_files 2027 do 2028 eval ac_val=\$$ac_var 2029 case $ac_val in 2030 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 2031 esac 2032 printf "%s\n" "$ac_var='\''$ac_val'\''" 2033 done | sort 2034 echo 2035 fi 2036 2037 if test -s confdefs.h; then 2038 printf "%s\n" "## ----------- ## 2039## confdefs.h. ## 2040## ----------- ##" 2041 echo 2042 cat confdefs.h 2043 echo 2044 fi 2045 test "$ac_signal" != 0 && 2046 printf "%s\n" "$as_me: caught signal $ac_signal" 2047 printf "%s\n" "$as_me: exit $exit_status" 2048 } >&5 2049 rm -f core *.core core.conftest.* && 2050 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 2051 exit $exit_status 2052' 0 2053for ac_signal in 1 2 13 15; do 2054 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 2055done 2056ac_signal=0 2057 2058# confdefs.h avoids OS command line length limits that DEFS can exceed. 2059rm -f -r conftest* confdefs.h 2060 2061printf "%s\n" "/* confdefs.h */" > confdefs.h 2062 2063# Predefined preprocessor variables. 2064 2065printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h 2066 2067printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h 2068 2069printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h 2070 2071printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h 2072 2073printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h 2074 2075printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h 2076 2077 2078# Let the site file select an alternate cache file if it wants to. 2079# Prefer an explicitly selected file to automatically selected ones. 2080if test -n "$CONFIG_SITE"; then 2081 ac_site_files="$CONFIG_SITE" 2082elif test "x$prefix" != xNONE; then 2083 ac_site_files="$prefix/share/config.site $prefix/etc/config.site" 2084else 2085 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" 2086fi 2087 2088for ac_site_file in $ac_site_files 2089do 2090 case $ac_site_file in #( 2091 */*) : 2092 ;; #( 2093 *) : 2094 ac_site_file=./$ac_site_file ;; 2095esac 2096 if test -f "$ac_site_file" && test -r "$ac_site_file"; then 2097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2098printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;} 2099 sed 's/^/| /' "$ac_site_file" >&5 2100 . "$ac_site_file" \ 2101 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2102printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2103as_fn_error $? "failed to load site script $ac_site_file 2104See \`config.log' for more details" "$LINENO" 5; } 2105 fi 2106done 2107 2108if test -r "$cache_file"; then 2109 # Some versions of bash will fail to source /dev/null (special files 2110 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2111 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2113printf "%s\n" "$as_me: loading cache $cache_file" >&6;} 2114 case $cache_file in 2115 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2116 *) . "./$cache_file";; 2117 esac 2118 fi 2119else 2120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2121printf "%s\n" "$as_me: creating cache $cache_file" >&6;} 2122 >$cache_file 2123fi 2124 2125as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H" 2126# Test code for whether the C compiler supports C89 (global declarations) 2127ac_c_conftest_c89_globals=' 2128/* Does the compiler advertise C89 conformance? 2129 Do not test the value of __STDC__, because some compilers set it to 0 2130 while being otherwise adequately conformant. */ 2131#if !defined __STDC__ 2132# error "Compiler does not advertise C89 conformance" 2133#endif 2134 2135#include <stddef.h> 2136#include <stdarg.h> 2137struct stat; 2138/* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */ 2139struct buf { int x; }; 2140struct buf * (*rcsopen) (struct buf *, struct stat *, int); 2141static char *e (p, i) 2142 char **p; 2143 int i; 2144{ 2145 return p[i]; 2146} 2147static char *f (char * (*g) (char **, int), char **p, ...) 2148{ 2149 char *s; 2150 va_list v; 2151 va_start (v,p); 2152 s = g (p, va_arg (v,int)); 2153 va_end (v); 2154 return s; 2155} 2156 2157/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2158 function prototypes and stuff, but not \xHH hex character constants. 2159 These do not provoke an error unfortunately, instead are silently treated 2160 as an "x". The following induces an error, until -std is added to get 2161 proper ANSI mode. Curiously \x00 != x always comes out true, for an 2162 array size at least. It is necessary to write \x00 == 0 to get something 2163 that is true only with -std. */ 2164int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1]; 2165 2166/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2167 inside strings and character constants. */ 2168#define FOO(x) '\''x'\'' 2169int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1]; 2170 2171int test (int i, double x); 2172struct s1 {int (*f) (int a);}; 2173struct s2 {int (*f) (double a);}; 2174int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int), 2175 int, int);' 2176 2177# Test code for whether the C compiler supports C89 (body of main). 2178ac_c_conftest_c89_main=' 2179ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]); 2180' 2181 2182# Test code for whether the C compiler supports C99 (global declarations) 2183ac_c_conftest_c99_globals=' 2184// Does the compiler advertise C99 conformance? 2185#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L 2186# error "Compiler does not advertise C99 conformance" 2187#endif 2188 2189#include <stdbool.h> 2190extern int puts (const char *); 2191extern int printf (const char *, ...); 2192extern int dprintf (int, const char *, ...); 2193extern void *malloc (size_t); 2194 2195// Check varargs macros. These examples are taken from C99 6.10.3.5. 2196// dprintf is used instead of fprintf to avoid needing to declare 2197// FILE and stderr. 2198#define debug(...) dprintf (2, __VA_ARGS__) 2199#define showlist(...) puts (#__VA_ARGS__) 2200#define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) 2201static void 2202test_varargs_macros (void) 2203{ 2204 int x = 1234; 2205 int y = 5678; 2206 debug ("Flag"); 2207 debug ("X = %d\n", x); 2208 showlist (The first, second, and third items.); 2209 report (x>y, "x is %d but y is %d", x, y); 2210} 2211 2212// Check long long types. 2213#define BIG64 18446744073709551615ull 2214#define BIG32 4294967295ul 2215#define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) 2216#if !BIG_OK 2217 #error "your preprocessor is broken" 2218#endif 2219#if BIG_OK 2220#else 2221 #error "your preprocessor is broken" 2222#endif 2223static long long int bignum = -9223372036854775807LL; 2224static unsigned long long int ubignum = BIG64; 2225 2226struct incomplete_array 2227{ 2228 int datasize; 2229 double data[]; 2230}; 2231 2232struct named_init { 2233 int number; 2234 const wchar_t *name; 2235 double average; 2236}; 2237 2238typedef const char *ccp; 2239 2240static inline int 2241test_restrict (ccp restrict text) 2242{ 2243 // See if C++-style comments work. 2244 // Iterate through items via the restricted pointer. 2245 // Also check for declarations in for loops. 2246 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i) 2247 continue; 2248 return 0; 2249} 2250 2251// Check varargs and va_copy. 2252static bool 2253test_varargs (const char *format, ...) 2254{ 2255 va_list args; 2256 va_start (args, format); 2257 va_list args_copy; 2258 va_copy (args_copy, args); 2259 2260 const char *str = ""; 2261 int number = 0; 2262 float fnumber = 0; 2263 2264 while (*format) 2265 { 2266 switch (*format++) 2267 { 2268 case '\''s'\'': // string 2269 str = va_arg (args_copy, const char *); 2270 break; 2271 case '\''d'\'': // int 2272 number = va_arg (args_copy, int); 2273 break; 2274 case '\''f'\'': // float 2275 fnumber = va_arg (args_copy, double); 2276 break; 2277 default: 2278 break; 2279 } 2280 } 2281 va_end (args_copy); 2282 va_end (args); 2283 2284 return *str && number && fnumber; 2285} 2286' 2287 2288# Test code for whether the C compiler supports C99 (body of main). 2289ac_c_conftest_c99_main=' 2290 // Check bool. 2291 _Bool success = false; 2292 success |= (argc != 0); 2293 2294 // Check restrict. 2295 if (test_restrict ("String literal") == 0) 2296 success = true; 2297 char *restrict newvar = "Another string"; 2298 2299 // Check varargs. 2300 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234); 2301 test_varargs_macros (); 2302 2303 // Check flexible array members. 2304 struct incomplete_array *ia = 2305 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); 2306 ia->datasize = 10; 2307 for (int i = 0; i < ia->datasize; ++i) 2308 ia->data[i] = i * 1.234; 2309 2310 // Check named initializers. 2311 struct named_init ni = { 2312 .number = 34, 2313 .name = L"Test wide string", 2314 .average = 543.34343, 2315 }; 2316 2317 ni.number = 58; 2318 2319 int dynamic_array[ni.number]; 2320 dynamic_array[0] = argv[0][0]; 2321 dynamic_array[ni.number - 1] = 543; 2322 2323 // work around unused variable warnings 2324 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\'' 2325 || dynamic_array[ni.number - 1] != 543); 2326' 2327 2328# Test code for whether the C compiler supports C11 (global declarations) 2329ac_c_conftest_c11_globals=' 2330// Does the compiler advertise C11 conformance? 2331#if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L 2332# error "Compiler does not advertise C11 conformance" 2333#endif 2334 2335// Check _Alignas. 2336char _Alignas (double) aligned_as_double; 2337char _Alignas (0) no_special_alignment; 2338extern char aligned_as_int; 2339char _Alignas (0) _Alignas (int) aligned_as_int; 2340 2341// Check _Alignof. 2342enum 2343{ 2344 int_alignment = _Alignof (int), 2345 int_array_alignment = _Alignof (int[100]), 2346 char_alignment = _Alignof (char) 2347}; 2348_Static_assert (0 < -_Alignof (int), "_Alignof is signed"); 2349 2350// Check _Noreturn. 2351int _Noreturn does_not_return (void) { for (;;) continue; } 2352 2353// Check _Static_assert. 2354struct test_static_assert 2355{ 2356 int x; 2357 _Static_assert (sizeof (int) <= sizeof (long int), 2358 "_Static_assert does not work in struct"); 2359 long int y; 2360}; 2361 2362// Check UTF-8 literals. 2363#define u8 syntax error! 2364char const utf8_literal[] = u8"happens to be ASCII" "another string"; 2365 2366// Check duplicate typedefs. 2367typedef long *long_ptr; 2368typedef long int *long_ptr; 2369typedef long_ptr long_ptr; 2370 2371// Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1. 2372struct anonymous 2373{ 2374 union { 2375 struct { int i; int j; }; 2376 struct { int k; long int l; } w; 2377 }; 2378 int m; 2379} v1; 2380' 2381 2382# Test code for whether the C compiler supports C11 (body of main). 2383ac_c_conftest_c11_main=' 2384 _Static_assert ((offsetof (struct anonymous, i) 2385 == offsetof (struct anonymous, w.k)), 2386 "Anonymous union alignment botch"); 2387 v1.i = 2; 2388 v1.w.k = 5; 2389 ok |= v1.i != 5; 2390' 2391 2392# Test code for whether the C compiler supports C11 (complete). 2393ac_c_conftest_c11_program="${ac_c_conftest_c89_globals} 2394${ac_c_conftest_c99_globals} 2395${ac_c_conftest_c11_globals} 2396 2397int 2398main (int argc, char **argv) 2399{ 2400 int ok = 0; 2401 ${ac_c_conftest_c89_main} 2402 ${ac_c_conftest_c99_main} 2403 ${ac_c_conftest_c11_main} 2404 return ok; 2405} 2406" 2407 2408# Test code for whether the C compiler supports C99 (complete). 2409ac_c_conftest_c99_program="${ac_c_conftest_c89_globals} 2410${ac_c_conftest_c99_globals} 2411 2412int 2413main (int argc, char **argv) 2414{ 2415 int ok = 0; 2416 ${ac_c_conftest_c89_main} 2417 ${ac_c_conftest_c99_main} 2418 return ok; 2419} 2420" 2421 2422# Test code for whether the C compiler supports C89 (complete). 2423ac_c_conftest_c89_program="${ac_c_conftest_c89_globals} 2424 2425int 2426main (int argc, char **argv) 2427{ 2428 int ok = 0; 2429 ${ac_c_conftest_c89_main} 2430 return ok; 2431} 2432" 2433 2434as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H" 2435as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H" 2436as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H" 2437as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H" 2438as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H" 2439as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H" 2440as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H" 2441as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H" 2442as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H" 2443as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H" 2444 2445# Auxiliary files required by this configure script. 2446ac_aux_files="config.guess config.sub compile missing install-sh" 2447 2448# Locations in which to look for auxiliary files. 2449ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.." 2450 2451# Search for a directory containing all of the required auxiliary files, 2452# $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates. 2453# If we don't find one directory that contains all the files we need, 2454# we report the set of missing files from the *first* directory in 2455# $ac_aux_dir_candidates and give up. 2456ac_missing_aux_files="" 2457ac_first_candidate=: 2458printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5 2459as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2460as_found=false 2461for as_dir in $ac_aux_dir_candidates 2462do 2463 IFS=$as_save_IFS 2464 case $as_dir in #((( 2465 '') as_dir=./ ;; 2466 */) ;; 2467 *) as_dir=$as_dir/ ;; 2468 esac 2469 as_found=: 2470 2471 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5 2472 ac_aux_dir_found=yes 2473 ac_install_sh= 2474 for ac_aux in $ac_aux_files 2475 do 2476 # As a special case, if "install-sh" is required, that requirement 2477 # can be satisfied by any of "install-sh", "install.sh", or "shtool", 2478 # and $ac_install_sh is set appropriately for whichever one is found. 2479 if test x"$ac_aux" = x"install-sh" 2480 then 2481 if test -f "${as_dir}install-sh"; then 2482 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5 2483 ac_install_sh="${as_dir}install-sh -c" 2484 elif test -f "${as_dir}install.sh"; then 2485 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5 2486 ac_install_sh="${as_dir}install.sh -c" 2487 elif test -f "${as_dir}shtool"; then 2488 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5 2489 ac_install_sh="${as_dir}shtool install -c" 2490 else 2491 ac_aux_dir_found=no 2492 if $ac_first_candidate; then 2493 ac_missing_aux_files="${ac_missing_aux_files} install-sh" 2494 else 2495 break 2496 fi 2497 fi 2498 else 2499 if test -f "${as_dir}${ac_aux}"; then 2500 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5 2501 else 2502 ac_aux_dir_found=no 2503 if $ac_first_candidate; then 2504 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}" 2505 else 2506 break 2507 fi 2508 fi 2509 fi 2510 done 2511 if test "$ac_aux_dir_found" = yes; then 2512 ac_aux_dir="$as_dir" 2513 break 2514 fi 2515 ac_first_candidate=false 2516 2517 as_found=false 2518done 2519IFS=$as_save_IFS 2520if $as_found 2521then : 2522 2523else $as_nop 2524 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 2525fi 2526 2527 2528# These three variables are undocumented and unsupported, 2529# and are intended to be withdrawn in a future Autoconf release. 2530# They can cause serious problems if a builder's source tree is in a directory 2531# whose full name contains unusual characters. 2532if test -f "${ac_aux_dir}config.guess"; then 2533 ac_config_guess="$SHELL ${ac_aux_dir}config.guess" 2534fi 2535if test -f "${ac_aux_dir}config.sub"; then 2536 ac_config_sub="$SHELL ${ac_aux_dir}config.sub" 2537fi 2538if test -f "$ac_aux_dir/configure"; then 2539 ac_configure="$SHELL ${ac_aux_dir}configure" 2540fi 2541 2542# Check that the precious variables saved in the cache have kept the same 2543# value. 2544ac_cache_corrupted=false 2545for ac_var in $ac_precious_vars; do 2546 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2547 eval ac_new_set=\$ac_env_${ac_var}_set 2548 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2549 eval ac_new_val=\$ac_env_${ac_var}_value 2550 case $ac_old_set,$ac_new_set in 2551 set,) 2552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2553printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2554 ac_cache_corrupted=: ;; 2555 ,set) 2556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2557printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2558 ac_cache_corrupted=: ;; 2559 ,);; 2560 *) 2561 if test "x$ac_old_val" != "x$ac_new_val"; then 2562 # differences in whitespace do not lead to failure. 2563 ac_old_val_w=`echo x $ac_old_val` 2564 ac_new_val_w=`echo x $ac_new_val` 2565 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2567printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2568 ac_cache_corrupted=: 2569 else 2570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2571printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2572 eval $ac_var=\$ac_old_val 2573 fi 2574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2575printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;} 2576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2577printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;} 2578 fi;; 2579 esac 2580 # Pass precious variables to config.status. 2581 if test "$ac_new_set" = set; then 2582 case $ac_new_val in 2583 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2584 *) ac_arg=$ac_var=$ac_new_val ;; 2585 esac 2586 case " $ac_configure_args " in 2587 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2588 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2589 esac 2590 fi 2591done 2592if $ac_cache_corrupted; then 2593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2594printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 2595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2596printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;} 2597 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file' 2598 and start over" "$LINENO" 5 2599fi 2600## -------------------- ## 2601## Main body of script. ## 2602## -------------------- ## 2603 2604ac_ext=c 2605ac_cpp='$CPP $CPPFLAGS' 2606ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2607ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2608ac_compiler_gnu=$ac_cv_c_compiler_gnu 2609 2610 2611 2612 2613RISTRETTO_VERSION=0.12.1 2614am__api_version='1.16' 2615 2616 2617 2618 # Find a good install program. We prefer a C program (faster), 2619# so one script is as good as another. But avoid the broken or 2620# incompatible versions: 2621# SysV /etc/install, /usr/sbin/install 2622# SunOS /usr/etc/install 2623# IRIX /sbin/install 2624# AIX /bin/install 2625# AmigaOS /C/install, which installs bootblocks on floppy discs 2626# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2627# AFS /usr/afsws/bin/install, which mishandles nonexistent args 2628# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2629# OS/2's system install, which has a completely different semantic 2630# ./install, which can be erroneously created by make from ./install.sh. 2631# Reject install programs that cannot install multiple files. 2632{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2633printf %s "checking for a BSD-compatible install... " >&6; } 2634if test -z "$INSTALL"; then 2635if test ${ac_cv_path_install+y} 2636then : 2637 printf %s "(cached) " >&6 2638else $as_nop 2639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2640for as_dir in $PATH 2641do 2642 IFS=$as_save_IFS 2643 case $as_dir in #((( 2644 '') as_dir=./ ;; 2645 */) ;; 2646 *) as_dir=$as_dir/ ;; 2647 esac 2648 # Account for fact that we put trailing slashes in our PATH walk. 2649case $as_dir in #(( 2650 ./ | /[cC]/* | \ 2651 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2652 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2653 /usr/ucb/* ) ;; 2654 *) 2655 # OSF1 and SCO ODT 3.0 have their own names for install. 2656 # Don't use installbsd from OSF since it installs stuff as root 2657 # by default. 2658 for ac_prog in ginstall scoinst install; do 2659 for ac_exec_ext in '' $ac_executable_extensions; do 2660 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then 2661 if test $ac_prog = install && 2662 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2663 # AIX install. It has an incompatible calling convention. 2664 : 2665 elif test $ac_prog = install && 2666 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2667 # program-specific install script used by HP pwplus--don't use. 2668 : 2669 else 2670 rm -rf conftest.one conftest.two conftest.dir 2671 echo one > conftest.one 2672 echo two > conftest.two 2673 mkdir conftest.dir 2674 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" && 2675 test -s conftest.one && test -s conftest.two && 2676 test -s conftest.dir/conftest.one && 2677 test -s conftest.dir/conftest.two 2678 then 2679 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c" 2680 break 3 2681 fi 2682 fi 2683 fi 2684 done 2685 done 2686 ;; 2687esac 2688 2689 done 2690IFS=$as_save_IFS 2691 2692rm -rf conftest.one conftest.two conftest.dir 2693 2694fi 2695 if test ${ac_cv_path_install+y}; then 2696 INSTALL=$ac_cv_path_install 2697 else 2698 # As a last resort, use the slow shell script. Don't cache a 2699 # value for INSTALL within a source directory, because that will 2700 # break other packages using the cache if that directory is 2701 # removed, or if the value is a relative name. 2702 INSTALL=$ac_install_sh 2703 fi 2704fi 2705{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2706printf "%s\n" "$INSTALL" >&6; } 2707 2708# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2709# It thinks the first close brace ends the variable substitution. 2710test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2711 2712test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2713 2714test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2715 2716{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 2717printf %s "checking whether build environment is sane... " >&6; } 2718# Reject unsafe characters in $srcdir or the absolute working directory 2719# name. Accept space and tab only in the latter. 2720am_lf=' 2721' 2722case `pwd` in 2723 *[\\\"\#\$\&\'\`$am_lf]*) 2724 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 2725esac 2726case $srcdir in 2727 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 2728 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; 2729esac 2730 2731# Do 'set' in a subshell so we don't clobber the current shell's 2732# arguments. Must try -L first in case configure is actually a 2733# symlink; some systems play weird games with the mod time of symlinks 2734# (eg FreeBSD returns the mod time of the symlink's containing 2735# directory). 2736if ( 2737 am_has_slept=no 2738 for am_try in 1 2; do 2739 echo "timestamp, slept: $am_has_slept" > conftest.file 2740 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 2741 if test "$*" = "X"; then 2742 # -L didn't work. 2743 set X `ls -t "$srcdir/configure" conftest.file` 2744 fi 2745 if test "$*" != "X $srcdir/configure conftest.file" \ 2746 && test "$*" != "X conftest.file $srcdir/configure"; then 2747 2748 # If neither matched, then we have a broken ls. This can happen 2749 # if, for instance, CONFIG_SHELL is bash and it inherits a 2750 # broken ls alias from the environment. This has actually 2751 # happened. Such a system could not be considered "sane". 2752 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 2753 alias in your environment" "$LINENO" 5 2754 fi 2755 if test "$2" = conftest.file || test $am_try -eq 2; then 2756 break 2757 fi 2758 # Just in case. 2759 sleep 1 2760 am_has_slept=yes 2761 done 2762 test "$2" = conftest.file 2763 ) 2764then 2765 # Ok. 2766 : 2767else 2768 as_fn_error $? "newly created file is older than distributed files! 2769Check your system clock" "$LINENO" 5 2770fi 2771{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2772printf "%s\n" "yes" >&6; } 2773# If we didn't sleep, we still need to ensure time stamps of config.status and 2774# generated files are strictly newer. 2775am_sleep_pid= 2776if grep 'slept: no' conftest.file >/dev/null 2>&1; then 2777 ( sleep 1 ) & 2778 am_sleep_pid=$! 2779fi 2780 2781rm -f conftest.file 2782 2783test "$program_prefix" != NONE && 2784 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2785# Use a double $ so make ignores it. 2786test "$program_suffix" != NONE && 2787 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2788# Double any \ or $. 2789# By default was `s,x,x', remove it if useless. 2790ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2791program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"` 2792 2793 2794# Expand $ac_aux_dir to an absolute path. 2795am_aux_dir=`cd "$ac_aux_dir" && pwd` 2796 2797 2798 if test x"${MISSING+set}" != xset; then 2799 MISSING="\${SHELL} '$am_aux_dir/missing'" 2800fi 2801# Use eval to expand $SHELL 2802if eval "$MISSING --is-lightweight"; then 2803 am_missing_run="$MISSING " 2804else 2805 am_missing_run= 2806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 2807printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;} 2808fi 2809 2810if test x"${install_sh+set}" != xset; then 2811 case $am_aux_dir in 2812 *\ * | *\ *) 2813 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2814 *) 2815 install_sh="\${SHELL} $am_aux_dir/install-sh" 2816 esac 2817fi 2818 2819# Installed binaries are usually stripped using 'strip' when the user 2820# run "make install-strip". However 'strip' might not be the right 2821# tool to use in cross-compilation environments, therefore Automake 2822# will honor the 'STRIP' environment variable to overrule this program. 2823if test "$cross_compiling" != no; then 2824 if test -n "$ac_tool_prefix"; then 2825 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2826set dummy ${ac_tool_prefix}strip; ac_word=$2 2827{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2828printf %s "checking for $ac_word... " >&6; } 2829if test ${ac_cv_prog_STRIP+y} 2830then : 2831 printf %s "(cached) " >&6 2832else $as_nop 2833 if test -n "$STRIP"; then 2834 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2835else 2836as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2837for as_dir in $PATH 2838do 2839 IFS=$as_save_IFS 2840 case $as_dir in #((( 2841 '') as_dir=./ ;; 2842 */) ;; 2843 *) as_dir=$as_dir/ ;; 2844 esac 2845 for ac_exec_ext in '' $ac_executable_extensions; do 2846 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2847 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2848 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2849 break 2 2850 fi 2851done 2852 done 2853IFS=$as_save_IFS 2854 2855fi 2856fi 2857STRIP=$ac_cv_prog_STRIP 2858if test -n "$STRIP"; then 2859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2860printf "%s\n" "$STRIP" >&6; } 2861else 2862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2863printf "%s\n" "no" >&6; } 2864fi 2865 2866 2867fi 2868if test -z "$ac_cv_prog_STRIP"; then 2869 ac_ct_STRIP=$STRIP 2870 # Extract the first word of "strip", so it can be a program name with args. 2871set dummy strip; ac_word=$2 2872{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2873printf %s "checking for $ac_word... " >&6; } 2874if test ${ac_cv_prog_ac_ct_STRIP+y} 2875then : 2876 printf %s "(cached) " >&6 2877else $as_nop 2878 if test -n "$ac_ct_STRIP"; then 2879 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2880else 2881as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2882for as_dir in $PATH 2883do 2884 IFS=$as_save_IFS 2885 case $as_dir in #((( 2886 '') as_dir=./ ;; 2887 */) ;; 2888 *) as_dir=$as_dir/ ;; 2889 esac 2890 for ac_exec_ext in '' $ac_executable_extensions; do 2891 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 2892 ac_cv_prog_ac_ct_STRIP="strip" 2893 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 2894 break 2 2895 fi 2896done 2897 done 2898IFS=$as_save_IFS 2899 2900fi 2901fi 2902ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2903if test -n "$ac_ct_STRIP"; then 2904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2905printf "%s\n" "$ac_ct_STRIP" >&6; } 2906else 2907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 2908printf "%s\n" "no" >&6; } 2909fi 2910 2911 if test "x$ac_ct_STRIP" = x; then 2912 STRIP=":" 2913 else 2914 case $cross_compiling:$ac_tool_warned in 2915yes:) 2916{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2917printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2918ac_tool_warned=yes ;; 2919esac 2920 STRIP=$ac_ct_STRIP 2921 fi 2922else 2923 STRIP="$ac_cv_prog_STRIP" 2924fi 2925 2926fi 2927INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2928 2929 2930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5 2931printf %s "checking for a race-free mkdir -p... " >&6; } 2932if test -z "$MKDIR_P"; then 2933 if test ${ac_cv_path_mkdir+y} 2934then : 2935 printf %s "(cached) " >&6 2936else $as_nop 2937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2938for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2939do 2940 IFS=$as_save_IFS 2941 case $as_dir in #((( 2942 '') as_dir=./ ;; 2943 */) ;; 2944 *) as_dir=$as_dir/ ;; 2945 esac 2946 for ac_prog in mkdir gmkdir; do 2947 for ac_exec_ext in '' $ac_executable_extensions; do 2948 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue 2949 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #( 2950 'mkdir ('*'coreutils) '* | \ 2951 'BusyBox '* | \ 2952 'mkdir (fileutils) '4.1*) 2953 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext 2954 break 3;; 2955 esac 2956 done 2957 done 2958 done 2959IFS=$as_save_IFS 2960 2961fi 2962 2963 test -d ./--version && rmdir ./--version 2964 if test ${ac_cv_path_mkdir+y}; then 2965 MKDIR_P="$ac_cv_path_mkdir -p" 2966 else 2967 # As a last resort, use the slow shell script. Don't cache a 2968 # value for MKDIR_P within a source directory, because that will 2969 # break other packages using the cache if that directory is 2970 # removed, or if the value is a relative name. 2971 MKDIR_P="$ac_install_sh -d" 2972 fi 2973fi 2974{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2975printf "%s\n" "$MKDIR_P" >&6; } 2976 2977for ac_prog in gawk mawk nawk awk 2978do 2979 # Extract the first word of "$ac_prog", so it can be a program name with args. 2980set dummy $ac_prog; ac_word=$2 2981{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2982printf %s "checking for $ac_word... " >&6; } 2983if test ${ac_cv_prog_AWK+y} 2984then : 2985 printf %s "(cached) " >&6 2986else $as_nop 2987 if test -n "$AWK"; then 2988 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2989else 2990as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2991for as_dir in $PATH 2992do 2993 IFS=$as_save_IFS 2994 case $as_dir in #((( 2995 '') as_dir=./ ;; 2996 */) ;; 2997 *) as_dir=$as_dir/ ;; 2998 esac 2999 for ac_exec_ext in '' $ac_executable_extensions; do 3000 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3001 ac_cv_prog_AWK="$ac_prog" 3002 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3003 break 2 3004 fi 3005done 3006 done 3007IFS=$as_save_IFS 3008 3009fi 3010fi 3011AWK=$ac_cv_prog_AWK 3012if test -n "$AWK"; then 3013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 3014printf "%s\n" "$AWK" >&6; } 3015else 3016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3017printf "%s\n" "no" >&6; } 3018fi 3019 3020 3021 test -n "$AWK" && break 3022done 3023 3024{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 3025printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 3026set x ${MAKE-make} 3027ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 3028if eval test \${ac_cv_prog_make_${ac_make}_set+y} 3029then : 3030 printf %s "(cached) " >&6 3031else $as_nop 3032 cat >conftest.make <<\_ACEOF 3033SHELL = /bin/sh 3034all: 3035 @echo '@@@%%%=$(MAKE)=@@@%%%' 3036_ACEOF 3037# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 3038case `${MAKE-make} -f conftest.make 2>/dev/null` in 3039 *@@@%%%=?*=@@@%%%*) 3040 eval ac_cv_prog_make_${ac_make}_set=yes;; 3041 *) 3042 eval ac_cv_prog_make_${ac_make}_set=no;; 3043esac 3044rm -f conftest.make 3045fi 3046if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 3047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3048printf "%s\n" "yes" >&6; } 3049 SET_MAKE= 3050else 3051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3052printf "%s\n" "no" >&6; } 3053 SET_MAKE="MAKE=${MAKE-make}" 3054fi 3055 3056rm -rf .tst 2>/dev/null 3057mkdir .tst 2>/dev/null 3058if test -d .tst; then 3059 am__leading_dot=. 3060else 3061 am__leading_dot=_ 3062fi 3063rmdir .tst 2>/dev/null 3064 3065# Check whether --enable-silent-rules was given. 3066if test ${enable_silent_rules+y} 3067then : 3068 enableval=$enable_silent_rules; 3069fi 3070 3071case $enable_silent_rules in # ((( 3072 yes) AM_DEFAULT_VERBOSITY=0;; 3073 no) AM_DEFAULT_VERBOSITY=1;; 3074 *) AM_DEFAULT_VERBOSITY=1;; 3075esac 3076am_make=${MAKE-make} 3077{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3078printf %s "checking whether $am_make supports nested variables... " >&6; } 3079if test ${am_cv_make_support_nested_variables+y} 3080then : 3081 printf %s "(cached) " >&6 3082else $as_nop 3083 if printf "%s\n" 'TRUE=$(BAR$(V)) 3084BAR0=false 3085BAR1=true 3086V=1 3087am__doit: 3088 @$(TRUE) 3089.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3090 am_cv_make_support_nested_variables=yes 3091else 3092 am_cv_make_support_nested_variables=no 3093fi 3094fi 3095{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3096printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 3097if test $am_cv_make_support_nested_variables = yes; then 3098 AM_V='$(V)' 3099 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3100else 3101 AM_V=$AM_DEFAULT_VERBOSITY 3102 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3103fi 3104AM_BACKSLASH='\' 3105 3106if test "`cd $srcdir && pwd`" != "`pwd`"; then 3107 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 3108 # is not polluted with repeated "-I." 3109 am__isrc=' -I$(srcdir)' 3110 # test to see if srcdir already configured 3111 if test -f $srcdir/config.status; then 3112 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 3113 fi 3114fi 3115 3116# test whether we have cygpath 3117if test -z "$CYGPATH_W"; then 3118 if (cygpath --version) >/dev/null 2>/dev/null; then 3119 CYGPATH_W='cygpath -w' 3120 else 3121 CYGPATH_W=echo 3122 fi 3123fi 3124 3125 3126# Define the identity of the package. 3127 PACKAGE='ristretto' 3128 VERSION='0.12.1' 3129 3130 3131printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h 3132 3133 3134printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h 3135 3136# Some tools Automake needs. 3137 3138ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 3139 3140 3141AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 3142 3143 3144AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 3145 3146 3147AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 3148 3149 3150MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 3151 3152# For better backward compatibility. To be removed once Automake 1.9.x 3153# dies out for good. For more background, see: 3154# <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html> 3155# <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html> 3156mkdir_p='$(MKDIR_P)' 3157 3158# We need awk for the "check" target (and possibly the TAP driver). The 3159# system "awk" is bad on some platforms. 3160# Always define AMTAR for backward compatibility. Yes, it's still used 3161# in the wild :-( We should find a proper way to deprecate it ... 3162AMTAR='$${TAR-tar}' 3163 3164 3165# We'll loop over all known methods to create a tar archive until one works. 3166_am_tools='gnutar plaintar pax cpio none' 3167 3168# The POSIX 1988 'ustar' format is defined with fixed-size fields. 3169 # There is notably a 21 bits limit for the UID and the GID. In fact, 3170 # the 'pax' utility can hang on bigger UID/GID (see automake bug#8343 3171 # and bug#13588). 3172 am_max_uid=2097151 # 2^21 - 1 3173 am_max_gid=$am_max_uid 3174 # The $UID and $GID variables are not portable, so we need to resort 3175 # to the POSIX-mandated id(1) utility. Errors in the 'id' calls 3176 # below are definitely unexpected, so allow the users to see them 3177 # (that is, avoid stderr redirection). 3178 am_uid=`id -u || echo unknown` 3179 am_gid=`id -g || echo unknown` 3180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether UID '$am_uid' is supported by ustar format" >&5 3181printf %s "checking whether UID '$am_uid' is supported by ustar format... " >&6; } 3182 if test $am_uid -le $am_max_uid; then 3183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3184printf "%s\n" "yes" >&6; } 3185 else 3186 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3187printf "%s\n" "no" >&6; } 3188 _am_tools=none 3189 fi 3190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether GID '$am_gid' is supported by ustar format" >&5 3191printf %s "checking whether GID '$am_gid' is supported by ustar format... " >&6; } 3192 if test $am_gid -le $am_max_gid; then 3193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3194printf "%s\n" "yes" >&6; } 3195 else 3196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3197printf "%s\n" "no" >&6; } 3198 _am_tools=none 3199 fi 3200 3201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to create a ustar tar archive" >&5 3202printf %s "checking how to create a ustar tar archive... " >&6; } 3203 3204 # Go ahead even if we have the value already cached. We do so because we 3205 # need to set the values for the 'am__tar' and 'am__untar' variables. 3206 _am_tools=${am_cv_prog_tar_ustar-$_am_tools} 3207 3208 for _am_tool in $_am_tools; do 3209 case $_am_tool in 3210 gnutar) 3211 for _am_tar in tar gnutar gtar; do 3212 { echo "$as_me:$LINENO: $_am_tar --version" >&5 3213 ($_am_tar --version) >&5 2>&5 3214 ac_status=$? 3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3216 (exit $ac_status); } && break 3217 done 3218 am__tar="$_am_tar --format=ustar -chf - "'"$$tardir"' 3219 am__tar_="$_am_tar --format=ustar -chf - "'"$tardir"' 3220 am__untar="$_am_tar -xf -" 3221 ;; 3222 plaintar) 3223 # Must skip GNU tar: if it does not support --format= it doesn't create 3224 # ustar tarball either. 3225 (tar --version) >/dev/null 2>&1 && continue 3226 am__tar='tar chf - "$$tardir"' 3227 am__tar_='tar chf - "$tardir"' 3228 am__untar='tar xf -' 3229 ;; 3230 pax) 3231 am__tar='pax -L -x ustar -w "$$tardir"' 3232 am__tar_='pax -L -x ustar -w "$tardir"' 3233 am__untar='pax -r' 3234 ;; 3235 cpio) 3236 am__tar='find "$$tardir" -print | cpio -o -H ustar -L' 3237 am__tar_='find "$tardir" -print | cpio -o -H ustar -L' 3238 am__untar='cpio -i -H ustar -d' 3239 ;; 3240 none) 3241 am__tar=false 3242 am__tar_=false 3243 am__untar=false 3244 ;; 3245 esac 3246 3247 # If the value was cached, stop now. We just wanted to have am__tar 3248 # and am__untar set. 3249 test -n "${am_cv_prog_tar_ustar}" && break 3250 3251 # tar/untar a dummy directory, and stop if the command works. 3252 rm -rf conftest.dir 3253 mkdir conftest.dir 3254 echo GrepMe > conftest.dir/file 3255 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5 3256 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5 3257 ac_status=$? 3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3259 (exit $ac_status); } 3260 rm -rf conftest.dir 3261 if test -s conftest.tar; then 3262 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5 3263 ($am__untar <conftest.tar) >&5 2>&5 3264 ac_status=$? 3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3266 (exit $ac_status); } 3267 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5 3268 (cat conftest.dir/file) >&5 2>&5 3269 ac_status=$? 3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3271 (exit $ac_status); } 3272 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break 3273 fi 3274 done 3275 rm -rf conftest.dir 3276 3277 if test ${am_cv_prog_tar_ustar+y} 3278then : 3279 printf %s "(cached) " >&6 3280else $as_nop 3281 am_cv_prog_tar_ustar=$_am_tool 3282fi 3283 3284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_ustar" >&5 3285printf "%s\n" "$am_cv_prog_tar_ustar" >&6; } 3286 3287 3288 3289 3290 3291# Variables for tags utilities; see am/tags.am 3292if test -z "$CTAGS"; then 3293 CTAGS=ctags 3294fi 3295 3296if test -z "$ETAGS"; then 3297 ETAGS=etags 3298fi 3299 3300if test -z "$CSCOPE"; then 3301 CSCOPE=cscope 3302fi 3303 3304 3305 3306# POSIX will say in a future version that running "rm -f" with no argument 3307# is OK; and we want to be able to make that assumption in our Makefile 3308# recipes. So use an aggressive probe to check that the usage we want is 3309# actually supported "in the wild" to an acceptable degree. 3310# See automake bug#10828. 3311# To make any issue more visible, cause the running configure to be aborted 3312# by default if the 'rm' program in use doesn't match our expectations; the 3313# user can still override this though. 3314if rm -f && rm -fr && rm -rf; then : OK; else 3315 cat >&2 <<'END' 3316Oops! 3317 3318Your 'rm' program seems unable to run without file operands specified 3319on the command line, even when the '-f' option is present. This is contrary 3320to the behaviour of most rm programs out there, and not conforming with 3321the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542> 3322 3323Please tell bug-automake@gnu.org about your system, including the value 3324of your $PATH and any error possibly output before this message. This 3325can help us improve future automake versions. 3326 3327END 3328 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then 3329 echo 'Configuration will proceed anyway, since you have set the' >&2 3330 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 3331 echo >&2 3332 else 3333 cat >&2 <<'END' 3334Aborting the configuration process, to ensure you take notice of the issue. 3335 3336You can download and install GNU coreutils to get an 'rm' implementation 3337that behaves properly: <https://www.gnu.org/software/coreutils/>. 3338 3339If you want to complete the configuration process using your problematic 3340'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM 3341to "yes", and re-run configure. 3342 3343END 3344 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 3345 fi 3346fi 3347 3348ac_config_headers="$ac_config_headers config.h" 3349 3350 3351{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 3352printf %s "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } 3353 # Check whether --enable-maintainer-mode was given. 3354if test ${enable_maintainer_mode+y} 3355then : 3356 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval 3357else $as_nop 3358 USE_MAINTAINER_MODE=no 3359fi 3360 3361 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 3362printf "%s\n" "$USE_MAINTAINER_MODE" >&6; } 3363 if test $USE_MAINTAINER_MODE = yes; then 3364 MAINTAINER_MODE_TRUE= 3365 MAINTAINER_MODE_FALSE='#' 3366else 3367 MAINTAINER_MODE_TRUE='#' 3368 MAINTAINER_MODE_FALSE= 3369fi 3370 3371 MAINT=$MAINTAINER_MODE_TRUE 3372 3373 3374# Check whether --enable-silent-rules was given. 3375if test ${enable_silent_rules+y} 3376then : 3377 enableval=$enable_silent_rules; 3378fi 3379 3380case $enable_silent_rules in # ((( 3381 yes) AM_DEFAULT_VERBOSITY=0;; 3382 no) AM_DEFAULT_VERBOSITY=1;; 3383 *) AM_DEFAULT_VERBOSITY=0;; 3384esac 3385am_make=${MAKE-make} 3386{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 3387printf %s "checking whether $am_make supports nested variables... " >&6; } 3388if test ${am_cv_make_support_nested_variables+y} 3389then : 3390 printf %s "(cached) " >&6 3391else $as_nop 3392 if printf "%s\n" 'TRUE=$(BAR$(V)) 3393BAR0=false 3394BAR1=true 3395V=1 3396am__doit: 3397 @$(TRUE) 3398.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 3399 am_cv_make_support_nested_variables=yes 3400else 3401 am_cv_make_support_nested_variables=no 3402fi 3403fi 3404{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 3405printf "%s\n" "$am_cv_make_support_nested_variables" >&6; } 3406if test $am_cv_make_support_nested_variables = yes; then 3407 AM_V='$(V)' 3408 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 3409else 3410 AM_V=$AM_DEFAULT_VERBOSITY 3411 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 3412fi 3413AM_BACKSLASH='\' 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425DEPDIR="${am__leading_dot}deps" 3426 3427ac_config_commands="$ac_config_commands depfiles" 3428 3429{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5 3430printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; } 3431cat > confinc.mk << 'END' 3432am__doit: 3433 @echo this is the am__doit target >confinc.out 3434.PHONY: am__doit 3435END 3436am__include="#" 3437am__quote= 3438# BSD make does it like this. 3439echo '.include "confinc.mk" # ignored' > confmf.BSD 3440# Other make implementations (GNU, Solaris 10, AIX) do it like this. 3441echo 'include confinc.mk # ignored' > confmf.GNU 3442_am_result=no 3443for s in GNU BSD; do 3444 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5 3445 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5 3446 ac_status=$? 3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3448 (exit $ac_status); } 3449 case $?:`cat confinc.out 2>/dev/null` in #( 3450 '0:this is the am__doit target') : 3451 case $s in #( 3452 BSD) : 3453 am__include='.include' am__quote='"' ;; #( 3454 *) : 3455 am__include='include' am__quote='' ;; 3456esac ;; #( 3457 *) : 3458 ;; 3459esac 3460 if test "$am__include" != "#"; then 3461 _am_result="yes ($s style)" 3462 break 3463 fi 3464done 3465rm -f confinc.* confmf.* 3466{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5 3467printf "%s\n" "${_am_result}" >&6; } 3468 3469# Check whether --enable-dependency-tracking was given. 3470if test ${enable_dependency_tracking+y} 3471then : 3472 enableval=$enable_dependency_tracking; 3473fi 3474 3475if test "x$enable_dependency_tracking" != xno; then 3476 am_depcomp="$ac_aux_dir/depcomp" 3477 AMDEPBACKSLASH='\' 3478 am__nodep='_no' 3479fi 3480 if test "x$enable_dependency_tracking" != xno; then 3481 AMDEP_TRUE= 3482 AMDEP_FALSE='#' 3483else 3484 AMDEP_TRUE='#' 3485 AMDEP_FALSE= 3486fi 3487 3488 3489ac_ext=c 3490ac_cpp='$CPP $CPPFLAGS' 3491ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3492ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3493ac_compiler_gnu=$ac_cv_c_compiler_gnu 3494if test -n "$ac_tool_prefix"; then 3495 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 3496set dummy ${ac_tool_prefix}gcc; ac_word=$2 3497{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3498printf %s "checking for $ac_word... " >&6; } 3499if test ${ac_cv_prog_CC+y} 3500then : 3501 printf %s "(cached) " >&6 3502else $as_nop 3503 if test -n "$CC"; then 3504 ac_cv_prog_CC="$CC" # Let the user override the test. 3505else 3506as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3507for as_dir in $PATH 3508do 3509 IFS=$as_save_IFS 3510 case $as_dir in #((( 3511 '') as_dir=./ ;; 3512 */) ;; 3513 *) as_dir=$as_dir/ ;; 3514 esac 3515 for ac_exec_ext in '' $ac_executable_extensions; do 3516 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3517 ac_cv_prog_CC="${ac_tool_prefix}gcc" 3518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3519 break 2 3520 fi 3521done 3522 done 3523IFS=$as_save_IFS 3524 3525fi 3526fi 3527CC=$ac_cv_prog_CC 3528if test -n "$CC"; then 3529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3530printf "%s\n" "$CC" >&6; } 3531else 3532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3533printf "%s\n" "no" >&6; } 3534fi 3535 3536 3537fi 3538if test -z "$ac_cv_prog_CC"; then 3539 ac_ct_CC=$CC 3540 # Extract the first word of "gcc", so it can be a program name with args. 3541set dummy gcc; ac_word=$2 3542{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3543printf %s "checking for $ac_word... " >&6; } 3544if test ${ac_cv_prog_ac_ct_CC+y} 3545then : 3546 printf %s "(cached) " >&6 3547else $as_nop 3548 if test -n "$ac_ct_CC"; then 3549 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3550else 3551as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3552for as_dir in $PATH 3553do 3554 IFS=$as_save_IFS 3555 case $as_dir in #((( 3556 '') as_dir=./ ;; 3557 */) ;; 3558 *) as_dir=$as_dir/ ;; 3559 esac 3560 for ac_exec_ext in '' $ac_executable_extensions; do 3561 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3562 ac_cv_prog_ac_ct_CC="gcc" 3563 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3564 break 2 3565 fi 3566done 3567 done 3568IFS=$as_save_IFS 3569 3570fi 3571fi 3572ac_ct_CC=$ac_cv_prog_ac_ct_CC 3573if test -n "$ac_ct_CC"; then 3574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3575printf "%s\n" "$ac_ct_CC" >&6; } 3576else 3577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3578printf "%s\n" "no" >&6; } 3579fi 3580 3581 if test "x$ac_ct_CC" = x; then 3582 CC="" 3583 else 3584 case $cross_compiling:$ac_tool_warned in 3585yes:) 3586{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3587printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3588ac_tool_warned=yes ;; 3589esac 3590 CC=$ac_ct_CC 3591 fi 3592else 3593 CC="$ac_cv_prog_CC" 3594fi 3595 3596if test -z "$CC"; then 3597 if test -n "$ac_tool_prefix"; then 3598 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 3599set dummy ${ac_tool_prefix}cc; ac_word=$2 3600{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3601printf %s "checking for $ac_word... " >&6; } 3602if test ${ac_cv_prog_CC+y} 3603then : 3604 printf %s "(cached) " >&6 3605else $as_nop 3606 if test -n "$CC"; then 3607 ac_cv_prog_CC="$CC" # Let the user override the test. 3608else 3609as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3610for as_dir in $PATH 3611do 3612 IFS=$as_save_IFS 3613 case $as_dir in #((( 3614 '') as_dir=./ ;; 3615 */) ;; 3616 *) as_dir=$as_dir/ ;; 3617 esac 3618 for ac_exec_ext in '' $ac_executable_extensions; do 3619 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3620 ac_cv_prog_CC="${ac_tool_prefix}cc" 3621 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3622 break 2 3623 fi 3624done 3625 done 3626IFS=$as_save_IFS 3627 3628fi 3629fi 3630CC=$ac_cv_prog_CC 3631if test -n "$CC"; then 3632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3633printf "%s\n" "$CC" >&6; } 3634else 3635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3636printf "%s\n" "no" >&6; } 3637fi 3638 3639 3640 fi 3641fi 3642if test -z "$CC"; then 3643 # Extract the first word of "cc", so it can be a program name with args. 3644set dummy cc; ac_word=$2 3645{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3646printf %s "checking for $ac_word... " >&6; } 3647if test ${ac_cv_prog_CC+y} 3648then : 3649 printf %s "(cached) " >&6 3650else $as_nop 3651 if test -n "$CC"; then 3652 ac_cv_prog_CC="$CC" # Let the user override the test. 3653else 3654 ac_prog_rejected=no 3655as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3656for as_dir in $PATH 3657do 3658 IFS=$as_save_IFS 3659 case $as_dir in #((( 3660 '') as_dir=./ ;; 3661 */) ;; 3662 *) as_dir=$as_dir/ ;; 3663 esac 3664 for ac_exec_ext in '' $ac_executable_extensions; do 3665 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3666 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 3667 ac_prog_rejected=yes 3668 continue 3669 fi 3670 ac_cv_prog_CC="cc" 3671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3672 break 2 3673 fi 3674done 3675 done 3676IFS=$as_save_IFS 3677 3678if test $ac_prog_rejected = yes; then 3679 # We found a bogon in the path, so make sure we never use it. 3680 set dummy $ac_cv_prog_CC 3681 shift 3682 if test $# != 0; then 3683 # We chose a different compiler from the bogus one. 3684 # However, it has the same basename, so the bogon will be chosen 3685 # first if we set CC to just the basename; use the full file name. 3686 shift 3687 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" 3688 fi 3689fi 3690fi 3691fi 3692CC=$ac_cv_prog_CC 3693if test -n "$CC"; then 3694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3695printf "%s\n" "$CC" >&6; } 3696else 3697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3698printf "%s\n" "no" >&6; } 3699fi 3700 3701 3702fi 3703if test -z "$CC"; then 3704 if test -n "$ac_tool_prefix"; then 3705 for ac_prog in cl.exe 3706 do 3707 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3708set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3709{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3710printf %s "checking for $ac_word... " >&6; } 3711if test ${ac_cv_prog_CC+y} 3712then : 3713 printf %s "(cached) " >&6 3714else $as_nop 3715 if test -n "$CC"; then 3716 ac_cv_prog_CC="$CC" # Let the user override the test. 3717else 3718as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3719for as_dir in $PATH 3720do 3721 IFS=$as_save_IFS 3722 case $as_dir in #((( 3723 '') as_dir=./ ;; 3724 */) ;; 3725 *) as_dir=$as_dir/ ;; 3726 esac 3727 for ac_exec_ext in '' $ac_executable_extensions; do 3728 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3729 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 3730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3731 break 2 3732 fi 3733done 3734 done 3735IFS=$as_save_IFS 3736 3737fi 3738fi 3739CC=$ac_cv_prog_CC 3740if test -n "$CC"; then 3741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3742printf "%s\n" "$CC" >&6; } 3743else 3744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3745printf "%s\n" "no" >&6; } 3746fi 3747 3748 3749 test -n "$CC" && break 3750 done 3751fi 3752if test -z "$CC"; then 3753 ac_ct_CC=$CC 3754 for ac_prog in cl.exe 3755do 3756 # Extract the first word of "$ac_prog", so it can be a program name with args. 3757set dummy $ac_prog; ac_word=$2 3758{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3759printf %s "checking for $ac_word... " >&6; } 3760if test ${ac_cv_prog_ac_ct_CC+y} 3761then : 3762 printf %s "(cached) " >&6 3763else $as_nop 3764 if test -n "$ac_ct_CC"; then 3765 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3766else 3767as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3768for as_dir in $PATH 3769do 3770 IFS=$as_save_IFS 3771 case $as_dir in #((( 3772 '') as_dir=./ ;; 3773 */) ;; 3774 *) as_dir=$as_dir/ ;; 3775 esac 3776 for ac_exec_ext in '' $ac_executable_extensions; do 3777 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3778 ac_cv_prog_ac_ct_CC="$ac_prog" 3779 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3780 break 2 3781 fi 3782done 3783 done 3784IFS=$as_save_IFS 3785 3786fi 3787fi 3788ac_ct_CC=$ac_cv_prog_ac_ct_CC 3789if test -n "$ac_ct_CC"; then 3790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3791printf "%s\n" "$ac_ct_CC" >&6; } 3792else 3793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3794printf "%s\n" "no" >&6; } 3795fi 3796 3797 3798 test -n "$ac_ct_CC" && break 3799done 3800 3801 if test "x$ac_ct_CC" = x; then 3802 CC="" 3803 else 3804 case $cross_compiling:$ac_tool_warned in 3805yes:) 3806{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3807printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3808ac_tool_warned=yes ;; 3809esac 3810 CC=$ac_ct_CC 3811 fi 3812fi 3813 3814fi 3815if test -z "$CC"; then 3816 if test -n "$ac_tool_prefix"; then 3817 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. 3818set dummy ${ac_tool_prefix}clang; ac_word=$2 3819{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3820printf %s "checking for $ac_word... " >&6; } 3821if test ${ac_cv_prog_CC+y} 3822then : 3823 printf %s "(cached) " >&6 3824else $as_nop 3825 if test -n "$CC"; then 3826 ac_cv_prog_CC="$CC" # Let the user override the test. 3827else 3828as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3829for as_dir in $PATH 3830do 3831 IFS=$as_save_IFS 3832 case $as_dir in #((( 3833 '') as_dir=./ ;; 3834 */) ;; 3835 *) as_dir=$as_dir/ ;; 3836 esac 3837 for ac_exec_ext in '' $ac_executable_extensions; do 3838 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3839 ac_cv_prog_CC="${ac_tool_prefix}clang" 3840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3841 break 2 3842 fi 3843done 3844 done 3845IFS=$as_save_IFS 3846 3847fi 3848fi 3849CC=$ac_cv_prog_CC 3850if test -n "$CC"; then 3851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 3852printf "%s\n" "$CC" >&6; } 3853else 3854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3855printf "%s\n" "no" >&6; } 3856fi 3857 3858 3859fi 3860if test -z "$ac_cv_prog_CC"; then 3861 ac_ct_CC=$CC 3862 # Extract the first word of "clang", so it can be a program name with args. 3863set dummy clang; ac_word=$2 3864{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3865printf %s "checking for $ac_word... " >&6; } 3866if test ${ac_cv_prog_ac_ct_CC+y} 3867then : 3868 printf %s "(cached) " >&6 3869else $as_nop 3870 if test -n "$ac_ct_CC"; then 3871 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 3872else 3873as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3874for as_dir in $PATH 3875do 3876 IFS=$as_save_IFS 3877 case $as_dir in #((( 3878 '') as_dir=./ ;; 3879 */) ;; 3880 *) as_dir=$as_dir/ ;; 3881 esac 3882 for ac_exec_ext in '' $ac_executable_extensions; do 3883 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 3884 ac_cv_prog_ac_ct_CC="clang" 3885 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 3886 break 2 3887 fi 3888done 3889 done 3890IFS=$as_save_IFS 3891 3892fi 3893fi 3894ac_ct_CC=$ac_cv_prog_ac_ct_CC 3895if test -n "$ac_ct_CC"; then 3896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 3897printf "%s\n" "$ac_ct_CC" >&6; } 3898else 3899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 3900printf "%s\n" "no" >&6; } 3901fi 3902 3903 if test "x$ac_ct_CC" = x; then 3904 CC="" 3905 else 3906 case $cross_compiling:$ac_tool_warned in 3907yes:) 3908{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3909printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3910ac_tool_warned=yes ;; 3911esac 3912 CC=$ac_ct_CC 3913 fi 3914else 3915 CC="$ac_cv_prog_CC" 3916fi 3917 3918fi 3919 3920 3921test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3922printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 3923as_fn_error $? "no acceptable C compiler found in \$PATH 3924See \`config.log' for more details" "$LINENO" 5; } 3925 3926# Provide some information about the compiler. 3927printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 3928set X $ac_compile 3929ac_compiler=$2 3930for ac_option in --version -v -V -qversion -version; do 3931 { { ac_try="$ac_compiler $ac_option >&5" 3932case "(($ac_try" in 3933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3934 *) ac_try_echo=$ac_try;; 3935esac 3936eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3937printf "%s\n" "$ac_try_echo"; } >&5 3938 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3939 ac_status=$? 3940 if test -s conftest.err; then 3941 sed '10a\ 3942... rest of stderr output deleted ... 3943 10q' conftest.err >conftest.er1 3944 cat conftest.er1 >&5 3945 fi 3946 rm -f conftest.er1 conftest.err 3947 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3948 test $ac_status = 0; } 3949done 3950 3951cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3952/* end confdefs.h. */ 3953 3954int 3955main (void) 3956{ 3957 3958 ; 3959 return 0; 3960} 3961_ACEOF 3962ac_clean_files_save=$ac_clean_files 3963ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 3964# Try to create an executable without -o first, disregard a.out. 3965# It will help us diagnose broken compilers, and finding out an intuition 3966# of exeext. 3967{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 3968printf %s "checking whether the C compiler works... " >&6; } 3969ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 3970 3971# The possible output files: 3972ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 3973 3974ac_rmfiles= 3975for ac_file in $ac_files 3976do 3977 case $ac_file in 3978 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 3979 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 3980 esac 3981done 3982rm -f $ac_rmfiles 3983 3984if { { ac_try="$ac_link_default" 3985case "(($ac_try" in 3986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3987 *) ac_try_echo=$ac_try;; 3988esac 3989eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3990printf "%s\n" "$ac_try_echo"; } >&5 3991 (eval "$ac_link_default") 2>&5 3992 ac_status=$? 3993 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3994 test $ac_status = 0; } 3995then : 3996 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 3997# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 3998# in a Makefile. We should not override ac_cv_exeext if it was cached, 3999# so that the user can short-circuit this test for compilers unknown to 4000# Autoconf. 4001for ac_file in $ac_files '' 4002do 4003 test -f "$ac_file" || continue 4004 case $ac_file in 4005 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 4006 ;; 4007 [ab].out ) 4008 # We found the default executable, but exeext='' is most 4009 # certainly right. 4010 break;; 4011 *.* ) 4012 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no; 4013 then :; else 4014 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4015 fi 4016 # We set ac_cv_exeext here because the later test for it is not 4017 # safe: cross compilers may not add the suffix if given an `-o' 4018 # argument, so we may need to know it at that point already. 4019 # Even if this section looks crufty: it has the advantage of 4020 # actually working. 4021 break;; 4022 * ) 4023 break;; 4024 esac 4025done 4026test "$ac_cv_exeext" = no && ac_cv_exeext= 4027 4028else $as_nop 4029 ac_file='' 4030fi 4031if test -z "$ac_file" 4032then : 4033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4034printf "%s\n" "no" >&6; } 4035printf "%s\n" "$as_me: failed program was:" >&5 4036sed 's/^/| /' conftest.$ac_ext >&5 4037 4038{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4039printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 4040as_fn_error 77 "C compiler cannot create executables 4041See \`config.log' for more details" "$LINENO" 5; } 4042else $as_nop 4043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4044printf "%s\n" "yes" >&6; } 4045fi 4046{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 4047printf %s "checking for C compiler default output file name... " >&6; } 4048{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 4049printf "%s\n" "$ac_file" >&6; } 4050ac_exeext=$ac_cv_exeext 4051 4052rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 4053ac_clean_files=$ac_clean_files_save 4054{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 4055printf %s "checking for suffix of executables... " >&6; } 4056if { { ac_try="$ac_link" 4057case "(($ac_try" in 4058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4059 *) ac_try_echo=$ac_try;; 4060esac 4061eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4062printf "%s\n" "$ac_try_echo"; } >&5 4063 (eval "$ac_link") 2>&5 4064 ac_status=$? 4065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4066 test $ac_status = 0; } 4067then : 4068 # If both `conftest.exe' and `conftest' are `present' (well, observable) 4069# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 4070# work properly (i.e., refer to `conftest.exe'), while it won't with 4071# `rm'. 4072for ac_file in conftest.exe conftest conftest.*; do 4073 test -f "$ac_file" || continue 4074 case $ac_file in 4075 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 4076 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 4077 break;; 4078 * ) break;; 4079 esac 4080done 4081else $as_nop 4082 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4083printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 4084as_fn_error $? "cannot compute suffix of executables: cannot compile and link 4085See \`config.log' for more details" "$LINENO" 5; } 4086fi 4087rm -f conftest conftest$ac_cv_exeext 4088{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 4089printf "%s\n" "$ac_cv_exeext" >&6; } 4090 4091rm -f conftest.$ac_ext 4092EXEEXT=$ac_cv_exeext 4093ac_exeext=$EXEEXT 4094cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4095/* end confdefs.h. */ 4096#include <stdio.h> 4097int 4098main (void) 4099{ 4100FILE *f = fopen ("conftest.out", "w"); 4101 return ferror (f) || fclose (f) != 0; 4102 4103 ; 4104 return 0; 4105} 4106_ACEOF 4107ac_clean_files="$ac_clean_files conftest.out" 4108# Check that the compiler produces executables we can run. If not, either 4109# the compiler is broken, or we cross compile. 4110{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 4111printf %s "checking whether we are cross compiling... " >&6; } 4112if test "$cross_compiling" != yes; then 4113 { { ac_try="$ac_link" 4114case "(($ac_try" in 4115 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4116 *) ac_try_echo=$ac_try;; 4117esac 4118eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4119printf "%s\n" "$ac_try_echo"; } >&5 4120 (eval "$ac_link") 2>&5 4121 ac_status=$? 4122 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4123 test $ac_status = 0; } 4124 if { ac_try='./conftest$ac_cv_exeext' 4125 { { case "(($ac_try" in 4126 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4127 *) ac_try_echo=$ac_try;; 4128esac 4129eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4130printf "%s\n" "$ac_try_echo"; } >&5 4131 (eval "$ac_try") 2>&5 4132 ac_status=$? 4133 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4134 test $ac_status = 0; }; }; then 4135 cross_compiling=no 4136 else 4137 if test "$cross_compiling" = maybe; then 4138 cross_compiling=yes 4139 else 4140 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4141printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 4142as_fn_error 77 "cannot run C compiled programs. 4143If you meant to cross compile, use \`--host'. 4144See \`config.log' for more details" "$LINENO" 5; } 4145 fi 4146 fi 4147fi 4148{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 4149printf "%s\n" "$cross_compiling" >&6; } 4150 4151rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 4152ac_clean_files=$ac_clean_files_save 4153{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 4154printf %s "checking for suffix of object files... " >&6; } 4155if test ${ac_cv_objext+y} 4156then : 4157 printf %s "(cached) " >&6 4158else $as_nop 4159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4160/* end confdefs.h. */ 4161 4162int 4163main (void) 4164{ 4165 4166 ; 4167 return 0; 4168} 4169_ACEOF 4170rm -f conftest.o conftest.obj 4171if { { ac_try="$ac_compile" 4172case "(($ac_try" in 4173 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4174 *) ac_try_echo=$ac_try;; 4175esac 4176eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 4177printf "%s\n" "$ac_try_echo"; } >&5 4178 (eval "$ac_compile") 2>&5 4179 ac_status=$? 4180 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 4181 test $ac_status = 0; } 4182then : 4183 for ac_file in conftest.o conftest.obj conftest.*; do 4184 test -f "$ac_file" || continue; 4185 case $ac_file in 4186 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 4187 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 4188 break;; 4189 esac 4190done 4191else $as_nop 4192 printf "%s\n" "$as_me: failed program was:" >&5 4193sed 's/^/| /' conftest.$ac_ext >&5 4194 4195{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4196printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 4197as_fn_error $? "cannot compute suffix of object files: cannot compile 4198See \`config.log' for more details" "$LINENO" 5; } 4199fi 4200rm -f conftest.$ac_cv_objext conftest.$ac_ext 4201fi 4202{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 4203printf "%s\n" "$ac_cv_objext" >&6; } 4204OBJEXT=$ac_cv_objext 4205ac_objext=$OBJEXT 4206{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 4207printf %s "checking whether the compiler supports GNU C... " >&6; } 4208if test ${ac_cv_c_compiler_gnu+y} 4209then : 4210 printf %s "(cached) " >&6 4211else $as_nop 4212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4213/* end confdefs.h. */ 4214 4215int 4216main (void) 4217{ 4218#ifndef __GNUC__ 4219 choke me 4220#endif 4221 4222 ; 4223 return 0; 4224} 4225_ACEOF 4226if ac_fn_c_try_compile "$LINENO" 4227then : 4228 ac_compiler_gnu=yes 4229else $as_nop 4230 ac_compiler_gnu=no 4231fi 4232rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4233ac_cv_c_compiler_gnu=$ac_compiler_gnu 4234 4235fi 4236{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 4237printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } 4238ac_compiler_gnu=$ac_cv_c_compiler_gnu 4239 4240if test $ac_compiler_gnu = yes; then 4241 GCC=yes 4242else 4243 GCC= 4244fi 4245ac_test_CFLAGS=${CFLAGS+y} 4246ac_save_CFLAGS=$CFLAGS 4247{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 4248printf %s "checking whether $CC accepts -g... " >&6; } 4249if test ${ac_cv_prog_cc_g+y} 4250then : 4251 printf %s "(cached) " >&6 4252else $as_nop 4253 ac_save_c_werror_flag=$ac_c_werror_flag 4254 ac_c_werror_flag=yes 4255 ac_cv_prog_cc_g=no 4256 CFLAGS="-g" 4257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4258/* end confdefs.h. */ 4259 4260int 4261main (void) 4262{ 4263 4264 ; 4265 return 0; 4266} 4267_ACEOF 4268if ac_fn_c_try_compile "$LINENO" 4269then : 4270 ac_cv_prog_cc_g=yes 4271else $as_nop 4272 CFLAGS="" 4273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4274/* end confdefs.h. */ 4275 4276int 4277main (void) 4278{ 4279 4280 ; 4281 return 0; 4282} 4283_ACEOF 4284if ac_fn_c_try_compile "$LINENO" 4285then : 4286 4287else $as_nop 4288 ac_c_werror_flag=$ac_save_c_werror_flag 4289 CFLAGS="-g" 4290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4291/* end confdefs.h. */ 4292 4293int 4294main (void) 4295{ 4296 4297 ; 4298 return 0; 4299} 4300_ACEOF 4301if ac_fn_c_try_compile "$LINENO" 4302then : 4303 ac_cv_prog_cc_g=yes 4304fi 4305rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4306fi 4307rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4308fi 4309rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4310 ac_c_werror_flag=$ac_save_c_werror_flag 4311fi 4312{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 4313printf "%s\n" "$ac_cv_prog_cc_g" >&6; } 4314if test $ac_test_CFLAGS; then 4315 CFLAGS=$ac_save_CFLAGS 4316elif test $ac_cv_prog_cc_g = yes; then 4317 if test "$GCC" = yes; then 4318 CFLAGS="-g -O2" 4319 else 4320 CFLAGS="-g" 4321 fi 4322else 4323 if test "$GCC" = yes; then 4324 CFLAGS="-O2" 4325 else 4326 CFLAGS= 4327 fi 4328fi 4329ac_prog_cc_stdc=no 4330if test x$ac_prog_cc_stdc = xno 4331then : 4332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 4333printf %s "checking for $CC option to enable C11 features... " >&6; } 4334if test ${ac_cv_prog_cc_c11+y} 4335then : 4336 printf %s "(cached) " >&6 4337else $as_nop 4338 ac_cv_prog_cc_c11=no 4339ac_save_CC=$CC 4340cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4341/* end confdefs.h. */ 4342$ac_c_conftest_c11_program 4343_ACEOF 4344for ac_arg in '' -std=gnu11 4345do 4346 CC="$ac_save_CC $ac_arg" 4347 if ac_fn_c_try_compile "$LINENO" 4348then : 4349 ac_cv_prog_cc_c11=$ac_arg 4350fi 4351rm -f core conftest.err conftest.$ac_objext conftest.beam 4352 test "x$ac_cv_prog_cc_c11" != "xno" && break 4353done 4354rm -f conftest.$ac_ext 4355CC=$ac_save_CC 4356fi 4357 4358if test "x$ac_cv_prog_cc_c11" = xno 4359then : 4360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4361printf "%s\n" "unsupported" >&6; } 4362else $as_nop 4363 if test "x$ac_cv_prog_cc_c11" = x 4364then : 4365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4366printf "%s\n" "none needed" >&6; } 4367else $as_nop 4368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 4369printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } 4370 CC="$CC $ac_cv_prog_cc_c11" 4371fi 4372 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 4373 ac_prog_cc_stdc=c11 4374fi 4375fi 4376if test x$ac_prog_cc_stdc = xno 4377then : 4378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 4379printf %s "checking for $CC option to enable C99 features... " >&6; } 4380if test ${ac_cv_prog_cc_c99+y} 4381then : 4382 printf %s "(cached) " >&6 4383else $as_nop 4384 ac_cv_prog_cc_c99=no 4385ac_save_CC=$CC 4386cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4387/* end confdefs.h. */ 4388$ac_c_conftest_c99_program 4389_ACEOF 4390for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= 4391do 4392 CC="$ac_save_CC $ac_arg" 4393 if ac_fn_c_try_compile "$LINENO" 4394then : 4395 ac_cv_prog_cc_c99=$ac_arg 4396fi 4397rm -f core conftest.err conftest.$ac_objext conftest.beam 4398 test "x$ac_cv_prog_cc_c99" != "xno" && break 4399done 4400rm -f conftest.$ac_ext 4401CC=$ac_save_CC 4402fi 4403 4404if test "x$ac_cv_prog_cc_c99" = xno 4405then : 4406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4407printf "%s\n" "unsupported" >&6; } 4408else $as_nop 4409 if test "x$ac_cv_prog_cc_c99" = x 4410then : 4411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4412printf "%s\n" "none needed" >&6; } 4413else $as_nop 4414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 4415printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } 4416 CC="$CC $ac_cv_prog_cc_c99" 4417fi 4418 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 4419 ac_prog_cc_stdc=c99 4420fi 4421fi 4422if test x$ac_prog_cc_stdc = xno 4423then : 4424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 4425printf %s "checking for $CC option to enable C89 features... " >&6; } 4426if test ${ac_cv_prog_cc_c89+y} 4427then : 4428 printf %s "(cached) " >&6 4429else $as_nop 4430 ac_cv_prog_cc_c89=no 4431ac_save_CC=$CC 4432cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4433/* end confdefs.h. */ 4434$ac_c_conftest_c89_program 4435_ACEOF 4436for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 4437do 4438 CC="$ac_save_CC $ac_arg" 4439 if ac_fn_c_try_compile "$LINENO" 4440then : 4441 ac_cv_prog_cc_c89=$ac_arg 4442fi 4443rm -f core conftest.err conftest.$ac_objext conftest.beam 4444 test "x$ac_cv_prog_cc_c89" != "xno" && break 4445done 4446rm -f conftest.$ac_ext 4447CC=$ac_save_CC 4448fi 4449 4450if test "x$ac_cv_prog_cc_c89" = xno 4451then : 4452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 4453printf "%s\n" "unsupported" >&6; } 4454else $as_nop 4455 if test "x$ac_cv_prog_cc_c89" = x 4456then : 4457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 4458printf "%s\n" "none needed" >&6; } 4459else $as_nop 4460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 4461printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } 4462 CC="$CC $ac_cv_prog_cc_c89" 4463fi 4464 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 4465 ac_prog_cc_stdc=c89 4466fi 4467fi 4468 4469ac_ext=c 4470ac_cpp='$CPP $CPPFLAGS' 4471ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4472ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4473ac_compiler_gnu=$ac_cv_c_compiler_gnu 4474 4475 4476 ac_ext=c 4477ac_cpp='$CPP $CPPFLAGS' 4478ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4479ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4480ac_compiler_gnu=$ac_cv_c_compiler_gnu 4481{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 4482printf %s "checking whether $CC understands -c and -o together... " >&6; } 4483if test ${am_cv_prog_cc_c_o+y} 4484then : 4485 printf %s "(cached) " >&6 4486else $as_nop 4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4488/* end confdefs.h. */ 4489 4490int 4491main (void) 4492{ 4493 4494 ; 4495 return 0; 4496} 4497_ACEOF 4498 # Make sure it works both with $CC and with simple cc. 4499 # Following AC_PROG_CC_C_O, we do the test twice because some 4500 # compilers refuse to overwrite an existing .o file with -o, 4501 # though they will create one. 4502 am_cv_prog_cc_c_o=yes 4503 for am_i in 1 2; do 4504 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 4505 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 4506 ac_status=$? 4507 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4508 (exit $ac_status); } \ 4509 && test -f conftest2.$ac_objext; then 4510 : OK 4511 else 4512 am_cv_prog_cc_c_o=no 4513 break 4514 fi 4515 done 4516 rm -f core conftest* 4517 unset am_i 4518fi 4519{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 4520printf "%s\n" "$am_cv_prog_cc_c_o" >&6; } 4521if test "$am_cv_prog_cc_c_o" != yes; then 4522 # Losing compiler, so override with the script. 4523 # FIXME: It is wrong to rewrite CC. 4524 # But if we don't then we get into trouble of one sort or another. 4525 # A longer-term fix would be to have automake use am__CC in this case, 4526 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 4527 CC="$am_aux_dir/compile $CC" 4528fi 4529ac_ext=c 4530ac_cpp='$CPP $CPPFLAGS' 4531ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4532ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4533ac_compiler_gnu=$ac_cv_c_compiler_gnu 4534 4535 4536depcc="$CC" am_compiler_list= 4537 4538{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4539printf %s "checking dependency style of $depcc... " >&6; } 4540if test ${am_cv_CC_dependencies_compiler_type+y} 4541then : 4542 printf %s "(cached) " >&6 4543else $as_nop 4544 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4545 # We make a subdir and do the tests there. Otherwise we can end up 4546 # making bogus files that we don't know about and never remove. For 4547 # instance it was reported that on HP-UX the gcc test will end up 4548 # making a dummy file named 'D' -- because '-MD' means "put the output 4549 # in D". 4550 rm -rf conftest.dir 4551 mkdir conftest.dir 4552 # Copy depcomp to subdir because otherwise we won't find it if we're 4553 # using a relative directory. 4554 cp "$am_depcomp" conftest.dir 4555 cd conftest.dir 4556 # We will build objects and dependencies in a subdirectory because 4557 # it helps to detect inapplicable dependency modes. For instance 4558 # both Tru64's cc and ICC support -MD to output dependencies as a 4559 # side effect of compilation, but ICC will put the dependencies in 4560 # the current directory while Tru64 will put them in the object 4561 # directory. 4562 mkdir sub 4563 4564 am_cv_CC_dependencies_compiler_type=none 4565 if test "$am_compiler_list" = ""; then 4566 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4567 fi 4568 am__universal=false 4569 case " $depcc " in #( 4570 *\ -arch\ *\ -arch\ *) am__universal=true ;; 4571 esac 4572 4573 for depmode in $am_compiler_list; do 4574 # Setup a source with many dependencies, because some compilers 4575 # like to wrap large dependency lists on column 80 (with \), and 4576 # we should not choose a depcomp mode which is confused by this. 4577 # 4578 # We need to recreate these files for each test, as the compiler may 4579 # overwrite some of them when testing with obscure command lines. 4580 # This happens at least with the AIX C compiler. 4581 : > sub/conftest.c 4582 for i in 1 2 3 4 5 6; do 4583 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4584 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 4585 # Solaris 10 /bin/sh. 4586 echo '/* dummy */' > sub/conftst$i.h 4587 done 4588 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4589 4590 # We check with '-c' and '-o' for the sake of the "dashmstdout" 4591 # mode. It turns out that the SunPro C++ compiler does not properly 4592 # handle '-M -o', and we need to detect this. Also, some Intel 4593 # versions had trouble with output in subdirs. 4594 am__obj=sub/conftest.${OBJEXT-o} 4595 am__minus_obj="-o $am__obj" 4596 case $depmode in 4597 gcc) 4598 # This depmode causes a compiler race in universal mode. 4599 test "$am__universal" = false || continue 4600 ;; 4601 nosideeffect) 4602 # After this tag, mechanisms are not by side-effect, so they'll 4603 # only be used when explicitly requested. 4604 if test "x$enable_dependency_tracking" = xyes; then 4605 continue 4606 else 4607 break 4608 fi 4609 ;; 4610 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4611 # This compiler won't grok '-c -o', but also, the minuso test has 4612 # not run yet. These depmodes are late enough in the game, and 4613 # so weak that their functioning should not be impacted. 4614 am__obj=conftest.${OBJEXT-o} 4615 am__minus_obj= 4616 ;; 4617 none) break ;; 4618 esac 4619 if depmode=$depmode \ 4620 source=sub/conftest.c object=$am__obj \ 4621 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4622 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4623 >/dev/null 2>conftest.err && 4624 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4625 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4626 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4627 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4628 # icc doesn't choke on unknown options, it will just issue warnings 4629 # or remarks (even with -Werror). So we grep stderr for any message 4630 # that says an option was ignored or not supported. 4631 # When given -MP, icc 7.0 and 7.1 complain thusly: 4632 # icc: Command line warning: ignoring option '-M'; no argument required 4633 # The diagnosis changed in icc 8.0: 4634 # icc: Command line remark: option '-MP' not supported 4635 if (grep 'ignoring option' conftest.err || 4636 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4637 am_cv_CC_dependencies_compiler_type=$depmode 4638 break 4639 fi 4640 fi 4641 done 4642 4643 cd .. 4644 rm -rf conftest.dir 4645else 4646 am_cv_CC_dependencies_compiler_type=none 4647fi 4648 4649fi 4650{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 4651printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } 4652CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 4653 4654 if 4655 test "x$enable_dependency_tracking" != xno \ 4656 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 4657 am__fastdepCC_TRUE= 4658 am__fastdepCC_FALSE='#' 4659else 4660 am__fastdepCC_TRUE='#' 4661 am__fastdepCC_FALSE= 4662fi 4663 4664 4665 4666ac_header= ac_cache= 4667for ac_item in $ac_header_c_list 4668do 4669 if test $ac_cache; then 4670 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default" 4671 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then 4672 printf "%s\n" "#define $ac_item 1" >> confdefs.h 4673 fi 4674 ac_header= ac_cache= 4675 elif test $ac_header; then 4676 ac_cache=$ac_item 4677 else 4678 ac_header=$ac_item 4679 fi 4680done 4681 4682 4683 4684 4685 4686 4687 4688 4689if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes 4690then : 4691 4692printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h 4693 4694fi 4695 4696 4697 4698 4699 4700 4701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 4702printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; } 4703if test ${ac_cv_safe_to_define___extensions__+y} 4704then : 4705 printf %s "(cached) " >&6 4706else $as_nop 4707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4708/* end confdefs.h. */ 4709 4710# define __EXTENSIONS__ 1 4711 $ac_includes_default 4712int 4713main (void) 4714{ 4715 4716 ; 4717 return 0; 4718} 4719_ACEOF 4720if ac_fn_c_try_compile "$LINENO" 4721then : 4722 ac_cv_safe_to_define___extensions__=yes 4723else $as_nop 4724 ac_cv_safe_to_define___extensions__=no 4725fi 4726rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4727fi 4728{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 4729printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; } 4730 4731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5 4732printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; } 4733if test ${ac_cv_should_define__xopen_source+y} 4734then : 4735 printf %s "(cached) " >&6 4736else $as_nop 4737 ac_cv_should_define__xopen_source=no 4738 if test $ac_cv_header_wchar_h = yes 4739then : 4740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4741/* end confdefs.h. */ 4742 4743 #include <wchar.h> 4744 mbstate_t x; 4745int 4746main (void) 4747{ 4748 4749 ; 4750 return 0; 4751} 4752_ACEOF 4753if ac_fn_c_try_compile "$LINENO" 4754then : 4755 4756else $as_nop 4757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4758/* end confdefs.h. */ 4759 4760 #define _XOPEN_SOURCE 500 4761 #include <wchar.h> 4762 mbstate_t x; 4763int 4764main (void) 4765{ 4766 4767 ; 4768 return 0; 4769} 4770_ACEOF 4771if ac_fn_c_try_compile "$LINENO" 4772then : 4773 ac_cv_should_define__xopen_source=yes 4774fi 4775rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4776fi 4777rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 4778fi 4779fi 4780{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5 4781printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; } 4782 4783 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h 4784 4785 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h 4786 4787 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h 4788 4789 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h 4790 4791 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h 4792 4793 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h 4794 4795 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h 4796 4797 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h 4798 4799 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h 4800 4801 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h 4802 4803 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h 4804 4805 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h 4806 4807 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h 4808 4809 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h 4810 4811 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h 4812 4813 if test $ac_cv_header_minix_config_h = yes 4814then : 4815 MINIX=yes 4816 printf "%s\n" "#define _MINIX 1" >>confdefs.h 4817 4818 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h 4819 4820 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h 4821 4822else $as_nop 4823 MINIX= 4824fi 4825 if test $ac_cv_safe_to_define___extensions__ = yes 4826then : 4827 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h 4828 4829fi 4830 if test $ac_cv_should_define__xopen_source = yes 4831then : 4832 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h 4833 4834fi 4835 4836{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5 4837printf %s "checking for library containing strerror... " >&6; } 4838if test ${ac_cv_search_strerror+y} 4839then : 4840 printf %s "(cached) " >&6 4841else $as_nop 4842 ac_func_search_save_LIBS=$LIBS 4843cat confdefs.h - <<_ACEOF >conftest.$ac_ext 4844/* end confdefs.h. */ 4845 4846/* Override any GCC internal prototype to avoid an error. 4847 Use char because int might match the return type of a GCC 4848 builtin and then its argument prototype would still apply. */ 4849char strerror (); 4850int 4851main (void) 4852{ 4853return strerror (); 4854 ; 4855 return 0; 4856} 4857_ACEOF 4858for ac_lib in '' cposix 4859do 4860 if test -z "$ac_lib"; then 4861 ac_res="none required" 4862 else 4863 ac_res=-l$ac_lib 4864 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 4865 fi 4866 if ac_fn_c_try_link "$LINENO" 4867then : 4868 ac_cv_search_strerror=$ac_res 4869fi 4870rm -f core conftest.err conftest.$ac_objext conftest.beam \ 4871 conftest$ac_exeext 4872 if test ${ac_cv_search_strerror+y} 4873then : 4874 break 4875fi 4876done 4877if test ${ac_cv_search_strerror+y} 4878then : 4879 4880else $as_nop 4881 ac_cv_search_strerror=no 4882fi 4883rm conftest.$ac_ext 4884LIBS=$ac_func_search_save_LIBS 4885fi 4886{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5 4887printf "%s\n" "$ac_cv_search_strerror" >&6; } 4888ac_res=$ac_cv_search_strerror 4889if test "$ac_res" != no 4890then : 4891 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 4892 4893fi 4894 4895 if test "`uname | grep \"CYGWIN\"`" != ""; then 4896 HAVE_CYGWIN_TRUE= 4897 HAVE_CYGWIN_FALSE='#' 4898else 4899 HAVE_CYGWIN_TRUE='#' 4900 HAVE_CYGWIN_FALSE= 4901fi 4902 4903 4904 4905ac_ext=c 4906ac_cpp='$CPP $CPPFLAGS' 4907ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 4908ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 4909ac_compiler_gnu=$ac_cv_c_compiler_gnu 4910if test -n "$ac_tool_prefix"; then 4911 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 4912set dummy ${ac_tool_prefix}gcc; ac_word=$2 4913{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4914printf %s "checking for $ac_word... " >&6; } 4915if test ${ac_cv_prog_CC+y} 4916then : 4917 printf %s "(cached) " >&6 4918else $as_nop 4919 if test -n "$CC"; then 4920 ac_cv_prog_CC="$CC" # Let the user override the test. 4921else 4922as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4923for as_dir in $PATH 4924do 4925 IFS=$as_save_IFS 4926 case $as_dir in #((( 4927 '') as_dir=./ ;; 4928 */) ;; 4929 *) as_dir=$as_dir/ ;; 4930 esac 4931 for ac_exec_ext in '' $ac_executable_extensions; do 4932 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4933 ac_cv_prog_CC="${ac_tool_prefix}gcc" 4934 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4935 break 2 4936 fi 4937done 4938 done 4939IFS=$as_save_IFS 4940 4941fi 4942fi 4943CC=$ac_cv_prog_CC 4944if test -n "$CC"; then 4945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 4946printf "%s\n" "$CC" >&6; } 4947else 4948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4949printf "%s\n" "no" >&6; } 4950fi 4951 4952 4953fi 4954if test -z "$ac_cv_prog_CC"; then 4955 ac_ct_CC=$CC 4956 # Extract the first word of "gcc", so it can be a program name with args. 4957set dummy gcc; ac_word=$2 4958{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 4959printf %s "checking for $ac_word... " >&6; } 4960if test ${ac_cv_prog_ac_ct_CC+y} 4961then : 4962 printf %s "(cached) " >&6 4963else $as_nop 4964 if test -n "$ac_ct_CC"; then 4965 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 4966else 4967as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4968for as_dir in $PATH 4969do 4970 IFS=$as_save_IFS 4971 case $as_dir in #((( 4972 '') as_dir=./ ;; 4973 */) ;; 4974 *) as_dir=$as_dir/ ;; 4975 esac 4976 for ac_exec_ext in '' $ac_executable_extensions; do 4977 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 4978 ac_cv_prog_ac_ct_CC="gcc" 4979 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 4980 break 2 4981 fi 4982done 4983 done 4984IFS=$as_save_IFS 4985 4986fi 4987fi 4988ac_ct_CC=$ac_cv_prog_ac_ct_CC 4989if test -n "$ac_ct_CC"; then 4990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 4991printf "%s\n" "$ac_ct_CC" >&6; } 4992else 4993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 4994printf "%s\n" "no" >&6; } 4995fi 4996 4997 if test "x$ac_ct_CC" = x; then 4998 CC="" 4999 else 5000 case $cross_compiling:$ac_tool_warned in 5001yes:) 5002{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5003printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5004ac_tool_warned=yes ;; 5005esac 5006 CC=$ac_ct_CC 5007 fi 5008else 5009 CC="$ac_cv_prog_CC" 5010fi 5011 5012if test -z "$CC"; then 5013 if test -n "$ac_tool_prefix"; then 5014 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 5015set dummy ${ac_tool_prefix}cc; ac_word=$2 5016{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5017printf %s "checking for $ac_word... " >&6; } 5018if test ${ac_cv_prog_CC+y} 5019then : 5020 printf %s "(cached) " >&6 5021else $as_nop 5022 if test -n "$CC"; then 5023 ac_cv_prog_CC="$CC" # Let the user override the test. 5024else 5025as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5026for as_dir in $PATH 5027do 5028 IFS=$as_save_IFS 5029 case $as_dir in #((( 5030 '') as_dir=./ ;; 5031 */) ;; 5032 *) as_dir=$as_dir/ ;; 5033 esac 5034 for ac_exec_ext in '' $ac_executable_extensions; do 5035 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5036 ac_cv_prog_CC="${ac_tool_prefix}cc" 5037 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5038 break 2 5039 fi 5040done 5041 done 5042IFS=$as_save_IFS 5043 5044fi 5045fi 5046CC=$ac_cv_prog_CC 5047if test -n "$CC"; then 5048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5049printf "%s\n" "$CC" >&6; } 5050else 5051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5052printf "%s\n" "no" >&6; } 5053fi 5054 5055 5056 fi 5057fi 5058if test -z "$CC"; then 5059 # Extract the first word of "cc", so it can be a program name with args. 5060set dummy cc; ac_word=$2 5061{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5062printf %s "checking for $ac_word... " >&6; } 5063if test ${ac_cv_prog_CC+y} 5064then : 5065 printf %s "(cached) " >&6 5066else $as_nop 5067 if test -n "$CC"; then 5068 ac_cv_prog_CC="$CC" # Let the user override the test. 5069else 5070 ac_prog_rejected=no 5071as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5072for as_dir in $PATH 5073do 5074 IFS=$as_save_IFS 5075 case $as_dir in #((( 5076 '') as_dir=./ ;; 5077 */) ;; 5078 *) as_dir=$as_dir/ ;; 5079 esac 5080 for ac_exec_ext in '' $ac_executable_extensions; do 5081 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5082 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 5083 ac_prog_rejected=yes 5084 continue 5085 fi 5086 ac_cv_prog_CC="cc" 5087 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5088 break 2 5089 fi 5090done 5091 done 5092IFS=$as_save_IFS 5093 5094if test $ac_prog_rejected = yes; then 5095 # We found a bogon in the path, so make sure we never use it. 5096 set dummy $ac_cv_prog_CC 5097 shift 5098 if test $# != 0; then 5099 # We chose a different compiler from the bogus one. 5100 # However, it has the same basename, so the bogon will be chosen 5101 # first if we set CC to just the basename; use the full file name. 5102 shift 5103 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@" 5104 fi 5105fi 5106fi 5107fi 5108CC=$ac_cv_prog_CC 5109if test -n "$CC"; then 5110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5111printf "%s\n" "$CC" >&6; } 5112else 5113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5114printf "%s\n" "no" >&6; } 5115fi 5116 5117 5118fi 5119if test -z "$CC"; then 5120 if test -n "$ac_tool_prefix"; then 5121 for ac_prog in cl.exe 5122 do 5123 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 5124set dummy $ac_tool_prefix$ac_prog; ac_word=$2 5125{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5126printf %s "checking for $ac_word... " >&6; } 5127if test ${ac_cv_prog_CC+y} 5128then : 5129 printf %s "(cached) " >&6 5130else $as_nop 5131 if test -n "$CC"; then 5132 ac_cv_prog_CC="$CC" # Let the user override the test. 5133else 5134as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5135for as_dir in $PATH 5136do 5137 IFS=$as_save_IFS 5138 case $as_dir in #((( 5139 '') as_dir=./ ;; 5140 */) ;; 5141 *) as_dir=$as_dir/ ;; 5142 esac 5143 for ac_exec_ext in '' $ac_executable_extensions; do 5144 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5145 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 5146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5147 break 2 5148 fi 5149done 5150 done 5151IFS=$as_save_IFS 5152 5153fi 5154fi 5155CC=$ac_cv_prog_CC 5156if test -n "$CC"; then 5157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5158printf "%s\n" "$CC" >&6; } 5159else 5160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5161printf "%s\n" "no" >&6; } 5162fi 5163 5164 5165 test -n "$CC" && break 5166 done 5167fi 5168if test -z "$CC"; then 5169 ac_ct_CC=$CC 5170 for ac_prog in cl.exe 5171do 5172 # Extract the first word of "$ac_prog", so it can be a program name with args. 5173set dummy $ac_prog; ac_word=$2 5174{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5175printf %s "checking for $ac_word... " >&6; } 5176if test ${ac_cv_prog_ac_ct_CC+y} 5177then : 5178 printf %s "(cached) " >&6 5179else $as_nop 5180 if test -n "$ac_ct_CC"; then 5181 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5182else 5183as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5184for as_dir in $PATH 5185do 5186 IFS=$as_save_IFS 5187 case $as_dir in #((( 5188 '') as_dir=./ ;; 5189 */) ;; 5190 *) as_dir=$as_dir/ ;; 5191 esac 5192 for ac_exec_ext in '' $ac_executable_extensions; do 5193 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5194 ac_cv_prog_ac_ct_CC="$ac_prog" 5195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5196 break 2 5197 fi 5198done 5199 done 5200IFS=$as_save_IFS 5201 5202fi 5203fi 5204ac_ct_CC=$ac_cv_prog_ac_ct_CC 5205if test -n "$ac_ct_CC"; then 5206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 5207printf "%s\n" "$ac_ct_CC" >&6; } 5208else 5209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5210printf "%s\n" "no" >&6; } 5211fi 5212 5213 5214 test -n "$ac_ct_CC" && break 5215done 5216 5217 if test "x$ac_ct_CC" = x; then 5218 CC="" 5219 else 5220 case $cross_compiling:$ac_tool_warned in 5221yes:) 5222{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5223printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5224ac_tool_warned=yes ;; 5225esac 5226 CC=$ac_ct_CC 5227 fi 5228fi 5229 5230fi 5231if test -z "$CC"; then 5232 if test -n "$ac_tool_prefix"; then 5233 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args. 5234set dummy ${ac_tool_prefix}clang; ac_word=$2 5235{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5236printf %s "checking for $ac_word... " >&6; } 5237if test ${ac_cv_prog_CC+y} 5238then : 5239 printf %s "(cached) " >&6 5240else $as_nop 5241 if test -n "$CC"; then 5242 ac_cv_prog_CC="$CC" # Let the user override the test. 5243else 5244as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5245for as_dir in $PATH 5246do 5247 IFS=$as_save_IFS 5248 case $as_dir in #((( 5249 '') as_dir=./ ;; 5250 */) ;; 5251 *) as_dir=$as_dir/ ;; 5252 esac 5253 for ac_exec_ext in '' $ac_executable_extensions; do 5254 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5255 ac_cv_prog_CC="${ac_tool_prefix}clang" 5256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5257 break 2 5258 fi 5259done 5260 done 5261IFS=$as_save_IFS 5262 5263fi 5264fi 5265CC=$ac_cv_prog_CC 5266if test -n "$CC"; then 5267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 5268printf "%s\n" "$CC" >&6; } 5269else 5270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5271printf "%s\n" "no" >&6; } 5272fi 5273 5274 5275fi 5276if test -z "$ac_cv_prog_CC"; then 5277 ac_ct_CC=$CC 5278 # Extract the first word of "clang", so it can be a program name with args. 5279set dummy clang; ac_word=$2 5280{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5281printf %s "checking for $ac_word... " >&6; } 5282if test ${ac_cv_prog_ac_ct_CC+y} 5283then : 5284 printf %s "(cached) " >&6 5285else $as_nop 5286 if test -n "$ac_ct_CC"; then 5287 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 5288else 5289as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5290for as_dir in $PATH 5291do 5292 IFS=$as_save_IFS 5293 case $as_dir in #((( 5294 '') as_dir=./ ;; 5295 */) ;; 5296 *) as_dir=$as_dir/ ;; 5297 esac 5298 for ac_exec_ext in '' $ac_executable_extensions; do 5299 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5300 ac_cv_prog_ac_ct_CC="clang" 5301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5302 break 2 5303 fi 5304done 5305 done 5306IFS=$as_save_IFS 5307 5308fi 5309fi 5310ac_ct_CC=$ac_cv_prog_ac_ct_CC 5311if test -n "$ac_ct_CC"; then 5312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 5313printf "%s\n" "$ac_ct_CC" >&6; } 5314else 5315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5316printf "%s\n" "no" >&6; } 5317fi 5318 5319 if test "x$ac_ct_CC" = x; then 5320 CC="" 5321 else 5322 case $cross_compiling:$ac_tool_warned in 5323yes:) 5324{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 5325printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 5326ac_tool_warned=yes ;; 5327esac 5328 CC=$ac_ct_CC 5329 fi 5330else 5331 CC="$ac_cv_prog_CC" 5332fi 5333 5334fi 5335 5336 5337test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 5338printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 5339as_fn_error $? "no acceptable C compiler found in \$PATH 5340See \`config.log' for more details" "$LINENO" 5; } 5341 5342# Provide some information about the compiler. 5343printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 5344set X $ac_compile 5345ac_compiler=$2 5346for ac_option in --version -v -V -qversion -version; do 5347 { { ac_try="$ac_compiler $ac_option >&5" 5348case "(($ac_try" in 5349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5350 *) ac_try_echo=$ac_try;; 5351esac 5352eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 5353printf "%s\n" "$ac_try_echo"; } >&5 5354 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 5355 ac_status=$? 5356 if test -s conftest.err; then 5357 sed '10a\ 5358... rest of stderr output deleted ... 5359 10q' conftest.err >conftest.er1 5360 cat conftest.er1 >&5 5361 fi 5362 rm -f conftest.er1 conftest.err 5363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 5364 test $ac_status = 0; } 5365done 5366 5367{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5 5368printf %s "checking whether the compiler supports GNU C... " >&6; } 5369if test ${ac_cv_c_compiler_gnu+y} 5370then : 5371 printf %s "(cached) " >&6 5372else $as_nop 5373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5374/* end confdefs.h. */ 5375 5376int 5377main (void) 5378{ 5379#ifndef __GNUC__ 5380 choke me 5381#endif 5382 5383 ; 5384 return 0; 5385} 5386_ACEOF 5387if ac_fn_c_try_compile "$LINENO" 5388then : 5389 ac_compiler_gnu=yes 5390else $as_nop 5391 ac_compiler_gnu=no 5392fi 5393rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5394ac_cv_c_compiler_gnu=$ac_compiler_gnu 5395 5396fi 5397{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 5398printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; } 5399ac_compiler_gnu=$ac_cv_c_compiler_gnu 5400 5401if test $ac_compiler_gnu = yes; then 5402 GCC=yes 5403else 5404 GCC= 5405fi 5406ac_test_CFLAGS=${CFLAGS+y} 5407ac_save_CFLAGS=$CFLAGS 5408{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 5409printf %s "checking whether $CC accepts -g... " >&6; } 5410if test ${ac_cv_prog_cc_g+y} 5411then : 5412 printf %s "(cached) " >&6 5413else $as_nop 5414 ac_save_c_werror_flag=$ac_c_werror_flag 5415 ac_c_werror_flag=yes 5416 ac_cv_prog_cc_g=no 5417 CFLAGS="-g" 5418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5419/* end confdefs.h. */ 5420 5421int 5422main (void) 5423{ 5424 5425 ; 5426 return 0; 5427} 5428_ACEOF 5429if ac_fn_c_try_compile "$LINENO" 5430then : 5431 ac_cv_prog_cc_g=yes 5432else $as_nop 5433 CFLAGS="" 5434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5435/* end confdefs.h. */ 5436 5437int 5438main (void) 5439{ 5440 5441 ; 5442 return 0; 5443} 5444_ACEOF 5445if ac_fn_c_try_compile "$LINENO" 5446then : 5447 5448else $as_nop 5449 ac_c_werror_flag=$ac_save_c_werror_flag 5450 CFLAGS="-g" 5451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5452/* end confdefs.h. */ 5453 5454int 5455main (void) 5456{ 5457 5458 ; 5459 return 0; 5460} 5461_ACEOF 5462if ac_fn_c_try_compile "$LINENO" 5463then : 5464 ac_cv_prog_cc_g=yes 5465fi 5466rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5467fi 5468rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5469fi 5470rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 5471 ac_c_werror_flag=$ac_save_c_werror_flag 5472fi 5473{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 5474printf "%s\n" "$ac_cv_prog_cc_g" >&6; } 5475if test $ac_test_CFLAGS; then 5476 CFLAGS=$ac_save_CFLAGS 5477elif test $ac_cv_prog_cc_g = yes; then 5478 if test "$GCC" = yes; then 5479 CFLAGS="-g -O2" 5480 else 5481 CFLAGS="-g" 5482 fi 5483else 5484 if test "$GCC" = yes; then 5485 CFLAGS="-O2" 5486 else 5487 CFLAGS= 5488 fi 5489fi 5490ac_prog_cc_stdc=no 5491if test x$ac_prog_cc_stdc = xno 5492then : 5493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5 5494printf %s "checking for $CC option to enable C11 features... " >&6; } 5495if test ${ac_cv_prog_cc_c11+y} 5496then : 5497 printf %s "(cached) " >&6 5498else $as_nop 5499 ac_cv_prog_cc_c11=no 5500ac_save_CC=$CC 5501cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5502/* end confdefs.h. */ 5503$ac_c_conftest_c11_program 5504_ACEOF 5505for ac_arg in '' -std=gnu11 5506do 5507 CC="$ac_save_CC $ac_arg" 5508 if ac_fn_c_try_compile "$LINENO" 5509then : 5510 ac_cv_prog_cc_c11=$ac_arg 5511fi 5512rm -f core conftest.err conftest.$ac_objext conftest.beam 5513 test "x$ac_cv_prog_cc_c11" != "xno" && break 5514done 5515rm -f conftest.$ac_ext 5516CC=$ac_save_CC 5517fi 5518 5519if test "x$ac_cv_prog_cc_c11" = xno 5520then : 5521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5522printf "%s\n" "unsupported" >&6; } 5523else $as_nop 5524 if test "x$ac_cv_prog_cc_c11" = x 5525then : 5526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5527printf "%s\n" "none needed" >&6; } 5528else $as_nop 5529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5 5530printf "%s\n" "$ac_cv_prog_cc_c11" >&6; } 5531 CC="$CC $ac_cv_prog_cc_c11" 5532fi 5533 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11 5534 ac_prog_cc_stdc=c11 5535fi 5536fi 5537if test x$ac_prog_cc_stdc = xno 5538then : 5539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5 5540printf %s "checking for $CC option to enable C99 features... " >&6; } 5541if test ${ac_cv_prog_cc_c99+y} 5542then : 5543 printf %s "(cached) " >&6 5544else $as_nop 5545 ac_cv_prog_cc_c99=no 5546ac_save_CC=$CC 5547cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5548/* end confdefs.h. */ 5549$ac_c_conftest_c99_program 5550_ACEOF 5551for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99= 5552do 5553 CC="$ac_save_CC $ac_arg" 5554 if ac_fn_c_try_compile "$LINENO" 5555then : 5556 ac_cv_prog_cc_c99=$ac_arg 5557fi 5558rm -f core conftest.err conftest.$ac_objext conftest.beam 5559 test "x$ac_cv_prog_cc_c99" != "xno" && break 5560done 5561rm -f conftest.$ac_ext 5562CC=$ac_save_CC 5563fi 5564 5565if test "x$ac_cv_prog_cc_c99" = xno 5566then : 5567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5568printf "%s\n" "unsupported" >&6; } 5569else $as_nop 5570 if test "x$ac_cv_prog_cc_c99" = x 5571then : 5572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5573printf "%s\n" "none needed" >&6; } 5574else $as_nop 5575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 5576printf "%s\n" "$ac_cv_prog_cc_c99" >&6; } 5577 CC="$CC $ac_cv_prog_cc_c99" 5578fi 5579 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 5580 ac_prog_cc_stdc=c99 5581fi 5582fi 5583if test x$ac_prog_cc_stdc = xno 5584then : 5585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5 5586printf %s "checking for $CC option to enable C89 features... " >&6; } 5587if test ${ac_cv_prog_cc_c89+y} 5588then : 5589 printf %s "(cached) " >&6 5590else $as_nop 5591 ac_cv_prog_cc_c89=no 5592ac_save_CC=$CC 5593cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5594/* end confdefs.h. */ 5595$ac_c_conftest_c89_program 5596_ACEOF 5597for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 5598do 5599 CC="$ac_save_CC $ac_arg" 5600 if ac_fn_c_try_compile "$LINENO" 5601then : 5602 ac_cv_prog_cc_c89=$ac_arg 5603fi 5604rm -f core conftest.err conftest.$ac_objext conftest.beam 5605 test "x$ac_cv_prog_cc_c89" != "xno" && break 5606done 5607rm -f conftest.$ac_ext 5608CC=$ac_save_CC 5609fi 5610 5611if test "x$ac_cv_prog_cc_c89" = xno 5612then : 5613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 5614printf "%s\n" "unsupported" >&6; } 5615else $as_nop 5616 if test "x$ac_cv_prog_cc_c89" = x 5617then : 5618 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 5619printf "%s\n" "none needed" >&6; } 5620else $as_nop 5621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 5622printf "%s\n" "$ac_cv_prog_cc_c89" >&6; } 5623 CC="$CC $ac_cv_prog_cc_c89" 5624fi 5625 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 5626 ac_prog_cc_stdc=c89 5627fi 5628fi 5629 5630ac_ext=c 5631ac_cpp='$CPP $CPPFLAGS' 5632ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5633ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5634ac_compiler_gnu=$ac_cv_c_compiler_gnu 5635 5636 5637 ac_ext=c 5638ac_cpp='$CPP $CPPFLAGS' 5639ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5640ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5641ac_compiler_gnu=$ac_cv_c_compiler_gnu 5642{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 5643printf %s "checking whether $CC understands -c and -o together... " >&6; } 5644if test ${am_cv_prog_cc_c_o+y} 5645then : 5646 printf %s "(cached) " >&6 5647else $as_nop 5648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 5649/* end confdefs.h. */ 5650 5651int 5652main (void) 5653{ 5654 5655 ; 5656 return 0; 5657} 5658_ACEOF 5659 # Make sure it works both with $CC and with simple cc. 5660 # Following AC_PROG_CC_C_O, we do the test twice because some 5661 # compilers refuse to overwrite an existing .o file with -o, 5662 # though they will create one. 5663 am_cv_prog_cc_c_o=yes 5664 for am_i in 1 2; do 5665 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 5666 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 5667 ac_status=$? 5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5669 (exit $ac_status); } \ 5670 && test -f conftest2.$ac_objext; then 5671 : OK 5672 else 5673 am_cv_prog_cc_c_o=no 5674 break 5675 fi 5676 done 5677 rm -f core conftest* 5678 unset am_i 5679fi 5680{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 5681printf "%s\n" "$am_cv_prog_cc_c_o" >&6; } 5682if test "$am_cv_prog_cc_c_o" != yes; then 5683 # Losing compiler, so override with the script. 5684 # FIXME: It is wrong to rewrite CC. 5685 # But if we don't then we get into trouble of one sort or another. 5686 # A longer-term fix would be to have automake use am__CC in this case, 5687 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" 5688 CC="$am_aux_dir/compile $CC" 5689fi 5690ac_ext=c 5691ac_cpp='$CPP $CPPFLAGS' 5692ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 5693ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 5694ac_compiler_gnu=$ac_cv_c_compiler_gnu 5695 5696 5697depcc="$CC" am_compiler_list= 5698 5699{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 5700printf %s "checking dependency style of $depcc... " >&6; } 5701if test ${am_cv_CC_dependencies_compiler_type+y} 5702then : 5703 printf %s "(cached) " >&6 5704else $as_nop 5705 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 5706 # We make a subdir and do the tests there. Otherwise we can end up 5707 # making bogus files that we don't know about and never remove. For 5708 # instance it was reported that on HP-UX the gcc test will end up 5709 # making a dummy file named 'D' -- because '-MD' means "put the output 5710 # in D". 5711 rm -rf conftest.dir 5712 mkdir conftest.dir 5713 # Copy depcomp to subdir because otherwise we won't find it if we're 5714 # using a relative directory. 5715 cp "$am_depcomp" conftest.dir 5716 cd conftest.dir 5717 # We will build objects and dependencies in a subdirectory because 5718 # it helps to detect inapplicable dependency modes. For instance 5719 # both Tru64's cc and ICC support -MD to output dependencies as a 5720 # side effect of compilation, but ICC will put the dependencies in 5721 # the current directory while Tru64 will put them in the object 5722 # directory. 5723 mkdir sub 5724 5725 am_cv_CC_dependencies_compiler_type=none 5726 if test "$am_compiler_list" = ""; then 5727 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 5728 fi 5729 am__universal=false 5730 case " $depcc " in #( 5731 *\ -arch\ *\ -arch\ *) am__universal=true ;; 5732 esac 5733 5734 for depmode in $am_compiler_list; do 5735 # Setup a source with many dependencies, because some compilers 5736 # like to wrap large dependency lists on column 80 (with \), and 5737 # we should not choose a depcomp mode which is confused by this. 5738 # 5739 # We need to recreate these files for each test, as the compiler may 5740 # overwrite some of them when testing with obscure command lines. 5741 # This happens at least with the AIX C compiler. 5742 : > sub/conftest.c 5743 for i in 1 2 3 4 5 6; do 5744 echo '#include "conftst'$i'.h"' >> sub/conftest.c 5745 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with 5746 # Solaris 10 /bin/sh. 5747 echo '/* dummy */' > sub/conftst$i.h 5748 done 5749 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 5750 5751 # We check with '-c' and '-o' for the sake of the "dashmstdout" 5752 # mode. It turns out that the SunPro C++ compiler does not properly 5753 # handle '-M -o', and we need to detect this. Also, some Intel 5754 # versions had trouble with output in subdirs. 5755 am__obj=sub/conftest.${OBJEXT-o} 5756 am__minus_obj="-o $am__obj" 5757 case $depmode in 5758 gcc) 5759 # This depmode causes a compiler race in universal mode. 5760 test "$am__universal" = false || continue 5761 ;; 5762 nosideeffect) 5763 # After this tag, mechanisms are not by side-effect, so they'll 5764 # only be used when explicitly requested. 5765 if test "x$enable_dependency_tracking" = xyes; then 5766 continue 5767 else 5768 break 5769 fi 5770 ;; 5771 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 5772 # This compiler won't grok '-c -o', but also, the minuso test has 5773 # not run yet. These depmodes are late enough in the game, and 5774 # so weak that their functioning should not be impacted. 5775 am__obj=conftest.${OBJEXT-o} 5776 am__minus_obj= 5777 ;; 5778 none) break ;; 5779 esac 5780 if depmode=$depmode \ 5781 source=sub/conftest.c object=$am__obj \ 5782 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 5783 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 5784 >/dev/null 2>conftest.err && 5785 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 5786 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 5787 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 5788 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 5789 # icc doesn't choke on unknown options, it will just issue warnings 5790 # or remarks (even with -Werror). So we grep stderr for any message 5791 # that says an option was ignored or not supported. 5792 # When given -MP, icc 7.0 and 7.1 complain thusly: 5793 # icc: Command line warning: ignoring option '-M'; no argument required 5794 # The diagnosis changed in icc 8.0: 5795 # icc: Command line remark: option '-MP' not supported 5796 if (grep 'ignoring option' conftest.err || 5797 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 5798 am_cv_CC_dependencies_compiler_type=$depmode 5799 break 5800 fi 5801 fi 5802 done 5803 5804 cd .. 5805 rm -rf conftest.dir 5806else 5807 am_cv_CC_dependencies_compiler_type=none 5808fi 5809 5810fi 5811{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 5812printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; } 5813CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 5814 5815 if 5816 test "x$enable_dependency_tracking" != xno \ 5817 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 5818 am__fastdepCC_TRUE= 5819 am__fastdepCC_FALSE='#' 5820else 5821 am__fastdepCC_TRUE='#' 5822 am__fastdepCC_FALSE= 5823fi 5824 5825 5826 5827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 5828printf %s "checking whether NLS is requested... " >&6; } 5829 # Check whether --enable-nls was given. 5830if test ${enable_nls+y} 5831then : 5832 enableval=$enable_nls; USE_NLS=$enableval 5833else $as_nop 5834 USE_NLS=yes 5835fi 5836 5837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 5838printf "%s\n" "$USE_NLS" >&6; } 5839 5840 5841 5842 5843case "$am__api_version" in 5844 1.01234) 5845 as_fn_error $? "Automake 1.5 or newer is required to use intltool" "$LINENO" 5 5846 ;; 5847 *) 5848 ;; 5849esac 5850 5851INTLTOOL_REQUIRED_VERSION_AS_INT=`echo 0.35 | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 5852INTLTOOL_APPLIED_VERSION=`intltool-update --version | head -1 | cut -d" " -f3` 5853INTLTOOL_APPLIED_VERSION_AS_INT=`echo $INTLTOOL_APPLIED_VERSION | awk -F. '{ print $ 1 * 1000 + $ 2 * 100 + $ 3; }'` 5854if test -n "0.35"; then 5855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for intltool >= 0.35" >&5 5856printf %s "checking for intltool >= 0.35... " >&6; } 5857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_APPLIED_VERSION found" >&5 5858printf "%s\n" "$INTLTOOL_APPLIED_VERSION found" >&6; } 5859 test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge "$INTLTOOL_REQUIRED_VERSION_AS_INT" || 5860 as_fn_error $? "Your intltool is too old. You need intltool 0.35 or later." "$LINENO" 5 5861fi 5862 5863# Extract the first word of "intltool-update", so it can be a program name with args. 5864set dummy intltool-update; ac_word=$2 5865{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5866printf %s "checking for $ac_word... " >&6; } 5867if test ${ac_cv_path_INTLTOOL_UPDATE+y} 5868then : 5869 printf %s "(cached) " >&6 5870else $as_nop 5871 case $INTLTOOL_UPDATE in 5872 [\\/]* | ?:[\\/]*) 5873 ac_cv_path_INTLTOOL_UPDATE="$INTLTOOL_UPDATE" # Let the user override the test with a path. 5874 ;; 5875 *) 5876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5877for as_dir in $PATH 5878do 5879 IFS=$as_save_IFS 5880 case $as_dir in #((( 5881 '') as_dir=./ ;; 5882 */) ;; 5883 *) as_dir=$as_dir/ ;; 5884 esac 5885 for ac_exec_ext in '' $ac_executable_extensions; do 5886 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5887 ac_cv_path_INTLTOOL_UPDATE="$as_dir$ac_word$ac_exec_ext" 5888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5889 break 2 5890 fi 5891done 5892 done 5893IFS=$as_save_IFS 5894 5895 ;; 5896esac 5897fi 5898INTLTOOL_UPDATE=$ac_cv_path_INTLTOOL_UPDATE 5899if test -n "$INTLTOOL_UPDATE"; then 5900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_UPDATE" >&5 5901printf "%s\n" "$INTLTOOL_UPDATE" >&6; } 5902else 5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5904printf "%s\n" "no" >&6; } 5905fi 5906 5907 5908# Extract the first word of "intltool-merge", so it can be a program name with args. 5909set dummy intltool-merge; ac_word=$2 5910{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5911printf %s "checking for $ac_word... " >&6; } 5912if test ${ac_cv_path_INTLTOOL_MERGE+y} 5913then : 5914 printf %s "(cached) " >&6 5915else $as_nop 5916 case $INTLTOOL_MERGE in 5917 [\\/]* | ?:[\\/]*) 5918 ac_cv_path_INTLTOOL_MERGE="$INTLTOOL_MERGE" # Let the user override the test with a path. 5919 ;; 5920 *) 5921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5922for as_dir in $PATH 5923do 5924 IFS=$as_save_IFS 5925 case $as_dir in #((( 5926 '') as_dir=./ ;; 5927 */) ;; 5928 *) as_dir=$as_dir/ ;; 5929 esac 5930 for ac_exec_ext in '' $ac_executable_extensions; do 5931 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5932 ac_cv_path_INTLTOOL_MERGE="$as_dir$ac_word$ac_exec_ext" 5933 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5934 break 2 5935 fi 5936done 5937 done 5938IFS=$as_save_IFS 5939 5940 ;; 5941esac 5942fi 5943INTLTOOL_MERGE=$ac_cv_path_INTLTOOL_MERGE 5944if test -n "$INTLTOOL_MERGE"; then 5945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_MERGE" >&5 5946printf "%s\n" "$INTLTOOL_MERGE" >&6; } 5947else 5948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5949printf "%s\n" "no" >&6; } 5950fi 5951 5952 5953# Extract the first word of "intltool-extract", so it can be a program name with args. 5954set dummy intltool-extract; ac_word=$2 5955{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 5956printf %s "checking for $ac_word... " >&6; } 5957if test ${ac_cv_path_INTLTOOL_EXTRACT+y} 5958then : 5959 printf %s "(cached) " >&6 5960else $as_nop 5961 case $INTLTOOL_EXTRACT in 5962 [\\/]* | ?:[\\/]*) 5963 ac_cv_path_INTLTOOL_EXTRACT="$INTLTOOL_EXTRACT" # Let the user override the test with a path. 5964 ;; 5965 *) 5966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5967for as_dir in $PATH 5968do 5969 IFS=$as_save_IFS 5970 case $as_dir in #((( 5971 '') as_dir=./ ;; 5972 */) ;; 5973 *) as_dir=$as_dir/ ;; 5974 esac 5975 for ac_exec_ext in '' $ac_executable_extensions; do 5976 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 5977 ac_cv_path_INTLTOOL_EXTRACT="$as_dir$ac_word$ac_exec_ext" 5978 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 5979 break 2 5980 fi 5981done 5982 done 5983IFS=$as_save_IFS 5984 5985 ;; 5986esac 5987fi 5988INTLTOOL_EXTRACT=$ac_cv_path_INTLTOOL_EXTRACT 5989if test -n "$INTLTOOL_EXTRACT"; then 5990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_EXTRACT" >&5 5991printf "%s\n" "$INTLTOOL_EXTRACT" >&6; } 5992else 5993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 5994printf "%s\n" "no" >&6; } 5995fi 5996 5997 5998if test -z "$INTLTOOL_UPDATE" -o -z "$INTLTOOL_MERGE" -o -z "$INTLTOOL_EXTRACT"; then 5999 as_fn_error $? "The intltool scripts were not found. Please install intltool." "$LINENO" 5 6000fi 6001 6002if test -z "$AM_DEFAULT_VERBOSITY"; then 6003 AM_DEFAULT_VERBOSITY=1 6004fi 6005 6006 6007INTLTOOL_V_MERGE='$(INTLTOOL__v_MERGE_$(V))' 6008INTLTOOL__v_MERGE_='$(INTLTOOL__v_MERGE_$(AM_DEFAULT_VERBOSITY))' 6009INTLTOOL__v_MERGE_0='@echo " ITMRG " $@;' 6010 6011 6012 6013 6014INTLTOOL_V_MERGE_OPTIONS='$(intltool__v_merge_options_$(V))' 6015intltool__v_merge_options_='$(intltool__v_merge_options_$(AM_DEFAULT_VERBOSITY))' 6016intltool__v_merge_options_0='-q' 6017 6018 6019 6020 6021 INTLTOOL_DESKTOP_RULE='%.desktop: %.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6022INTLTOOL_DIRECTORY_RULE='%.directory: %.directory.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6023 INTLTOOL_KEYS_RULE='%.keys: %.keys.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -k -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6024 INTLTOOL_PROP_RULE='%.prop: %.prop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6025 INTLTOOL_OAF_RULE='%.oaf: %.oaf.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -p $(top_srcdir)/po $< $@' 6026 INTLTOOL_PONG_RULE='%.pong: %.pong.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6027 INTLTOOL_SERVER_RULE='%.server: %.server.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -o -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6028 INTLTOOL_SHEET_RULE='%.sheet: %.sheet.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6029INTLTOOL_SOUNDLIST_RULE='%.soundlist: %.soundlist.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6030 INTLTOOL_UI_RULE='%.ui: %.ui.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6031 INTLTOOL_XML_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6032if test "$INTLTOOL_APPLIED_VERSION_AS_INT" -ge 5000; then 6033 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u --no-translations $< $@' 6034else 6035 INTLTOOL_XML_NOMERGE_RULE='%.xml: %.xml.in $(INTLTOOL_MERGE) ; $(INTLTOOL_V_MERGE)_it_tmp_dir=tmp.intltool.$$RANDOM && mkdir $$_it_tmp_dir && LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u $$_it_tmp_dir $< $@ && rmdir $$_it_tmp_dir' 6036fi 6037 INTLTOOL_XAM_RULE='%.xam: %.xml.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6038 INTLTOOL_KBD_RULE='%.kbd: %.kbd.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -m -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6039 INTLTOOL_CAVES_RULE='%.caves: %.caves.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6040 INTLTOOL_SCHEMAS_RULE='%.schemas: %.schemas.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -s -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6041 INTLTOOL_THEME_RULE='%.theme: %.theme.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6042 INTLTOOL_SERVICE_RULE='%.service: %.service.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6043 INTLTOOL_POLICY_RULE='%.policy: %.policy.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(INTLTOOL_V_MERGE)LC_ALL=C $(INTLTOOL_MERGE) $(INTLTOOL_V_MERGE_OPTIONS) -x -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@' 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141# Check the gettext tools to make sure they are GNU 6142# Extract the first word of "xgettext", so it can be a program name with args. 6143set dummy xgettext; ac_word=$2 6144{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6145printf %s "checking for $ac_word... " >&6; } 6146if test ${ac_cv_path_XGETTEXT+y} 6147then : 6148 printf %s "(cached) " >&6 6149else $as_nop 6150 case $XGETTEXT in 6151 [\\/]* | ?:[\\/]*) 6152 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path. 6153 ;; 6154 *) 6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6156for as_dir in $PATH 6157do 6158 IFS=$as_save_IFS 6159 case $as_dir in #((( 6160 '') as_dir=./ ;; 6161 */) ;; 6162 *) as_dir=$as_dir/ ;; 6163 esac 6164 for ac_exec_ext in '' $ac_executable_extensions; do 6165 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6166 ac_cv_path_XGETTEXT="$as_dir$ac_word$ac_exec_ext" 6167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6168 break 2 6169 fi 6170done 6171 done 6172IFS=$as_save_IFS 6173 6174 ;; 6175esac 6176fi 6177XGETTEXT=$ac_cv_path_XGETTEXT 6178if test -n "$XGETTEXT"; then 6179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 6180printf "%s\n" "$XGETTEXT" >&6; } 6181else 6182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6183printf "%s\n" "no" >&6; } 6184fi 6185 6186 6187# Extract the first word of "msgmerge", so it can be a program name with args. 6188set dummy msgmerge; ac_word=$2 6189{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6190printf %s "checking for $ac_word... " >&6; } 6191if test ${ac_cv_path_MSGMERGE+y} 6192then : 6193 printf %s "(cached) " >&6 6194else $as_nop 6195 case $MSGMERGE in 6196 [\\/]* | ?:[\\/]*) 6197 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path. 6198 ;; 6199 *) 6200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6201for as_dir in $PATH 6202do 6203 IFS=$as_save_IFS 6204 case $as_dir in #((( 6205 '') as_dir=./ ;; 6206 */) ;; 6207 *) as_dir=$as_dir/ ;; 6208 esac 6209 for ac_exec_ext in '' $ac_executable_extensions; do 6210 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6211 ac_cv_path_MSGMERGE="$as_dir$ac_word$ac_exec_ext" 6212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6213 break 2 6214 fi 6215done 6216 done 6217IFS=$as_save_IFS 6218 6219 ;; 6220esac 6221fi 6222MSGMERGE=$ac_cv_path_MSGMERGE 6223if test -n "$MSGMERGE"; then 6224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 6225printf "%s\n" "$MSGMERGE" >&6; } 6226else 6227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6228printf "%s\n" "no" >&6; } 6229fi 6230 6231 6232# Extract the first word of "msgfmt", so it can be a program name with args. 6233set dummy msgfmt; ac_word=$2 6234{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6235printf %s "checking for $ac_word... " >&6; } 6236if test ${ac_cv_path_MSGFMT+y} 6237then : 6238 printf %s "(cached) " >&6 6239else $as_nop 6240 case $MSGFMT in 6241 [\\/]* | ?:[\\/]*) 6242 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path. 6243 ;; 6244 *) 6245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6246for as_dir in $PATH 6247do 6248 IFS=$as_save_IFS 6249 case $as_dir in #((( 6250 '') as_dir=./ ;; 6251 */) ;; 6252 *) as_dir=$as_dir/ ;; 6253 esac 6254 for ac_exec_ext in '' $ac_executable_extensions; do 6255 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6256 ac_cv_path_MSGFMT="$as_dir$ac_word$ac_exec_ext" 6257 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6258 break 2 6259 fi 6260done 6261 done 6262IFS=$as_save_IFS 6263 6264 ;; 6265esac 6266fi 6267MSGFMT=$ac_cv_path_MSGFMT 6268if test -n "$MSGFMT"; then 6269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 6270printf "%s\n" "$MSGFMT" >&6; } 6271else 6272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6273printf "%s\n" "no" >&6; } 6274fi 6275 6276 6277# Extract the first word of "gmsgfmt", so it can be a program name with args. 6278set dummy gmsgfmt; ac_word=$2 6279{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6280printf %s "checking for $ac_word... " >&6; } 6281if test ${ac_cv_path_GMSGFMT+y} 6282then : 6283 printf %s "(cached) " >&6 6284else $as_nop 6285 case $GMSGFMT in 6286 [\\/]* | ?:[\\/]*) 6287 ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path. 6288 ;; 6289 *) 6290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6291for as_dir in $PATH 6292do 6293 IFS=$as_save_IFS 6294 case $as_dir in #((( 6295 '') as_dir=./ ;; 6296 */) ;; 6297 *) as_dir=$as_dir/ ;; 6298 esac 6299 for ac_exec_ext in '' $ac_executable_extensions; do 6300 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6301 ac_cv_path_GMSGFMT="$as_dir$ac_word$ac_exec_ext" 6302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6303 break 2 6304 fi 6305done 6306 done 6307IFS=$as_save_IFS 6308 6309 test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" 6310 ;; 6311esac 6312fi 6313GMSGFMT=$ac_cv_path_GMSGFMT 6314if test -n "$GMSGFMT"; then 6315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 6316printf "%s\n" "$GMSGFMT" >&6; } 6317else 6318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6319printf "%s\n" "no" >&6; } 6320fi 6321 6322 6323if test -z "$XGETTEXT" -o -z "$MSGMERGE" -o -z "$MSGFMT"; then 6324 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 6325fi 6326xgversion="`$XGETTEXT --version|grep '(GNU ' 2> /dev/null`" 6327mmversion="`$MSGMERGE --version|grep '(GNU ' 2> /dev/null`" 6328mfversion="`$MSGFMT --version|grep '(GNU ' 2> /dev/null`" 6329if test -z "$xgversion" -o -z "$mmversion" -o -z "$mfversion"; then 6330 as_fn_error $? "GNU gettext tools not found; required for intltool" "$LINENO" 5 6331fi 6332 6333# Extract the first word of "perl", so it can be a program name with args. 6334set dummy perl; ac_word=$2 6335{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6336printf %s "checking for $ac_word... " >&6; } 6337if test ${ac_cv_path_INTLTOOL_PERL+y} 6338then : 6339 printf %s "(cached) " >&6 6340else $as_nop 6341 case $INTLTOOL_PERL in 6342 [\\/]* | ?:[\\/]*) 6343 ac_cv_path_INTLTOOL_PERL="$INTLTOOL_PERL" # Let the user override the test with a path. 6344 ;; 6345 *) 6346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6347for as_dir in $PATH 6348do 6349 IFS=$as_save_IFS 6350 case $as_dir in #((( 6351 '') as_dir=./ ;; 6352 */) ;; 6353 *) as_dir=$as_dir/ ;; 6354 esac 6355 for ac_exec_ext in '' $ac_executable_extensions; do 6356 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6357 ac_cv_path_INTLTOOL_PERL="$as_dir$ac_word$ac_exec_ext" 6358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6359 break 2 6360 fi 6361done 6362 done 6363IFS=$as_save_IFS 6364 6365 ;; 6366esac 6367fi 6368INTLTOOL_PERL=$ac_cv_path_INTLTOOL_PERL 6369if test -n "$INTLTOOL_PERL"; then 6370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INTLTOOL_PERL" >&5 6371printf "%s\n" "$INTLTOOL_PERL" >&6; } 6372else 6373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6374printf "%s\n" "no" >&6; } 6375fi 6376 6377 6378if test -z "$INTLTOOL_PERL"; then 6379 as_fn_error $? "perl not found" "$LINENO" 5 6380fi 6381{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for perl >= 5.8.1" >&5 6382printf %s "checking for perl >= 5.8.1... " >&6; } 6383$INTLTOOL_PERL -e "use 5.8.1;" > /dev/null 2>&1 6384if test $? -ne 0; then 6385 as_fn_error $? "perl 5.8.1 is required for intltool" "$LINENO" 5 6386else 6387 IT_PERL_VERSION=`$INTLTOOL_PERL -e "printf '%vd', $^V"` 6388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $IT_PERL_VERSION" >&5 6389printf "%s\n" "$IT_PERL_VERSION" >&6; } 6390fi 6391if test "xno-xml" != "xno-xml"; then 6392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XML::Parser" >&5 6393printf %s "checking for XML::Parser... " >&6; } 6394 if `$INTLTOOL_PERL -e "require XML::Parser" 2>/dev/null`; then 6395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ok" >&5 6396printf "%s\n" "ok" >&6; } 6397 else 6398 as_fn_error $? "XML::Parser perl module is required for intltool" "$LINENO" 5 6399 fi 6400fi 6401 6402# Substitute ALL_LINGUAS so we can use it in po/Makefile 6403 6404 6405 6406 6407 6408 6409 6410 6411 GETTEXT_PACKAGE=ristretto 6412 6413printf "%s\n" "#define GETTEXT_PACKAGE \"$GETTEXT_PACKAGE\"" >>confdefs.h 6414 6415 6416 6417 ALL_LINGUAS="ar ast be bg ca cs da de el en_AU en_GB es et eu fi fr gl he hr hu hy_AM hye id ie is it ja kk ko lt lv ms nb nl oc pl pt pt_BR ro ru sk sl sq sr sv te th tr ug uk ur ur_PK vi zh_CN zh_TW" 6418 6419 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset" 6420if test "x$ac_cv_func_bind_textdomain_codeset" = xyes 6421then : 6422 6423fi 6424 6425 6426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for locales directory" >&5 6427printf %s "checking for locales directory... " >&6; } 6428 6429# Check whether --with-locales-dir was given. 6430if test ${with_locales_dir+y} 6431then : 6432 withval=$with_locales_dir; localedir=$withval 6433else $as_nop 6434 6435 if test x"$CATOBJEXT" = x".mo"; then 6436 localedir=$libdir/locale 6437 else 6438 localedir=$datarootdir/locale 6439 fi 6440 6441fi 6442 6443 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $localedir" >&5 6444printf "%s\n" "$localedir" >&6; } 6445 6446 6447 6448 6449printf "%s\n" "#define GLIB_VERSION_MAX_ALLOWED GLIB_VERSION_2_44" >>confdefs.h 6450 6451 6452printf "%s\n" "#define GLIB_VERSION_MIN_REQUIRED GLIB_VERSION_2_44" >>confdefs.h 6453 6454 6455 6456 # minimum supported version of pkg-config 6457 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 6468 if test -n "$ac_tool_prefix"; then 6469 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 6470set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 6471{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6472printf %s "checking for $ac_word... " >&6; } 6473if test ${ac_cv_path_PKG_CONFIG+y} 6474then : 6475 printf %s "(cached) " >&6 6476else $as_nop 6477 case $PKG_CONFIG in 6478 [\\/]* | ?:[\\/]*) 6479 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 6480 ;; 6481 *) 6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6483for as_dir in $PATH 6484do 6485 IFS=$as_save_IFS 6486 case $as_dir in #((( 6487 '') as_dir=./ ;; 6488 */) ;; 6489 *) as_dir=$as_dir/ ;; 6490 esac 6491 for ac_exec_ext in '' $ac_executable_extensions; do 6492 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6493 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 6494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6495 break 2 6496 fi 6497done 6498 done 6499IFS=$as_save_IFS 6500 6501 ;; 6502esac 6503fi 6504PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6505if test -n "$PKG_CONFIG"; then 6506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 6507printf "%s\n" "$PKG_CONFIG" >&6; } 6508else 6509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6510printf "%s\n" "no" >&6; } 6511fi 6512 6513 6514fi 6515if test -z "$ac_cv_path_PKG_CONFIG"; then 6516 ac_pt_PKG_CONFIG=$PKG_CONFIG 6517 # Extract the first word of "pkg-config", so it can be a program name with args. 6518set dummy pkg-config; ac_word=$2 6519{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6520printf %s "checking for $ac_word... " >&6; } 6521if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 6522then : 6523 printf %s "(cached) " >&6 6524else $as_nop 6525 case $ac_pt_PKG_CONFIG in 6526 [\\/]* | ?:[\\/]*) 6527 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 6528 ;; 6529 *) 6530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6531for as_dir in $PATH 6532do 6533 IFS=$as_save_IFS 6534 case $as_dir in #((( 6535 '') as_dir=./ ;; 6536 */) ;; 6537 *) as_dir=$as_dir/ ;; 6538 esac 6539 for ac_exec_ext in '' $ac_executable_extensions; do 6540 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6541 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 6542 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6543 break 2 6544 fi 6545done 6546 done 6547IFS=$as_save_IFS 6548 6549 ;; 6550esac 6551fi 6552ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 6553if test -n "$ac_pt_PKG_CONFIG"; then 6554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 6555printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 6556else 6557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6558printf "%s\n" "no" >&6; } 6559fi 6560 6561 if test "x$ac_pt_PKG_CONFIG" = x; then 6562 PKG_CONFIG="" 6563 else 6564 case $cross_compiling:$ac_tool_warned in 6565yes:) 6566{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6567printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6568ac_tool_warned=yes ;; 6569esac 6570 PKG_CONFIG=$ac_pt_PKG_CONFIG 6571 fi 6572else 6573 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 6574fi 6575 6576fi 6577if test -n "$PKG_CONFIG"; then 6578 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 6579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 6580printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 6581 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 6582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6583printf "%s\n" "yes" >&6; } 6584 else 6585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6586printf "%s\n" "no" >&6; } 6587 PKG_CONFIG="" 6588 fi 6589fi 6590 6591 if test x"$PKG_CONFIG" = x""; then 6592 echo 6593 echo "*** Your version of pkg-config is too old. You need atleast" 6594 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 6595 echo "*** from the freedesktop.org software repository at" 6596 echo "***" 6597 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" 6598 echo "***" 6599 exit 1; 6600 fi 6601 6602 6603 6604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for glib-2.0 >= 2.44.0" >&5 6605printf %s "checking for glib-2.0 >= 2.44.0... " >&6; } 6606 if $PKG_CONFIG "--atleast-version=2.44.0" "glib-2.0" >/dev/null 2>&1; then 6607 GLIB_VERSION=`$PKG_CONFIG --modversion "glib-2.0"` 6608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GLIB_VERSION" >&5 6609printf "%s\n" "$GLIB_VERSION" >&6; } 6610 6611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GLIB_CFLAGS" >&5 6612printf %s "checking GLIB_CFLAGS... " >&6; } 6613 GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0"` 6614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GLIB_CFLAGS" >&5 6615printf "%s\n" "$GLIB_CFLAGS" >&6; } 6616 6617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GLIB_LIBS" >&5 6618printf %s "checking GLIB_LIBS... " >&6; } 6619 GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0"` 6620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GLIB_LIBS" >&5 6621printf "%s\n" "$GLIB_LIBS" >&6; } 6622 6623 GLIB_REQUIRED_VERSION=2.44.0 6624 6625 6626 6627 6628 6629 6630 6631 elif $PKG_CONFIG --exists "glib-2.0" >/dev/null 2>&1; then 6632 xdt_cv_version=`$PKG_CONFIG --modversion "glib-2.0"` 6633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 6634printf "%s\n" "found, but $xdt_cv_version" >&6; } 6635 6636 6637 echo "*** The required package glib-2.0 was found on your system," 6638 echo "*** but the installed version ($xdt_cv_version) is too old." 6639 echo "*** Please upgrade glib-2.0 to atleast version 2.44.0, or adjust" 6640 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 6641 echo "*** the new version of the package in a nonstandard prefix so" 6642 echo "*** pkg-config is able to find it." 6643 exit 1 6644 6645 else 6646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 6647printf "%s\n" "not found" >&6; } 6648 6649 6650 echo "*** The required package glib-2.0 was not found on your system." 6651 echo "*** Please install glib-2.0 (atleast version 2.44.0) or adjust" 6652 echo "*** the PKG_CONFIG_PATH environment variable if you" 6653 echo "*** installed the package in a nonstandard prefix so that" 6654 echo "*** pkg-config is able to find it." 6655 exit 1 6656 6657 fi 6658 6659 6660 6661 # minimum supported version of pkg-config 6662 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 6673 if test -n "$ac_tool_prefix"; then 6674 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 6675set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 6676{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6677printf %s "checking for $ac_word... " >&6; } 6678if test ${ac_cv_path_PKG_CONFIG+y} 6679then : 6680 printf %s "(cached) " >&6 6681else $as_nop 6682 case $PKG_CONFIG in 6683 [\\/]* | ?:[\\/]*) 6684 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 6685 ;; 6686 *) 6687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6688for as_dir in $PATH 6689do 6690 IFS=$as_save_IFS 6691 case $as_dir in #((( 6692 '') as_dir=./ ;; 6693 */) ;; 6694 *) as_dir=$as_dir/ ;; 6695 esac 6696 for ac_exec_ext in '' $ac_executable_extensions; do 6697 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6698 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 6699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6700 break 2 6701 fi 6702done 6703 done 6704IFS=$as_save_IFS 6705 6706 ;; 6707esac 6708fi 6709PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6710if test -n "$PKG_CONFIG"; then 6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 6712printf "%s\n" "$PKG_CONFIG" >&6; } 6713else 6714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6715printf "%s\n" "no" >&6; } 6716fi 6717 6718 6719fi 6720if test -z "$ac_cv_path_PKG_CONFIG"; then 6721 ac_pt_PKG_CONFIG=$PKG_CONFIG 6722 # Extract the first word of "pkg-config", so it can be a program name with args. 6723set dummy pkg-config; ac_word=$2 6724{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6725printf %s "checking for $ac_word... " >&6; } 6726if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 6727then : 6728 printf %s "(cached) " >&6 6729else $as_nop 6730 case $ac_pt_PKG_CONFIG in 6731 [\\/]* | ?:[\\/]*) 6732 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 6733 ;; 6734 *) 6735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6736for as_dir in $PATH 6737do 6738 IFS=$as_save_IFS 6739 case $as_dir in #((( 6740 '') as_dir=./ ;; 6741 */) ;; 6742 *) as_dir=$as_dir/ ;; 6743 esac 6744 for ac_exec_ext in '' $ac_executable_extensions; do 6745 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6746 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 6747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6748 break 2 6749 fi 6750done 6751 done 6752IFS=$as_save_IFS 6753 6754 ;; 6755esac 6756fi 6757ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 6758if test -n "$ac_pt_PKG_CONFIG"; then 6759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 6760printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 6761else 6762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6763printf "%s\n" "no" >&6; } 6764fi 6765 6766 if test "x$ac_pt_PKG_CONFIG" = x; then 6767 PKG_CONFIG="" 6768 else 6769 case $cross_compiling:$ac_tool_warned in 6770yes:) 6771{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6772printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6773ac_tool_warned=yes ;; 6774esac 6775 PKG_CONFIG=$ac_pt_PKG_CONFIG 6776 fi 6777else 6778 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 6779fi 6780 6781fi 6782if test -n "$PKG_CONFIG"; then 6783 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 6784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 6785printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 6786 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 6787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6788printf "%s\n" "yes" >&6; } 6789 else 6790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6791printf "%s\n" "no" >&6; } 6792 PKG_CONFIG="" 6793 fi 6794fi 6795 6796 if test x"$PKG_CONFIG" = x""; then 6797 echo 6798 echo "*** Your version of pkg-config is too old. You need atleast" 6799 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 6800 echo "*** from the freedesktop.org software repository at" 6801 echo "***" 6802 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" 6803 echo "***" 6804 exit 1; 6805 fi 6806 6807 6808 6809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gtk+-3.0 >= 3.22.0" >&5 6810printf %s "checking for gtk+-3.0 >= 3.22.0... " >&6; } 6811 if $PKG_CONFIG "--atleast-version=3.22.0" "gtk+-3.0" >/dev/null 2>&1; then 6812 GTK_VERSION=`$PKG_CONFIG --modversion "gtk+-3.0"` 6813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GTK_VERSION" >&5 6814printf "%s\n" "$GTK_VERSION" >&6; } 6815 6816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GTK_CFLAGS" >&5 6817printf %s "checking GTK_CFLAGS... " >&6; } 6818 GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-3.0"` 6819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GTK_CFLAGS" >&5 6820printf "%s\n" "$GTK_CFLAGS" >&6; } 6821 6822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking GTK_LIBS" >&5 6823printf %s "checking GTK_LIBS... " >&6; } 6824 GTK_LIBS=`$PKG_CONFIG --libs "gtk+-3.0"` 6825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $GTK_LIBS" >&5 6826printf "%s\n" "$GTK_LIBS" >&6; } 6827 6828 GTK_REQUIRED_VERSION=3.22.0 6829 6830 6831 6832 6833 6834 6835 6836 elif $PKG_CONFIG --exists "gtk+-3.0" >/dev/null 2>&1; then 6837 xdt_cv_version=`$PKG_CONFIG --modversion "gtk+-3.0"` 6838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 6839printf "%s\n" "found, but $xdt_cv_version" >&6; } 6840 6841 6842 echo "*** The required package gtk+-3.0 was found on your system," 6843 echo "*** but the installed version ($xdt_cv_version) is too old." 6844 echo "*** Please upgrade gtk+-3.0 to atleast version 3.22.0, or adjust" 6845 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 6846 echo "*** the new version of the package in a nonstandard prefix so" 6847 echo "*** pkg-config is able to find it." 6848 exit 1 6849 6850 else 6851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 6852printf "%s\n" "not found" >&6; } 6853 6854 6855 echo "*** The required package gtk+-3.0 was not found on your system." 6856 echo "*** Please install gtk+-3.0 (atleast version 3.22.0) or adjust" 6857 echo "*** the PKG_CONFIG_PATH environment variable if you" 6858 echo "*** installed the package in a nonstandard prefix so that" 6859 echo "*** pkg-config is able to find it." 6860 exit 1 6861 6862 fi 6863 6864 6865 6866 6867 # minimum supported version of pkg-config 6868 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 6879 if test -n "$ac_tool_prefix"; then 6880 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 6881set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 6882{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6883printf %s "checking for $ac_word... " >&6; } 6884if test ${ac_cv_path_PKG_CONFIG+y} 6885then : 6886 printf %s "(cached) " >&6 6887else $as_nop 6888 case $PKG_CONFIG in 6889 [\\/]* | ?:[\\/]*) 6890 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 6891 ;; 6892 *) 6893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6894for as_dir in $PATH 6895do 6896 IFS=$as_save_IFS 6897 case $as_dir in #((( 6898 '') as_dir=./ ;; 6899 */) ;; 6900 *) as_dir=$as_dir/ ;; 6901 esac 6902 for ac_exec_ext in '' $ac_executable_extensions; do 6903 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6904 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 6905 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6906 break 2 6907 fi 6908done 6909 done 6910IFS=$as_save_IFS 6911 6912 ;; 6913esac 6914fi 6915PKG_CONFIG=$ac_cv_path_PKG_CONFIG 6916if test -n "$PKG_CONFIG"; then 6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 6918printf "%s\n" "$PKG_CONFIG" >&6; } 6919else 6920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6921printf "%s\n" "no" >&6; } 6922fi 6923 6924 6925fi 6926if test -z "$ac_cv_path_PKG_CONFIG"; then 6927 ac_pt_PKG_CONFIG=$PKG_CONFIG 6928 # Extract the first word of "pkg-config", so it can be a program name with args. 6929set dummy pkg-config; ac_word=$2 6930{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 6931printf %s "checking for $ac_word... " >&6; } 6932if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 6933then : 6934 printf %s "(cached) " >&6 6935else $as_nop 6936 case $ac_pt_PKG_CONFIG in 6937 [\\/]* | ?:[\\/]*) 6938 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 6939 ;; 6940 *) 6941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 6942for as_dir in $PATH 6943do 6944 IFS=$as_save_IFS 6945 case $as_dir in #((( 6946 '') as_dir=./ ;; 6947 */) ;; 6948 *) as_dir=$as_dir/ ;; 6949 esac 6950 for ac_exec_ext in '' $ac_executable_extensions; do 6951 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 6952 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 6953 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 6954 break 2 6955 fi 6956done 6957 done 6958IFS=$as_save_IFS 6959 6960 ;; 6961esac 6962fi 6963ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 6964if test -n "$ac_pt_PKG_CONFIG"; then 6965 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 6966printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 6967else 6968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6969printf "%s\n" "no" >&6; } 6970fi 6971 6972 if test "x$ac_pt_PKG_CONFIG" = x; then 6973 PKG_CONFIG="" 6974 else 6975 case $cross_compiling:$ac_tool_warned in 6976yes:) 6977{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 6978printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 6979ac_tool_warned=yes ;; 6980esac 6981 PKG_CONFIG=$ac_pt_PKG_CONFIG 6982 fi 6983else 6984 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 6985fi 6986 6987fi 6988if test -n "$PKG_CONFIG"; then 6989 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 6990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 6991printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 6992 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 6993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 6994printf "%s\n" "yes" >&6; } 6995 else 6996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 6997printf "%s\n" "no" >&6; } 6998 PKG_CONFIG="" 6999 fi 7000fi 7001 7002 if test x"$PKG_CONFIG" = x""; then 7003 echo 7004 echo "*** Your version of pkg-config is too old. You need atleast" 7005 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 7006 echo "*** from the freedesktop.org software repository at" 7007 echo "***" 7008 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" 7009 echo "***" 7010 exit 1; 7011 fi 7012 7013 7014 7015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxfce4ui-2 >= 4.16.0" >&5 7016printf %s "checking for libxfce4ui-2 >= 4.16.0... " >&6; } 7017 if $PKG_CONFIG "--atleast-version=4.16.0" "libxfce4ui-2" >/dev/null 2>&1; then 7018 LIBXFCE4UI_VERSION=`$PKG_CONFIG --modversion "libxfce4ui-2"` 7019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_VERSION" >&5 7020printf "%s\n" "$LIBXFCE4UI_VERSION" >&6; } 7021 7022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_CFLAGS" >&5 7023printf %s "checking LIBXFCE4UI_CFLAGS... " >&6; } 7024 LIBXFCE4UI_CFLAGS=`$PKG_CONFIG --cflags "libxfce4ui-2"` 7025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_CFLAGS" >&5 7026printf "%s\n" "$LIBXFCE4UI_CFLAGS" >&6; } 7027 7028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UI_LIBS" >&5 7029printf %s "checking LIBXFCE4UI_LIBS... " >&6; } 7030 LIBXFCE4UI_LIBS=`$PKG_CONFIG --libs "libxfce4ui-2"` 7031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UI_LIBS" >&5 7032printf "%s\n" "$LIBXFCE4UI_LIBS" >&6; } 7033 7034 LIBXFCE4UI_REQUIRED_VERSION=4.16.0 7035 7036 7037 7038 7039 7040 7041 7042 elif $PKG_CONFIG --exists "libxfce4ui-2" >/dev/null 2>&1; then 7043 xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4ui-2"` 7044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 7045printf "%s\n" "found, but $xdt_cv_version" >&6; } 7046 7047 7048 echo "*** The required package libxfce4ui-2 was found on your system," 7049 echo "*** but the installed version ($xdt_cv_version) is too old." 7050 echo "*** Please upgrade libxfce4ui-2 to atleast version 4.16.0, or adjust" 7051 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 7052 echo "*** the new version of the package in a nonstandard prefix so" 7053 echo "*** pkg-config is able to find it." 7054 exit 1 7055 7056 else 7057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 7058printf "%s\n" "not found" >&6; } 7059 7060 7061 echo "*** The required package libxfce4ui-2 was not found on your system." 7062 echo "*** Please install libxfce4ui-2 (atleast version 4.16.0) or adjust" 7063 echo "*** the PKG_CONFIG_PATH environment variable if you" 7064 echo "*** installed the package in a nonstandard prefix so that" 7065 echo "*** pkg-config is able to find it." 7066 exit 1 7067 7068 fi 7069 7070 7071 7072 # minimum supported version of pkg-config 7073 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 7084 if test -n "$ac_tool_prefix"; then 7085 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 7086set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 7087{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7088printf %s "checking for $ac_word... " >&6; } 7089if test ${ac_cv_path_PKG_CONFIG+y} 7090then : 7091 printf %s "(cached) " >&6 7092else $as_nop 7093 case $PKG_CONFIG in 7094 [\\/]* | ?:[\\/]*) 7095 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 7096 ;; 7097 *) 7098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7099for as_dir in $PATH 7100do 7101 IFS=$as_save_IFS 7102 case $as_dir in #((( 7103 '') as_dir=./ ;; 7104 */) ;; 7105 *) as_dir=$as_dir/ ;; 7106 esac 7107 for ac_exec_ext in '' $ac_executable_extensions; do 7108 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7109 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 7110 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7111 break 2 7112 fi 7113done 7114 done 7115IFS=$as_save_IFS 7116 7117 ;; 7118esac 7119fi 7120PKG_CONFIG=$ac_cv_path_PKG_CONFIG 7121if test -n "$PKG_CONFIG"; then 7122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 7123printf "%s\n" "$PKG_CONFIG" >&6; } 7124else 7125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7126printf "%s\n" "no" >&6; } 7127fi 7128 7129 7130fi 7131if test -z "$ac_cv_path_PKG_CONFIG"; then 7132 ac_pt_PKG_CONFIG=$PKG_CONFIG 7133 # Extract the first word of "pkg-config", so it can be a program name with args. 7134set dummy pkg-config; ac_word=$2 7135{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7136printf %s "checking for $ac_word... " >&6; } 7137if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 7138then : 7139 printf %s "(cached) " >&6 7140else $as_nop 7141 case $ac_pt_PKG_CONFIG in 7142 [\\/]* | ?:[\\/]*) 7143 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 7144 ;; 7145 *) 7146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7147for as_dir in $PATH 7148do 7149 IFS=$as_save_IFS 7150 case $as_dir in #((( 7151 '') as_dir=./ ;; 7152 */) ;; 7153 *) as_dir=$as_dir/ ;; 7154 esac 7155 for ac_exec_ext in '' $ac_executable_extensions; do 7156 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7157 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 7158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7159 break 2 7160 fi 7161done 7162 done 7163IFS=$as_save_IFS 7164 7165 ;; 7166esac 7167fi 7168ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 7169if test -n "$ac_pt_PKG_CONFIG"; then 7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 7171printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 7172else 7173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7174printf "%s\n" "no" >&6; } 7175fi 7176 7177 if test "x$ac_pt_PKG_CONFIG" = x; then 7178 PKG_CONFIG="" 7179 else 7180 case $cross_compiling:$ac_tool_warned in 7181yes:) 7182{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7183printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7184ac_tool_warned=yes ;; 7185esac 7186 PKG_CONFIG=$ac_pt_PKG_CONFIG 7187 fi 7188else 7189 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 7190fi 7191 7192fi 7193if test -n "$PKG_CONFIG"; then 7194 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 7195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 7196printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 7197 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 7198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7199printf "%s\n" "yes" >&6; } 7200 else 7201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7202printf "%s\n" "no" >&6; } 7203 PKG_CONFIG="" 7204 fi 7205fi 7206 7207 if test x"$PKG_CONFIG" = x""; then 7208 echo 7209 echo "*** Your version of pkg-config is too old. You need atleast" 7210 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 7211 echo "*** from the freedesktop.org software repository at" 7212 echo "***" 7213 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" 7214 echo "***" 7215 exit 1; 7216 fi 7217 7218 7219 7220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxfce4util-1.0 >= 4.16.0" >&5 7221printf %s "checking for libxfce4util-1.0 >= 4.16.0... " >&6; } 7222 if $PKG_CONFIG "--atleast-version=4.16.0" "libxfce4util-1.0" >/dev/null 2>&1; then 7223 LIBXFCE4UTIL_VERSION=`$PKG_CONFIG --modversion "libxfce4util-1.0"` 7224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_VERSION" >&5 7225printf "%s\n" "$LIBXFCE4UTIL_VERSION" >&6; } 7226 7227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UTIL_CFLAGS" >&5 7228printf %s "checking LIBXFCE4UTIL_CFLAGS... " >&6; } 7229 LIBXFCE4UTIL_CFLAGS=`$PKG_CONFIG --cflags "libxfce4util-1.0"` 7230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_CFLAGS" >&5 7231printf "%s\n" "$LIBXFCE4UTIL_CFLAGS" >&6; } 7232 7233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBXFCE4UTIL_LIBS" >&5 7234printf %s "checking LIBXFCE4UTIL_LIBS... " >&6; } 7235 LIBXFCE4UTIL_LIBS=`$PKG_CONFIG --libs "libxfce4util-1.0"` 7236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBXFCE4UTIL_LIBS" >&5 7237printf "%s\n" "$LIBXFCE4UTIL_LIBS" >&6; } 7238 7239 LIBXFCE4UTIL_REQUIRED_VERSION=4.16.0 7240 7241 7242 7243 7244 7245 7246 7247 elif $PKG_CONFIG --exists "libxfce4util-1.0" >/dev/null 2>&1; then 7248 xdt_cv_version=`$PKG_CONFIG --modversion "libxfce4util-1.0"` 7249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 7250printf "%s\n" "found, but $xdt_cv_version" >&6; } 7251 7252 7253 echo "*** The required package libxfce4util-1.0 was found on your system," 7254 echo "*** but the installed version ($xdt_cv_version) is too old." 7255 echo "*** Please upgrade libxfce4util-1.0 to atleast version 4.16.0, or adjust" 7256 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 7257 echo "*** the new version of the package in a nonstandard prefix so" 7258 echo "*** pkg-config is able to find it." 7259 exit 1 7260 7261 else 7262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 7263printf "%s\n" "not found" >&6; } 7264 7265 7266 echo "*** The required package libxfce4util-1.0 was not found on your system." 7267 echo "*** Please install libxfce4util-1.0 (atleast version 4.16.0) or adjust" 7268 echo "*** the PKG_CONFIG_PATH environment variable if you" 7269 echo "*** installed the package in a nonstandard prefix so that" 7270 echo "*** pkg-config is able to find it." 7271 exit 1 7272 7273 fi 7274 7275 7276 7277 # minimum supported version of pkg-config 7278 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 7289 if test -n "$ac_tool_prefix"; then 7290 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 7291set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 7292{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7293printf %s "checking for $ac_word... " >&6; } 7294if test ${ac_cv_path_PKG_CONFIG+y} 7295then : 7296 printf %s "(cached) " >&6 7297else $as_nop 7298 case $PKG_CONFIG in 7299 [\\/]* | ?:[\\/]*) 7300 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 7301 ;; 7302 *) 7303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7304for as_dir in $PATH 7305do 7306 IFS=$as_save_IFS 7307 case $as_dir in #((( 7308 '') as_dir=./ ;; 7309 */) ;; 7310 *) as_dir=$as_dir/ ;; 7311 esac 7312 for ac_exec_ext in '' $ac_executable_extensions; do 7313 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7314 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 7315 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7316 break 2 7317 fi 7318done 7319 done 7320IFS=$as_save_IFS 7321 7322 ;; 7323esac 7324fi 7325PKG_CONFIG=$ac_cv_path_PKG_CONFIG 7326if test -n "$PKG_CONFIG"; then 7327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 7328printf "%s\n" "$PKG_CONFIG" >&6; } 7329else 7330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7331printf "%s\n" "no" >&6; } 7332fi 7333 7334 7335fi 7336if test -z "$ac_cv_path_PKG_CONFIG"; then 7337 ac_pt_PKG_CONFIG=$PKG_CONFIG 7338 # Extract the first word of "pkg-config", so it can be a program name with args. 7339set dummy pkg-config; ac_word=$2 7340{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7341printf %s "checking for $ac_word... " >&6; } 7342if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 7343then : 7344 printf %s "(cached) " >&6 7345else $as_nop 7346 case $ac_pt_PKG_CONFIG in 7347 [\\/]* | ?:[\\/]*) 7348 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 7349 ;; 7350 *) 7351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7352for as_dir in $PATH 7353do 7354 IFS=$as_save_IFS 7355 case $as_dir in #((( 7356 '') as_dir=./ ;; 7357 */) ;; 7358 *) as_dir=$as_dir/ ;; 7359 esac 7360 for ac_exec_ext in '' $ac_executable_extensions; do 7361 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7362 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 7363 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7364 break 2 7365 fi 7366done 7367 done 7368IFS=$as_save_IFS 7369 7370 ;; 7371esac 7372fi 7373ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 7374if test -n "$ac_pt_PKG_CONFIG"; then 7375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 7376printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 7377else 7378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7379printf "%s\n" "no" >&6; } 7380fi 7381 7382 if test "x$ac_pt_PKG_CONFIG" = x; then 7383 PKG_CONFIG="" 7384 else 7385 case $cross_compiling:$ac_tool_warned in 7386yes:) 7387{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7388printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7389ac_tool_warned=yes ;; 7390esac 7391 PKG_CONFIG=$ac_pt_PKG_CONFIG 7392 fi 7393else 7394 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 7395fi 7396 7397fi 7398if test -n "$PKG_CONFIG"; then 7399 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 7400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 7401printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 7402 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 7403 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7404printf "%s\n" "yes" >&6; } 7405 else 7406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7407printf "%s\n" "no" >&6; } 7408 PKG_CONFIG="" 7409 fi 7410fi 7411 7412 if test x"$PKG_CONFIG" = x""; then 7413 echo 7414 echo "*** Your version of pkg-config is too old. You need atleast" 7415 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 7416 echo "*** from the freedesktop.org software repository at" 7417 echo "***" 7418 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" 7419 echo "***" 7420 exit 1; 7421 fi 7422 7423 7424 7425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libxfconf-0 >= 4.12.1" >&5 7426printf %s "checking for libxfconf-0 >= 4.12.1... " >&6; } 7427 if $PKG_CONFIG "--atleast-version=4.12.1" "libxfconf-0" >/dev/null 2>&1; then 7428 XFCONF_VERSION=`$PKG_CONFIG --modversion "libxfconf-0"` 7429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XFCONF_VERSION" >&5 7430printf "%s\n" "$XFCONF_VERSION" >&6; } 7431 7432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking XFCONF_CFLAGS" >&5 7433printf %s "checking XFCONF_CFLAGS... " >&6; } 7434 XFCONF_CFLAGS=`$PKG_CONFIG --cflags "libxfconf-0"` 7435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XFCONF_CFLAGS" >&5 7436printf "%s\n" "$XFCONF_CFLAGS" >&6; } 7437 7438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking XFCONF_LIBS" >&5 7439printf %s "checking XFCONF_LIBS... " >&6; } 7440 XFCONF_LIBS=`$PKG_CONFIG --libs "libxfconf-0"` 7441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $XFCONF_LIBS" >&5 7442printf "%s\n" "$XFCONF_LIBS" >&6; } 7443 7444 XFCONF_REQUIRED_VERSION=4.12.1 7445 7446 7447 7448 7449 7450 7451 7452 elif $PKG_CONFIG --exists "libxfconf-0" >/dev/null 2>&1; then 7453 xdt_cv_version=`$PKG_CONFIG --modversion "libxfconf-0"` 7454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 7455printf "%s\n" "found, but $xdt_cv_version" >&6; } 7456 7457 7458 echo "*** The required package libxfconf-0 was found on your system," 7459 echo "*** but the installed version ($xdt_cv_version) is too old." 7460 echo "*** Please upgrade libxfconf-0 to atleast version 4.12.1, or adjust" 7461 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 7462 echo "*** the new version of the package in a nonstandard prefix so" 7463 echo "*** pkg-config is able to find it." 7464 exit 1 7465 7466 else 7467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 7468printf "%s\n" "not found" >&6; } 7469 7470 7471 echo "*** The required package libxfconf-0 was not found on your system." 7472 echo "*** Please install libxfconf-0 (atleast version 4.12.1) or adjust" 7473 echo "*** the PKG_CONFIG_PATH environment variable if you" 7474 echo "*** installed the package in a nonstandard prefix so that" 7475 echo "*** pkg-config is able to find it." 7476 exit 1 7477 7478 fi 7479 7480 7481 7482 7483 # minimum supported version of pkg-config 7484 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 7495 if test -n "$ac_tool_prefix"; then 7496 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 7497set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 7498{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7499printf %s "checking for $ac_word... " >&6; } 7500if test ${ac_cv_path_PKG_CONFIG+y} 7501then : 7502 printf %s "(cached) " >&6 7503else $as_nop 7504 case $PKG_CONFIG in 7505 [\\/]* | ?:[\\/]*) 7506 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 7507 ;; 7508 *) 7509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7510for as_dir in $PATH 7511do 7512 IFS=$as_save_IFS 7513 case $as_dir in #((( 7514 '') as_dir=./ ;; 7515 */) ;; 7516 *) as_dir=$as_dir/ ;; 7517 esac 7518 for ac_exec_ext in '' $ac_executable_extensions; do 7519 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7520 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 7521 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7522 break 2 7523 fi 7524done 7525 done 7526IFS=$as_save_IFS 7527 7528 ;; 7529esac 7530fi 7531PKG_CONFIG=$ac_cv_path_PKG_CONFIG 7532if test -n "$PKG_CONFIG"; then 7533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 7534printf "%s\n" "$PKG_CONFIG" >&6; } 7535else 7536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7537printf "%s\n" "no" >&6; } 7538fi 7539 7540 7541fi 7542if test -z "$ac_cv_path_PKG_CONFIG"; then 7543 ac_pt_PKG_CONFIG=$PKG_CONFIG 7544 # Extract the first word of "pkg-config", so it can be a program name with args. 7545set dummy pkg-config; ac_word=$2 7546{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7547printf %s "checking for $ac_word... " >&6; } 7548if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 7549then : 7550 printf %s "(cached) " >&6 7551else $as_nop 7552 case $ac_pt_PKG_CONFIG in 7553 [\\/]* | ?:[\\/]*) 7554 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 7555 ;; 7556 *) 7557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7558for as_dir in $PATH 7559do 7560 IFS=$as_save_IFS 7561 case $as_dir in #((( 7562 '') as_dir=./ ;; 7563 */) ;; 7564 *) as_dir=$as_dir/ ;; 7565 esac 7566 for ac_exec_ext in '' $ac_executable_extensions; do 7567 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7568 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 7569 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7570 break 2 7571 fi 7572done 7573 done 7574IFS=$as_save_IFS 7575 7576 ;; 7577esac 7578fi 7579ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 7580if test -n "$ac_pt_PKG_CONFIG"; then 7581 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 7582printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 7583else 7584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7585printf "%s\n" "no" >&6; } 7586fi 7587 7588 if test "x$ac_pt_PKG_CONFIG" = x; then 7589 PKG_CONFIG="" 7590 else 7591 case $cross_compiling:$ac_tool_warned in 7592yes:) 7593{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7594printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7595ac_tool_warned=yes ;; 7596esac 7597 PKG_CONFIG=$ac_pt_PKG_CONFIG 7598 fi 7599else 7600 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 7601fi 7602 7603fi 7604if test -n "$PKG_CONFIG"; then 7605 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 7606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 7607printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 7608 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 7609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7610printf "%s\n" "yes" >&6; } 7611 else 7612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7613printf "%s\n" "no" >&6; } 7614 PKG_CONFIG="" 7615 fi 7616fi 7617 7618 if test x"$PKG_CONFIG" = x""; then 7619 echo 7620 echo "*** Your version of pkg-config is too old. You need atleast" 7621 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 7622 echo "*** from the freedesktop.org software repository at" 7623 echo "***" 7624 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" 7625 echo "***" 7626 exit 1; 7627 fi 7628 7629 7630 7631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libexif >= 0.6.0" >&5 7632printf %s "checking for libexif >= 0.6.0... " >&6; } 7633 if $PKG_CONFIG "--atleast-version=0.6.0" "libexif" >/dev/null 2>&1; then 7634 LIBEXIF_VERSION=`$PKG_CONFIG --modversion "libexif"` 7635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBEXIF_VERSION" >&5 7636printf "%s\n" "$LIBEXIF_VERSION" >&6; } 7637 7638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBEXIF_CFLAGS" >&5 7639printf %s "checking LIBEXIF_CFLAGS... " >&6; } 7640 LIBEXIF_CFLAGS=`$PKG_CONFIG --cflags "libexif"` 7641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBEXIF_CFLAGS" >&5 7642printf "%s\n" "$LIBEXIF_CFLAGS" >&6; } 7643 7644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking LIBEXIF_LIBS" >&5 7645printf %s "checking LIBEXIF_LIBS... " >&6; } 7646 LIBEXIF_LIBS=`$PKG_CONFIG --libs "libexif"` 7647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LIBEXIF_LIBS" >&5 7648printf "%s\n" "$LIBEXIF_LIBS" >&6; } 7649 7650 LIBEXIF_REQUIRED_VERSION=0.6.0 7651 7652 7653 7654 7655 7656 7657 7658 elif $PKG_CONFIG --exists "libexif" >/dev/null 2>&1; then 7659 xdt_cv_version=`$PKG_CONFIG --modversion "libexif"` 7660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 7661printf "%s\n" "found, but $xdt_cv_version" >&6; } 7662 7663 7664 echo "*** The required package libexif was found on your system," 7665 echo "*** but the installed version ($xdt_cv_version) is too old." 7666 echo "*** Please upgrade libexif to atleast version 0.6.0, or adjust" 7667 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 7668 echo "*** the new version of the package in a nonstandard prefix so" 7669 echo "*** pkg-config is able to find it." 7670 exit 1 7671 7672 else 7673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 7674printf "%s\n" "not found" >&6; } 7675 7676 7677 echo "*** The required package libexif was not found on your system." 7678 echo "*** Please install libexif (atleast version 0.6.0) or adjust" 7679 echo "*** the PKG_CONFIG_PATH environment variable if you" 7680 echo "*** installed the package in a nonstandard prefix so that" 7681 echo "*** pkg-config is able to find it." 7682 exit 1 7683 7684 fi 7685 7686 7687 7688 # minimum supported version of pkg-config 7689 xdt_cv_PKG_CONFIG_MIN_VERSION=0.9.0 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 7700 if test -n "$ac_tool_prefix"; then 7701 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 7702set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 7703{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7704printf %s "checking for $ac_word... " >&6; } 7705if test ${ac_cv_path_PKG_CONFIG+y} 7706then : 7707 printf %s "(cached) " >&6 7708else $as_nop 7709 case $PKG_CONFIG in 7710 [\\/]* | ?:[\\/]*) 7711 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 7712 ;; 7713 *) 7714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7715for as_dir in $PATH 7716do 7717 IFS=$as_save_IFS 7718 case $as_dir in #((( 7719 '') as_dir=./ ;; 7720 */) ;; 7721 *) as_dir=$as_dir/ ;; 7722 esac 7723 for ac_exec_ext in '' $ac_executable_extensions; do 7724 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then 7725 ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 7726 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5 7727 break 2 7728 fi 7729done 7730 done 7731IFS=$as_save_IFS 7732 7733 ;; 7734esac 7735fi 7736PKG_CONFIG=$ac_cv_path_PKG_CONFIG 7737if test -n "$PKG_CONFIG"; then 7738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 7739printf "%s\n" "$PKG_CONFIG" >&6; } 7740else 7741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7742printf "%s\n" "no" >&6; } 7743fi 7744 7745 7746fi 7747if test -z "$ac_cv_path_PKG_CONFIG"; then 7748 ac_pt_PKG_CONFIG=$PKG_CONFIG 7749 # Extract the first word of "pkg-config", so it can be a program name with args. 7750set dummy pkg-config; ac_word=$2 7751{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 7752printf %s "checking for $ac_word... " >&6; } 7753if test ${ac_cv_path_ac_pt_PKG_CONFIG+y} 7754then : 7755 printf %s "(cached) " >&6 7756else $as_nop 7757 case $ac_pt_PKG_CONFIG in 7758 [\\/]* | ?:[\\/]*) 7759 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 7760 ;; 7761 *) 7762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 7763for as_dir in $PATH 7764do 7765 IFS=$as_save_IFS 7766 case $as_dir in #((( 7767 '') as_dir=./ ;; 7768 */) ;; 7769 *) as_dir=$as_dir/ ;; 7770 esac 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_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext" 7774 printf "%s\n" "$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 7784ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 7785if test -n "$ac_pt_PKG_CONFIG"; then 7786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 7787printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; } 7788else 7789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7790printf "%s\n" "no" >&6; } 7791fi 7792 7793 if test "x$ac_pt_PKG_CONFIG" = x; then 7794 PKG_CONFIG="" 7795 else 7796 case $cross_compiling:$ac_tool_warned in 7797yes:) 7798{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 7799printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 7800ac_tool_warned=yes ;; 7801esac 7802 PKG_CONFIG=$ac_pt_PKG_CONFIG 7803 fi 7804else 7805 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 7806fi 7807 7808fi 7809if test -n "$PKG_CONFIG"; then 7810 _pkg_min_version=$xdt_cv_PKG_CONFIG_MIN_VERSION 7811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 7812printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; } 7813 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 7814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 7815printf "%s\n" "yes" >&6; } 7816 else 7817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 7818printf "%s\n" "no" >&6; } 7819 PKG_CONFIG="" 7820 fi 7821fi 7822 7823 if test x"$PKG_CONFIG" = x""; then 7824 echo 7825 echo "*** Your version of pkg-config is too old. You need atleast" 7826 echo "*** pkg-config $xdt_cv_PKG_CONFIG_MIN_VERSION or newer. You can download pkg-config" 7827 echo "*** from the freedesktop.org software repository at" 7828 echo "***" 7829 echo "*** https://www.freedesktop.org/wiki/Software/pkg-config/" 7830 echo "***" 7831 exit 1; 7832 fi 7833 7834 7835 7836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cairo >= 1.10.0" >&5 7837printf %s "checking for cairo >= 1.10.0... " >&6; } 7838 if $PKG_CONFIG "--atleast-version=1.10.0" "cairo" >/dev/null 2>&1; then 7839 CAIRO_VERSION=`$PKG_CONFIG --modversion "cairo"` 7840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CAIRO_VERSION" >&5 7841printf "%s\n" "$CAIRO_VERSION" >&6; } 7842 7843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking CAIRO_CFLAGS" >&5 7844printf %s "checking CAIRO_CFLAGS... " >&6; } 7845 CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo"` 7846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CAIRO_CFLAGS" >&5 7847printf "%s\n" "$CAIRO_CFLAGS" >&6; } 7848 7849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking CAIRO_LIBS" >&5 7850printf %s "checking CAIRO_LIBS... " >&6; } 7851 CAIRO_LIBS=`$PKG_CONFIG --libs "cairo"` 7852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CAIRO_LIBS" >&5 7853printf "%s\n" "$CAIRO_LIBS" >&6; } 7854 7855 CAIRO_REQUIRED_VERSION=1.10.0 7856 7857 7858 7859 7860 7861 7862 7863 elif $PKG_CONFIG --exists "cairo" >/dev/null 2>&1; then 7864 xdt_cv_version=`$PKG_CONFIG --modversion "cairo"` 7865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: found, but $xdt_cv_version" >&5 7866printf "%s\n" "found, but $xdt_cv_version" >&6; } 7867 7868 7869 echo "*** The required package cairo was found on your system," 7870 echo "*** but the installed version ($xdt_cv_version) is too old." 7871 echo "*** Please upgrade cairo to atleast version 1.10.0, or adjust" 7872 echo "*** the PKG_CONFIG_PATH environment variable if you installed" 7873 echo "*** the new version of the package in a nonstandard prefix so" 7874 echo "*** pkg-config is able to find it." 7875 exit 1 7876 7877 else 7878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5 7879printf "%s\n" "not found" >&6; } 7880 7881 7882 echo "*** The required package cairo was not found on your system." 7883 echo "*** Please install cairo (atleast version 1.10.0) or adjust" 7884 echo "*** the PKG_CONFIG_PATH environment variable if you" 7885 echo "*** installed the package in a nonstandard prefix so that" 7886 echo "*** pkg-config is able to find it." 7887 exit 1 7888 7889 fi 7890 7891 7892ac_ext=c 7893ac_cpp='$CPP $CPPFLAGS' 7894ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 7895ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 7896ac_compiler_gnu=$ac_cv_c_compiler_gnu 7897{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 7898printf %s "checking how to run the C preprocessor... " >&6; } 7899# On Suns, sometimes $CPP names a directory. 7900if test -n "$CPP" && test -d "$CPP"; then 7901 CPP= 7902fi 7903if test -z "$CPP"; then 7904 if test ${ac_cv_prog_CPP+y} 7905then : 7906 printf %s "(cached) " >&6 7907else $as_nop 7908 # Double quotes because $CC needs to be expanded 7909 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp 7910 do 7911 ac_preproc_ok=false 7912for ac_c_preproc_warn_flag in '' yes 7913do 7914 # Use a header file that comes with gcc, so configuring glibc 7915 # with a fresh cross-compiler works. 7916 # On the NeXT, cc -E runs the code through the compiler's parser, 7917 # not just through cpp. "Syntax error" is here to catch this case. 7918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7919/* end confdefs.h. */ 7920#include <limits.h> 7921 Syntax error 7922_ACEOF 7923if ac_fn_c_try_cpp "$LINENO" 7924then : 7925 7926else $as_nop 7927 # Broken: fails on valid input. 7928continue 7929fi 7930rm -f conftest.err conftest.i conftest.$ac_ext 7931 7932 # OK, works on sane cases. Now check whether nonexistent headers 7933 # can be detected and how. 7934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7935/* end confdefs.h. */ 7936#include <ac_nonexistent.h> 7937_ACEOF 7938if ac_fn_c_try_cpp "$LINENO" 7939then : 7940 # Broken: success on invalid input. 7941continue 7942else $as_nop 7943 # Passes both tests. 7944ac_preproc_ok=: 7945break 7946fi 7947rm -f conftest.err conftest.i conftest.$ac_ext 7948 7949done 7950# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 7951rm -f conftest.i conftest.err conftest.$ac_ext 7952if $ac_preproc_ok 7953then : 7954 break 7955fi 7956 7957 done 7958 ac_cv_prog_CPP=$CPP 7959 7960fi 7961 CPP=$ac_cv_prog_CPP 7962else 7963 ac_cv_prog_CPP=$CPP 7964fi 7965{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 7966printf "%s\n" "$CPP" >&6; } 7967ac_preproc_ok=false 7968for ac_c_preproc_warn_flag in '' yes 7969do 7970 # Use a header file that comes with gcc, so configuring glibc 7971 # with a fresh cross-compiler works. 7972 # On the NeXT, cc -E runs the code through the compiler's parser, 7973 # not just through cpp. "Syntax error" is here to catch this case. 7974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7975/* end confdefs.h. */ 7976#include <limits.h> 7977 Syntax error 7978_ACEOF 7979if ac_fn_c_try_cpp "$LINENO" 7980then : 7981 7982else $as_nop 7983 # Broken: fails on valid input. 7984continue 7985fi 7986rm -f conftest.err conftest.i conftest.$ac_ext 7987 7988 # OK, works on sane cases. Now check whether nonexistent headers 7989 # can be detected and how. 7990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 7991/* end confdefs.h. */ 7992#include <ac_nonexistent.h> 7993_ACEOF 7994if ac_fn_c_try_cpp "$LINENO" 7995then : 7996 # Broken: success on invalid input. 7997continue 7998else $as_nop 7999 # Passes both tests. 8000ac_preproc_ok=: 8001break 8002fi 8003rm -f conftest.err conftest.i conftest.$ac_ext 8004 8005done 8006# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 8007rm -f conftest.i conftest.err conftest.$ac_ext 8008if $ac_preproc_ok 8009then : 8010 8011else $as_nop 8012 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 8013printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 8014as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 8015See \`config.log' for more details" "$LINENO" 5; } 8016fi 8017 8018ac_ext=c 8019ac_cpp='$CPP $CPPFLAGS' 8020ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 8021ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 8022ac_compiler_gnu=$ac_cv_c_compiler_gnu 8023 8024 8025{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5 8026printf %s "checking for X... " >&6; } 8027 8028 8029# Check whether --with-x was given. 8030if test ${with_x+y} 8031then : 8032 withval=$with_x; 8033fi 8034 8035# $have_x is `yes', `no', `disabled', or empty when we do not yet know. 8036if test "x$with_x" = xno; then 8037 # The user explicitly disabled X. 8038 have_x=disabled 8039else 8040 case $x_includes,$x_libraries in #( 8041 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #( 8042 *,NONE | NONE,*) if test ${ac_cv_have_x+y} 8043then : 8044 printf %s "(cached) " >&6 8045else $as_nop 8046 # One or both of the vars are not set, and there is no cached value. 8047ac_x_includes=no 8048ac_x_libraries=no 8049# Do we need to do anything special at all? 8050ac_save_LIBS=$LIBS 8051LIBS="-lX11 $LIBS" 8052cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8053/* end confdefs.h. */ 8054#include <X11/Xlib.h> 8055int 8056main (void) 8057{ 8058XrmInitialize () 8059 ; 8060 return 0; 8061} 8062_ACEOF 8063if ac_fn_c_try_link "$LINENO" 8064then : 8065 # We can compile and link X programs with no special options. 8066 ac_x_includes= 8067 ac_x_libraries= 8068fi 8069rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8070 conftest$ac_exeext conftest.$ac_ext 8071LIBS="$ac_save_LIBS" 8072# If that didn't work, only try xmkmf and file system searches 8073# for native compilation. 8074if test x"$ac_x_includes" = xno && test "$cross_compiling" = no 8075then : 8076 rm -f -r conftest.dir 8077if mkdir conftest.dir; then 8078 cd conftest.dir 8079 cat >Imakefile <<'_ACEOF' 8080incroot: 8081 @echo incroot='${INCROOT}' 8082usrlibdir: 8083 @echo usrlibdir='${USRLIBDIR}' 8084libdir: 8085 @echo libdir='${LIBDIR}' 8086_ACEOF 8087 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then 8088 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 8089 for ac_var in incroot usrlibdir libdir; do 8090 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`" 8091 done 8092 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR. 8093 for ac_extension in a so sl dylib la dll; do 8094 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" && 8095 test -f "$ac_im_libdir/libX11.$ac_extension"; then 8096 ac_im_usrlibdir=$ac_im_libdir; break 8097 fi 8098 done 8099 # Screen out bogus values from the imake configuration. They are 8100 # bogus both because they are the default anyway, and because 8101 # using them would break gcc on systems where it needs fixed includes. 8102 case $ac_im_incroot in 8103 /usr/include) ac_x_includes= ;; 8104 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;; 8105 esac 8106 case $ac_im_usrlibdir in 8107 /usr/lib | /usr/lib64 | /lib | /lib64) ;; 8108 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;; 8109 esac 8110 fi 8111 cd .. 8112 rm -f -r conftest.dir 8113fi 8114 8115 # Standard set of common directories for X headers. 8116# Check X11 before X11Rn because it is often a symlink to the current release. 8117ac_x_header_dirs=' 8118/usr/X11/include 8119/usr/X11R7/include 8120/usr/X11R6/include 8121/usr/X11R5/include 8122/usr/X11R4/include 8123 8124/usr/include/X11 8125/usr/include/X11R7 8126/usr/include/X11R6 8127/usr/include/X11R5 8128/usr/include/X11R4 8129 8130/usr/local/X11/include 8131/usr/local/X11R7/include 8132/usr/local/X11R6/include 8133/usr/local/X11R5/include 8134/usr/local/X11R4/include 8135 8136/usr/local/include/X11 8137/usr/local/include/X11R7 8138/usr/local/include/X11R6 8139/usr/local/include/X11R5 8140/usr/local/include/X11R4 8141 8142/opt/X11/include 8143 8144/usr/X386/include 8145/usr/x386/include 8146/usr/XFree86/include/X11 8147 8148/usr/include 8149/usr/local/include 8150/usr/unsupported/include 8151/usr/athena/include 8152/usr/local/x11r5/include 8153/usr/lpp/Xamples/include 8154 8155/usr/openwin/include 8156/usr/openwin/share/include' 8157 8158if test "$ac_x_includes" = no; then 8159 # Guess where to find include files, by looking for Xlib.h. 8160 # First, try using that file with no special directory specified. 8161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8162/* end confdefs.h. */ 8163#include <X11/Xlib.h> 8164_ACEOF 8165if ac_fn_c_try_cpp "$LINENO" 8166then : 8167 # We can compile using X headers with no special include directory. 8168ac_x_includes= 8169else $as_nop 8170 for ac_dir in $ac_x_header_dirs; do 8171 if test -r "$ac_dir/X11/Xlib.h"; then 8172 ac_x_includes=$ac_dir 8173 break 8174 fi 8175done 8176fi 8177rm -f conftest.err conftest.i conftest.$ac_ext 8178fi # $ac_x_includes = no 8179 8180if test "$ac_x_libraries" = no; then 8181 # Check for the libraries. 8182 # See if we find them without any special options. 8183 # Don't add to $LIBS permanently. 8184 ac_save_LIBS=$LIBS 8185 LIBS="-lX11 $LIBS" 8186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8187/* end confdefs.h. */ 8188#include <X11/Xlib.h> 8189int 8190main (void) 8191{ 8192XrmInitialize () 8193 ; 8194 return 0; 8195} 8196_ACEOF 8197if ac_fn_c_try_link "$LINENO" 8198then : 8199 LIBS=$ac_save_LIBS 8200# We can link X programs with no special library path. 8201ac_x_libraries= 8202else $as_nop 8203 LIBS=$ac_save_LIBS 8204for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` 8205do 8206 # Don't even attempt the hair of trying to link an X program! 8207 for ac_extension in a so sl dylib la dll; do 8208 if test -r "$ac_dir/libX11.$ac_extension"; then 8209 ac_x_libraries=$ac_dir 8210 break 2 8211 fi 8212 done 8213done 8214fi 8215rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8216 conftest$ac_exeext conftest.$ac_ext 8217fi # $ac_x_libraries = no 8218 8219fi 8220# Record the results. 8221case $ac_x_includes,$ac_x_libraries in #( 8222 no,* | *,no | *\'*) : 8223 # Didn't find X, or a directory has "'" in its name. 8224 ac_cv_have_x="have_x=no" ;; #( 8225 *) : 8226 # Record where we found X for the cache. 8227 ac_cv_have_x="have_x=yes\ 8228 ac_x_includes='$ac_x_includes'\ 8229 ac_x_libraries='$ac_x_libraries'" ;; 8230esac 8231fi 8232;; #( 8233 *) have_x=yes;; 8234 esac 8235 eval "$ac_cv_have_x" 8236fi # $with_x != no 8237 8238if test "$have_x" != yes; then 8239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 8240printf "%s\n" "$have_x" >&6; } 8241 no_x=yes 8242else 8243 # If each of the values was on the command line, it overrides each guess. 8244 test "x$x_includes" = xNONE && x_includes=$ac_x_includes 8245 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries 8246 # Update the cache value to reflect the command line values. 8247 ac_cv_have_x="have_x=yes\ 8248 ac_x_includes='$x_includes'\ 8249 ac_x_libraries='$x_libraries'" 8250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 8251printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; } 8252fi 8253 8254if test "$no_x" = yes; then 8255 # Not all programs may use this symbol, but it does not hurt to define it. 8256 8257printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h 8258 8259 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= 8260else 8261 if test -n "$x_includes"; then 8262 X_CFLAGS="$X_CFLAGS -I$x_includes" 8263 fi 8264 8265 # It would also be nice to do this for all -L options, not just this one. 8266 if test -n "$x_libraries"; then 8267 X_LIBS="$X_LIBS -L$x_libraries" 8268 # For Solaris; some versions of Sun CC require a space after -R and 8269 # others require no space. Words are not sufficient . . . . 8270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 8271printf %s "checking whether -R must be followed by a space... " >&6; } 8272 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" 8273 ac_xsave_c_werror_flag=$ac_c_werror_flag 8274 ac_c_werror_flag=yes 8275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8276/* end confdefs.h. */ 8277 8278int 8279main (void) 8280{ 8281 8282 ; 8283 return 0; 8284} 8285_ACEOF 8286if ac_fn_c_try_link "$LINENO" 8287then : 8288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 8289printf "%s\n" "no" >&6; } 8290 X_LIBS="$X_LIBS -R$x_libraries" 8291else $as_nop 8292 LIBS="$ac_xsave_LIBS -R $x_libraries" 8293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8294/* end confdefs.h. */ 8295 8296int 8297main (void) 8298{ 8299 8300 ; 8301 return 0; 8302} 8303_ACEOF 8304if ac_fn_c_try_link "$LINENO" 8305then : 8306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 8307printf "%s\n" "yes" >&6; } 8308 X_LIBS="$X_LIBS -R $x_libraries" 8309else $as_nop 8310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 8311printf "%s\n" "neither works" >&6; } 8312fi 8313rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8314 conftest$ac_exeext conftest.$ac_ext 8315fi 8316rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8317 conftest$ac_exeext conftest.$ac_ext 8318 ac_c_werror_flag=$ac_xsave_c_werror_flag 8319 LIBS=$ac_xsave_LIBS 8320 fi 8321 8322 # Check for system-dependent libraries X programs must link with. 8323 # Do this before checking for the system-independent R6 libraries 8324 # (-lICE), since we may need -lsocket or whatever for X linking. 8325 8326 if test "$ISC" = yes; then 8327 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet" 8328 else 8329 # Martyn Johnson says this is needed for Ultrix, if the X 8330 # libraries were built with DECnet support. And Karl Berry says 8331 # the Alpha needs dnet_stub (dnet does not exist). 8332 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" 8333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8334/* end confdefs.h. */ 8335 8336/* Override any GCC internal prototype to avoid an error. 8337 Use char because int might match the return type of a GCC 8338 builtin and then its argument prototype would still apply. */ 8339char XOpenDisplay (); 8340int 8341main (void) 8342{ 8343return XOpenDisplay (); 8344 ; 8345 return 0; 8346} 8347_ACEOF 8348if ac_fn_c_try_link "$LINENO" 8349then : 8350 8351else $as_nop 8352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 8353printf %s "checking for dnet_ntoa in -ldnet... " >&6; } 8354if test ${ac_cv_lib_dnet_dnet_ntoa+y} 8355then : 8356 printf %s "(cached) " >&6 8357else $as_nop 8358 ac_check_lib_save_LIBS=$LIBS 8359LIBS="-ldnet $LIBS" 8360cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8361/* end confdefs.h. */ 8362 8363/* Override any GCC internal prototype to avoid an error. 8364 Use char because int might match the return type of a GCC 8365 builtin and then its argument prototype would still apply. */ 8366char dnet_ntoa (); 8367int 8368main (void) 8369{ 8370return dnet_ntoa (); 8371 ; 8372 return 0; 8373} 8374_ACEOF 8375if ac_fn_c_try_link "$LINENO" 8376then : 8377 ac_cv_lib_dnet_dnet_ntoa=yes 8378else $as_nop 8379 ac_cv_lib_dnet_dnet_ntoa=no 8380fi 8381rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8382 conftest$ac_exeext conftest.$ac_ext 8383LIBS=$ac_check_lib_save_LIBS 8384fi 8385{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 8386printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; } 8387if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes 8388then : 8389 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" 8390fi 8391 8392 if test $ac_cv_lib_dnet_dnet_ntoa = no; then 8393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 8394printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; } 8395if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y} 8396then : 8397 printf %s "(cached) " >&6 8398else $as_nop 8399 ac_check_lib_save_LIBS=$LIBS 8400LIBS="-ldnet_stub $LIBS" 8401cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8402/* end confdefs.h. */ 8403 8404/* Override any GCC internal prototype to avoid an error. 8405 Use char because int might match the return type of a GCC 8406 builtin and then its argument prototype would still apply. */ 8407char dnet_ntoa (); 8408int 8409main (void) 8410{ 8411return dnet_ntoa (); 8412 ; 8413 return 0; 8414} 8415_ACEOF 8416if ac_fn_c_try_link "$LINENO" 8417then : 8418 ac_cv_lib_dnet_stub_dnet_ntoa=yes 8419else $as_nop 8420 ac_cv_lib_dnet_stub_dnet_ntoa=no 8421fi 8422rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8423 conftest$ac_exeext conftest.$ac_ext 8424LIBS=$ac_check_lib_save_LIBS 8425fi 8426{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 8427printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } 8428if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes 8429then : 8430 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" 8431fi 8432 8433 fi 8434fi 8435rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8436 conftest$ac_exeext conftest.$ac_ext 8437 LIBS="$ac_xsave_LIBS" 8438 8439 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, 8440 # to get the SysV transport functions. 8441 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4) 8442 # needs -lnsl. 8443 # The nsl library prevents programs from opening the X display 8444 # on Irix 5.2, according to T.E. Dickey. 8445 # The functions gethostbyname, getservbyname, and inet_addr are 8446 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. 8447 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" 8448if test "x$ac_cv_func_gethostbyname" = xyes 8449then : 8450 8451fi 8452 8453 if test $ac_cv_func_gethostbyname = no; then 8454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 8455printf %s "checking for gethostbyname in -lnsl... " >&6; } 8456if test ${ac_cv_lib_nsl_gethostbyname+y} 8457then : 8458 printf %s "(cached) " >&6 8459else $as_nop 8460 ac_check_lib_save_LIBS=$LIBS 8461LIBS="-lnsl $LIBS" 8462cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8463/* end confdefs.h. */ 8464 8465/* Override any GCC internal prototype to avoid an error. 8466 Use char because int might match the return type of a GCC 8467 builtin and then its argument prototype would still apply. */ 8468char gethostbyname (); 8469int 8470main (void) 8471{ 8472return gethostbyname (); 8473 ; 8474 return 0; 8475} 8476_ACEOF 8477if ac_fn_c_try_link "$LINENO" 8478then : 8479 ac_cv_lib_nsl_gethostbyname=yes 8480else $as_nop 8481 ac_cv_lib_nsl_gethostbyname=no 8482fi 8483rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8484 conftest$ac_exeext conftest.$ac_ext 8485LIBS=$ac_check_lib_save_LIBS 8486fi 8487{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 8488printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; } 8489if test "x$ac_cv_lib_nsl_gethostbyname" = xyes 8490then : 8491 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" 8492fi 8493 8494 if test $ac_cv_lib_nsl_gethostbyname = no; then 8495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 8496printf %s "checking for gethostbyname in -lbsd... " >&6; } 8497if test ${ac_cv_lib_bsd_gethostbyname+y} 8498then : 8499 printf %s "(cached) " >&6 8500else $as_nop 8501 ac_check_lib_save_LIBS=$LIBS 8502LIBS="-lbsd $LIBS" 8503cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8504/* end confdefs.h. */ 8505 8506/* Override any GCC internal prototype to avoid an error. 8507 Use char because int might match the return type of a GCC 8508 builtin and then its argument prototype would still apply. */ 8509char gethostbyname (); 8510int 8511main (void) 8512{ 8513return gethostbyname (); 8514 ; 8515 return 0; 8516} 8517_ACEOF 8518if ac_fn_c_try_link "$LINENO" 8519then : 8520 ac_cv_lib_bsd_gethostbyname=yes 8521else $as_nop 8522 ac_cv_lib_bsd_gethostbyname=no 8523fi 8524rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8525 conftest$ac_exeext conftest.$ac_ext 8526LIBS=$ac_check_lib_save_LIBS 8527fi 8528{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 8529printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; } 8530if test "x$ac_cv_lib_bsd_gethostbyname" = xyes 8531then : 8532 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" 8533fi 8534 8535 fi 8536 fi 8537 8538 # lieder@skyler.mavd.honeywell.com says without -lsocket, 8539 # socket/setsockopt and other routines are undefined under SCO ODT 8540 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary 8541 # on later versions), says Simon Leinen: it contains gethostby* 8542 # variants that don't use the name server (or something). -lsocket 8543 # must be given before -lnsl if both are needed. We assume that 8544 # if connect needs -lnsl, so does gethostbyname. 8545 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" 8546if test "x$ac_cv_func_connect" = xyes 8547then : 8548 8549fi 8550 8551 if test $ac_cv_func_connect = no; then 8552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 8553printf %s "checking for connect in -lsocket... " >&6; } 8554if test ${ac_cv_lib_socket_connect+y} 8555then : 8556 printf %s "(cached) " >&6 8557else $as_nop 8558 ac_check_lib_save_LIBS=$LIBS 8559LIBS="-lsocket $X_EXTRA_LIBS $LIBS" 8560cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8561/* end confdefs.h. */ 8562 8563/* Override any GCC internal prototype to avoid an error. 8564 Use char because int might match the return type of a GCC 8565 builtin and then its argument prototype would still apply. */ 8566char connect (); 8567int 8568main (void) 8569{ 8570return connect (); 8571 ; 8572 return 0; 8573} 8574_ACEOF 8575if ac_fn_c_try_link "$LINENO" 8576then : 8577 ac_cv_lib_socket_connect=yes 8578else $as_nop 8579 ac_cv_lib_socket_connect=no 8580fi 8581rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8582 conftest$ac_exeext conftest.$ac_ext 8583LIBS=$ac_check_lib_save_LIBS 8584fi 8585{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 8586printf "%s\n" "$ac_cv_lib_socket_connect" >&6; } 8587if test "x$ac_cv_lib_socket_connect" = xyes 8588then : 8589 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" 8590fi 8591 8592 fi 8593 8594 # Guillermo Gomez says -lposix is necessary on A/UX. 8595 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove" 8596if test "x$ac_cv_func_remove" = xyes 8597then : 8598 8599fi 8600 8601 if test $ac_cv_func_remove = no; then 8602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 8603printf %s "checking for remove in -lposix... " >&6; } 8604if test ${ac_cv_lib_posix_remove+y} 8605then : 8606 printf %s "(cached) " >&6 8607else $as_nop 8608 ac_check_lib_save_LIBS=$LIBS 8609LIBS="-lposix $LIBS" 8610cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8611/* end confdefs.h. */ 8612 8613/* Override any GCC internal prototype to avoid an error. 8614 Use char because int might match the return type of a GCC 8615 builtin and then its argument prototype would still apply. */ 8616char remove (); 8617int 8618main (void) 8619{ 8620return remove (); 8621 ; 8622 return 0; 8623} 8624_ACEOF 8625if ac_fn_c_try_link "$LINENO" 8626then : 8627 ac_cv_lib_posix_remove=yes 8628else $as_nop 8629 ac_cv_lib_posix_remove=no 8630fi 8631rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8632 conftest$ac_exeext conftest.$ac_ext 8633LIBS=$ac_check_lib_save_LIBS 8634fi 8635{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 8636printf "%s\n" "$ac_cv_lib_posix_remove" >&6; } 8637if test "x$ac_cv_lib_posix_remove" = xyes 8638then : 8639 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" 8640fi 8641 8642 fi 8643 8644 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. 8645 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" 8646if test "x$ac_cv_func_shmat" = xyes 8647then : 8648 8649fi 8650 8651 if test $ac_cv_func_shmat = no; then 8652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 8653printf %s "checking for shmat in -lipc... " >&6; } 8654if test ${ac_cv_lib_ipc_shmat+y} 8655then : 8656 printf %s "(cached) " >&6 8657else $as_nop 8658 ac_check_lib_save_LIBS=$LIBS 8659LIBS="-lipc $LIBS" 8660cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8661/* end confdefs.h. */ 8662 8663/* Override any GCC internal prototype to avoid an error. 8664 Use char because int might match the return type of a GCC 8665 builtin and then its argument prototype would still apply. */ 8666char shmat (); 8667int 8668main (void) 8669{ 8670return shmat (); 8671 ; 8672 return 0; 8673} 8674_ACEOF 8675if ac_fn_c_try_link "$LINENO" 8676then : 8677 ac_cv_lib_ipc_shmat=yes 8678else $as_nop 8679 ac_cv_lib_ipc_shmat=no 8680fi 8681rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8682 conftest$ac_exeext conftest.$ac_ext 8683LIBS=$ac_check_lib_save_LIBS 8684fi 8685{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 8686printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; } 8687if test "x$ac_cv_lib_ipc_shmat" = xyes 8688then : 8689 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" 8690fi 8691 8692 fi 8693 fi 8694 8695 # Check for libraries that X11R6 Xt/Xaw programs need. 8696 ac_save_LDFLAGS=$LDFLAGS 8697 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries" 8698 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to 8699 # check for ICE first), but we must link in the order -lSM -lICE or 8700 # we get undefined symbols. So assume we have SM if we have ICE. 8701 # These have to be linked with before -lX11, unlike the other 8702 # libraries we check for below, so use a different variable. 8703 # John Interrante, Karl Berry 8704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 8705printf %s "checking for IceConnectionNumber in -lICE... " >&6; } 8706if test ${ac_cv_lib_ICE_IceConnectionNumber+y} 8707then : 8708 printf %s "(cached) " >&6 8709else $as_nop 8710 ac_check_lib_save_LIBS=$LIBS 8711LIBS="-lICE $X_EXTRA_LIBS $LIBS" 8712cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8713/* end confdefs.h. */ 8714 8715/* Override any GCC internal prototype to avoid an error. 8716 Use char because int might match the return type of a GCC 8717 builtin and then its argument prototype would still apply. */ 8718char IceConnectionNumber (); 8719int 8720main (void) 8721{ 8722return IceConnectionNumber (); 8723 ; 8724 return 0; 8725} 8726_ACEOF 8727if ac_fn_c_try_link "$LINENO" 8728then : 8729 ac_cv_lib_ICE_IceConnectionNumber=yes 8730else $as_nop 8731 ac_cv_lib_ICE_IceConnectionNumber=no 8732fi 8733rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8734 conftest$ac_exeext conftest.$ac_ext 8735LIBS=$ac_check_lib_save_LIBS 8736fi 8737{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 8738printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } 8739if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes 8740then : 8741 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" 8742fi 8743 8744 LDFLAGS=$ac_save_LDFLAGS 8745 8746fi 8747 8748 8749 8750 8751 LIBX11_CFLAGS= LIBX11_LDFLAGS= LIBX11_LIBS= 8752 if test x"$no_x" != x"yes"; then 8753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lX11" >&5 8754printf %s "checking for main in -lX11... " >&6; } 8755if test ${ac_cv_lib_X11_main+y} 8756then : 8757 printf %s "(cached) " >&6 8758else $as_nop 8759 ac_check_lib_save_LIBS=$LIBS 8760LIBS="-lX11 $X_CFLAGS $X_PRE_LIBS $X_EXTRA_LIBS $X_LIBS $LIBS" 8761cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8762/* end confdefs.h. */ 8763 8764 8765int 8766main (void) 8767{ 8768return main (); 8769 ; 8770 return 0; 8771} 8772_ACEOF 8773if ac_fn_c_try_link "$LINENO" 8774then : 8775 ac_cv_lib_X11_main=yes 8776else $as_nop 8777 ac_cv_lib_X11_main=no 8778fi 8779rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8780 conftest$ac_exeext conftest.$ac_ext 8781LIBS=$ac_check_lib_save_LIBS 8782fi 8783{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_main" >&5 8784printf "%s\n" "$ac_cv_lib_X11_main" >&6; } 8785if test "x$ac_cv_lib_X11_main" = xyes 8786then : 8787 8788 8789printf "%s\n" "#define HAVE_LIBX11 1" >>confdefs.h 8790 8791 LIBX11_CFLAGS="$X_CFLAGS" 8792 for option in $X_PRE_LIBS $X_EXTRA_LIBS $X_LIBS; do 8793 case "$option" in 8794 -L*) 8795 path=`echo $option | sed 's/^-L//'` 8796 if test x"$path" != x""; then 8797 LIBX11_LDFLAGS="$LIBX11_LDFLAGS -L$path" 8798 fi 8799 ;; 8800 *) 8801 LIBX11_LIBS="$LIBX11_LIBS $option" 8802 ;; 8803 esac 8804 done 8805 if ! echo $LIBX11_LIBS | grep -- '-lX11' >/dev/null; then 8806 LIBX11_LIBS="$LIBX11_LIBS -lX11" 8807 fi 8808 8809fi 8810 8811 fi 8812 8813 8814 8815 8816 8817 for ac_header in magic.h 8818do : 8819 ac_fn_c_check_header_compile "$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default" 8820if test "x$ac_cv_header_magic_h" = xyes 8821then : 8822 printf "%s\n" "#define HAVE_MAGIC_H 1" >>confdefs.h 8823 8824else $as_nop 8825 libmagic=false 8826fi 8827 8828done 8829{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5 8830printf %s "checking for magic_open in -lmagic... " >&6; } 8831if test ${ac_cv_lib_magic_magic_open+y} 8832then : 8833 printf %s "(cached) " >&6 8834else $as_nop 8835 ac_check_lib_save_LIBS=$LIBS 8836LIBS="-lmagic $LIBS" 8837cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8838/* end confdefs.h. */ 8839 8840/* Override any GCC internal prototype to avoid an error. 8841 Use char because int might match the return type of a GCC 8842 builtin and then its argument prototype would still apply. */ 8843char magic_open (); 8844int 8845main (void) 8846{ 8847return magic_open (); 8848 ; 8849 return 0; 8850} 8851_ACEOF 8852if ac_fn_c_try_link "$LINENO" 8853then : 8854 ac_cv_lib_magic_magic_open=yes 8855else $as_nop 8856 ac_cv_lib_magic_magic_open=no 8857fi 8858rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8859 conftest$ac_exeext conftest.$ac_ext 8860LIBS=$ac_check_lib_save_LIBS 8861fi 8862{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5 8863printf "%s\n" "$ac_cv_lib_magic_magic_open" >&6; } 8864if test "x$ac_cv_lib_magic_magic_open" = xyes 8865then : 8866 MAGIC_LIBS="-lmagic" 8867else $as_nop 8868 libmagic=false 8869fi 8870 8871 8872 8873 8874 8875 # Make sure we can run config.sub. 8876$SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 || 8877 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5 8878 8879{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 8880printf %s "checking build system type... " >&6; } 8881if test ${ac_cv_build+y} 8882then : 8883 printf %s "(cached) " >&6 8884else $as_nop 8885 ac_build_alias=$build_alias 8886test "x$ac_build_alias" = x && 8887 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"` 8888test "x$ac_build_alias" = x && 8889 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 8890ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` || 8891 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5 8892 8893fi 8894{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 8895printf "%s\n" "$ac_cv_build" >&6; } 8896case $ac_cv_build in 8897*-*-*) ;; 8898*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 8899esac 8900build=$ac_cv_build 8901ac_save_IFS=$IFS; IFS='-' 8902set x $ac_cv_build 8903shift 8904build_cpu=$1 8905build_vendor=$2 8906shift; shift 8907# Remember, the first character of IFS is used to create $*, 8908# except with old shells: 8909build_os=$* 8910IFS=$ac_save_IFS 8911case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac 8912 8913 8914{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 8915printf %s "checking host system type... " >&6; } 8916if test ${ac_cv_host+y} 8917then : 8918 printf %s "(cached) " >&6 8919else $as_nop 8920 if test "x$host_alias" = x; then 8921 ac_cv_host=$ac_cv_build 8922else 8923 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` || 8924 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5 8925fi 8926 8927fi 8928{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 8929printf "%s\n" "$ac_cv_host" >&6; } 8930case $ac_cv_host in 8931*-*-*) ;; 8932*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 8933esac 8934host=$ac_cv_host 8935ac_save_IFS=$IFS; IFS='-' 8936set x $ac_cv_host 8937shift 8938host_cpu=$1 8939host_vendor=$2 8940shift; shift 8941# Remember, the first character of IFS is used to create $*, 8942# except with old shells: 8943host_os=$* 8944IFS=$ac_save_IFS 8945case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac 8946 8947 8948LIBM= 8949case $host in 8950*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*) 8951 # These system don't have libm, or don't need it 8952 ;; 8953*-ncr-sysv4.3*) 8954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5 8955printf %s "checking for _mwvalidcheckl in -lmw... " >&6; } 8956if test ${ac_cv_lib_mw__mwvalidcheckl+y} 8957then : 8958 printf %s "(cached) " >&6 8959else $as_nop 8960 ac_check_lib_save_LIBS=$LIBS 8961LIBS="-lmw $LIBS" 8962cat confdefs.h - <<_ACEOF >conftest.$ac_ext 8963/* end confdefs.h. */ 8964 8965/* Override any GCC internal prototype to avoid an error. 8966 Use char because int might match the return type of a GCC 8967 builtin and then its argument prototype would still apply. */ 8968char _mwvalidcheckl (); 8969int 8970main (void) 8971{ 8972return _mwvalidcheckl (); 8973 ; 8974 return 0; 8975} 8976_ACEOF 8977if ac_fn_c_try_link "$LINENO" 8978then : 8979 ac_cv_lib_mw__mwvalidcheckl=yes 8980else $as_nop 8981 ac_cv_lib_mw__mwvalidcheckl=no 8982fi 8983rm -f core conftest.err conftest.$ac_objext conftest.beam \ 8984 conftest$ac_exeext conftest.$ac_ext 8985LIBS=$ac_check_lib_save_LIBS 8986fi 8987{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5 8988printf "%s\n" "$ac_cv_lib_mw__mwvalidcheckl" >&6; } 8989if test "x$ac_cv_lib_mw__mwvalidcheckl" = xyes 8990then : 8991 LIBM=-lmw 8992fi 8993 8994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 8995printf %s "checking for cos in -lm... " >&6; } 8996if test ${ac_cv_lib_m_cos+y} 8997then : 8998 printf %s "(cached) " >&6 8999else $as_nop 9000 ac_check_lib_save_LIBS=$LIBS 9001LIBS="-lm $LIBS" 9002cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9003/* end confdefs.h. */ 9004 9005/* Override any GCC internal prototype to avoid an error. 9006 Use char because int might match the return type of a GCC 9007 builtin and then its argument prototype would still apply. */ 9008char cos (); 9009int 9010main (void) 9011{ 9012return cos (); 9013 ; 9014 return 0; 9015} 9016_ACEOF 9017if ac_fn_c_try_link "$LINENO" 9018then : 9019 ac_cv_lib_m_cos=yes 9020else $as_nop 9021 ac_cv_lib_m_cos=no 9022fi 9023rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9024 conftest$ac_exeext conftest.$ac_ext 9025LIBS=$ac_check_lib_save_LIBS 9026fi 9027{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 9028printf "%s\n" "$ac_cv_lib_m_cos" >&6; } 9029if test "x$ac_cv_lib_m_cos" = xyes 9030then : 9031 LIBM="$LIBM -lm" 9032fi 9033 9034 ;; 9035*) 9036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 9037printf %s "checking for cos in -lm... " >&6; } 9038if test ${ac_cv_lib_m_cos+y} 9039then : 9040 printf %s "(cached) " >&6 9041else $as_nop 9042 ac_check_lib_save_LIBS=$LIBS 9043LIBS="-lm $LIBS" 9044cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9045/* end confdefs.h. */ 9046 9047/* Override any GCC internal prototype to avoid an error. 9048 Use char because int might match the return type of a GCC 9049 builtin and then its argument prototype would still apply. */ 9050char cos (); 9051int 9052main (void) 9053{ 9054return cos (); 9055 ; 9056 return 0; 9057} 9058_ACEOF 9059if ac_fn_c_try_link "$LINENO" 9060then : 9061 ac_cv_lib_m_cos=yes 9062else $as_nop 9063 ac_cv_lib_m_cos=no 9064fi 9065rm -f core conftest.err conftest.$ac_objext conftest.beam \ 9066 conftest$ac_exeext conftest.$ac_ext 9067LIBS=$ac_check_lib_save_LIBS 9068fi 9069{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 9070printf "%s\n" "$ac_cv_lib_m_cos" >&6; } 9071if test "x$ac_cv_lib_m_cos" = xyes 9072then : 9073 LIBM=-lm 9074fi 9075 9076 ;; 9077esac 9078 9079 9080 9081 9082 9083 # Check whether --enable-debug was given. 9084if test ${enable_debug+y} 9085then : 9086 enableval=$enable_debug; enable_debug=$enableval 9087else $as_nop 9088 enable_debug=minimum 9089fi 9090 9091 9092 xdt_cv_additional_COMMON_FLAGS="-Wall -Wextra \ 9093 -Wno-missing-field-initializers \ 9094 -Wno-unused-parameter \ 9095 -Wmissing-declarations \ 9096 -Wmissing-noreturn -Wpointer-arith \ 9097 -Wcast-align -Wformat -Wformat-security -Wformat-y2k \ 9098 -Winit-self -Wmissing-include-dirs -Wundef \ 9099 -Wredundant-decls" 9100 9101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether to build with debugging support" >&5 9102printf %s "checking whether to build with debugging support... " >&6; } 9103 if test x"$enable_debug" = x"full" -o x"$enable_debug" = x"yes"; then 9104 9105printf "%s\n" "#define DEBUG 1" >>confdefs.h 9106 9107 9108 CPPFLAGS="$CPPFLAGS" 9109 9110 if test x`uname` = x"Linux"; then 9111 xdt_cv_additional_COMMON_FLAGS="$xdt_cv_additional_COMMON_FLAGS -fstack-protector" 9112 fi 9113 9114 if test x"$enable_debug" = x"full"; then 9115 9116printf "%s\n" "#define DEBUG_TRACE 1" >>confdefs.h 9117 9118 xdt_cv_additional_COMMON_FLAGS="$xdt_cv_additional_COMMON_FLAGS -O0 -g" 9119 CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG" 9120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: full" >&5 9121printf "%s\n" "full" >&6; } 9122 else 9123 xdt_cv_additional_COMMON_FLAGS="$xdt_cv_additional_COMMON_FLAGS -g -Wshadow" 9124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 9125printf "%s\n" "yes" >&6; } 9126 fi 9127 else 9128 xdt_cv_additional_COMMON_FLAGS="$xdt_cv_additional_COMMON_FLAGS -Wshadow" 9129 CPPFLAGS="$CPPFLAGS -DNDEBUG" 9130 9131 if test x"$enable_debug" = x"no"; then 9132 CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT" 9133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5 9134printf "%s\n" "no" >&6; } 9135 else 9136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: minimum" >&5 9137printf "%s\n" "minimum" >&6; } 9138 fi 9139 fi 9140 9141 xdt_cv_additional_CFLAGS="$xdt_cv_additional_COMMON_FLAGS \ 9142 -Wdeclaration-after-statement \ 9143 -Wnested-externs \ 9144 -Wold-style-definition" 9145 xdt_cv_additional_CXXFLAGS="$xdt_cv_additional_COMMON_FLAGS" 9146 9147 9148 for flag in $xdt_cv_additional_CFLAGS; do 9149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5 9150printf %s "checking if $CC supports $flag... " >&6; } 9151 saved_CFLAGS="$CFLAGS" 9152 CFLAGS="$CFLAGS $flag" 9153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9154/* end confdefs.h. */ 9155 9156_ACEOF 9157if ac_fn_c_try_compile "$LINENO" 9158then : 9159 flag_supported=yes 9160else $as_nop 9161 flag_supported=no 9162fi 9163rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9164 CFLAGS="$saved_CFLAGS" 9165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5 9166printf "%s\n" "$flag_supported" >&6; } 9167 9168 if test "x$flag_supported" = "xyes"; then 9169 supported_CFLAGS="$supported_CFLAGS $flag" 9170 fi 9171 done 9172 9173 9174 for flag in $xdt_cv_additional_CXXFLAGS; do 9175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports $flag" >&5 9176printf %s "checking if $CC supports $flag... " >&6; } 9177 saved_CFLAGS="$CFLAGS" 9178 CFLAGS="$CFLAGS $flag" 9179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 9180/* end confdefs.h. */ 9181 9182_ACEOF 9183if ac_fn_c_try_compile "$LINENO" 9184then : 9185 flag_supported=yes 9186else $as_nop 9187 flag_supported=no 9188fi 9189rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext 9190 CFLAGS="$saved_CFLAGS" 9191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $flag_supported" >&5 9192printf "%s\n" "$flag_supported" >&6; } 9193 9194 if test "x$flag_supported" = "xyes"; then 9195 supported_CXXFLAGS="$supported_CXXFLAGS $flag" 9196 fi 9197 done 9198 9199 9200 CFLAGS="$CFLAGS $supported_CFLAGS" 9201 CXXFLAGS="$CXXFLAGS $supported_CXXFLAGS" 9202 9203 9204ac_config_files="$ac_config_files Makefile po/Makefile.in src/Makefile icons/Makefile icons/16x16/Makefile icons/24x24/Makefile icons/32x32/Makefile icons/48x48/Makefile icons/128x128/Makefile icons/scalable/Makefile" 9205 9206cat >confcache <<\_ACEOF 9207# This file is a shell script that caches the results of configure 9208# tests run on this system so they can be shared between configure 9209# scripts and configure runs, see configure's option --config-cache. 9210# It is not useful on other systems. If it contains results you don't 9211# want to keep, you may remove or edit it. 9212# 9213# config.status only pays attention to the cache file if you give it 9214# the --recheck option to rerun configure. 9215# 9216# `ac_cv_env_foo' variables (set or unset) will be overridden when 9217# loading this file, other *unset* `ac_cv_foo' will be assigned the 9218# following values. 9219 9220_ACEOF 9221 9222# The following way of writing the cache mishandles newlines in values, 9223# but we know of no workaround that is simple, portable, and efficient. 9224# So, we kill variables containing newlines. 9225# Ultrix sh set writes to stderr and can't be redirected directly, 9226# and sets the high bit in the cache file unless we assign to the vars. 9227( 9228 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 9229 eval ac_val=\$$ac_var 9230 case $ac_val in #( 9231 *${as_nl}*) 9232 case $ac_var in #( 9233 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 9234printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 9235 esac 9236 case $ac_var in #( 9237 _ | IFS | as_nl) ;; #( 9238 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 9239 *) { eval $ac_var=; unset $ac_var;} ;; 9240 esac ;; 9241 esac 9242 done 9243 9244 (set) 2>&1 | 9245 case $as_nl`(ac_space=' '; set) 2>&1` in #( 9246 *${as_nl}ac_space=\ *) 9247 # `set' does not quote correctly, so add quotes: double-quote 9248 # substitution turns \\\\ into \\, and sed turns \\ into \. 9249 sed -n \ 9250 "s/'/'\\\\''/g; 9251 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 9252 ;; #( 9253 *) 9254 # `set' quotes correctly as required by POSIX, so do not add quotes. 9255 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 9256 ;; 9257 esac | 9258 sort 9259) | 9260 sed ' 9261 /^ac_cv_env_/b end 9262 t clear 9263 :clear 9264 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/ 9265 t end 9266 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 9267 :end' >>confcache 9268if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 9269 if test -w "$cache_file"; then 9270 if test "x$cache_file" != "x/dev/null"; then 9271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 9272printf "%s\n" "$as_me: updating cache $cache_file" >&6;} 9273 if test ! -f "$cache_file" || test -h "$cache_file"; then 9274 cat confcache >"$cache_file" 9275 else 9276 case $cache_file in #( 9277 */* | ?:*) 9278 mv -f confcache "$cache_file"$$ && 9279 mv -f "$cache_file"$$ "$cache_file" ;; #( 9280 *) 9281 mv -f confcache "$cache_file" ;; 9282 esac 9283 fi 9284 fi 9285 else 9286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 9287printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;} 9288 fi 9289fi 9290rm -f confcache 9291 9292test "x$prefix" = xNONE && prefix=$ac_default_prefix 9293# Let make expand exec_prefix. 9294test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 9295 9296DEFS=-DHAVE_CONFIG_H 9297 9298ac_libobjs= 9299ac_ltlibobjs= 9300U= 9301for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 9302 # 1. Remove the extension, and $U if already installed. 9303 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 9304 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"` 9305 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 9306 # will be set to the directory where LIBOBJS objects are built. 9307 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 9308 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 9309done 9310LIBOBJS=$ac_libobjs 9311 9312LTLIBOBJS=$ac_ltlibobjs 9313 9314 9315{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 9316printf %s "checking that generated files are newer than configure... " >&6; } 9317 if test -n "$am_sleep_pid"; then 9318 # Hide warnings about reused PIDs. 9319 wait $am_sleep_pid 2>/dev/null 9320 fi 9321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5 9322printf "%s\n" "done" >&6; } 9323 if test -n "$EXEEXT"; then 9324 am__EXEEXT_TRUE= 9325 am__EXEEXT_FALSE='#' 9326else 9327 am__EXEEXT_TRUE='#' 9328 am__EXEEXT_FALSE= 9329fi 9330 9331if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then 9332 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. 9333Usually this means the macro was only invoked conditionally." "$LINENO" 5 9334fi 9335if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 9336 as_fn_error $? "conditional \"AMDEP\" was never defined. 9337Usually this means the macro was only invoked conditionally." "$LINENO" 5 9338fi 9339if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 9340 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 9341Usually this means the macro was only invoked conditionally." "$LINENO" 5 9342fi 9343if test -z "${HAVE_CYGWIN_TRUE}" && test -z "${HAVE_CYGWIN_FALSE}"; then 9344 as_fn_error $? "conditional \"HAVE_CYGWIN\" was never defined. 9345Usually this means the macro was only invoked conditionally." "$LINENO" 5 9346fi 9347if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 9348 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 9349Usually this means the macro was only invoked conditionally." "$LINENO" 5 9350fi 9351 9352 ac_config_commands="$ac_config_commands po/stamp-it" 9353 9354 9355 9356: "${CONFIG_STATUS=./config.status}" 9357ac_write_fail=0 9358ac_clean_files_save=$ac_clean_files 9359ac_clean_files="$ac_clean_files $CONFIG_STATUS" 9360{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 9361printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;} 9362as_write_fail=0 9363cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 9364#! $SHELL 9365# Generated by $as_me. 9366# Run this file to recreate the current configuration. 9367# Compiler output produced by configure, useful for debugging 9368# configure, is in config.log if it exists. 9369 9370debug=false 9371ac_cs_recheck=false 9372ac_cs_silent=false 9373 9374SHELL=\${CONFIG_SHELL-$SHELL} 9375export SHELL 9376_ASEOF 9377cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 9378## -------------------- ## 9379## M4sh Initialization. ## 9380## -------------------- ## 9381 9382# Be more Bourne compatible 9383DUALCASE=1; export DUALCASE # for MKS sh 9384as_nop=: 9385if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1 9386then : 9387 emulate sh 9388 NULLCMD=: 9389 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 9390 # is contrary to our usage. Disable this feature. 9391 alias -g '${1+"$@"}'='"$@"' 9392 setopt NO_GLOB_SUBST 9393else $as_nop 9394 case `(set -o) 2>/dev/null` in #( 9395 *posix*) : 9396 set -o posix ;; #( 9397 *) : 9398 ;; 9399esac 9400fi 9401 9402 9403 9404# Reset variables that may have inherited troublesome values from 9405# the environment. 9406 9407# IFS needs to be set, to space, tab, and newline, in precisely that order. 9408# (If _AS_PATH_WALK were called with IFS unset, it would have the 9409# side effect of setting IFS to empty, thus disabling word splitting.) 9410# Quoting is to prevent editors from complaining about space-tab. 9411as_nl=' 9412' 9413export as_nl 9414IFS=" "" $as_nl" 9415 9416PS1='$ ' 9417PS2='> ' 9418PS4='+ ' 9419 9420# Ensure predictable behavior from utilities with locale-dependent output. 9421LC_ALL=C 9422export LC_ALL 9423LANGUAGE=C 9424export LANGUAGE 9425 9426# We cannot yet rely on "unset" to work, but we need these variables 9427# to be unset--not just set to an empty or harmless value--now, to 9428# avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct 9429# also avoids known problems related to "unset" and subshell syntax 9430# in other old shells (e.g. bash 2.01 and pdksh 5.2.14). 9431for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH 9432do eval test \${$as_var+y} \ 9433 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 9434done 9435 9436# Ensure that fds 0, 1, and 2 are open. 9437if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi 9438if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi 9439if (exec 3>&2) ; then :; else exec 2>/dev/null; fi 9440 9441# The user is always right. 9442if ${PATH_SEPARATOR+false} :; then 9443 PATH_SEPARATOR=: 9444 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 9445 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 9446 PATH_SEPARATOR=';' 9447 } 9448fi 9449 9450 9451# Find who we are. Look in the path if we contain no directory separator. 9452as_myself= 9453case $0 in #(( 9454 *[\\/]* ) as_myself=$0 ;; 9455 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 9456for as_dir in $PATH 9457do 9458 IFS=$as_save_IFS 9459 case $as_dir in #((( 9460 '') as_dir=./ ;; 9461 */) ;; 9462 *) as_dir=$as_dir/ ;; 9463 esac 9464 test -r "$as_dir$0" && as_myself=$as_dir$0 && break 9465 done 9466IFS=$as_save_IFS 9467 9468 ;; 9469esac 9470# We did not find ourselves, most probably we were run as `sh COMMAND' 9471# in which case we are not to be found in the path. 9472if test "x$as_myself" = x; then 9473 as_myself=$0 9474fi 9475if test ! -f "$as_myself"; then 9476 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 9477 exit 1 9478fi 9479 9480 9481 9482# as_fn_error STATUS ERROR [LINENO LOG_FD] 9483# ---------------------------------------- 9484# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 9485# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 9486# script with STATUS, using 1 if that was 0. 9487as_fn_error () 9488{ 9489 as_status=$1; test $as_status -eq 0 && as_status=1 9490 if test "$4"; then 9491 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 9492 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 9493 fi 9494 printf "%s\n" "$as_me: error: $2" >&2 9495 as_fn_exit $as_status 9496} # as_fn_error 9497 9498 9499 9500# as_fn_set_status STATUS 9501# ----------------------- 9502# Set $? to STATUS, without forking. 9503as_fn_set_status () 9504{ 9505 return $1 9506} # as_fn_set_status 9507 9508# as_fn_exit STATUS 9509# ----------------- 9510# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 9511as_fn_exit () 9512{ 9513 set +e 9514 as_fn_set_status $1 9515 exit $1 9516} # as_fn_exit 9517 9518# as_fn_unset VAR 9519# --------------- 9520# Portably unset VAR. 9521as_fn_unset () 9522{ 9523 { eval $1=; unset $1;} 9524} 9525as_unset=as_fn_unset 9526 9527# as_fn_append VAR VALUE 9528# ---------------------- 9529# Append the text in VALUE to the end of the definition contained in VAR. Take 9530# advantage of any shell optimizations that allow amortized linear growth over 9531# repeated appends, instead of the typical quadratic growth present in naive 9532# implementations. 9533if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null 9534then : 9535 eval 'as_fn_append () 9536 { 9537 eval $1+=\$2 9538 }' 9539else $as_nop 9540 as_fn_append () 9541 { 9542 eval $1=\$$1\$2 9543 } 9544fi # as_fn_append 9545 9546# as_fn_arith ARG... 9547# ------------------ 9548# Perform arithmetic evaluation on the ARGs, and store the result in the 9549# global $as_val. Take advantage of shells that can avoid forks. The arguments 9550# must be portable across $(()) and expr. 9551if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null 9552then : 9553 eval 'as_fn_arith () 9554 { 9555 as_val=$(( $* )) 9556 }' 9557else $as_nop 9558 as_fn_arith () 9559 { 9560 as_val=`expr "$@" || test $? -eq 1` 9561 } 9562fi # as_fn_arith 9563 9564 9565if expr a : '\(a\)' >/dev/null 2>&1 && 9566 test "X`expr 00001 : '.*\(...\)'`" = X001; then 9567 as_expr=expr 9568else 9569 as_expr=false 9570fi 9571 9572if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 9573 as_basename=basename 9574else 9575 as_basename=false 9576fi 9577 9578if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 9579 as_dirname=dirname 9580else 9581 as_dirname=false 9582fi 9583 9584as_me=`$as_basename -- "$0" || 9585$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 9586 X"$0" : 'X\(//\)$' \| \ 9587 X"$0" : 'X\(/\)' \| . 2>/dev/null || 9588printf "%s\n" X/"$0" | 9589 sed '/^.*\/\([^/][^/]*\)\/*$/{ 9590 s//\1/ 9591 q 9592 } 9593 /^X\/\(\/\/\)$/{ 9594 s//\1/ 9595 q 9596 } 9597 /^X\/\(\/\).*/{ 9598 s//\1/ 9599 q 9600 } 9601 s/.*/./; q'` 9602 9603# Avoid depending upon Character Ranges. 9604as_cr_letters='abcdefghijklmnopqrstuvwxyz' 9605as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 9606as_cr_Letters=$as_cr_letters$as_cr_LETTERS 9607as_cr_digits='0123456789' 9608as_cr_alnum=$as_cr_Letters$as_cr_digits 9609 9610 9611# Determine whether it's possible to make 'echo' print without a newline. 9612# These variables are no longer used directly by Autoconf, but are AC_SUBSTed 9613# for compatibility with existing Makefiles. 9614ECHO_C= ECHO_N= ECHO_T= 9615case `echo -n x` in #((((( 9616-n*) 9617 case `echo 'xy\c'` in 9618 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 9619 xy) ECHO_C='\c';; 9620 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 9621 ECHO_T=' ';; 9622 esac;; 9623*) 9624 ECHO_N='-n';; 9625esac 9626 9627# For backward compatibility with old third-party macros, we provide 9628# the shell variables $as_echo and $as_echo_n. New code should use 9629# AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively. 9630as_echo='printf %s\n' 9631as_echo_n='printf %s' 9632 9633rm -f conf$$ conf$$.exe conf$$.file 9634if test -d conf$$.dir; then 9635 rm -f conf$$.dir/conf$$.file 9636else 9637 rm -f conf$$.dir 9638 mkdir conf$$.dir 2>/dev/null 9639fi 9640if (echo >conf$$.file) 2>/dev/null; then 9641 if ln -s conf$$.file conf$$ 2>/dev/null; then 9642 as_ln_s='ln -s' 9643 # ... but there are two gotchas: 9644 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 9645 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 9646 # In both cases, we have to default to `cp -pR'. 9647 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 9648 as_ln_s='cp -pR' 9649 elif ln conf$$.file conf$$ 2>/dev/null; then 9650 as_ln_s=ln 9651 else 9652 as_ln_s='cp -pR' 9653 fi 9654else 9655 as_ln_s='cp -pR' 9656fi 9657rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 9658rmdir conf$$.dir 2>/dev/null 9659 9660 9661# as_fn_mkdir_p 9662# ------------- 9663# Create "$as_dir" as a directory, including parents if necessary. 9664as_fn_mkdir_p () 9665{ 9666 9667 case $as_dir in #( 9668 -*) as_dir=./$as_dir;; 9669 esac 9670 test -d "$as_dir" || eval $as_mkdir_p || { 9671 as_dirs= 9672 while :; do 9673 case $as_dir in #( 9674 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 9675 *) as_qdir=$as_dir;; 9676 esac 9677 as_dirs="'$as_qdir' $as_dirs" 9678 as_dir=`$as_dirname -- "$as_dir" || 9679$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 9680 X"$as_dir" : 'X\(//\)[^/]' \| \ 9681 X"$as_dir" : 'X\(//\)$' \| \ 9682 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 9683printf "%s\n" X"$as_dir" | 9684 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 9685 s//\1/ 9686 q 9687 } 9688 /^X\(\/\/\)[^/].*/{ 9689 s//\1/ 9690 q 9691 } 9692 /^X\(\/\/\)$/{ 9693 s//\1/ 9694 q 9695 } 9696 /^X\(\/\).*/{ 9697 s//\1/ 9698 q 9699 } 9700 s/.*/./; q'` 9701 test -d "$as_dir" && break 9702 done 9703 test -z "$as_dirs" || eval "mkdir $as_dirs" 9704 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 9705 9706 9707} # as_fn_mkdir_p 9708if mkdir -p . 2>/dev/null; then 9709 as_mkdir_p='mkdir -p "$as_dir"' 9710else 9711 test -d ./-p && rmdir ./-p 9712 as_mkdir_p=false 9713fi 9714 9715 9716# as_fn_executable_p FILE 9717# ----------------------- 9718# Test if FILE is an executable regular file. 9719as_fn_executable_p () 9720{ 9721 test -f "$1" && test -x "$1" 9722} # as_fn_executable_p 9723as_test_x='test -x' 9724as_executable_p=as_fn_executable_p 9725 9726# Sed expression to map a string onto a valid CPP name. 9727as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 9728 9729# Sed expression to map a string onto a valid variable name. 9730as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 9731 9732 9733exec 6>&1 9734## ----------------------------------- ## 9735## Main body of $CONFIG_STATUS script. ## 9736## ----------------------------------- ## 9737_ASEOF 9738test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 9739 9740cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9741# Save the log message, to keep $0 and so on meaningful, and to 9742# report actual input values of CONFIG_FILES etc. instead of their 9743# values after options handling. 9744ac_log=" 9745This file was extended by ristretto $as_me 0.12.1, which was 9746generated by GNU Autoconf 2.71. Invocation command line was 9747 9748 CONFIG_FILES = $CONFIG_FILES 9749 CONFIG_HEADERS = $CONFIG_HEADERS 9750 CONFIG_LINKS = $CONFIG_LINKS 9751 CONFIG_COMMANDS = $CONFIG_COMMANDS 9752 $ $0 $@ 9753 9754on `(hostname || uname -n) 2>/dev/null | sed 1q` 9755" 9756 9757_ACEOF 9758 9759case $ac_config_files in *" 9760"*) set x $ac_config_files; shift; ac_config_files=$*;; 9761esac 9762 9763case $ac_config_headers in *" 9764"*) set x $ac_config_headers; shift; ac_config_headers=$*;; 9765esac 9766 9767 9768cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9769# Files that config.status was made for. 9770config_files="$ac_config_files" 9771config_headers="$ac_config_headers" 9772config_commands="$ac_config_commands" 9773 9774_ACEOF 9775 9776cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9777ac_cs_usage="\ 9778\`$as_me' instantiates files and other configuration actions 9779from templates according to the current configuration. Unless the files 9780and actions are specified as TAGs, all are instantiated by default. 9781 9782Usage: $0 [OPTION]... [TAG]... 9783 9784 -h, --help print this help, then exit 9785 -V, --version print version number and configuration settings, then exit 9786 --config print configuration, then exit 9787 -q, --quiet, --silent 9788 do not print progress messages 9789 -d, --debug don't remove temporary files 9790 --recheck update $as_me by reconfiguring in the same conditions 9791 --file=FILE[:TEMPLATE] 9792 instantiate the configuration file FILE 9793 --header=FILE[:TEMPLATE] 9794 instantiate the configuration header FILE 9795 9796Configuration files: 9797$config_files 9798 9799Configuration headers: 9800$config_headers 9801 9802Configuration commands: 9803$config_commands 9804 9805Report bugs to the package provider." 9806 9807_ACEOF 9808ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"` 9809ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"` 9810cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9811ac_cs_config='$ac_cs_config_escaped' 9812ac_cs_version="\\ 9813ristretto config.status 0.12.1 9814configured by $0, generated by GNU Autoconf 2.71, 9815 with options \\"\$ac_cs_config\\" 9816 9817Copyright (C) 2021 Free Software Foundation, Inc. 9818This config.status script is free software; the Free Software Foundation 9819gives unlimited permission to copy, distribute and modify it." 9820 9821ac_pwd='$ac_pwd' 9822srcdir='$srcdir' 9823INSTALL='$INSTALL' 9824MKDIR_P='$MKDIR_P' 9825AWK='$AWK' 9826test -n "\$AWK" || AWK=awk 9827_ACEOF 9828 9829cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9830# The default lists apply if the user does not specify any file. 9831ac_need_defaults=: 9832while test $# != 0 9833do 9834 case $1 in 9835 --*=?*) 9836 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9837 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 9838 ac_shift=: 9839 ;; 9840 --*=) 9841 ac_option=`expr "X$1" : 'X\([^=]*\)='` 9842 ac_optarg= 9843 ac_shift=: 9844 ;; 9845 *) 9846 ac_option=$1 9847 ac_optarg=$2 9848 ac_shift=shift 9849 ;; 9850 esac 9851 9852 case $ac_option in 9853 # Handling of the options. 9854 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 9855 ac_cs_recheck=: ;; 9856 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 9857 printf "%s\n" "$ac_cs_version"; exit ;; 9858 --config | --confi | --conf | --con | --co | --c ) 9859 printf "%s\n" "$ac_cs_config"; exit ;; 9860 --debug | --debu | --deb | --de | --d | -d ) 9861 debug=: ;; 9862 --file | --fil | --fi | --f ) 9863 $ac_shift 9864 case $ac_optarg in 9865 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9866 '') as_fn_error $? "missing file argument" ;; 9867 esac 9868 as_fn_append CONFIG_FILES " '$ac_optarg'" 9869 ac_need_defaults=false;; 9870 --header | --heade | --head | --hea ) 9871 $ac_shift 9872 case $ac_optarg in 9873 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 9874 esac 9875 as_fn_append CONFIG_HEADERS " '$ac_optarg'" 9876 ac_need_defaults=false;; 9877 --he | --h) 9878 # Conflict between --help and --header 9879 as_fn_error $? "ambiguous option: \`$1' 9880Try \`$0 --help' for more information.";; 9881 --help | --hel | -h ) 9882 printf "%s\n" "$ac_cs_usage"; exit ;; 9883 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 9884 | -silent | --silent | --silen | --sile | --sil | --si | --s) 9885 ac_cs_silent=: ;; 9886 9887 # This is an error. 9888 -*) as_fn_error $? "unrecognized option: \`$1' 9889Try \`$0 --help' for more information." ;; 9890 9891 *) as_fn_append ac_config_targets " $1" 9892 ac_need_defaults=false ;; 9893 9894 esac 9895 shift 9896done 9897 9898ac_configure_extra_args= 9899 9900if $ac_cs_silent; then 9901 exec 6>/dev/null 9902 ac_configure_extra_args="$ac_configure_extra_args --silent" 9903fi 9904 9905_ACEOF 9906cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9907if \$ac_cs_recheck; then 9908 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 9909 shift 9910 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6 9911 CONFIG_SHELL='$SHELL' 9912 export CONFIG_SHELL 9913 exec "\$@" 9914fi 9915 9916_ACEOF 9917cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9918exec 5>>config.log 9919{ 9920 echo 9921 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 9922## Running $as_me. ## 9923_ASBOX 9924 printf "%s\n" "$ac_log" 9925} >&5 9926 9927_ACEOF 9928cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 9929# 9930# INIT-COMMANDS 9931# 9932AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}" 9933 9934_ACEOF 9935 9936cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 9937 9938# Handling of arguments. 9939for ac_config_target in $ac_config_targets 9940do 9941 case $ac_config_target in 9942 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; 9943 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 9944 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 9945 "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;; 9946 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 9947 "icons/Makefile") CONFIG_FILES="$CONFIG_FILES icons/Makefile" ;; 9948 "icons/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES icons/16x16/Makefile" ;; 9949 "icons/24x24/Makefile") CONFIG_FILES="$CONFIG_FILES icons/24x24/Makefile" ;; 9950 "icons/32x32/Makefile") CONFIG_FILES="$CONFIG_FILES icons/32x32/Makefile" ;; 9951 "icons/48x48/Makefile") CONFIG_FILES="$CONFIG_FILES icons/48x48/Makefile" ;; 9952 "icons/128x128/Makefile") CONFIG_FILES="$CONFIG_FILES icons/128x128/Makefile" ;; 9953 "icons/scalable/Makefile") CONFIG_FILES="$CONFIG_FILES icons/scalable/Makefile" ;; 9954 "po/stamp-it") CONFIG_COMMANDS="$CONFIG_COMMANDS po/stamp-it" ;; 9955 9956 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 9957 esac 9958done 9959 9960 9961# If the user did not use the arguments to specify the items to instantiate, 9962# then the envvar interface is used. Set only those that are not. 9963# We use the long form for the default assignment because of an extremely 9964# bizarre bug on SunOS 4.1.3. 9965if $ac_need_defaults; then 9966 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files 9967 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers 9968 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands 9969fi 9970 9971# Have a temporary directory for convenience. Make it in the build tree 9972# simply because there is no reason against having it here, and in addition, 9973# creating and moving files from /tmp can sometimes cause problems. 9974# Hook for its removal unless debugging. 9975# Note that there is a small window in which the directory will not be cleaned: 9976# after its creation but before its name has been assigned to `$tmp'. 9977$debug || 9978{ 9979 tmp= ac_tmp= 9980 trap 'exit_status=$? 9981 : "${ac_tmp:=$tmp}" 9982 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 9983' 0 9984 trap 'as_fn_exit 1' 1 2 13 15 9985} 9986# Create a (secure) tmp directory for tmp files. 9987 9988{ 9989 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 9990 test -d "$tmp" 9991} || 9992{ 9993 tmp=./conf$$-$RANDOM 9994 (umask 077 && mkdir "$tmp") 9995} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 9996ac_tmp=$tmp 9997 9998# Set up the scripts for CONFIG_FILES section. 9999# No need to generate them if there are no CONFIG_FILES. 10000# This happens for instance with `./config.status config.h'. 10001if test -n "$CONFIG_FILES"; then 10002 10003 10004ac_cr=`echo X | tr X '\015'` 10005# On cygwin, bash can eat \r inside `` if the user requested igncr. 10006# But we know of no other shell where ac_cr would be empty at this 10007# point, so we can use a bashism as a fallback. 10008if test "x$ac_cr" = x; then 10009 eval ac_cr=\$\'\\r\' 10010fi 10011ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 10012if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 10013 ac_cs_awk_cr='\\r' 10014else 10015 ac_cs_awk_cr=$ac_cr 10016fi 10017 10018echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 10019_ACEOF 10020 10021 10022{ 10023 echo "cat >conf$$subs.awk <<_ACEOF" && 10024 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 10025 echo "_ACEOF" 10026} >conf$$subs.sh || 10027 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10028ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 10029ac_delim='%!_!# ' 10030for ac_last_try in false false false false false :; do 10031 . ./conf$$subs.sh || 10032 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10033 10034 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 10035 if test $ac_delim_n = $ac_delim_num; then 10036 break 10037 elif $ac_last_try; then 10038 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 10039 else 10040 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 10041 fi 10042done 10043rm -f conf$$subs.sh 10044 10045cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10046cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 10047_ACEOF 10048sed -n ' 10049h 10050s/^/S["/; s/!.*/"]=/ 10051p 10052g 10053s/^[^!]*!// 10054:repl 10055t repl 10056s/'"$ac_delim"'$// 10057t delim 10058:nl 10059h 10060s/\(.\{148\}\)..*/\1/ 10061t more1 10062s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 10063p 10064n 10065b repl 10066:more1 10067s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10068p 10069g 10070s/.\{148\}// 10071t nl 10072:delim 10073h 10074s/\(.\{148\}\)..*/\1/ 10075t more2 10076s/["\\]/\\&/g; s/^/"/; s/$/"/ 10077p 10078b 10079:more2 10080s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 10081p 10082g 10083s/.\{148\}// 10084t delim 10085' <conf$$subs.awk | sed ' 10086/^[^""]/{ 10087 N 10088 s/\n// 10089} 10090' >>$CONFIG_STATUS || ac_write_fail=1 10091rm -f conf$$subs.awk 10092cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10093_ACAWK 10094cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 10095 for (key in S) S_is_set[key] = 1 10096 FS = "" 10097 10098} 10099{ 10100 line = $ 0 10101 nfields = split(line, field, "@") 10102 substed = 0 10103 len = length(field[1]) 10104 for (i = 2; i < nfields; i++) { 10105 key = field[i] 10106 keylen = length(key) 10107 if (S_is_set[key]) { 10108 value = S[key] 10109 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 10110 len += length(value) + length(field[++i]) 10111 substed = 1 10112 } else 10113 len += 1 + keylen 10114 } 10115 10116 print line 10117} 10118 10119_ACAWK 10120_ACEOF 10121cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10122if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 10123 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 10124else 10125 cat 10126fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 10127 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 10128_ACEOF 10129 10130# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 10131# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 10132# trailing colons and then remove the whole line if VPATH becomes empty 10133# (actually we leave an empty line to preserve line numbers). 10134if test "x$srcdir" = x.; then 10135 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 10136h 10137s/// 10138s/^/:/ 10139s/[ ]*$/:/ 10140s/:\$(srcdir):/:/g 10141s/:\${srcdir}:/:/g 10142s/:@srcdir@:/:/g 10143s/^:*// 10144s/:*$// 10145x 10146s/\(=[ ]*\).*/\1/ 10147G 10148s/\n// 10149s/^[^=]*=[ ]*$// 10150}' 10151fi 10152 10153cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10154fi # test -n "$CONFIG_FILES" 10155 10156# Set up the scripts for CONFIG_HEADERS section. 10157# No need to generate them if there are no CONFIG_HEADERS. 10158# This happens for instance with `./config.status Makefile'. 10159if test -n "$CONFIG_HEADERS"; then 10160cat >"$ac_tmp/defines.awk" <<\_ACAWK || 10161BEGIN { 10162_ACEOF 10163 10164# Transform confdefs.h into an awk script `defines.awk', embedded as 10165# here-document in config.status, that substitutes the proper values into 10166# config.h.in to produce config.h. 10167 10168# Create a delimiter string that does not exist in confdefs.h, to ease 10169# handling of long lines. 10170ac_delim='%!_!# ' 10171for ac_last_try in false false :; do 10172 ac_tt=`sed -n "/$ac_delim/p" confdefs.h` 10173 if test -z "$ac_tt"; then 10174 break 10175 elif $ac_last_try; then 10176 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 10177 else 10178 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 10179 fi 10180done 10181 10182# For the awk script, D is an array of macro values keyed by name, 10183# likewise P contains macro parameters if any. Preserve backslash 10184# newline sequences. 10185 10186ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* 10187sed -n ' 10188s/.\{148\}/&'"$ac_delim"'/g 10189t rset 10190:rset 10191s/^[ ]*#[ ]*define[ ][ ]*/ / 10192t def 10193d 10194:def 10195s/\\$// 10196t bsnl 10197s/["\\]/\\&/g 10198s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10199D["\1"]=" \3"/p 10200s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p 10201d 10202:bsnl 10203s/["\\]/\\&/g 10204s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ 10205D["\1"]=" \3\\\\\\n"\\/p 10206t cont 10207s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p 10208t cont 10209d 10210:cont 10211n 10212s/.\{148\}/&'"$ac_delim"'/g 10213t clear 10214:clear 10215s/\\$// 10216t bsnlc 10217s/["\\]/\\&/g; s/^/"/; s/$/"/p 10218d 10219:bsnlc 10220s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p 10221b cont 10222' <confdefs.h | sed ' 10223s/'"$ac_delim"'/"\\\ 10224"/g' >>$CONFIG_STATUS || ac_write_fail=1 10225 10226cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10227 for (key in D) D_is_set[key] = 1 10228 FS = "" 10229} 10230/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { 10231 line = \$ 0 10232 split(line, arg, " ") 10233 if (arg[1] == "#") { 10234 defundef = arg[2] 10235 mac1 = arg[3] 10236 } else { 10237 defundef = substr(arg[1], 2) 10238 mac1 = arg[2] 10239 } 10240 split(mac1, mac2, "(") #) 10241 macro = mac2[1] 10242 prefix = substr(line, 1, index(line, defundef) - 1) 10243 if (D_is_set[macro]) { 10244 # Preserve the white space surrounding the "#". 10245 print prefix "define", macro P[macro] D[macro] 10246 next 10247 } else { 10248 # Replace #undef with comments. This is necessary, for example, 10249 # in the case of _POSIX_SOURCE, which is predefined and required 10250 # on some systems where configure will not decide to define it. 10251 if (defundef == "undef") { 10252 print "/*", prefix defundef, macro, "*/" 10253 next 10254 } 10255 } 10256} 10257{ print } 10258_ACAWK 10259_ACEOF 10260cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10261 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 10262fi # test -n "$CONFIG_HEADERS" 10263 10264 10265eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" 10266shift 10267for ac_tag 10268do 10269 case $ac_tag in 10270 :[FHLC]) ac_mode=$ac_tag; continue;; 10271 esac 10272 case $ac_mode$ac_tag in 10273 :[FHL]*:*);; 10274 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 10275 :[FH]-) ac_tag=-:-;; 10276 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 10277 esac 10278 ac_save_IFS=$IFS 10279 IFS=: 10280 set x $ac_tag 10281 IFS=$ac_save_IFS 10282 shift 10283 ac_file=$1 10284 shift 10285 10286 case $ac_mode in 10287 :L) ac_source=$1;; 10288 :[FH]) 10289 ac_file_inputs= 10290 for ac_f 10291 do 10292 case $ac_f in 10293 -) ac_f="$ac_tmp/stdin";; 10294 *) # Look for the file first in the build tree, then in the source tree 10295 # (if the path is not absolute). The absolute path cannot be DOS-style, 10296 # because $ac_f cannot contain `:'. 10297 test -f "$ac_f" || 10298 case $ac_f in 10299 [\\/$]*) false;; 10300 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 10301 esac || 10302 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 10303 esac 10304 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 10305 as_fn_append ac_file_inputs " '$ac_f'" 10306 done 10307 10308 # Let's still pretend it is `configure' which instantiates (i.e., don't 10309 # use $as_me), people would be surprised to read: 10310 # /* config.h. Generated by config.status. */ 10311 configure_input='Generated from '` 10312 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 10313 `' by configure.' 10314 if test x"$ac_file" != x-; then 10315 configure_input="$ac_file. $configure_input" 10316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 10317printf "%s\n" "$as_me: creating $ac_file" >&6;} 10318 fi 10319 # Neutralize special characters interpreted by sed in replacement strings. 10320 case $configure_input in #( 10321 *\&* | *\|* | *\\* ) 10322 ac_sed_conf_input=`printf "%s\n" "$configure_input" | 10323 sed 's/[\\\\&|]/\\\\&/g'`;; #( 10324 *) ac_sed_conf_input=$configure_input;; 10325 esac 10326 10327 case $ac_tag in 10328 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 10329 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 10330 esac 10331 ;; 10332 esac 10333 10334 ac_dir=`$as_dirname -- "$ac_file" || 10335$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10336 X"$ac_file" : 'X\(//\)[^/]' \| \ 10337 X"$ac_file" : 'X\(//\)$' \| \ 10338 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 10339printf "%s\n" X"$ac_file" | 10340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10341 s//\1/ 10342 q 10343 } 10344 /^X\(\/\/\)[^/].*/{ 10345 s//\1/ 10346 q 10347 } 10348 /^X\(\/\/\)$/{ 10349 s//\1/ 10350 q 10351 } 10352 /^X\(\/\).*/{ 10353 s//\1/ 10354 q 10355 } 10356 s/.*/./; q'` 10357 as_dir="$ac_dir"; as_fn_mkdir_p 10358 ac_builddir=. 10359 10360case "$ac_dir" in 10361.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 10362*) 10363 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'` 10364 # A ".." for each directory in $ac_dir_suffix. 10365 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 10366 case $ac_top_builddir_sub in 10367 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 10368 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 10369 esac ;; 10370esac 10371ac_abs_top_builddir=$ac_pwd 10372ac_abs_builddir=$ac_pwd$ac_dir_suffix 10373# for backward compatibility: 10374ac_top_builddir=$ac_top_build_prefix 10375 10376case $srcdir in 10377 .) # We are building in place. 10378 ac_srcdir=. 10379 ac_top_srcdir=$ac_top_builddir_sub 10380 ac_abs_top_srcdir=$ac_pwd ;; 10381 [\\/]* | ?:[\\/]* ) # Absolute name. 10382 ac_srcdir=$srcdir$ac_dir_suffix; 10383 ac_top_srcdir=$srcdir 10384 ac_abs_top_srcdir=$srcdir ;; 10385 *) # Relative name. 10386 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 10387 ac_top_srcdir=$ac_top_build_prefix$srcdir 10388 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 10389esac 10390ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 10391 10392 10393 case $ac_mode in 10394 :F) 10395 # 10396 # CONFIG_FILE 10397 # 10398 10399 case $INSTALL in 10400 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 10401 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 10402 esac 10403 ac_MKDIR_P=$MKDIR_P 10404 case $MKDIR_P in 10405 [\\/$]* | ?:[\\/]* ) ;; 10406 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 10407 esac 10408_ACEOF 10409 10410cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10411# If the template does not know about datarootdir, expand it. 10412# FIXME: This hack should be removed a few years after 2.60. 10413ac_datarootdir_hack=; ac_datarootdir_seen= 10414ac_sed_dataroot=' 10415/datarootdir/ { 10416 p 10417 q 10418} 10419/@datadir@/p 10420/@docdir@/p 10421/@infodir@/p 10422/@localedir@/p 10423/@mandir@/p' 10424case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 10425*datarootdir*) ac_datarootdir_seen=yes;; 10426*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 10427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 10428printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 10429_ACEOF 10430cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10431 ac_datarootdir_hack=' 10432 s&@datadir@&$datadir&g 10433 s&@docdir@&$docdir&g 10434 s&@infodir@&$infodir&g 10435 s&@localedir@&$localedir&g 10436 s&@mandir@&$mandir&g 10437 s&\\\${datarootdir}&$datarootdir&g' ;; 10438esac 10439_ACEOF 10440 10441# Neutralize VPATH when `$srcdir' = `.'. 10442# Shell code in configure.ac might set extrasub. 10443# FIXME: do we really want to maintain this feature? 10444cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 10445ac_sed_extra="$ac_vpsub 10446$extrasub 10447_ACEOF 10448cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 10449:t 10450/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 10451s|@configure_input@|$ac_sed_conf_input|;t t 10452s&@top_builddir@&$ac_top_builddir_sub&;t t 10453s&@top_build_prefix@&$ac_top_build_prefix&;t t 10454s&@srcdir@&$ac_srcdir&;t t 10455s&@abs_srcdir@&$ac_abs_srcdir&;t t 10456s&@top_srcdir@&$ac_top_srcdir&;t t 10457s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 10458s&@builddir@&$ac_builddir&;t t 10459s&@abs_builddir@&$ac_abs_builddir&;t t 10460s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 10461s&@INSTALL@&$ac_INSTALL&;t t 10462s&@MKDIR_P@&$ac_MKDIR_P&;t t 10463$ac_datarootdir_hack 10464" 10465eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 10466 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10467 10468test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 10469 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 10470 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 10471 "$ac_tmp/out"`; test -z "$ac_out"; } && 10472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10473which seems to be undefined. Please make sure it is defined" >&5 10474printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 10475which seems to be undefined. Please make sure it is defined" >&2;} 10476 10477 rm -f "$ac_tmp/stdin" 10478 case $ac_file in 10479 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 10480 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 10481 esac \ 10482 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10483 ;; 10484 :H) 10485 # 10486 # CONFIG_HEADER 10487 # 10488 if test x"$ac_file" != x-; then 10489 { 10490 printf "%s\n" "/* $configure_input */" >&1 \ 10491 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" 10492 } >"$ac_tmp/config.h" \ 10493 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10494 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then 10495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 10496printf "%s\n" "$as_me: $ac_file is unchanged" >&6;} 10497 else 10498 rm -f "$ac_file" 10499 mv "$ac_tmp/config.h" "$ac_file" \ 10500 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 10501 fi 10502 else 10503 printf "%s\n" "/* $configure_input */" >&1 \ 10504 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ 10505 || as_fn_error $? "could not create -" "$LINENO" 5 10506 fi 10507# Compute "$ac_file"'s index in $config_headers. 10508_am_arg="$ac_file" 10509_am_stamp_count=1 10510for _am_header in $config_headers :; do 10511 case $_am_header in 10512 $_am_arg | $_am_arg:* ) 10513 break ;; 10514 * ) 10515 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 10516 esac 10517done 10518echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || 10519$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10520 X"$_am_arg" : 'X\(//\)[^/]' \| \ 10521 X"$_am_arg" : 'X\(//\)$' \| \ 10522 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || 10523printf "%s\n" X"$_am_arg" | 10524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10525 s//\1/ 10526 q 10527 } 10528 /^X\(\/\/\)[^/].*/{ 10529 s//\1/ 10530 q 10531 } 10532 /^X\(\/\/\)$/{ 10533 s//\1/ 10534 q 10535 } 10536 /^X\(\/\).*/{ 10537 s//\1/ 10538 q 10539 } 10540 s/.*/./; q'`/stamp-h$_am_stamp_count 10541 ;; 10542 10543 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 10544printf "%s\n" "$as_me: executing $ac_file commands" >&6;} 10545 ;; 10546 esac 10547 10548 10549 case $ac_file$ac_mode in 10550 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 10551 # Older Autoconf quotes --file arguments for eval, but not when files 10552 # are listed without --file. Let's play safe and only enable the eval 10553 # if we detect the quoting. 10554 # TODO: see whether this extra hack can be removed once we start 10555 # requiring Autoconf 2.70 or later. 10556 case $CONFIG_FILES in #( 10557 *\'*) : 10558 eval set x "$CONFIG_FILES" ;; #( 10559 *) : 10560 set x $CONFIG_FILES ;; #( 10561 *) : 10562 ;; 10563esac 10564 shift 10565 # Used to flag and report bootstrapping failures. 10566 am_rc=0 10567 for am_mf 10568 do 10569 # Strip MF so we end up with the name of the file. 10570 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'` 10571 # Check whether this is an Automake generated Makefile which includes 10572 # dependency-tracking related rules and includes. 10573 # Grep'ing the whole file directly is not great: AIX grep has a line 10574 # limit of 2048, but all sed's we know have understand at least 4000. 10575 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \ 10576 || continue 10577 am_dirpart=`$as_dirname -- "$am_mf" || 10578$as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 10579 X"$am_mf" : 'X\(//\)[^/]' \| \ 10580 X"$am_mf" : 'X\(//\)$' \| \ 10581 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 10582printf "%s\n" X"$am_mf" | 10583 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 10584 s//\1/ 10585 q 10586 } 10587 /^X\(\/\/\)[^/].*/{ 10588 s//\1/ 10589 q 10590 } 10591 /^X\(\/\/\)$/{ 10592 s//\1/ 10593 q 10594 } 10595 /^X\(\/\).*/{ 10596 s//\1/ 10597 q 10598 } 10599 s/.*/./; q'` 10600 am_filepart=`$as_basename -- "$am_mf" || 10601$as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \ 10602 X"$am_mf" : 'X\(//\)$' \| \ 10603 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null || 10604printf "%s\n" X/"$am_mf" | 10605 sed '/^.*\/\([^/][^/]*\)\/*$/{ 10606 s//\1/ 10607 q 10608 } 10609 /^X\/\(\/\/\)$/{ 10610 s//\1/ 10611 q 10612 } 10613 /^X\/\(\/\).*/{ 10614 s//\1/ 10615 q 10616 } 10617 s/.*/./; q'` 10618 { echo "$as_me:$LINENO: cd "$am_dirpart" \ 10619 && sed -e '/# am--include-marker/d' "$am_filepart" \ 10620 | $MAKE -f - am--depfiles" >&5 10621 (cd "$am_dirpart" \ 10622 && sed -e '/# am--include-marker/d' "$am_filepart" \ 10623 | $MAKE -f - am--depfiles) >&5 2>&5 10624 ac_status=$? 10625 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10626 (exit $ac_status); } || am_rc=$? 10627 done 10628 if test $am_rc -ne 0; then 10629 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 10630printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;} 10631as_fn_error $? "Something went wrong bootstrapping makefile fragments 10632 for automatic dependency tracking. If GNU make was not used, consider 10633 re-running the configure script with MAKE=\"gmake\" (or whatever is 10634 necessary). You can also try re-running configure with the 10635 '--disable-dependency-tracking' option to at least be able to build 10636 the package (albeit without support for automatic dependency tracking). 10637See \`config.log' for more details" "$LINENO" 5; } 10638 fi 10639 { am_dirpart=; unset am_dirpart;} 10640 { am_filepart=; unset am_filepart;} 10641 { am_mf=; unset am_mf;} 10642 { am_rc=; unset am_rc;} 10643 rm -f conftest-deps.mk 10644} 10645 ;; 10646 "po/stamp-it":C) 10647 if ! grep "^# INTLTOOL_MAKEFILE$" "po/Makefile.in" > /dev/null ; then 10648 as_fn_error $? "po/Makefile.in.in was not created by intltoolize." "$LINENO" 5 10649 fi 10650 rm -f "po/stamp-it" "po/stamp-it.tmp" "po/POTFILES" "po/Makefile.tmp" 10651 >"po/stamp-it.tmp" 10652 sed '/^#/d 10653 s/^[[].*] *// 10654 /^[ ]*$/d 10655 '"s|^| $ac_top_srcdir/|" \ 10656 "$srcdir/po/POTFILES.in" | sed '$!s/$/ \\/' >"po/POTFILES" 10657 10658 sed '/^POTFILES =/,/[^\\]$/ { 10659 /^POTFILES =/!d 10660 r po/POTFILES 10661 } 10662 ' "po/Makefile.in" >"po/Makefile" 10663 rm -f "po/Makefile.tmp" 10664 mv "po/stamp-it.tmp" "po/stamp-it" 10665 ;; 10666 10667 esac 10668done # for ac_tag 10669 10670 10671as_fn_exit 0 10672_ACEOF 10673ac_clean_files=$ac_clean_files_save 10674 10675test $ac_write_fail = 0 || 10676 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 10677 10678 10679# configure is writing to config.log, and then calls config.status. 10680# config.status does its own redirection, appending to config.log. 10681# Unfortunately, on DOS this fails, as config.log is still kept open 10682# by configure, so config.status won't be able to write to it; its 10683# output is simply discarded. So we exec the FD to /dev/null, 10684# effectively closing config.log, so it can be properly (re)opened and 10685# appended to by config.status. When coming back to configure, we 10686# need to make the FD available again. 10687if test "$no_create" != yes; then 10688 ac_cs_success=: 10689 ac_config_status_args= 10690 test "$silent" = yes && 10691 ac_config_status_args="$ac_config_status_args --quiet" 10692 exec 5>/dev/null 10693 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 10694 exec 5>>config.log 10695 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 10696 # would make configure fail if this is the last instruction. 10697 $ac_cs_success || as_fn_exit 1 10698fi 10699if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 10700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 10701printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 10702fi 10703 10704 10705echo "----------------------------------------" 10706echo "Build Configuration for $PACKAGE $VERSION:" 10707if test "$libmagic" = "false"; then 10708echo " libmagic support: no" 10709else 10710echo " libmagic support: yes" 10711fi 10712echo "" 10713echo "The binary will be installed in $prefix/bin" 10714echo "----------------------------------------" 10715 10716