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