1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.68 for Euchre 0.8. 4# 5# 6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8# 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 137if test "x$CONFIG_SHELL" = x; then 138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 139 emulate sh 140 NULLCMD=: 141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 142 # is contrary to our usage. Disable this feature. 143 alias -g '\${1+\"\$@\"}'='\"\$@\"' 144 setopt NO_GLOB_SUBST 145else 146 case \`(set -o) 2>/dev/null\` in #( 147 *posix*) : 148 set -o posix ;; #( 149 *) : 150 ;; 151esac 152fi 153" 154 as_required="as_fn_return () { (exit \$1); } 155as_fn_success () { as_fn_return 0; } 156as_fn_failure () { as_fn_return 1; } 157as_fn_ret_success () { return 0; } 158as_fn_ret_failure () { return 1; } 159 160exitcode=0 161as_fn_success || { exitcode=1; echo as_fn_success failed.; } 162as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 163as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 164as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 165if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 166 167else 168 exitcode=1; echo positional parameters were not saved. 169fi 170test x\$exitcode = x0 || exit 1" 171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" 175 if (eval "$as_required") 2>/dev/null; then : 176 as_have_required=yes 177else 178 as_have_required=no 179fi 180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 181 182else 183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 184as_found=false 185for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 186do 187 IFS=$as_save_IFS 188 test -z "$as_dir" && as_dir=. 189 as_found=: 190 case $as_dir in #( 191 /*) 192 for as_base in sh bash ksh sh5; do 193 # Try only shells that exist, to save several forks. 194 as_shell=$as_dir/$as_base 195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 197 CONFIG_SHELL=$as_shell as_have_required=yes 198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 199 break 2 200fi 201fi 202 done;; 203 esac 204 as_found=false 205done 206$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 208 CONFIG_SHELL=$SHELL as_have_required=yes 209fi; } 210IFS=$as_save_IFS 211 212 213 if test "x$CONFIG_SHELL" != x; then : 214 # We cannot yet assume a decent shell, so we have to provide a 215 # neutralization value for shells without unset; and this also 216 # works around shells that cannot unset nonexistent variables. 217 # Preserve -v and -x to the replacement shell. 218 BASH_ENV=/dev/null 219 ENV=/dev/null 220 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 221 export CONFIG_SHELL 222 case $- in # (((( 223 *v*x* | *x*v* ) as_opts=-vx ;; 224 *v* ) as_opts=-v ;; 225 *x* ) as_opts=-x ;; 226 * ) as_opts= ;; 227 esac 228 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 229fi 230 231 if test x$as_have_required = xno; then : 232 $as_echo "$0: This script requires a shell more modern than all" 233 $as_echo "$0: the shells that I found on your system." 234 if test x${ZSH_VERSION+set} = xset ; then 235 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 236 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 237 else 238 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 239$0: including any error possibly output before this 240$0: message. Then install a modern shell, or manually run 241$0: the script under such a shell if you do have one." 242 fi 243 exit 1 244fi 245fi 246fi 247SHELL=${CONFIG_SHELL-/bin/sh} 248export SHELL 249# Unset more variables known to interfere with behavior of common tools. 250CLICOLOR_FORCE= GREP_OPTIONS= 251unset CLICOLOR_FORCE GREP_OPTIONS 252 253## --------------------- ## 254## M4sh Shell Functions. ## 255## --------------------- ## 256# as_fn_unset VAR 257# --------------- 258# Portably unset VAR. 259as_fn_unset () 260{ 261 { eval $1=; unset $1;} 262} 263as_unset=as_fn_unset 264 265# as_fn_set_status STATUS 266# ----------------------- 267# Set $? to STATUS, without forking. 268as_fn_set_status () 269{ 270 return $1 271} # as_fn_set_status 272 273# as_fn_exit STATUS 274# ----------------- 275# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 276as_fn_exit () 277{ 278 set +e 279 as_fn_set_status $1 280 exit $1 281} # as_fn_exit 282 283# as_fn_mkdir_p 284# ------------- 285# Create "$as_dir" as a directory, including parents if necessary. 286as_fn_mkdir_p () 287{ 288 289 case $as_dir in #( 290 -*) as_dir=./$as_dir;; 291 esac 292 test -d "$as_dir" || eval $as_mkdir_p || { 293 as_dirs= 294 while :; do 295 case $as_dir in #( 296 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 297 *) as_qdir=$as_dir;; 298 esac 299 as_dirs="'$as_qdir' $as_dirs" 300 as_dir=`$as_dirname -- "$as_dir" || 301$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 302 X"$as_dir" : 'X\(//\)[^/]' \| \ 303 X"$as_dir" : 'X\(//\)$' \| \ 304 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 305$as_echo X"$as_dir" | 306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 307 s//\1/ 308 q 309 } 310 /^X\(\/\/\)[^/].*/{ 311 s//\1/ 312 q 313 } 314 /^X\(\/\/\)$/{ 315 s//\1/ 316 q 317 } 318 /^X\(\/\).*/{ 319 s//\1/ 320 q 321 } 322 s/.*/./; q'` 323 test -d "$as_dir" && break 324 done 325 test -z "$as_dirs" || eval "mkdir $as_dirs" 326 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 327 328 329} # as_fn_mkdir_p 330# as_fn_append VAR VALUE 331# ---------------------- 332# Append the text in VALUE to the end of the definition contained in VAR. Take 333# advantage of any shell optimizations that allow amortized linear growth over 334# repeated appends, instead of the typical quadratic growth present in naive 335# implementations. 336if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 337 eval 'as_fn_append () 338 { 339 eval $1+=\$2 340 }' 341else 342 as_fn_append () 343 { 344 eval $1=\$$1\$2 345 } 346fi # as_fn_append 347 348# as_fn_arith ARG... 349# ------------------ 350# Perform arithmetic evaluation on the ARGs, and store the result in the 351# global $as_val. Take advantage of shells that can avoid forks. The arguments 352# must be portable across $(()) and expr. 353if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 354 eval 'as_fn_arith () 355 { 356 as_val=$(( $* )) 357 }' 358else 359 as_fn_arith () 360 { 361 as_val=`expr "$@" || test $? -eq 1` 362 } 363fi # as_fn_arith 364 365 366# as_fn_error STATUS ERROR [LINENO LOG_FD] 367# ---------------------------------------- 368# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 369# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 370# script with STATUS, using 1 if that was 0. 371as_fn_error () 372{ 373 as_status=$1; test $as_status -eq 0 && as_status=1 374 if test "$4"; then 375 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 376 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 377 fi 378 $as_echo "$as_me: error: $2" >&2 379 as_fn_exit $as_status 380} # as_fn_error 381 382if expr a : '\(a\)' >/dev/null 2>&1 && 383 test "X`expr 00001 : '.*\(...\)'`" = X001; then 384 as_expr=expr 385else 386 as_expr=false 387fi 388 389if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 390 as_basename=basename 391else 392 as_basename=false 393fi 394 395if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 396 as_dirname=dirname 397else 398 as_dirname=false 399fi 400 401as_me=`$as_basename -- "$0" || 402$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 403 X"$0" : 'X\(//\)$' \| \ 404 X"$0" : 'X\(/\)' \| . 2>/dev/null || 405$as_echo X/"$0" | 406 sed '/^.*\/\([^/][^/]*\)\/*$/{ 407 s//\1/ 408 q 409 } 410 /^X\/\(\/\/\)$/{ 411 s//\1/ 412 q 413 } 414 /^X\/\(\/\).*/{ 415 s//\1/ 416 q 417 } 418 s/.*/./; q'` 419 420# Avoid depending upon Character Ranges. 421as_cr_letters='abcdefghijklmnopqrstuvwxyz' 422as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 423as_cr_Letters=$as_cr_letters$as_cr_LETTERS 424as_cr_digits='0123456789' 425as_cr_alnum=$as_cr_Letters$as_cr_digits 426 427 428 as_lineno_1=$LINENO as_lineno_1a=$LINENO 429 as_lineno_2=$LINENO as_lineno_2a=$LINENO 430 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 431 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 432 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 433 sed -n ' 434 p 435 /[$]LINENO/= 436 ' <$as_myself | 437 sed ' 438 s/[$]LINENO.*/&-/ 439 t lineno 440 b 441 :lineno 442 N 443 :loop 444 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 445 t loop 446 s/-\n.*// 447 ' >$as_me.lineno && 448 chmod +x "$as_me.lineno" || 449 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 450 451 # Don't try to exec as it changes $[0], causing all sort of problems 452 # (the dirname of $[0] is not the place where we might find the 453 # original and so on. Autoconf is especially sensitive to this). 454 . "./$as_me.lineno" 455 # Exit status is that of the last command. 456 exit 457} 458 459ECHO_C= ECHO_N= ECHO_T= 460case `echo -n x` in #((((( 461-n*) 462 case `echo 'xy\c'` in 463 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 464 xy) ECHO_C='\c';; 465 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 466 ECHO_T=' ';; 467 esac;; 468*) 469 ECHO_N='-n';; 470esac 471 472rm -f conf$$ conf$$.exe conf$$.file 473if test -d conf$$.dir; then 474 rm -f conf$$.dir/conf$$.file 475else 476 rm -f conf$$.dir 477 mkdir conf$$.dir 2>/dev/null 478fi 479if (echo >conf$$.file) 2>/dev/null; then 480 if ln -s conf$$.file conf$$ 2>/dev/null; then 481 as_ln_s='ln -s' 482 # ... but there are two gotchas: 483 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 484 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 485 # In both cases, we have to default to `cp -p'. 486 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 487 as_ln_s='cp -p' 488 elif ln conf$$.file conf$$ 2>/dev/null; then 489 as_ln_s=ln 490 else 491 as_ln_s='cp -p' 492 fi 493else 494 as_ln_s='cp -p' 495fi 496rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 497rmdir conf$$.dir 2>/dev/null 498 499if mkdir -p . 2>/dev/null; then 500 as_mkdir_p='mkdir -p "$as_dir"' 501else 502 test -d ./-p && rmdir ./-p 503 as_mkdir_p=false 504fi 505 506if test -x / >/dev/null 2>&1; then 507 as_test_x='test -x' 508else 509 if ls -dL / >/dev/null 2>&1; then 510 as_ls_L_option=L 511 else 512 as_ls_L_option= 513 fi 514 as_test_x=' 515 eval sh -c '\'' 516 if test -d "$1"; then 517 test -d "$1/."; 518 else 519 case $1 in #( 520 -*)set "./$1";; 521 esac; 522 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 523 ???[sx]*):;;*)false;;esac;fi 524 '\'' sh 525 ' 526fi 527as_executable_p=$as_test_x 528 529# Sed expression to map a string onto a valid CPP name. 530as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 531 532# Sed expression to map a string onto a valid variable name. 533as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 534 535 536test -n "$DJDIR" || exec 7<&0 </dev/null 537exec 6>&1 538 539# Name of the host. 540# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 541# so uname gets run too. 542ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 543 544# 545# Initializations. 546# 547ac_default_prefix=/usr/local 548ac_clean_files= 549ac_config_libobj_dir=. 550LIBOBJS= 551cross_compiling=no 552subdirs= 553MFLAGS= 554MAKEFLAGS= 555 556# Identity of this package. 557PACKAGE_NAME='Euchre' 558PACKAGE_TARNAME='euchre' 559PACKAGE_VERSION='0.8' 560PACKAGE_STRING='Euchre 0.8' 561PACKAGE_BUGREPORT='' 562PACKAGE_URL='' 563 564ac_subst_vars='am__EXEEXT_FALSE 565am__EXEEXT_TRUE 566LTLIBOBJS 567LIBOBJS 568AM_CXXFLAGS 569AM_CFLAGS 570GTK_LIBS 571GTK_CFLAGS 572PKG_CONFIG_LIBDIR 573PKG_CONFIG_PATH 574PKG_CONFIG 575RANLIB 576am__fastdepCXX_FALSE 577am__fastdepCXX_TRUE 578CXXDEPMODE 579ac_ct_CXX 580CXXFLAGS 581CXX 582am__fastdepCC_FALSE 583am__fastdepCC_TRUE 584CCDEPMODE 585am__nodep 586AMDEPBACKSLASH 587AMDEP_FALSE 588AMDEP_TRUE 589am__quote 590am__include 591DEPDIR 592OBJEXT 593EXEEXT 594ac_ct_CC 595CPPFLAGS 596LDFLAGS 597CFLAGS 598CC 599AM_BACKSLASH 600AM_DEFAULT_VERBOSITY 601AM_DEFAULT_V 602AM_V 603am__untar 604am__tar 605AMTAR 606am__leading_dot 607SET_MAKE 608AWK 609mkdir_p 610MKDIR_P 611INSTALL_STRIP_PROGRAM 612STRIP 613install_sh 614MAKEINFO 615AUTOHEADER 616AUTOMAKE 617AUTOCONF 618ACLOCAL 619VERSION 620PACKAGE 621CYGPATH_W 622am__isrc 623INSTALL_DATA 624INSTALL_SCRIPT 625INSTALL_PROGRAM 626target_alias 627host_alias 628build_alias 629LIBS 630ECHO_T 631ECHO_N 632ECHO_C 633DEFS 634mandir 635localedir 636libdir 637psdir 638pdfdir 639dvidir 640htmldir 641infodir 642docdir 643oldincludedir 644includedir 645localstatedir 646sharedstatedir 647sysconfdir 648datadir 649datarootdir 650libexecdir 651sbindir 652bindir 653program_transform_name 654prefix 655exec_prefix 656PACKAGE_URL 657PACKAGE_BUGREPORT 658PACKAGE_STRING 659PACKAGE_VERSION 660PACKAGE_TARNAME 661PACKAGE_NAME 662PATH_SEPARATOR 663SHELL' 664ac_subst_files='' 665ac_user_opts=' 666enable_option_checking 667enable_silent_rules 668enable_dependency_tracking 669' 670 ac_precious_vars='build_alias 671host_alias 672target_alias 673CC 674CFLAGS 675LDFLAGS 676LIBS 677CPPFLAGS 678CXX 679CXXFLAGS 680CCC 681PKG_CONFIG 682PKG_CONFIG_PATH 683PKG_CONFIG_LIBDIR 684GTK_CFLAGS 685GTK_LIBS' 686 687 688# Initialize some variables set by options. 689ac_init_help= 690ac_init_version=false 691ac_unrecognized_opts= 692ac_unrecognized_sep= 693# The variables have the same names as the options, with 694# dashes changed to underlines. 695cache_file=/dev/null 696exec_prefix=NONE 697no_create= 698no_recursion= 699prefix=NONE 700program_prefix=NONE 701program_suffix=NONE 702program_transform_name=s,x,x, 703silent= 704site= 705srcdir= 706verbose= 707x_includes=NONE 708x_libraries=NONE 709 710# Installation directory options. 711# These are left unexpanded so users can "make install exec_prefix=/foo" 712# and all the variables that are supposed to be based on exec_prefix 713# by default will actually change. 714# Use braces instead of parens because sh, perl, etc. also accept them. 715# (The list follows the same order as the GNU Coding Standards.) 716bindir='${exec_prefix}/bin' 717sbindir='${exec_prefix}/sbin' 718libexecdir='${exec_prefix}/libexec' 719datarootdir='${prefix}/share' 720datadir='${datarootdir}' 721sysconfdir='${prefix}/etc' 722sharedstatedir='${prefix}/com' 723localstatedir='${prefix}/var' 724includedir='${prefix}/include' 725oldincludedir='/usr/include' 726docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 727infodir='${datarootdir}/info' 728htmldir='${docdir}' 729dvidir='${docdir}' 730pdfdir='${docdir}' 731psdir='${docdir}' 732libdir='${exec_prefix}/lib' 733localedir='${datarootdir}/locale' 734mandir='${datarootdir}/man' 735 736ac_prev= 737ac_dashdash= 738for ac_option 739do 740 # If the previous option needs an argument, assign it. 741 if test -n "$ac_prev"; then 742 eval $ac_prev=\$ac_option 743 ac_prev= 744 continue 745 fi 746 747 case $ac_option in 748 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 749 *=) ac_optarg= ;; 750 *) ac_optarg=yes ;; 751 esac 752 753 # Accept the important Cygnus configure options, so we can diagnose typos. 754 755 case $ac_dashdash$ac_option in 756 --) 757 ac_dashdash=yes ;; 758 759 -bindir | --bindir | --bindi | --bind | --bin | --bi) 760 ac_prev=bindir ;; 761 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 762 bindir=$ac_optarg ;; 763 764 -build | --build | --buil | --bui | --bu) 765 ac_prev=build_alias ;; 766 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 767 build_alias=$ac_optarg ;; 768 769 -cache-file | --cache-file | --cache-fil | --cache-fi \ 770 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 771 ac_prev=cache_file ;; 772 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 773 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 774 cache_file=$ac_optarg ;; 775 776 --config-cache | -C) 777 cache_file=config.cache ;; 778 779 -datadir | --datadir | --datadi | --datad) 780 ac_prev=datadir ;; 781 -datadir=* | --datadir=* | --datadi=* | --datad=*) 782 datadir=$ac_optarg ;; 783 784 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 785 | --dataroo | --dataro | --datar) 786 ac_prev=datarootdir ;; 787 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 788 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 789 datarootdir=$ac_optarg ;; 790 791 -disable-* | --disable-*) 792 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 793 # Reject names that are not valid shell variable names. 794 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 795 as_fn_error $? "invalid feature name: $ac_useropt" 796 ac_useropt_orig=$ac_useropt 797 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 798 case $ac_user_opts in 799 *" 800"enable_$ac_useropt" 801"*) ;; 802 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 803 ac_unrecognized_sep=', ';; 804 esac 805 eval enable_$ac_useropt=no ;; 806 807 -docdir | --docdir | --docdi | --doc | --do) 808 ac_prev=docdir ;; 809 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 810 docdir=$ac_optarg ;; 811 812 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 813 ac_prev=dvidir ;; 814 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 815 dvidir=$ac_optarg ;; 816 817 -enable-* | --enable-*) 818 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 819 # Reject names that are not valid shell variable names. 820 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 821 as_fn_error $? "invalid feature name: $ac_useropt" 822 ac_useropt_orig=$ac_useropt 823 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 824 case $ac_user_opts in 825 *" 826"enable_$ac_useropt" 827"*) ;; 828 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 829 ac_unrecognized_sep=', ';; 830 esac 831 eval enable_$ac_useropt=\$ac_optarg ;; 832 833 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 834 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 835 | --exec | --exe | --ex) 836 ac_prev=exec_prefix ;; 837 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 838 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 839 | --exec=* | --exe=* | --ex=*) 840 exec_prefix=$ac_optarg ;; 841 842 -gas | --gas | --ga | --g) 843 # Obsolete; use --with-gas. 844 with_gas=yes ;; 845 846 -help | --help | --hel | --he | -h) 847 ac_init_help=long ;; 848 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 849 ac_init_help=recursive ;; 850 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 851 ac_init_help=short ;; 852 853 -host | --host | --hos | --ho) 854 ac_prev=host_alias ;; 855 -host=* | --host=* | --hos=* | --ho=*) 856 host_alias=$ac_optarg ;; 857 858 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 859 ac_prev=htmldir ;; 860 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 861 | --ht=*) 862 htmldir=$ac_optarg ;; 863 864 -includedir | --includedir | --includedi | --included | --include \ 865 | --includ | --inclu | --incl | --inc) 866 ac_prev=includedir ;; 867 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 868 | --includ=* | --inclu=* | --incl=* | --inc=*) 869 includedir=$ac_optarg ;; 870 871 -infodir | --infodir | --infodi | --infod | --info | --inf) 872 ac_prev=infodir ;; 873 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 874 infodir=$ac_optarg ;; 875 876 -libdir | --libdir | --libdi | --libd) 877 ac_prev=libdir ;; 878 -libdir=* | --libdir=* | --libdi=* | --libd=*) 879 libdir=$ac_optarg ;; 880 881 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 882 | --libexe | --libex | --libe) 883 ac_prev=libexecdir ;; 884 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 885 | --libexe=* | --libex=* | --libe=*) 886 libexecdir=$ac_optarg ;; 887 888 -localedir | --localedir | --localedi | --localed | --locale) 889 ac_prev=localedir ;; 890 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 891 localedir=$ac_optarg ;; 892 893 -localstatedir | --localstatedir | --localstatedi | --localstated \ 894 | --localstate | --localstat | --localsta | --localst | --locals) 895 ac_prev=localstatedir ;; 896 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 897 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 898 localstatedir=$ac_optarg ;; 899 900 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 901 ac_prev=mandir ;; 902 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 903 mandir=$ac_optarg ;; 904 905 -nfp | --nfp | --nf) 906 # Obsolete; use --without-fp. 907 with_fp=no ;; 908 909 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 910 | --no-cr | --no-c | -n) 911 no_create=yes ;; 912 913 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 914 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 915 no_recursion=yes ;; 916 917 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 918 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 919 | --oldin | --oldi | --old | --ol | --o) 920 ac_prev=oldincludedir ;; 921 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 922 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 923 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 924 oldincludedir=$ac_optarg ;; 925 926 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 927 ac_prev=prefix ;; 928 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 929 prefix=$ac_optarg ;; 930 931 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 932 | --program-pre | --program-pr | --program-p) 933 ac_prev=program_prefix ;; 934 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 935 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 936 program_prefix=$ac_optarg ;; 937 938 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 939 | --program-suf | --program-su | --program-s) 940 ac_prev=program_suffix ;; 941 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 942 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 943 program_suffix=$ac_optarg ;; 944 945 -program-transform-name | --program-transform-name \ 946 | --program-transform-nam | --program-transform-na \ 947 | --program-transform-n | --program-transform- \ 948 | --program-transform | --program-transfor \ 949 | --program-transfo | --program-transf \ 950 | --program-trans | --program-tran \ 951 | --progr-tra | --program-tr | --program-t) 952 ac_prev=program_transform_name ;; 953 -program-transform-name=* | --program-transform-name=* \ 954 | --program-transform-nam=* | --program-transform-na=* \ 955 | --program-transform-n=* | --program-transform-=* \ 956 | --program-transform=* | --program-transfor=* \ 957 | --program-transfo=* | --program-transf=* \ 958 | --program-trans=* | --program-tran=* \ 959 | --progr-tra=* | --program-tr=* | --program-t=*) 960 program_transform_name=$ac_optarg ;; 961 962 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 963 ac_prev=pdfdir ;; 964 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 965 pdfdir=$ac_optarg ;; 966 967 -psdir | --psdir | --psdi | --psd | --ps) 968 ac_prev=psdir ;; 969 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 970 psdir=$ac_optarg ;; 971 972 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 973 | -silent | --silent | --silen | --sile | --sil) 974 silent=yes ;; 975 976 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 977 ac_prev=sbindir ;; 978 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 979 | --sbi=* | --sb=*) 980 sbindir=$ac_optarg ;; 981 982 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 983 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 984 | --sharedst | --shareds | --shared | --share | --shar \ 985 | --sha | --sh) 986 ac_prev=sharedstatedir ;; 987 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 988 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 989 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 990 | --sha=* | --sh=*) 991 sharedstatedir=$ac_optarg ;; 992 993 -site | --site | --sit) 994 ac_prev=site ;; 995 -site=* | --site=* | --sit=*) 996 site=$ac_optarg ;; 997 998 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 999 ac_prev=srcdir ;; 1000 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1001 srcdir=$ac_optarg ;; 1002 1003 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1004 | --syscon | --sysco | --sysc | --sys | --sy) 1005 ac_prev=sysconfdir ;; 1006 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1007 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1008 sysconfdir=$ac_optarg ;; 1009 1010 -target | --target | --targe | --targ | --tar | --ta | --t) 1011 ac_prev=target_alias ;; 1012 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1013 target_alias=$ac_optarg ;; 1014 1015 -v | -verbose | --verbose | --verbos | --verbo | --verb) 1016 verbose=yes ;; 1017 1018 -version | --version | --versio | --versi | --vers | -V) 1019 ac_init_version=: ;; 1020 1021 -with-* | --with-*) 1022 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1023 # Reject names that are not valid shell variable names. 1024 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1025 as_fn_error $? "invalid package name: $ac_useropt" 1026 ac_useropt_orig=$ac_useropt 1027 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1028 case $ac_user_opts in 1029 *" 1030"with_$ac_useropt" 1031"*) ;; 1032 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1033 ac_unrecognized_sep=', ';; 1034 esac 1035 eval with_$ac_useropt=\$ac_optarg ;; 1036 1037 -without-* | --without-*) 1038 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1039 # Reject names that are not valid shell variable names. 1040 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1041 as_fn_error $? "invalid package name: $ac_useropt" 1042 ac_useropt_orig=$ac_useropt 1043 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1044 case $ac_user_opts in 1045 *" 1046"with_$ac_useropt" 1047"*) ;; 1048 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1049 ac_unrecognized_sep=', ';; 1050 esac 1051 eval with_$ac_useropt=no ;; 1052 1053 --x) 1054 # Obsolete; use --with-x. 1055 with_x=yes ;; 1056 1057 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1058 | --x-incl | --x-inc | --x-in | --x-i) 1059 ac_prev=x_includes ;; 1060 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1061 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1062 x_includes=$ac_optarg ;; 1063 1064 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1065 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1066 ac_prev=x_libraries ;; 1067 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1068 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1069 x_libraries=$ac_optarg ;; 1070 1071 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1072Try \`$0 --help' for more information" 1073 ;; 1074 1075 *=*) 1076 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1077 # Reject names that are not valid shell variable names. 1078 case $ac_envvar in #( 1079 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1080 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1081 esac 1082 eval $ac_envvar=\$ac_optarg 1083 export $ac_envvar ;; 1084 1085 *) 1086 # FIXME: should be removed in autoconf 3.0. 1087 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1088 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1089 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1090 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1091 ;; 1092 1093 esac 1094done 1095 1096if test -n "$ac_prev"; then 1097 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1098 as_fn_error $? "missing argument to $ac_option" 1099fi 1100 1101if test -n "$ac_unrecognized_opts"; then 1102 case $enable_option_checking in 1103 no) ;; 1104 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1105 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1106 esac 1107fi 1108 1109# Check all directory arguments for consistency. 1110for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1111 datadir sysconfdir sharedstatedir localstatedir includedir \ 1112 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1113 libdir localedir mandir 1114do 1115 eval ac_val=\$$ac_var 1116 # Remove trailing slashes. 1117 case $ac_val in 1118 */ ) 1119 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1120 eval $ac_var=\$ac_val;; 1121 esac 1122 # Be sure to have absolute directory names. 1123 case $ac_val in 1124 [\\/$]* | ?:[\\/]* ) continue;; 1125 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1126 esac 1127 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1128done 1129 1130# There might be people who depend on the old broken behavior: `$host' 1131# used to hold the argument of --host etc. 1132# FIXME: To remove some day. 1133build=$build_alias 1134host=$host_alias 1135target=$target_alias 1136 1137# FIXME: To remove some day. 1138if test "x$host_alias" != x; then 1139 if test "x$build_alias" = x; then 1140 cross_compiling=maybe 1141 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1142 If a cross compiler is detected then cross compile mode will be used" >&2 1143 elif test "x$build_alias" != "x$host_alias"; then 1144 cross_compiling=yes 1145 fi 1146fi 1147 1148ac_tool_prefix= 1149test -n "$host_alias" && ac_tool_prefix=$host_alias- 1150 1151test "$silent" = yes && exec 6>/dev/null 1152 1153 1154ac_pwd=`pwd` && test -n "$ac_pwd" && 1155ac_ls_di=`ls -di .` && 1156ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1157 as_fn_error $? "working directory cannot be determined" 1158test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1159 as_fn_error $? "pwd does not report name of working directory" 1160 1161 1162# Find the source files, if location was not specified. 1163if test -z "$srcdir"; then 1164 ac_srcdir_defaulted=yes 1165 # Try the directory containing this script, then the parent directory. 1166 ac_confdir=`$as_dirname -- "$as_myself" || 1167$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1168 X"$as_myself" : 'X\(//\)[^/]' \| \ 1169 X"$as_myself" : 'X\(//\)$' \| \ 1170 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1171$as_echo X"$as_myself" | 1172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1173 s//\1/ 1174 q 1175 } 1176 /^X\(\/\/\)[^/].*/{ 1177 s//\1/ 1178 q 1179 } 1180 /^X\(\/\/\)$/{ 1181 s//\1/ 1182 q 1183 } 1184 /^X\(\/\).*/{ 1185 s//\1/ 1186 q 1187 } 1188 s/.*/./; q'` 1189 srcdir=$ac_confdir 1190 if test ! -r "$srcdir/$ac_unique_file"; then 1191 srcdir=.. 1192 fi 1193else 1194 ac_srcdir_defaulted=no 1195fi 1196if test ! -r "$srcdir/$ac_unique_file"; then 1197 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1198 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1199fi 1200ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1201ac_abs_confdir=`( 1202 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1203 pwd)` 1204# When building in place, set srcdir=. 1205if test "$ac_abs_confdir" = "$ac_pwd"; then 1206 srcdir=. 1207fi 1208# Remove unnecessary trailing slashes from srcdir. 1209# Double slashes in file names in object file debugging info 1210# mess up M-x gdb in Emacs. 1211case $srcdir in 1212*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1213esac 1214for ac_var in $ac_precious_vars; do 1215 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1216 eval ac_env_${ac_var}_value=\$${ac_var} 1217 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1218 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1219done 1220 1221# 1222# Report the --help message. 1223# 1224if test "$ac_init_help" = "long"; then 1225 # Omit some internal or obsolete options to make the list less imposing. 1226 # This message is too long to be a string in the A/UX 3.1 sh. 1227 cat <<_ACEOF 1228\`configure' configures Euchre 0.8 to adapt to many kinds of systems. 1229 1230Usage: $0 [OPTION]... [VAR=VALUE]... 1231 1232To assign environment variables (e.g., CC, CFLAGS...), specify them as 1233VAR=VALUE. See below for descriptions of some of the useful variables. 1234 1235Defaults for the options are specified in brackets. 1236 1237Configuration: 1238 -h, --help display this help and exit 1239 --help=short display options specific to this package 1240 --help=recursive display the short help of all the included packages 1241 -V, --version display version information and exit 1242 -q, --quiet, --silent do not print \`checking ...' messages 1243 --cache-file=FILE cache test results in FILE [disabled] 1244 -C, --config-cache alias for \`--cache-file=config.cache' 1245 -n, --no-create do not create output files 1246 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1247 1248Installation directories: 1249 --prefix=PREFIX install architecture-independent files in PREFIX 1250 [$ac_default_prefix] 1251 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1252 [PREFIX] 1253 1254By default, \`make install' will install all the files in 1255\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1256an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1257for instance \`--prefix=\$HOME'. 1258 1259For better control, use the options below. 1260 1261Fine tuning of the installation directories: 1262 --bindir=DIR user executables [EPREFIX/bin] 1263 --sbindir=DIR system admin executables [EPREFIX/sbin] 1264 --libexecdir=DIR program executables [EPREFIX/libexec] 1265 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1266 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1267 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1268 --libdir=DIR object code libraries [EPREFIX/lib] 1269 --includedir=DIR C header files [PREFIX/include] 1270 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1271 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1272 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1273 --infodir=DIR info documentation [DATAROOTDIR/info] 1274 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1275 --mandir=DIR man documentation [DATAROOTDIR/man] 1276 --docdir=DIR documentation root [DATAROOTDIR/doc/euchre] 1277 --htmldir=DIR html documentation [DOCDIR] 1278 --dvidir=DIR dvi documentation [DOCDIR] 1279 --pdfdir=DIR pdf documentation [DOCDIR] 1280 --psdir=DIR ps documentation [DOCDIR] 1281_ACEOF 1282 1283 cat <<\_ACEOF 1284 1285Program names: 1286 --program-prefix=PREFIX prepend PREFIX to installed program names 1287 --program-suffix=SUFFIX append SUFFIX to installed program names 1288 --program-transform-name=PROGRAM run sed PROGRAM on installed program names 1289_ACEOF 1290fi 1291 1292if test -n "$ac_init_help"; then 1293 case $ac_init_help in 1294 short | recursive ) echo "Configuration of Euchre 0.8:";; 1295 esac 1296 cat <<\_ACEOF 1297 1298Optional Features: 1299 --disable-option-checking ignore unrecognized --enable/--with options 1300 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1301 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1302 --enable-silent-rules less verbose build output (undo: `make V=1') 1303 --disable-silent-rules verbose build output (undo: `make V=0') 1304 --disable-dependency-tracking speeds up one-time build 1305 --enable-dependency-tracking do not reject slow dependency extractors 1306 1307Some influential environment variables: 1308 CC C compiler command 1309 CFLAGS C compiler flags 1310 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1311 nonstandard directory <lib dir> 1312 LIBS libraries to pass to the linker, e.g. -l<library> 1313 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1314 you have headers in a nonstandard directory <include dir> 1315 CXX C++ compiler command 1316 CXXFLAGS C++ compiler flags 1317 PKG_CONFIG path to pkg-config utility 1318 PKG_CONFIG_PATH 1319 directories to add to pkg-config's search path 1320 PKG_CONFIG_LIBDIR 1321 path overriding pkg-config's built-in search path 1322 GTK_CFLAGS C compiler flags for GTK, overriding pkg-config 1323 GTK_LIBS linker flags for GTK, overriding pkg-config 1324 1325Use these variables to override the choices made by `configure' or to help 1326it to find libraries and programs with nonstandard names/locations. 1327 1328Report bugs to the package provider. 1329_ACEOF 1330ac_status=$? 1331fi 1332 1333if test "$ac_init_help" = "recursive"; then 1334 # If there are subdirs, report their specific --help. 1335 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1336 test -d "$ac_dir" || 1337 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1338 continue 1339 ac_builddir=. 1340 1341case "$ac_dir" in 1342.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1343*) 1344 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1345 # A ".." for each directory in $ac_dir_suffix. 1346 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1347 case $ac_top_builddir_sub in 1348 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1349 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1350 esac ;; 1351esac 1352ac_abs_top_builddir=$ac_pwd 1353ac_abs_builddir=$ac_pwd$ac_dir_suffix 1354# for backward compatibility: 1355ac_top_builddir=$ac_top_build_prefix 1356 1357case $srcdir in 1358 .) # We are building in place. 1359 ac_srcdir=. 1360 ac_top_srcdir=$ac_top_builddir_sub 1361 ac_abs_top_srcdir=$ac_pwd ;; 1362 [\\/]* | ?:[\\/]* ) # Absolute name. 1363 ac_srcdir=$srcdir$ac_dir_suffix; 1364 ac_top_srcdir=$srcdir 1365 ac_abs_top_srcdir=$srcdir ;; 1366 *) # Relative name. 1367 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1368 ac_top_srcdir=$ac_top_build_prefix$srcdir 1369 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1370esac 1371ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1372 1373 cd "$ac_dir" || { ac_status=$?; continue; } 1374 # Check for guested configure. 1375 if test -f "$ac_srcdir/configure.gnu"; then 1376 echo && 1377 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1378 elif test -f "$ac_srcdir/configure"; then 1379 echo && 1380 $SHELL "$ac_srcdir/configure" --help=recursive 1381 else 1382 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1383 fi || ac_status=$? 1384 cd "$ac_pwd" || { ac_status=$?; break; } 1385 done 1386fi 1387 1388test -n "$ac_init_help" && exit $ac_status 1389if $ac_init_version; then 1390 cat <<\_ACEOF 1391Euchre configure 0.8 1392generated by GNU Autoconf 2.68 1393 1394Copyright (C) 2010 Free Software Foundation, Inc. 1395This configure script is free software; the Free Software Foundation 1396gives unlimited permission to copy, distribute and modify it. 1397_ACEOF 1398 exit 1399fi 1400 1401## ------------------------ ## 1402## Autoconf initialization. ## 1403## ------------------------ ## 1404 1405# ac_fn_c_try_compile LINENO 1406# -------------------------- 1407# Try to compile conftest.$ac_ext, and return whether this succeeded. 1408ac_fn_c_try_compile () 1409{ 1410 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1411 rm -f conftest.$ac_objext 1412 if { { ac_try="$ac_compile" 1413case "(($ac_try" in 1414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1415 *) ac_try_echo=$ac_try;; 1416esac 1417eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1418$as_echo "$ac_try_echo"; } >&5 1419 (eval "$ac_compile") 2>conftest.err 1420 ac_status=$? 1421 if test -s conftest.err; then 1422 grep -v '^ *+' conftest.err >conftest.er1 1423 cat conftest.er1 >&5 1424 mv -f conftest.er1 conftest.err 1425 fi 1426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1427 test $ac_status = 0; } && { 1428 test -z "$ac_c_werror_flag" || 1429 test ! -s conftest.err 1430 } && test -s conftest.$ac_objext; then : 1431 ac_retval=0 1432else 1433 $as_echo "$as_me: failed program was:" >&5 1434sed 's/^/| /' conftest.$ac_ext >&5 1435 1436 ac_retval=1 1437fi 1438 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1439 as_fn_set_status $ac_retval 1440 1441} # ac_fn_c_try_compile 1442 1443# ac_fn_cxx_try_compile LINENO 1444# ---------------------------- 1445# Try to compile conftest.$ac_ext, and return whether this succeeded. 1446ac_fn_cxx_try_compile () 1447{ 1448 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1449 rm -f conftest.$ac_objext 1450 if { { ac_try="$ac_compile" 1451case "(($ac_try" in 1452 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1453 *) ac_try_echo=$ac_try;; 1454esac 1455eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1456$as_echo "$ac_try_echo"; } >&5 1457 (eval "$ac_compile") 2>conftest.err 1458 ac_status=$? 1459 if test -s conftest.err; then 1460 grep -v '^ *+' conftest.err >conftest.er1 1461 cat conftest.er1 >&5 1462 mv -f conftest.er1 conftest.err 1463 fi 1464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1465 test $ac_status = 0; } && { 1466 test -z "$ac_cxx_werror_flag" || 1467 test ! -s conftest.err 1468 } && test -s conftest.$ac_objext; then : 1469 ac_retval=0 1470else 1471 $as_echo "$as_me: failed program was:" >&5 1472sed 's/^/| /' conftest.$ac_ext >&5 1473 1474 ac_retval=1 1475fi 1476 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1477 as_fn_set_status $ac_retval 1478 1479} # ac_fn_cxx_try_compile 1480cat >config.log <<_ACEOF 1481This file contains any messages produced by compilers while 1482running configure, to aid debugging if configure makes a mistake. 1483 1484It was created by Euchre $as_me 0.8, which was 1485generated by GNU Autoconf 2.68. Invocation command line was 1486 1487 $ $0 $@ 1488 1489_ACEOF 1490exec 5>>config.log 1491{ 1492cat <<_ASUNAME 1493## --------- ## 1494## Platform. ## 1495## --------- ## 1496 1497hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1498uname -m = `(uname -m) 2>/dev/null || echo unknown` 1499uname -r = `(uname -r) 2>/dev/null || echo unknown` 1500uname -s = `(uname -s) 2>/dev/null || echo unknown` 1501uname -v = `(uname -v) 2>/dev/null || echo unknown` 1502 1503/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1504/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1505 1506/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1507/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1508/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1509/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1510/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1511/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1512/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1513 1514_ASUNAME 1515 1516as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1517for as_dir in $PATH 1518do 1519 IFS=$as_save_IFS 1520 test -z "$as_dir" && as_dir=. 1521 $as_echo "PATH: $as_dir" 1522 done 1523IFS=$as_save_IFS 1524 1525} >&5 1526 1527cat >&5 <<_ACEOF 1528 1529 1530## ----------- ## 1531## Core tests. ## 1532## ----------- ## 1533 1534_ACEOF 1535 1536 1537# Keep a trace of the command line. 1538# Strip out --no-create and --no-recursion so they do not pile up. 1539# Strip out --silent because we don't want to record it for future runs. 1540# Also quote any args containing shell meta-characters. 1541# Make two passes to allow for proper duplicate-argument suppression. 1542ac_configure_args= 1543ac_configure_args0= 1544ac_configure_args1= 1545ac_must_keep_next=false 1546for ac_pass in 1 2 1547do 1548 for ac_arg 1549 do 1550 case $ac_arg in 1551 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1552 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1553 | -silent | --silent | --silen | --sile | --sil) 1554 continue ;; 1555 *\'*) 1556 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1557 esac 1558 case $ac_pass in 1559 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1560 2) 1561 as_fn_append ac_configure_args1 " '$ac_arg'" 1562 if test $ac_must_keep_next = true; then 1563 ac_must_keep_next=false # Got value, back to normal. 1564 else 1565 case $ac_arg in 1566 *=* | --config-cache | -C | -disable-* | --disable-* \ 1567 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1568 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1569 | -with-* | --with-* | -without-* | --without-* | --x) 1570 case "$ac_configure_args0 " in 1571 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1572 esac 1573 ;; 1574 -* ) ac_must_keep_next=true ;; 1575 esac 1576 fi 1577 as_fn_append ac_configure_args " '$ac_arg'" 1578 ;; 1579 esac 1580 done 1581done 1582{ ac_configure_args0=; unset ac_configure_args0;} 1583{ ac_configure_args1=; unset ac_configure_args1;} 1584 1585# When interrupted or exit'd, cleanup temporary files, and complete 1586# config.log. We remove comments because anyway the quotes in there 1587# would cause problems or look ugly. 1588# WARNING: Use '\'' to represent an apostrophe within the trap. 1589# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1590trap 'exit_status=$? 1591 # Save into config.log some information that might help in debugging. 1592 { 1593 echo 1594 1595 $as_echo "## ---------------- ## 1596## Cache variables. ## 1597## ---------------- ##" 1598 echo 1599 # The following way of writing the cache mishandles newlines in values, 1600( 1601 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1602 eval ac_val=\$$ac_var 1603 case $ac_val in #( 1604 *${as_nl}*) 1605 case $ac_var in #( 1606 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1607$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1608 esac 1609 case $ac_var in #( 1610 _ | IFS | as_nl) ;; #( 1611 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1612 *) { eval $ac_var=; unset $ac_var;} ;; 1613 esac ;; 1614 esac 1615 done 1616 (set) 2>&1 | 1617 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1618 *${as_nl}ac_space=\ *) 1619 sed -n \ 1620 "s/'\''/'\''\\\\'\'''\''/g; 1621 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1622 ;; #( 1623 *) 1624 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1625 ;; 1626 esac | 1627 sort 1628) 1629 echo 1630 1631 $as_echo "## ----------------- ## 1632## Output variables. ## 1633## ----------------- ##" 1634 echo 1635 for ac_var in $ac_subst_vars 1636 do 1637 eval ac_val=\$$ac_var 1638 case $ac_val in 1639 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1640 esac 1641 $as_echo "$ac_var='\''$ac_val'\''" 1642 done | sort 1643 echo 1644 1645 if test -n "$ac_subst_files"; then 1646 $as_echo "## ------------------- ## 1647## File substitutions. ## 1648## ------------------- ##" 1649 echo 1650 for ac_var in $ac_subst_files 1651 do 1652 eval ac_val=\$$ac_var 1653 case $ac_val in 1654 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1655 esac 1656 $as_echo "$ac_var='\''$ac_val'\''" 1657 done | sort 1658 echo 1659 fi 1660 1661 if test -s confdefs.h; then 1662 $as_echo "## ----------- ## 1663## confdefs.h. ## 1664## ----------- ##" 1665 echo 1666 cat confdefs.h 1667 echo 1668 fi 1669 test "$ac_signal" != 0 && 1670 $as_echo "$as_me: caught signal $ac_signal" 1671 $as_echo "$as_me: exit $exit_status" 1672 } >&5 1673 rm -f core *.core core.conftest.* && 1674 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1675 exit $exit_status 1676' 0 1677for ac_signal in 1 2 13 15; do 1678 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1679done 1680ac_signal=0 1681 1682# confdefs.h avoids OS command line length limits that DEFS can exceed. 1683rm -f -r conftest* confdefs.h 1684 1685$as_echo "/* confdefs.h */" > confdefs.h 1686 1687# Predefined preprocessor variables. 1688 1689cat >>confdefs.h <<_ACEOF 1690#define PACKAGE_NAME "$PACKAGE_NAME" 1691_ACEOF 1692 1693cat >>confdefs.h <<_ACEOF 1694#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1695_ACEOF 1696 1697cat >>confdefs.h <<_ACEOF 1698#define PACKAGE_VERSION "$PACKAGE_VERSION" 1699_ACEOF 1700 1701cat >>confdefs.h <<_ACEOF 1702#define PACKAGE_STRING "$PACKAGE_STRING" 1703_ACEOF 1704 1705cat >>confdefs.h <<_ACEOF 1706#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1707_ACEOF 1708 1709cat >>confdefs.h <<_ACEOF 1710#define PACKAGE_URL "$PACKAGE_URL" 1711_ACEOF 1712 1713 1714# Let the site file select an alternate cache file if it wants to. 1715# Prefer an explicitly selected file to automatically selected ones. 1716ac_site_file1=NONE 1717ac_site_file2=NONE 1718if test -n "$CONFIG_SITE"; then 1719 # We do not want a PATH search for config.site. 1720 case $CONFIG_SITE in #(( 1721 -*) ac_site_file1=./$CONFIG_SITE;; 1722 */*) ac_site_file1=$CONFIG_SITE;; 1723 *) ac_site_file1=./$CONFIG_SITE;; 1724 esac 1725elif test "x$prefix" != xNONE; then 1726 ac_site_file1=$prefix/share/config.site 1727 ac_site_file2=$prefix/etc/config.site 1728else 1729 ac_site_file1=$ac_default_prefix/share/config.site 1730 ac_site_file2=$ac_default_prefix/etc/config.site 1731fi 1732for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1733do 1734 test "x$ac_site_file" = xNONE && continue 1735 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1736 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1737$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1738 sed 's/^/| /' "$ac_site_file" >&5 1739 . "$ac_site_file" \ 1740 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1741$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1742as_fn_error $? "failed to load site script $ac_site_file 1743See \`config.log' for more details" "$LINENO" 5; } 1744 fi 1745done 1746 1747if test -r "$cache_file"; then 1748 # Some versions of bash will fail to source /dev/null (special files 1749 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1750 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1751 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1752$as_echo "$as_me: loading cache $cache_file" >&6;} 1753 case $cache_file in 1754 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1755 *) . "./$cache_file";; 1756 esac 1757 fi 1758else 1759 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1760$as_echo "$as_me: creating cache $cache_file" >&6;} 1761 >$cache_file 1762fi 1763 1764# Check that the precious variables saved in the cache have kept the same 1765# value. 1766ac_cache_corrupted=false 1767for ac_var in $ac_precious_vars; do 1768 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1769 eval ac_new_set=\$ac_env_${ac_var}_set 1770 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1771 eval ac_new_val=\$ac_env_${ac_var}_value 1772 case $ac_old_set,$ac_new_set in 1773 set,) 1774 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1775$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1776 ac_cache_corrupted=: ;; 1777 ,set) 1778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1779$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1780 ac_cache_corrupted=: ;; 1781 ,);; 1782 *) 1783 if test "x$ac_old_val" != "x$ac_new_val"; then 1784 # differences in whitespace do not lead to failure. 1785 ac_old_val_w=`echo x $ac_old_val` 1786 ac_new_val_w=`echo x $ac_new_val` 1787 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1788 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1789$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1790 ac_cache_corrupted=: 1791 else 1792 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1793$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1794 eval $ac_var=\$ac_old_val 1795 fi 1796 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1797$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1798 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1799$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1800 fi;; 1801 esac 1802 # Pass precious variables to config.status. 1803 if test "$ac_new_set" = set; then 1804 case $ac_new_val in 1805 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1806 *) ac_arg=$ac_var=$ac_new_val ;; 1807 esac 1808 case " $ac_configure_args " in 1809 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1810 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1811 esac 1812 fi 1813done 1814if $ac_cache_corrupted; then 1815 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1816$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1817 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1818$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1819 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1820fi 1821## -------------------- ## 1822## Main body of script. ## 1823## -------------------- ## 1824 1825ac_ext=c 1826ac_cpp='$CPP $CPPFLAGS' 1827ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1828ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1829ac_compiler_gnu=$ac_cv_c_compiler_gnu 1830 1831 1832am__api_version='1.11' 1833 1834ac_aux_dir= 1835for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 1836 if test -f "$ac_dir/install-sh"; then 1837 ac_aux_dir=$ac_dir 1838 ac_install_sh="$ac_aux_dir/install-sh -c" 1839 break 1840 elif test -f "$ac_dir/install.sh"; then 1841 ac_aux_dir=$ac_dir 1842 ac_install_sh="$ac_aux_dir/install.sh -c" 1843 break 1844 elif test -f "$ac_dir/shtool"; then 1845 ac_aux_dir=$ac_dir 1846 ac_install_sh="$ac_aux_dir/shtool install -c" 1847 break 1848 fi 1849done 1850if test -z "$ac_aux_dir"; then 1851 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 1852fi 1853 1854# These three variables are undocumented and unsupported, 1855# and are intended to be withdrawn in a future Autoconf release. 1856# They can cause serious problems if a builder's source tree is in a directory 1857# whose full name contains unusual characters. 1858ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 1859ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 1860ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 1861 1862 1863# Find a good install program. We prefer a C program (faster), 1864# so one script is as good as another. But avoid the broken or 1865# incompatible versions: 1866# SysV /etc/install, /usr/sbin/install 1867# SunOS /usr/etc/install 1868# IRIX /sbin/install 1869# AIX /bin/install 1870# AmigaOS /C/install, which installs bootblocks on floppy discs 1871# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 1872# AFS /usr/afsws/bin/install, which mishandles nonexistent args 1873# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 1874# OS/2's system install, which has a completely different semantic 1875# ./install, which can be erroneously created by make from ./install.sh. 1876# Reject install programs that cannot install multiple files. 1877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 1878$as_echo_n "checking for a BSD-compatible install... " >&6; } 1879if test -z "$INSTALL"; then 1880if ${ac_cv_path_install+:} false; then : 1881 $as_echo_n "(cached) " >&6 1882else 1883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1884for as_dir in $PATH 1885do 1886 IFS=$as_save_IFS 1887 test -z "$as_dir" && as_dir=. 1888 # Account for people who put trailing slashes in PATH elements. 1889case $as_dir/ in #(( 1890 ./ | .// | /[cC]/* | \ 1891 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 1892 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 1893 /usr/ucb/* ) ;; 1894 *) 1895 # OSF1 and SCO ODT 3.0 have their own names for install. 1896 # Don't use installbsd from OSF since it installs stuff as root 1897 # by default. 1898 for ac_prog in ginstall scoinst install; do 1899 for ac_exec_ext in '' $ac_executable_extensions; do 1900 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then 1901 if test $ac_prog = install && 1902 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1903 # AIX install. It has an incompatible calling convention. 1904 : 1905 elif test $ac_prog = install && 1906 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1907 # program-specific install script used by HP pwplus--don't use. 1908 : 1909 else 1910 rm -rf conftest.one conftest.two conftest.dir 1911 echo one > conftest.one 1912 echo two > conftest.two 1913 mkdir conftest.dir 1914 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 1915 test -s conftest.one && test -s conftest.two && 1916 test -s conftest.dir/conftest.one && 1917 test -s conftest.dir/conftest.two 1918 then 1919 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 1920 break 3 1921 fi 1922 fi 1923 fi 1924 done 1925 done 1926 ;; 1927esac 1928 1929 done 1930IFS=$as_save_IFS 1931 1932rm -rf conftest.one conftest.two conftest.dir 1933 1934fi 1935 if test "${ac_cv_path_install+set}" = set; then 1936 INSTALL=$ac_cv_path_install 1937 else 1938 # As a last resort, use the slow shell script. Don't cache a 1939 # value for INSTALL within a source directory, because that will 1940 # break other packages using the cache if that directory is 1941 # removed, or if the value is a relative name. 1942 INSTALL=$ac_install_sh 1943 fi 1944fi 1945{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 1946$as_echo "$INSTALL" >&6; } 1947 1948# Use test -z because SunOS4 sh mishandles braces in ${var-val}. 1949# It thinks the first close brace ends the variable substitution. 1950test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1951 1952test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1953 1954test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1955 1956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 1957$as_echo_n "checking whether build environment is sane... " >&6; } 1958# Just in case 1959sleep 1 1960echo timestamp > conftest.file 1961# Reject unsafe characters in $srcdir or the absolute working directory 1962# name. Accept space and tab only in the latter. 1963am_lf=' 1964' 1965case `pwd` in 1966 *[\\\"\#\$\&\'\`$am_lf]*) 1967 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; 1968esac 1969case $srcdir in 1970 *[\\\"\#\$\&\'\`$am_lf\ \ ]*) 1971 as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; 1972esac 1973 1974# Do `set' in a subshell so we don't clobber the current shell's 1975# arguments. Must try -L first in case configure is actually a 1976# symlink; some systems play weird games with the mod time of symlinks 1977# (eg FreeBSD returns the mod time of the symlink's containing 1978# directory). 1979if ( 1980 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` 1981 if test "$*" = "X"; then 1982 # -L didn't work. 1983 set X `ls -t "$srcdir/configure" conftest.file` 1984 fi 1985 rm -f conftest.file 1986 if test "$*" != "X $srcdir/configure conftest.file" \ 1987 && test "$*" != "X conftest.file $srcdir/configure"; then 1988 1989 # If neither matched, then we have a broken ls. This can happen 1990 # if, for instance, CONFIG_SHELL is bash and it inherits a 1991 # broken ls alias from the environment. This has actually 1992 # happened. Such a system could not be considered "sane". 1993 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken 1994alias in your environment" "$LINENO" 5 1995 fi 1996 1997 test "$2" = conftest.file 1998 ) 1999then 2000 # Ok. 2001 : 2002else 2003 as_fn_error $? "newly created file is older than distributed files! 2004Check your system clock" "$LINENO" 5 2005fi 2006{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2007$as_echo "yes" >&6; } 2008test "$program_prefix" != NONE && 2009 program_transform_name="s&^&$program_prefix&;$program_transform_name" 2010# Use a double $ so make ignores it. 2011test "$program_suffix" != NONE && 2012 program_transform_name="s&\$&$program_suffix&;$program_transform_name" 2013# Double any \ or $. 2014# By default was `s,x,x', remove it if useless. 2015ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' 2016program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` 2017 2018# expand $ac_aux_dir to an absolute path 2019am_aux_dir=`cd $ac_aux_dir && pwd` 2020 2021if test x"${MISSING+set}" != xset; then 2022 case $am_aux_dir in 2023 *\ * | *\ *) 2024 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; 2025 *) 2026 MISSING="\${SHELL} $am_aux_dir/missing" ;; 2027 esac 2028fi 2029# Use eval to expand $SHELL 2030if eval "$MISSING --run true"; then 2031 am_missing_run="$MISSING --run " 2032else 2033 am_missing_run= 2034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 2035$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} 2036fi 2037 2038if test x"${install_sh}" != xset; then 2039 case $am_aux_dir in 2040 *\ * | *\ *) 2041 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; 2042 *) 2043 install_sh="\${SHELL} $am_aux_dir/install-sh" 2044 esac 2045fi 2046 2047# Installed binaries are usually stripped using `strip' when the user 2048# run `make install-strip'. However `strip' might not be the right 2049# tool to use in cross-compilation environments, therefore Automake 2050# will honor the `STRIP' environment variable to overrule this program. 2051if test "$cross_compiling" != no; then 2052 if test -n "$ac_tool_prefix"; then 2053 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. 2054set dummy ${ac_tool_prefix}strip; ac_word=$2 2055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2056$as_echo_n "checking for $ac_word... " >&6; } 2057if ${ac_cv_prog_STRIP+:} false; then : 2058 $as_echo_n "(cached) " >&6 2059else 2060 if test -n "$STRIP"; then 2061 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. 2062else 2063as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2064for as_dir in $PATH 2065do 2066 IFS=$as_save_IFS 2067 test -z "$as_dir" && as_dir=. 2068 for ac_exec_ext in '' $ac_executable_extensions; do 2069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2070 ac_cv_prog_STRIP="${ac_tool_prefix}strip" 2071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2072 break 2 2073 fi 2074done 2075 done 2076IFS=$as_save_IFS 2077 2078fi 2079fi 2080STRIP=$ac_cv_prog_STRIP 2081if test -n "$STRIP"; then 2082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 2083$as_echo "$STRIP" >&6; } 2084else 2085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2086$as_echo "no" >&6; } 2087fi 2088 2089 2090fi 2091if test -z "$ac_cv_prog_STRIP"; then 2092 ac_ct_STRIP=$STRIP 2093 # Extract the first word of "strip", so it can be a program name with args. 2094set dummy strip; ac_word=$2 2095{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2096$as_echo_n "checking for $ac_word... " >&6; } 2097if ${ac_cv_prog_ac_ct_STRIP+:} false; then : 2098 $as_echo_n "(cached) " >&6 2099else 2100 if test -n "$ac_ct_STRIP"; then 2101 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. 2102else 2103as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2104for as_dir in $PATH 2105do 2106 IFS=$as_save_IFS 2107 test -z "$as_dir" && as_dir=. 2108 for ac_exec_ext in '' $ac_executable_extensions; do 2109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2110 ac_cv_prog_ac_ct_STRIP="strip" 2111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2112 break 2 2113 fi 2114done 2115 done 2116IFS=$as_save_IFS 2117 2118fi 2119fi 2120ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP 2121if test -n "$ac_ct_STRIP"; then 2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 2123$as_echo "$ac_ct_STRIP" >&6; } 2124else 2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2126$as_echo "no" >&6; } 2127fi 2128 2129 if test "x$ac_ct_STRIP" = x; then 2130 STRIP=":" 2131 else 2132 case $cross_compiling:$ac_tool_warned in 2133yes:) 2134{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2135$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2136ac_tool_warned=yes ;; 2137esac 2138 STRIP=$ac_ct_STRIP 2139 fi 2140else 2141 STRIP="$ac_cv_prog_STRIP" 2142fi 2143 2144fi 2145INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" 2146 2147{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 2148$as_echo_n "checking for a thread-safe mkdir -p... " >&6; } 2149if test -z "$MKDIR_P"; then 2150 if ${ac_cv_path_mkdir+:} false; then : 2151 $as_echo_n "(cached) " >&6 2152else 2153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2154for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin 2155do 2156 IFS=$as_save_IFS 2157 test -z "$as_dir" && as_dir=. 2158 for ac_prog in mkdir gmkdir; do 2159 for ac_exec_ext in '' $ac_executable_extensions; do 2160 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue 2161 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 2162 'mkdir (GNU coreutils) '* | \ 2163 'mkdir (coreutils) '* | \ 2164 'mkdir (fileutils) '4.1*) 2165 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext 2166 break 3;; 2167 esac 2168 done 2169 done 2170 done 2171IFS=$as_save_IFS 2172 2173fi 2174 2175 test -d ./--version && rmdir ./--version 2176 if test "${ac_cv_path_mkdir+set}" = set; then 2177 MKDIR_P="$ac_cv_path_mkdir -p" 2178 else 2179 # As a last resort, use the slow shell script. Don't cache a 2180 # value for MKDIR_P within a source directory, because that will 2181 # break other packages using the cache if that directory is 2182 # removed, or if the value is a relative name. 2183 MKDIR_P="$ac_install_sh -d" 2184 fi 2185fi 2186{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 2187$as_echo "$MKDIR_P" >&6; } 2188 2189mkdir_p="$MKDIR_P" 2190case $mkdir_p in 2191 [\\/$]* | ?:[\\/]*) ;; 2192 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; 2193esac 2194 2195for ac_prog in gawk mawk nawk awk 2196do 2197 # Extract the first word of "$ac_prog", so it can be a program name with args. 2198set dummy $ac_prog; ac_word=$2 2199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2200$as_echo_n "checking for $ac_word... " >&6; } 2201if ${ac_cv_prog_AWK+:} false; then : 2202 $as_echo_n "(cached) " >&6 2203else 2204 if test -n "$AWK"; then 2205 ac_cv_prog_AWK="$AWK" # Let the user override the test. 2206else 2207as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2208for as_dir in $PATH 2209do 2210 IFS=$as_save_IFS 2211 test -z "$as_dir" && as_dir=. 2212 for ac_exec_ext in '' $ac_executable_extensions; do 2213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2214 ac_cv_prog_AWK="$ac_prog" 2215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2216 break 2 2217 fi 2218done 2219 done 2220IFS=$as_save_IFS 2221 2222fi 2223fi 2224AWK=$ac_cv_prog_AWK 2225if test -n "$AWK"; then 2226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 2227$as_echo "$AWK" >&6; } 2228else 2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2230$as_echo "no" >&6; } 2231fi 2232 2233 2234 test -n "$AWK" && break 2235done 2236 2237{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 2238$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } 2239set x ${MAKE-make} 2240ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` 2241if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : 2242 $as_echo_n "(cached) " >&6 2243else 2244 cat >conftest.make <<\_ACEOF 2245SHELL = /bin/sh 2246all: 2247 @echo '@@@%%%=$(MAKE)=@@@%%%' 2248_ACEOF 2249# GNU make sometimes prints "make[1]: Entering ...", which would confuse us. 2250case `${MAKE-make} -f conftest.make 2>/dev/null` in 2251 *@@@%%%=?*=@@@%%%*) 2252 eval ac_cv_prog_make_${ac_make}_set=yes;; 2253 *) 2254 eval ac_cv_prog_make_${ac_make}_set=no;; 2255esac 2256rm -f conftest.make 2257fi 2258if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then 2259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2260$as_echo "yes" >&6; } 2261 SET_MAKE= 2262else 2263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2264$as_echo "no" >&6; } 2265 SET_MAKE="MAKE=${MAKE-make}" 2266fi 2267 2268rm -rf .tst 2>/dev/null 2269mkdir .tst 2>/dev/null 2270if test -d .tst; then 2271 am__leading_dot=. 2272else 2273 am__leading_dot=_ 2274fi 2275rmdir .tst 2>/dev/null 2276 2277if test "`cd $srcdir && pwd`" != "`pwd`"; then 2278 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output 2279 # is not polluted with repeated "-I." 2280 am__isrc=' -I$(srcdir)' 2281 # test to see if srcdir already configured 2282 if test -f $srcdir/config.status; then 2283 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 2284 fi 2285fi 2286 2287# test whether we have cygpath 2288if test -z "$CYGPATH_W"; then 2289 if (cygpath --version) >/dev/null 2>/dev/null; then 2290 CYGPATH_W='cygpath -w' 2291 else 2292 CYGPATH_W=echo 2293 fi 2294fi 2295 2296 2297# Define the identity of the package. 2298 PACKAGE='euchre' 2299 VERSION='0.8' 2300 2301 2302cat >>confdefs.h <<_ACEOF 2303#define PACKAGE "$PACKAGE" 2304_ACEOF 2305 2306 2307cat >>confdefs.h <<_ACEOF 2308#define VERSION "$VERSION" 2309_ACEOF 2310 2311# Some tools Automake needs. 2312 2313ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} 2314 2315 2316AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} 2317 2318 2319AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} 2320 2321 2322AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} 2323 2324 2325MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} 2326 2327# We need awk for the "check" target. The system "awk" is bad on 2328# some platforms. 2329# Always define AMTAR for backward compatibility. Yes, it's still used 2330# in the wild :-( We should find a proper way to deprecate it ... 2331AMTAR='$${TAR-tar}' 2332 2333am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' 2334 2335 2336 2337 2338 2339# Check whether --enable-silent-rules was given. 2340if test "${enable_silent_rules+set}" = set; then : 2341 enableval=$enable_silent_rules; 2342fi 2343 2344case $enable_silent_rules in 2345yes) AM_DEFAULT_VERBOSITY=0;; 2346no) AM_DEFAULT_VERBOSITY=1;; 2347*) AM_DEFAULT_VERBOSITY=0;; 2348esac 2349am_make=${MAKE-make} 2350{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 2351$as_echo_n "checking whether $am_make supports nested variables... " >&6; } 2352if ${am_cv_make_support_nested_variables+:} false; then : 2353 $as_echo_n "(cached) " >&6 2354else 2355 if $as_echo 'TRUE=$(BAR$(V)) 2356BAR0=false 2357BAR1=true 2358V=1 2359am__doit: 2360 @$(TRUE) 2361.PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then 2362 am_cv_make_support_nested_variables=yes 2363else 2364 am_cv_make_support_nested_variables=no 2365fi 2366fi 2367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 2368$as_echo "$am_cv_make_support_nested_variables" >&6; } 2369if test $am_cv_make_support_nested_variables = yes; then 2370 AM_V='$(V)' 2371 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 2372else 2373 AM_V=$AM_DEFAULT_VERBOSITY 2374 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY 2375fi 2376AM_BACKSLASH='\' 2377 2378ac_ext=c 2379ac_cpp='$CPP $CPPFLAGS' 2380ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2381ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2382ac_compiler_gnu=$ac_cv_c_compiler_gnu 2383if test -n "$ac_tool_prefix"; then 2384 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2385set dummy ${ac_tool_prefix}gcc; ac_word=$2 2386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2387$as_echo_n "checking for $ac_word... " >&6; } 2388if ${ac_cv_prog_CC+:} false; then : 2389 $as_echo_n "(cached) " >&6 2390else 2391 if test -n "$CC"; then 2392 ac_cv_prog_CC="$CC" # Let the user override the test. 2393else 2394as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2395for as_dir in $PATH 2396do 2397 IFS=$as_save_IFS 2398 test -z "$as_dir" && as_dir=. 2399 for ac_exec_ext in '' $ac_executable_extensions; do 2400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2401 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2403 break 2 2404 fi 2405done 2406 done 2407IFS=$as_save_IFS 2408 2409fi 2410fi 2411CC=$ac_cv_prog_CC 2412if test -n "$CC"; then 2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2414$as_echo "$CC" >&6; } 2415else 2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2417$as_echo "no" >&6; } 2418fi 2419 2420 2421fi 2422if test -z "$ac_cv_prog_CC"; then 2423 ac_ct_CC=$CC 2424 # Extract the first word of "gcc", so it can be a program name with args. 2425set dummy gcc; ac_word=$2 2426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2427$as_echo_n "checking for $ac_word... " >&6; } 2428if ${ac_cv_prog_ac_ct_CC+:} false; then : 2429 $as_echo_n "(cached) " >&6 2430else 2431 if test -n "$ac_ct_CC"; then 2432 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2433else 2434as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2435for as_dir in $PATH 2436do 2437 IFS=$as_save_IFS 2438 test -z "$as_dir" && as_dir=. 2439 for ac_exec_ext in '' $ac_executable_extensions; do 2440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2441 ac_cv_prog_ac_ct_CC="gcc" 2442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2443 break 2 2444 fi 2445done 2446 done 2447IFS=$as_save_IFS 2448 2449fi 2450fi 2451ac_ct_CC=$ac_cv_prog_ac_ct_CC 2452if test -n "$ac_ct_CC"; then 2453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2454$as_echo "$ac_ct_CC" >&6; } 2455else 2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2457$as_echo "no" >&6; } 2458fi 2459 2460 if test "x$ac_ct_CC" = x; then 2461 CC="" 2462 else 2463 case $cross_compiling:$ac_tool_warned in 2464yes:) 2465{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2466$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2467ac_tool_warned=yes ;; 2468esac 2469 CC=$ac_ct_CC 2470 fi 2471else 2472 CC="$ac_cv_prog_CC" 2473fi 2474 2475if test -z "$CC"; then 2476 if test -n "$ac_tool_prefix"; then 2477 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2478set dummy ${ac_tool_prefix}cc; ac_word=$2 2479{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2480$as_echo_n "checking for $ac_word... " >&6; } 2481if ${ac_cv_prog_CC+:} false; then : 2482 $as_echo_n "(cached) " >&6 2483else 2484 if test -n "$CC"; then 2485 ac_cv_prog_CC="$CC" # Let the user override the test. 2486else 2487as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2488for as_dir in $PATH 2489do 2490 IFS=$as_save_IFS 2491 test -z "$as_dir" && as_dir=. 2492 for ac_exec_ext in '' $ac_executable_extensions; do 2493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2494 ac_cv_prog_CC="${ac_tool_prefix}cc" 2495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2496 break 2 2497 fi 2498done 2499 done 2500IFS=$as_save_IFS 2501 2502fi 2503fi 2504CC=$ac_cv_prog_CC 2505if test -n "$CC"; then 2506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2507$as_echo "$CC" >&6; } 2508else 2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2510$as_echo "no" >&6; } 2511fi 2512 2513 2514 fi 2515fi 2516if test -z "$CC"; then 2517 # Extract the first word of "cc", so it can be a program name with args. 2518set dummy cc; ac_word=$2 2519{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2520$as_echo_n "checking for $ac_word... " >&6; } 2521if ${ac_cv_prog_CC+:} false; then : 2522 $as_echo_n "(cached) " >&6 2523else 2524 if test -n "$CC"; then 2525 ac_cv_prog_CC="$CC" # Let the user override the test. 2526else 2527 ac_prog_rejected=no 2528as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2529for as_dir in $PATH 2530do 2531 IFS=$as_save_IFS 2532 test -z "$as_dir" && as_dir=. 2533 for ac_exec_ext in '' $ac_executable_extensions; do 2534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2535 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2536 ac_prog_rejected=yes 2537 continue 2538 fi 2539 ac_cv_prog_CC="cc" 2540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2541 break 2 2542 fi 2543done 2544 done 2545IFS=$as_save_IFS 2546 2547if test $ac_prog_rejected = yes; then 2548 # We found a bogon in the path, so make sure we never use it. 2549 set dummy $ac_cv_prog_CC 2550 shift 2551 if test $# != 0; then 2552 # We chose a different compiler from the bogus one. 2553 # However, it has the same basename, so the bogon will be chosen 2554 # first if we set CC to just the basename; use the full file name. 2555 shift 2556 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2557 fi 2558fi 2559fi 2560fi 2561CC=$ac_cv_prog_CC 2562if test -n "$CC"; then 2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2564$as_echo "$CC" >&6; } 2565else 2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2567$as_echo "no" >&6; } 2568fi 2569 2570 2571fi 2572if test -z "$CC"; then 2573 if test -n "$ac_tool_prefix"; then 2574 for ac_prog in cl.exe 2575 do 2576 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2577set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2578{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2579$as_echo_n "checking for $ac_word... " >&6; } 2580if ${ac_cv_prog_CC+:} false; then : 2581 $as_echo_n "(cached) " >&6 2582else 2583 if test -n "$CC"; then 2584 ac_cv_prog_CC="$CC" # Let the user override the test. 2585else 2586as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2587for as_dir in $PATH 2588do 2589 IFS=$as_save_IFS 2590 test -z "$as_dir" && as_dir=. 2591 for ac_exec_ext in '' $ac_executable_extensions; do 2592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2593 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2595 break 2 2596 fi 2597done 2598 done 2599IFS=$as_save_IFS 2600 2601fi 2602fi 2603CC=$ac_cv_prog_CC 2604if test -n "$CC"; then 2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2606$as_echo "$CC" >&6; } 2607else 2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2609$as_echo "no" >&6; } 2610fi 2611 2612 2613 test -n "$CC" && break 2614 done 2615fi 2616if test -z "$CC"; then 2617 ac_ct_CC=$CC 2618 for ac_prog in cl.exe 2619do 2620 # Extract the first word of "$ac_prog", so it can be a program name with args. 2621set dummy $ac_prog; ac_word=$2 2622{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2623$as_echo_n "checking for $ac_word... " >&6; } 2624if ${ac_cv_prog_ac_ct_CC+:} false; then : 2625 $as_echo_n "(cached) " >&6 2626else 2627 if test -n "$ac_ct_CC"; then 2628 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2629else 2630as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2631for as_dir in $PATH 2632do 2633 IFS=$as_save_IFS 2634 test -z "$as_dir" && as_dir=. 2635 for ac_exec_ext in '' $ac_executable_extensions; do 2636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2637 ac_cv_prog_ac_ct_CC="$ac_prog" 2638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2639 break 2 2640 fi 2641done 2642 done 2643IFS=$as_save_IFS 2644 2645fi 2646fi 2647ac_ct_CC=$ac_cv_prog_ac_ct_CC 2648if test -n "$ac_ct_CC"; then 2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2650$as_echo "$ac_ct_CC" >&6; } 2651else 2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2653$as_echo "no" >&6; } 2654fi 2655 2656 2657 test -n "$ac_ct_CC" && break 2658done 2659 2660 if test "x$ac_ct_CC" = x; then 2661 CC="" 2662 else 2663 case $cross_compiling:$ac_tool_warned in 2664yes:) 2665{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2666$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2667ac_tool_warned=yes ;; 2668esac 2669 CC=$ac_ct_CC 2670 fi 2671fi 2672 2673fi 2674 2675 2676test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2677$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2678as_fn_error $? "no acceptable C compiler found in \$PATH 2679See \`config.log' for more details" "$LINENO" 5; } 2680 2681# Provide some information about the compiler. 2682$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2683set X $ac_compile 2684ac_compiler=$2 2685for ac_option in --version -v -V -qversion; do 2686 { { ac_try="$ac_compiler $ac_option >&5" 2687case "(($ac_try" in 2688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2689 *) ac_try_echo=$ac_try;; 2690esac 2691eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2692$as_echo "$ac_try_echo"; } >&5 2693 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2694 ac_status=$? 2695 if test -s conftest.err; then 2696 sed '10a\ 2697... rest of stderr output deleted ... 2698 10q' conftest.err >conftest.er1 2699 cat conftest.er1 >&5 2700 fi 2701 rm -f conftest.er1 conftest.err 2702 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2703 test $ac_status = 0; } 2704done 2705 2706cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2707/* end confdefs.h. */ 2708 2709int 2710main () 2711{ 2712 2713 ; 2714 return 0; 2715} 2716_ACEOF 2717ac_clean_files_save=$ac_clean_files 2718ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2719# Try to create an executable without -o first, disregard a.out. 2720# It will help us diagnose broken compilers, and finding out an intuition 2721# of exeext. 2722{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2723$as_echo_n "checking whether the C compiler works... " >&6; } 2724ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2725 2726# The possible output files: 2727ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2728 2729ac_rmfiles= 2730for ac_file in $ac_files 2731do 2732 case $ac_file in 2733 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2734 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2735 esac 2736done 2737rm -f $ac_rmfiles 2738 2739if { { ac_try="$ac_link_default" 2740case "(($ac_try" in 2741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2742 *) ac_try_echo=$ac_try;; 2743esac 2744eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2745$as_echo "$ac_try_echo"; } >&5 2746 (eval "$ac_link_default") 2>&5 2747 ac_status=$? 2748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2749 test $ac_status = 0; }; then : 2750 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2751# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2752# in a Makefile. We should not override ac_cv_exeext if it was cached, 2753# so that the user can short-circuit this test for compilers unknown to 2754# Autoconf. 2755for ac_file in $ac_files '' 2756do 2757 test -f "$ac_file" || continue 2758 case $ac_file in 2759 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2760 ;; 2761 [ab].out ) 2762 # We found the default executable, but exeext='' is most 2763 # certainly right. 2764 break;; 2765 *.* ) 2766 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2767 then :; else 2768 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2769 fi 2770 # We set ac_cv_exeext here because the later test for it is not 2771 # safe: cross compilers may not add the suffix if given an `-o' 2772 # argument, so we may need to know it at that point already. 2773 # Even if this section looks crufty: it has the advantage of 2774 # actually working. 2775 break;; 2776 * ) 2777 break;; 2778 esac 2779done 2780test "$ac_cv_exeext" = no && ac_cv_exeext= 2781 2782else 2783 ac_file='' 2784fi 2785if test -z "$ac_file"; then : 2786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2787$as_echo "no" >&6; } 2788$as_echo "$as_me: failed program was:" >&5 2789sed 's/^/| /' conftest.$ac_ext >&5 2790 2791{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2792$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2793as_fn_error 77 "C compiler cannot create executables 2794See \`config.log' for more details" "$LINENO" 5; } 2795else 2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2797$as_echo "yes" >&6; } 2798fi 2799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2800$as_echo_n "checking for C compiler default output file name... " >&6; } 2801{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2802$as_echo "$ac_file" >&6; } 2803ac_exeext=$ac_cv_exeext 2804 2805rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2806ac_clean_files=$ac_clean_files_save 2807{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2808$as_echo_n "checking for suffix of executables... " >&6; } 2809if { { ac_try="$ac_link" 2810case "(($ac_try" in 2811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2812 *) ac_try_echo=$ac_try;; 2813esac 2814eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2815$as_echo "$ac_try_echo"; } >&5 2816 (eval "$ac_link") 2>&5 2817 ac_status=$? 2818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2819 test $ac_status = 0; }; then : 2820 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2821# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2822# work properly (i.e., refer to `conftest.exe'), while it won't with 2823# `rm'. 2824for ac_file in conftest.exe conftest conftest.*; do 2825 test -f "$ac_file" || continue 2826 case $ac_file in 2827 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2828 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2829 break;; 2830 * ) break;; 2831 esac 2832done 2833else 2834 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2835$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2836as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2837See \`config.log' for more details" "$LINENO" 5; } 2838fi 2839rm -f conftest conftest$ac_cv_exeext 2840{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2841$as_echo "$ac_cv_exeext" >&6; } 2842 2843rm -f conftest.$ac_ext 2844EXEEXT=$ac_cv_exeext 2845ac_exeext=$EXEEXT 2846cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2847/* end confdefs.h. */ 2848#include <stdio.h> 2849int 2850main () 2851{ 2852FILE *f = fopen ("conftest.out", "w"); 2853 return ferror (f) || fclose (f) != 0; 2854 2855 ; 2856 return 0; 2857} 2858_ACEOF 2859ac_clean_files="$ac_clean_files conftest.out" 2860# Check that the compiler produces executables we can run. If not, either 2861# the compiler is broken, or we cross compile. 2862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2863$as_echo_n "checking whether we are cross compiling... " >&6; } 2864if test "$cross_compiling" != yes; then 2865 { { ac_try="$ac_link" 2866case "(($ac_try" in 2867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2868 *) ac_try_echo=$ac_try;; 2869esac 2870eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2871$as_echo "$ac_try_echo"; } >&5 2872 (eval "$ac_link") 2>&5 2873 ac_status=$? 2874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2875 test $ac_status = 0; } 2876 if { ac_try='./conftest$ac_cv_exeext' 2877 { { case "(($ac_try" in 2878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2879 *) ac_try_echo=$ac_try;; 2880esac 2881eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2882$as_echo "$ac_try_echo"; } >&5 2883 (eval "$ac_try") 2>&5 2884 ac_status=$? 2885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2886 test $ac_status = 0; }; }; then 2887 cross_compiling=no 2888 else 2889 if test "$cross_compiling" = maybe; then 2890 cross_compiling=yes 2891 else 2892 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2893$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2894as_fn_error $? "cannot run C compiled programs. 2895If you meant to cross compile, use \`--host'. 2896See \`config.log' for more details" "$LINENO" 5; } 2897 fi 2898 fi 2899fi 2900{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2901$as_echo "$cross_compiling" >&6; } 2902 2903rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2904ac_clean_files=$ac_clean_files_save 2905{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2906$as_echo_n "checking for suffix of object files... " >&6; } 2907if ${ac_cv_objext+:} false; then : 2908 $as_echo_n "(cached) " >&6 2909else 2910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2911/* end confdefs.h. */ 2912 2913int 2914main () 2915{ 2916 2917 ; 2918 return 0; 2919} 2920_ACEOF 2921rm -f conftest.o conftest.obj 2922if { { ac_try="$ac_compile" 2923case "(($ac_try" in 2924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2925 *) ac_try_echo=$ac_try;; 2926esac 2927eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2928$as_echo "$ac_try_echo"; } >&5 2929 (eval "$ac_compile") 2>&5 2930 ac_status=$? 2931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2932 test $ac_status = 0; }; then : 2933 for ac_file in conftest.o conftest.obj conftest.*; do 2934 test -f "$ac_file" || continue; 2935 case $ac_file in 2936 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2937 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2938 break;; 2939 esac 2940done 2941else 2942 $as_echo "$as_me: failed program was:" >&5 2943sed 's/^/| /' conftest.$ac_ext >&5 2944 2945{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2946$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2947as_fn_error $? "cannot compute suffix of object files: cannot compile 2948See \`config.log' for more details" "$LINENO" 5; } 2949fi 2950rm -f conftest.$ac_cv_objext conftest.$ac_ext 2951fi 2952{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2953$as_echo "$ac_cv_objext" >&6; } 2954OBJEXT=$ac_cv_objext 2955ac_objext=$OBJEXT 2956{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2957$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2958if ${ac_cv_c_compiler_gnu+:} false; then : 2959 $as_echo_n "(cached) " >&6 2960else 2961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2962/* end confdefs.h. */ 2963 2964int 2965main () 2966{ 2967#ifndef __GNUC__ 2968 choke me 2969#endif 2970 2971 ; 2972 return 0; 2973} 2974_ACEOF 2975if ac_fn_c_try_compile "$LINENO"; then : 2976 ac_compiler_gnu=yes 2977else 2978 ac_compiler_gnu=no 2979fi 2980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2981ac_cv_c_compiler_gnu=$ac_compiler_gnu 2982 2983fi 2984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2985$as_echo "$ac_cv_c_compiler_gnu" >&6; } 2986if test $ac_compiler_gnu = yes; then 2987 GCC=yes 2988else 2989 GCC= 2990fi 2991ac_test_CFLAGS=${CFLAGS+set} 2992ac_save_CFLAGS=$CFLAGS 2993{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2994$as_echo_n "checking whether $CC accepts -g... " >&6; } 2995if ${ac_cv_prog_cc_g+:} false; then : 2996 $as_echo_n "(cached) " >&6 2997else 2998 ac_save_c_werror_flag=$ac_c_werror_flag 2999 ac_c_werror_flag=yes 3000 ac_cv_prog_cc_g=no 3001 CFLAGS="-g" 3002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3003/* end confdefs.h. */ 3004 3005int 3006main () 3007{ 3008 3009 ; 3010 return 0; 3011} 3012_ACEOF 3013if ac_fn_c_try_compile "$LINENO"; then : 3014 ac_cv_prog_cc_g=yes 3015else 3016 CFLAGS="" 3017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3018/* end confdefs.h. */ 3019 3020int 3021main () 3022{ 3023 3024 ; 3025 return 0; 3026} 3027_ACEOF 3028if ac_fn_c_try_compile "$LINENO"; then : 3029 3030else 3031 ac_c_werror_flag=$ac_save_c_werror_flag 3032 CFLAGS="-g" 3033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3034/* end confdefs.h. */ 3035 3036int 3037main () 3038{ 3039 3040 ; 3041 return 0; 3042} 3043_ACEOF 3044if ac_fn_c_try_compile "$LINENO"; then : 3045 ac_cv_prog_cc_g=yes 3046fi 3047rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3048fi 3049rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3050fi 3051rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3052 ac_c_werror_flag=$ac_save_c_werror_flag 3053fi 3054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 3055$as_echo "$ac_cv_prog_cc_g" >&6; } 3056if test "$ac_test_CFLAGS" = set; then 3057 CFLAGS=$ac_save_CFLAGS 3058elif test $ac_cv_prog_cc_g = yes; then 3059 if test "$GCC" = yes; then 3060 CFLAGS="-g -O2" 3061 else 3062 CFLAGS="-g" 3063 fi 3064else 3065 if test "$GCC" = yes; then 3066 CFLAGS="-O2" 3067 else 3068 CFLAGS= 3069 fi 3070fi 3071{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 3072$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 3073if ${ac_cv_prog_cc_c89+:} false; then : 3074 $as_echo_n "(cached) " >&6 3075else 3076 ac_cv_prog_cc_c89=no 3077ac_save_CC=$CC 3078cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3079/* end confdefs.h. */ 3080#include <stdarg.h> 3081#include <stdio.h> 3082#include <sys/types.h> 3083#include <sys/stat.h> 3084/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 3085struct buf { int x; }; 3086FILE * (*rcsopen) (struct buf *, struct stat *, int); 3087static char *e (p, i) 3088 char **p; 3089 int i; 3090{ 3091 return p[i]; 3092} 3093static char *f (char * (*g) (char **, int), char **p, ...) 3094{ 3095 char *s; 3096 va_list v; 3097 va_start (v,p); 3098 s = g (p, va_arg (v,int)); 3099 va_end (v); 3100 return s; 3101} 3102 3103/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 3104 function prototypes and stuff, but not '\xHH' hex character constants. 3105 These don't provoke an error unfortunately, instead are silently treated 3106 as 'x'. The following induces an error, until -std is added to get 3107 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 3108 array size at least. It's necessary to write '\x00'==0 to get something 3109 that's true only with -std. */ 3110int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 3111 3112/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 3113 inside strings and character constants. */ 3114#define FOO(x) 'x' 3115int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 3116 3117int test (int i, double x); 3118struct s1 {int (*f) (int a);}; 3119struct s2 {int (*f) (double a);}; 3120int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 3121int argc; 3122char **argv; 3123int 3124main () 3125{ 3126return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 3127 ; 3128 return 0; 3129} 3130_ACEOF 3131for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 3132 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 3133do 3134 CC="$ac_save_CC $ac_arg" 3135 if ac_fn_c_try_compile "$LINENO"; then : 3136 ac_cv_prog_cc_c89=$ac_arg 3137fi 3138rm -f core conftest.err conftest.$ac_objext 3139 test "x$ac_cv_prog_cc_c89" != "xno" && break 3140done 3141rm -f conftest.$ac_ext 3142CC=$ac_save_CC 3143 3144fi 3145# AC_CACHE_VAL 3146case "x$ac_cv_prog_cc_c89" in 3147 x) 3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 3149$as_echo "none needed" >&6; } ;; 3150 xno) 3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 3152$as_echo "unsupported" >&6; } ;; 3153 *) 3154 CC="$CC $ac_cv_prog_cc_c89" 3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 3156$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 3157esac 3158if test "x$ac_cv_prog_cc_c89" != xno; then : 3159 3160fi 3161 3162ac_ext=c 3163ac_cpp='$CPP $CPPFLAGS' 3164ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3165ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3166ac_compiler_gnu=$ac_cv_c_compiler_gnu 3167DEPDIR="${am__leading_dot}deps" 3168 3169ac_config_commands="$ac_config_commands depfiles" 3170 3171 3172am_make=${MAKE-make} 3173cat > confinc << 'END' 3174am__doit: 3175 @echo this is the am__doit target 3176.PHONY: am__doit 3177END 3178# If we don't find an include directive, just comment out the code. 3179{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 3180$as_echo_n "checking for style of include used by $am_make... " >&6; } 3181am__include="#" 3182am__quote= 3183_am_result=none 3184# First try GNU make style include. 3185echo "include confinc" > confmf 3186# Ignore all kinds of additional output from `make'. 3187case `$am_make -s -f confmf 2> /dev/null` in #( 3188*the\ am__doit\ target*) 3189 am__include=include 3190 am__quote= 3191 _am_result=GNU 3192 ;; 3193esac 3194# Now try BSD make style include. 3195if test "$am__include" = "#"; then 3196 echo '.include "confinc"' > confmf 3197 case `$am_make -s -f confmf 2> /dev/null` in #( 3198 *the\ am__doit\ target*) 3199 am__include=.include 3200 am__quote="\"" 3201 _am_result=BSD 3202 ;; 3203 esac 3204fi 3205 3206 3207{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 3208$as_echo "$_am_result" >&6; } 3209rm -f confinc confmf 3210 3211# Check whether --enable-dependency-tracking was given. 3212if test "${enable_dependency_tracking+set}" = set; then : 3213 enableval=$enable_dependency_tracking; 3214fi 3215 3216if test "x$enable_dependency_tracking" != xno; then 3217 am_depcomp="$ac_aux_dir/depcomp" 3218 AMDEPBACKSLASH='\' 3219 am__nodep='_no' 3220fi 3221 if test "x$enable_dependency_tracking" != xno; then 3222 AMDEP_TRUE= 3223 AMDEP_FALSE='#' 3224else 3225 AMDEP_TRUE='#' 3226 AMDEP_FALSE= 3227fi 3228 3229 3230 3231depcc="$CC" am_compiler_list= 3232 3233{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3234$as_echo_n "checking dependency style of $depcc... " >&6; } 3235if ${am_cv_CC_dependencies_compiler_type+:} false; then : 3236 $as_echo_n "(cached) " >&6 3237else 3238 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3239 # We make a subdir and do the tests there. Otherwise we can end up 3240 # making bogus files that we don't know about and never remove. For 3241 # instance it was reported that on HP-UX the gcc test will end up 3242 # making a dummy file named `D' -- because `-MD' means `put the output 3243 # in D'. 3244 rm -rf conftest.dir 3245 mkdir conftest.dir 3246 # Copy depcomp to subdir because otherwise we won't find it if we're 3247 # using a relative directory. 3248 cp "$am_depcomp" conftest.dir 3249 cd conftest.dir 3250 # We will build objects and dependencies in a subdirectory because 3251 # it helps to detect inapplicable dependency modes. For instance 3252 # both Tru64's cc and ICC support -MD to output dependencies as a 3253 # side effect of compilation, but ICC will put the dependencies in 3254 # the current directory while Tru64 will put them in the object 3255 # directory. 3256 mkdir sub 3257 3258 am_cv_CC_dependencies_compiler_type=none 3259 if test "$am_compiler_list" = ""; then 3260 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3261 fi 3262 am__universal=false 3263 case " $depcc " in #( 3264 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3265 esac 3266 3267 for depmode in $am_compiler_list; do 3268 # Setup a source with many dependencies, because some compilers 3269 # like to wrap large dependency lists on column 80 (with \), and 3270 # we should not choose a depcomp mode which is confused by this. 3271 # 3272 # We need to recreate these files for each test, as the compiler may 3273 # overwrite some of them when testing with obscure command lines. 3274 # This happens at least with the AIX C compiler. 3275 : > sub/conftest.c 3276 for i in 1 2 3 4 5 6; do 3277 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3278 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3279 # Solaris 8's {/usr,}/bin/sh. 3280 touch sub/conftst$i.h 3281 done 3282 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3283 3284 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3285 # mode. It turns out that the SunPro C++ compiler does not properly 3286 # handle `-M -o', and we need to detect this. Also, some Intel 3287 # versions had trouble with output in subdirs 3288 am__obj=sub/conftest.${OBJEXT-o} 3289 am__minus_obj="-o $am__obj" 3290 case $depmode in 3291 gcc) 3292 # This depmode causes a compiler race in universal mode. 3293 test "$am__universal" = false || continue 3294 ;; 3295 nosideeffect) 3296 # after this tag, mechanisms are not by side-effect, so they'll 3297 # only be used when explicitly requested 3298 if test "x$enable_dependency_tracking" = xyes; then 3299 continue 3300 else 3301 break 3302 fi 3303 ;; 3304 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3305 # This compiler won't grok `-c -o', but also, the minuso test has 3306 # not run yet. These depmodes are late enough in the game, and 3307 # so weak that their functioning should not be impacted. 3308 am__obj=conftest.${OBJEXT-o} 3309 am__minus_obj= 3310 ;; 3311 none) break ;; 3312 esac 3313 if depmode=$depmode \ 3314 source=sub/conftest.c object=$am__obj \ 3315 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3316 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3317 >/dev/null 2>conftest.err && 3318 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3319 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3320 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3321 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3322 # icc doesn't choke on unknown options, it will just issue warnings 3323 # or remarks (even with -Werror). So we grep stderr for any message 3324 # that says an option was ignored or not supported. 3325 # When given -MP, icc 7.0 and 7.1 complain thusly: 3326 # icc: Command line warning: ignoring option '-M'; no argument required 3327 # The diagnosis changed in icc 8.0: 3328 # icc: Command line remark: option '-MP' not supported 3329 if (grep 'ignoring option' conftest.err || 3330 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3331 am_cv_CC_dependencies_compiler_type=$depmode 3332 break 3333 fi 3334 fi 3335 done 3336 3337 cd .. 3338 rm -rf conftest.dir 3339else 3340 am_cv_CC_dependencies_compiler_type=none 3341fi 3342 3343fi 3344{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 3345$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } 3346CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type 3347 3348 if 3349 test "x$enable_dependency_tracking" != xno \ 3350 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then 3351 am__fastdepCC_TRUE= 3352 am__fastdepCC_FALSE='#' 3353else 3354 am__fastdepCC_TRUE='#' 3355 am__fastdepCC_FALSE= 3356fi 3357 3358 3359ac_ext=cpp 3360ac_cpp='$CXXCPP $CPPFLAGS' 3361ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3362ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3363ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 3364if test -z "$CXX"; then 3365 if test -n "$CCC"; then 3366 CXX=$CCC 3367 else 3368 if test -n "$ac_tool_prefix"; then 3369 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3370 do 3371 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 3372set dummy $ac_tool_prefix$ac_prog; ac_word=$2 3373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3374$as_echo_n "checking for $ac_word... " >&6; } 3375if ${ac_cv_prog_CXX+:} false; then : 3376 $as_echo_n "(cached) " >&6 3377else 3378 if test -n "$CXX"; then 3379 ac_cv_prog_CXX="$CXX" # Let the user override the test. 3380else 3381as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3382for as_dir in $PATH 3383do 3384 IFS=$as_save_IFS 3385 test -z "$as_dir" && as_dir=. 3386 for ac_exec_ext in '' $ac_executable_extensions; do 3387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3388 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 3389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3390 break 2 3391 fi 3392done 3393 done 3394IFS=$as_save_IFS 3395 3396fi 3397fi 3398CXX=$ac_cv_prog_CXX 3399if test -n "$CXX"; then 3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 3401$as_echo "$CXX" >&6; } 3402else 3403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3404$as_echo "no" >&6; } 3405fi 3406 3407 3408 test -n "$CXX" && break 3409 done 3410fi 3411if test -z "$CXX"; then 3412 ac_ct_CXX=$CXX 3413 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC 3414do 3415 # Extract the first word of "$ac_prog", so it can be a program name with args. 3416set dummy $ac_prog; ac_word=$2 3417{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3418$as_echo_n "checking for $ac_word... " >&6; } 3419if ${ac_cv_prog_ac_ct_CXX+:} false; then : 3420 $as_echo_n "(cached) " >&6 3421else 3422 if test -n "$ac_ct_CXX"; then 3423 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 3424else 3425as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3426for as_dir in $PATH 3427do 3428 IFS=$as_save_IFS 3429 test -z "$as_dir" && as_dir=. 3430 for ac_exec_ext in '' $ac_executable_extensions; do 3431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3432 ac_cv_prog_ac_ct_CXX="$ac_prog" 3433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3434 break 2 3435 fi 3436done 3437 done 3438IFS=$as_save_IFS 3439 3440fi 3441fi 3442ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 3443if test -n "$ac_ct_CXX"; then 3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 3445$as_echo "$ac_ct_CXX" >&6; } 3446else 3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3448$as_echo "no" >&6; } 3449fi 3450 3451 3452 test -n "$ac_ct_CXX" && break 3453done 3454 3455 if test "x$ac_ct_CXX" = x; then 3456 CXX="g++" 3457 else 3458 case $cross_compiling:$ac_tool_warned in 3459yes:) 3460{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3461$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3462ac_tool_warned=yes ;; 3463esac 3464 CXX=$ac_ct_CXX 3465 fi 3466fi 3467 3468 fi 3469fi 3470# Provide some information about the compiler. 3471$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 3472set X $ac_compile 3473ac_compiler=$2 3474for ac_option in --version -v -V -qversion; do 3475 { { ac_try="$ac_compiler $ac_option >&5" 3476case "(($ac_try" in 3477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 3478 *) ac_try_echo=$ac_try;; 3479esac 3480eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 3481$as_echo "$ac_try_echo"; } >&5 3482 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 3483 ac_status=$? 3484 if test -s conftest.err; then 3485 sed '10a\ 3486... rest of stderr output deleted ... 3487 10q' conftest.err >conftest.er1 3488 cat conftest.er1 >&5 3489 fi 3490 rm -f conftest.er1 conftest.err 3491 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3492 test $ac_status = 0; } 3493done 3494 3495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 3496$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } 3497if ${ac_cv_cxx_compiler_gnu+:} false; then : 3498 $as_echo_n "(cached) " >&6 3499else 3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3501/* end confdefs.h. */ 3502 3503int 3504main () 3505{ 3506#ifndef __GNUC__ 3507 choke me 3508#endif 3509 3510 ; 3511 return 0; 3512} 3513_ACEOF 3514if ac_fn_cxx_try_compile "$LINENO"; then : 3515 ac_compiler_gnu=yes 3516else 3517 ac_compiler_gnu=no 3518fi 3519rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3520ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 3521 3522fi 3523{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 3524$as_echo "$ac_cv_cxx_compiler_gnu" >&6; } 3525if test $ac_compiler_gnu = yes; then 3526 GXX=yes 3527else 3528 GXX= 3529fi 3530ac_test_CXXFLAGS=${CXXFLAGS+set} 3531ac_save_CXXFLAGS=$CXXFLAGS 3532{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 3533$as_echo_n "checking whether $CXX accepts -g... " >&6; } 3534if ${ac_cv_prog_cxx_g+:} false; then : 3535 $as_echo_n "(cached) " >&6 3536else 3537 ac_save_cxx_werror_flag=$ac_cxx_werror_flag 3538 ac_cxx_werror_flag=yes 3539 ac_cv_prog_cxx_g=no 3540 CXXFLAGS="-g" 3541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3542/* end confdefs.h. */ 3543 3544int 3545main () 3546{ 3547 3548 ; 3549 return 0; 3550} 3551_ACEOF 3552if ac_fn_cxx_try_compile "$LINENO"; then : 3553 ac_cv_prog_cxx_g=yes 3554else 3555 CXXFLAGS="" 3556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3557/* end confdefs.h. */ 3558 3559int 3560main () 3561{ 3562 3563 ; 3564 return 0; 3565} 3566_ACEOF 3567if ac_fn_cxx_try_compile "$LINENO"; then : 3568 3569else 3570 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3571 CXXFLAGS="-g" 3572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3573/* end confdefs.h. */ 3574 3575int 3576main () 3577{ 3578 3579 ; 3580 return 0; 3581} 3582_ACEOF 3583if ac_fn_cxx_try_compile "$LINENO"; then : 3584 ac_cv_prog_cxx_g=yes 3585fi 3586rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3587fi 3588rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3589fi 3590rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3591 ac_cxx_werror_flag=$ac_save_cxx_werror_flag 3592fi 3593{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 3594$as_echo "$ac_cv_prog_cxx_g" >&6; } 3595if test "$ac_test_CXXFLAGS" = set; then 3596 CXXFLAGS=$ac_save_CXXFLAGS 3597elif test $ac_cv_prog_cxx_g = yes; then 3598 if test "$GXX" = yes; then 3599 CXXFLAGS="-g -O2" 3600 else 3601 CXXFLAGS="-g" 3602 fi 3603else 3604 if test "$GXX" = yes; then 3605 CXXFLAGS="-O2" 3606 else 3607 CXXFLAGS= 3608 fi 3609fi 3610ac_ext=c 3611ac_cpp='$CPP $CPPFLAGS' 3612ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3613ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3614ac_compiler_gnu=$ac_cv_c_compiler_gnu 3615 3616depcc="$CXX" am_compiler_list= 3617 3618{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 3619$as_echo_n "checking dependency style of $depcc... " >&6; } 3620if ${am_cv_CXX_dependencies_compiler_type+:} false; then : 3621 $as_echo_n "(cached) " >&6 3622else 3623 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 3624 # We make a subdir and do the tests there. Otherwise we can end up 3625 # making bogus files that we don't know about and never remove. For 3626 # instance it was reported that on HP-UX the gcc test will end up 3627 # making a dummy file named `D' -- because `-MD' means `put the output 3628 # in D'. 3629 rm -rf conftest.dir 3630 mkdir conftest.dir 3631 # Copy depcomp to subdir because otherwise we won't find it if we're 3632 # using a relative directory. 3633 cp "$am_depcomp" conftest.dir 3634 cd conftest.dir 3635 # We will build objects and dependencies in a subdirectory because 3636 # it helps to detect inapplicable dependency modes. For instance 3637 # both Tru64's cc and ICC support -MD to output dependencies as a 3638 # side effect of compilation, but ICC will put the dependencies in 3639 # the current directory while Tru64 will put them in the object 3640 # directory. 3641 mkdir sub 3642 3643 am_cv_CXX_dependencies_compiler_type=none 3644 if test "$am_compiler_list" = ""; then 3645 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 3646 fi 3647 am__universal=false 3648 case " $depcc " in #( 3649 *\ -arch\ *\ -arch\ *) am__universal=true ;; 3650 esac 3651 3652 for depmode in $am_compiler_list; do 3653 # Setup a source with many dependencies, because some compilers 3654 # like to wrap large dependency lists on column 80 (with \), and 3655 # we should not choose a depcomp mode which is confused by this. 3656 # 3657 # We need to recreate these files for each test, as the compiler may 3658 # overwrite some of them when testing with obscure command lines. 3659 # This happens at least with the AIX C compiler. 3660 : > sub/conftest.c 3661 for i in 1 2 3 4 5 6; do 3662 echo '#include "conftst'$i'.h"' >> sub/conftest.c 3663 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 3664 # Solaris 8's {/usr,}/bin/sh. 3665 touch sub/conftst$i.h 3666 done 3667 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 3668 3669 # We check with `-c' and `-o' for the sake of the "dashmstdout" 3670 # mode. It turns out that the SunPro C++ compiler does not properly 3671 # handle `-M -o', and we need to detect this. Also, some Intel 3672 # versions had trouble with output in subdirs 3673 am__obj=sub/conftest.${OBJEXT-o} 3674 am__minus_obj="-o $am__obj" 3675 case $depmode in 3676 gcc) 3677 # This depmode causes a compiler race in universal mode. 3678 test "$am__universal" = false || continue 3679 ;; 3680 nosideeffect) 3681 # after this tag, mechanisms are not by side-effect, so they'll 3682 # only be used when explicitly requested 3683 if test "x$enable_dependency_tracking" = xyes; then 3684 continue 3685 else 3686 break 3687 fi 3688 ;; 3689 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 3690 # This compiler won't grok `-c -o', but also, the minuso test has 3691 # not run yet. These depmodes are late enough in the game, and 3692 # so weak that their functioning should not be impacted. 3693 am__obj=conftest.${OBJEXT-o} 3694 am__minus_obj= 3695 ;; 3696 none) break ;; 3697 esac 3698 if depmode=$depmode \ 3699 source=sub/conftest.c object=$am__obj \ 3700 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 3701 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 3702 >/dev/null 2>conftest.err && 3703 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 3704 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 3705 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 3706 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 3707 # icc doesn't choke on unknown options, it will just issue warnings 3708 # or remarks (even with -Werror). So we grep stderr for any message 3709 # that says an option was ignored or not supported. 3710 # When given -MP, icc 7.0 and 7.1 complain thusly: 3711 # icc: Command line warning: ignoring option '-M'; no argument required 3712 # The diagnosis changed in icc 8.0: 3713 # icc: Command line remark: option '-MP' not supported 3714 if (grep 'ignoring option' conftest.err || 3715 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 3716 am_cv_CXX_dependencies_compiler_type=$depmode 3717 break 3718 fi 3719 fi 3720 done 3721 3722 cd .. 3723 rm -rf conftest.dir 3724else 3725 am_cv_CXX_dependencies_compiler_type=none 3726fi 3727 3728fi 3729{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 3730$as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } 3731CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type 3732 3733 if 3734 test "x$enable_dependency_tracking" != xno \ 3735 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then 3736 am__fastdepCXX_TRUE= 3737 am__fastdepCXX_FALSE='#' 3738else 3739 am__fastdepCXX_TRUE='#' 3740 am__fastdepCXX_FALSE= 3741fi 3742 3743 3744if test -n "$ac_tool_prefix"; then 3745 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 3746set dummy ${ac_tool_prefix}ranlib; ac_word=$2 3747{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3748$as_echo_n "checking for $ac_word... " >&6; } 3749if ${ac_cv_prog_RANLIB+:} false; then : 3750 $as_echo_n "(cached) " >&6 3751else 3752 if test -n "$RANLIB"; then 3753 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 3754else 3755as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3756for as_dir in $PATH 3757do 3758 IFS=$as_save_IFS 3759 test -z "$as_dir" && as_dir=. 3760 for ac_exec_ext in '' $ac_executable_extensions; do 3761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3762 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 3763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3764 break 2 3765 fi 3766done 3767 done 3768IFS=$as_save_IFS 3769 3770fi 3771fi 3772RANLIB=$ac_cv_prog_RANLIB 3773if test -n "$RANLIB"; then 3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 3775$as_echo "$RANLIB" >&6; } 3776else 3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3778$as_echo "no" >&6; } 3779fi 3780 3781 3782fi 3783if test -z "$ac_cv_prog_RANLIB"; then 3784 ac_ct_RANLIB=$RANLIB 3785 # Extract the first word of "ranlib", so it can be a program name with args. 3786set dummy ranlib; ac_word=$2 3787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3788$as_echo_n "checking for $ac_word... " >&6; } 3789if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 3790 $as_echo_n "(cached) " >&6 3791else 3792 if test -n "$ac_ct_RANLIB"; then 3793 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 3794else 3795as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3796for as_dir in $PATH 3797do 3798 IFS=$as_save_IFS 3799 test -z "$as_dir" && as_dir=. 3800 for ac_exec_ext in '' $ac_executable_extensions; do 3801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3802 ac_cv_prog_ac_ct_RANLIB="ranlib" 3803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3804 break 2 3805 fi 3806done 3807 done 3808IFS=$as_save_IFS 3809 3810fi 3811fi 3812ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 3813if test -n "$ac_ct_RANLIB"; then 3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 3815$as_echo "$ac_ct_RANLIB" >&6; } 3816else 3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3818$as_echo "no" >&6; } 3819fi 3820 3821 if test "x$ac_ct_RANLIB" = x; then 3822 RANLIB=":" 3823 else 3824 case $cross_compiling:$ac_tool_warned in 3825yes:) 3826{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3827$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3828ac_tool_warned=yes ;; 3829esac 3830 RANLIB=$ac_ct_RANLIB 3831 fi 3832else 3833 RANLIB="$ac_cv_prog_RANLIB" 3834fi 3835 3836ac_config_files="$ac_config_files Makefile src/Makefile src/lib/Makefile src/pixmaps/Makefile src/gui/Makefile" 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then 3847 if test -n "$ac_tool_prefix"; then 3848 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. 3849set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 3850{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3851$as_echo_n "checking for $ac_word... " >&6; } 3852if ${ac_cv_path_PKG_CONFIG+:} false; then : 3853 $as_echo_n "(cached) " >&6 3854else 3855 case $PKG_CONFIG in 3856 [\\/]* | ?:[\\/]*) 3857 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. 3858 ;; 3859 *) 3860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3861for as_dir in $PATH 3862do 3863 IFS=$as_save_IFS 3864 test -z "$as_dir" && as_dir=. 3865 for ac_exec_ext in '' $ac_executable_extensions; do 3866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3867 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 3868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3869 break 2 3870 fi 3871done 3872 done 3873IFS=$as_save_IFS 3874 3875 ;; 3876esac 3877fi 3878PKG_CONFIG=$ac_cv_path_PKG_CONFIG 3879if test -n "$PKG_CONFIG"; then 3880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 3881$as_echo "$PKG_CONFIG" >&6; } 3882else 3883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3884$as_echo "no" >&6; } 3885fi 3886 3887 3888fi 3889if test -z "$ac_cv_path_PKG_CONFIG"; then 3890 ac_pt_PKG_CONFIG=$PKG_CONFIG 3891 # Extract the first word of "pkg-config", so it can be a program name with args. 3892set dummy pkg-config; ac_word=$2 3893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 3894$as_echo_n "checking for $ac_word... " >&6; } 3895if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : 3896 $as_echo_n "(cached) " >&6 3897else 3898 case $ac_pt_PKG_CONFIG in 3899 [\\/]* | ?:[\\/]*) 3900 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. 3901 ;; 3902 *) 3903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3904for as_dir in $PATH 3905do 3906 IFS=$as_save_IFS 3907 test -z "$as_dir" && as_dir=. 3908 for ac_exec_ext in '' $ac_executable_extensions; do 3909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 3910 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" 3911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 3912 break 2 3913 fi 3914done 3915 done 3916IFS=$as_save_IFS 3917 3918 ;; 3919esac 3920fi 3921ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG 3922if test -n "$ac_pt_PKG_CONFIG"; then 3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 3924$as_echo "$ac_pt_PKG_CONFIG" >&6; } 3925else 3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3927$as_echo "no" >&6; } 3928fi 3929 3930 if test "x$ac_pt_PKG_CONFIG" = x; then 3931 PKG_CONFIG="" 3932 else 3933 case $cross_compiling:$ac_tool_warned in 3934yes:) 3935{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 3936$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 3937ac_tool_warned=yes ;; 3938esac 3939 PKG_CONFIG=$ac_pt_PKG_CONFIG 3940 fi 3941else 3942 PKG_CONFIG="$ac_cv_path_PKG_CONFIG" 3943fi 3944 3945fi 3946if test -n "$PKG_CONFIG"; then 3947 _pkg_min_version=0.9.0 3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 3949$as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } 3950 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then 3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 3952$as_echo "yes" >&6; } 3953 else 3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 3955$as_echo "no" >&6; } 3956 PKG_CONFIG="" 3957 fi 3958fi 3959 3960pkg_failed=no 3961{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 3962$as_echo_n "checking for GTK... " >&6; } 3963 3964if test -n "$GTK_CFLAGS"; then 3965 pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" 3966 elif test -n "$PKG_CONFIG"; then 3967 if test -n "$PKG_CONFIG" && \ 3968 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5 3969 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5 3970 ac_status=$? 3971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3972 test $ac_status = 0; }; then 3973 pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null` 3974 test "x$?" != "x0" && pkg_failed=yes 3975else 3976 pkg_failed=yes 3977fi 3978 else 3979 pkg_failed=untried 3980fi 3981if test -n "$GTK_LIBS"; then 3982 pkg_cv_GTK_LIBS="$GTK_LIBS" 3983 elif test -n "$PKG_CONFIG"; then 3984 if test -n "$PKG_CONFIG" && \ 3985 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\""; } >&5 3986 ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5 3987 ac_status=$? 3988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 3989 test $ac_status = 0; }; then 3990 pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null` 3991 test "x$?" != "x0" && pkg_failed=yes 3992else 3993 pkg_failed=yes 3994fi 3995 else 3996 pkg_failed=untried 3997fi 3998 3999 4000 4001if test $pkg_failed = yes; then 4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4003$as_echo "no" >&6; } 4004 4005if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then 4006 _pkg_short_errors_supported=yes 4007else 4008 _pkg_short_errors_supported=no 4009fi 4010 if test $_pkg_short_errors_supported = yes; then 4011 GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gtk+-2.0" 2>&1` 4012 else 4013 GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gtk+-2.0" 2>&1` 4014 fi 4015 # Put the nasty error message in config.log where it belongs 4016 echo "$GTK_PKG_ERRORS" >&5 4017 4018 as_fn_error $? "Package requirements (gtk+-2.0) were not met: 4019 4020$GTK_PKG_ERRORS 4021 4022Consider adjusting the PKG_CONFIG_PATH environment variable if you 4023installed software in a non-standard prefix. 4024 4025Alternatively, you may set the environment variables GTK_CFLAGS 4026and GTK_LIBS to avoid the need to call pkg-config. 4027See the pkg-config man page for more details." "$LINENO" 5 4028elif test $pkg_failed = untried; then 4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 4030$as_echo "no" >&6; } 4031 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 4032$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 4033as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it 4034is in your PATH or set the PKG_CONFIG environment variable to the full 4035path to pkg-config. 4036 4037Alternatively, you may set the environment variables GTK_CFLAGS 4038and GTK_LIBS to avoid the need to call pkg-config. 4039See the pkg-config man page for more details. 4040 4041To get pkg-config, see <http://pkg-config.freedesktop.org/>. 4042See \`config.log' for more details" "$LINENO" 5; } 4043else 4044 GTK_CFLAGS=$pkg_cv_GTK_CFLAGS 4045 GTK_LIBS=$pkg_cv_GTK_LIBS 4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 4047$as_echo "yes" >&6; } 4048 4049fi 4050 4051AM_CFLAGS="$AM_CFLAGS -Wall -Wno-strict-aliasing" 4052 4053AM_CXXFLAGS="$AM_CXXFLAGS -Wall -Wno-strict-aliasing" 4054 4055 4056cat >confcache <<\_ACEOF 4057# This file is a shell script that caches the results of configure 4058# tests run on this system so they can be shared between configure 4059# scripts and configure runs, see configure's option --config-cache. 4060# It is not useful on other systems. If it contains results you don't 4061# want to keep, you may remove or edit it. 4062# 4063# config.status only pays attention to the cache file if you give it 4064# the --recheck option to rerun configure. 4065# 4066# `ac_cv_env_foo' variables (set or unset) will be overridden when 4067# loading this file, other *unset* `ac_cv_foo' will be assigned the 4068# following values. 4069 4070_ACEOF 4071 4072# The following way of writing the cache mishandles newlines in values, 4073# but we know of no workaround that is simple, portable, and efficient. 4074# So, we kill variables containing newlines. 4075# Ultrix sh set writes to stderr and can't be redirected directly, 4076# and sets the high bit in the cache file unless we assign to the vars. 4077( 4078 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 4079 eval ac_val=\$$ac_var 4080 case $ac_val in #( 4081 *${as_nl}*) 4082 case $ac_var in #( 4083 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 4084$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 4085 esac 4086 case $ac_var in #( 4087 _ | IFS | as_nl) ;; #( 4088 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 4089 *) { eval $ac_var=; unset $ac_var;} ;; 4090 esac ;; 4091 esac 4092 done 4093 4094 (set) 2>&1 | 4095 case $as_nl`(ac_space=' '; set) 2>&1` in #( 4096 *${as_nl}ac_space=\ *) 4097 # `set' does not quote correctly, so add quotes: double-quote 4098 # substitution turns \\\\ into \\, and sed turns \\ into \. 4099 sed -n \ 4100 "s/'/'\\\\''/g; 4101 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 4102 ;; #( 4103 *) 4104 # `set' quotes correctly as required by POSIX, so do not add quotes. 4105 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 4106 ;; 4107 esac | 4108 sort 4109) | 4110 sed ' 4111 /^ac_cv_env_/b end 4112 t clear 4113 :clear 4114 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 4115 t end 4116 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 4117 :end' >>confcache 4118if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 4119 if test -w "$cache_file"; then 4120 if test "x$cache_file" != "x/dev/null"; then 4121 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 4122$as_echo "$as_me: updating cache $cache_file" >&6;} 4123 if test ! -f "$cache_file" || test -h "$cache_file"; then 4124 cat confcache >"$cache_file" 4125 else 4126 case $cache_file in #( 4127 */* | ?:*) 4128 mv -f confcache "$cache_file"$$ && 4129 mv -f "$cache_file"$$ "$cache_file" ;; #( 4130 *) 4131 mv -f confcache "$cache_file" ;; 4132 esac 4133 fi 4134 fi 4135 else 4136 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 4137$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 4138 fi 4139fi 4140rm -f confcache 4141 4142test "x$prefix" = xNONE && prefix=$ac_default_prefix 4143# Let make expand exec_prefix. 4144test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 4145 4146# Transform confdefs.h into DEFS. 4147# Protect against shell expansion while executing Makefile rules. 4148# Protect against Makefile macro expansion. 4149# 4150# If the first sed substitution is executed (which looks for macros that 4151# take arguments), then branch to the quote section. Otherwise, 4152# look for a macro that doesn't take arguments. 4153ac_script=' 4154:mline 4155/\\$/{ 4156 N 4157 s,\\\n,, 4158 b mline 4159} 4160t clear 4161:clear 4162s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 4163t quote 4164s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 4165t quote 4166b any 4167:quote 4168s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 4169s/\[/\\&/g 4170s/\]/\\&/g 4171s/\$/$$/g 4172H 4173:any 4174${ 4175 g 4176 s/^\n// 4177 s/\n/ /g 4178 p 4179} 4180' 4181DEFS=`sed -n "$ac_script" confdefs.h` 4182 4183 4184ac_libobjs= 4185ac_ltlibobjs= 4186U= 4187for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 4188 # 1. Remove the extension, and $U if already installed. 4189 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 4190 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 4191 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 4192 # will be set to the directory where LIBOBJS objects are built. 4193 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 4194 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 4195done 4196LIBOBJS=$ac_libobjs 4197 4198LTLIBOBJS=$ac_ltlibobjs 4199 4200 4201 if test -n "$EXEEXT"; then 4202 am__EXEEXT_TRUE= 4203 am__EXEEXT_FALSE='#' 4204else 4205 am__EXEEXT_TRUE='#' 4206 am__EXEEXT_FALSE= 4207fi 4208 4209if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then 4210 as_fn_error $? "conditional \"AMDEP\" was never defined. 4211Usually this means the macro was only invoked conditionally." "$LINENO" 5 4212fi 4213if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 4214 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 4215Usually this means the macro was only invoked conditionally." "$LINENO" 5 4216fi 4217if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then 4218 as_fn_error $? "conditional \"am__fastdepCXX\" was never defined. 4219Usually this means the macro was only invoked conditionally." "$LINENO" 5 4220fi 4221 4222: "${CONFIG_STATUS=./config.status}" 4223ac_write_fail=0 4224ac_clean_files_save=$ac_clean_files 4225ac_clean_files="$ac_clean_files $CONFIG_STATUS" 4226{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 4227$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 4228as_write_fail=0 4229cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 4230#! $SHELL 4231# Generated by $as_me. 4232# Run this file to recreate the current configuration. 4233# Compiler output produced by configure, useful for debugging 4234# configure, is in config.log if it exists. 4235 4236debug=false 4237ac_cs_recheck=false 4238ac_cs_silent=false 4239 4240SHELL=\${CONFIG_SHELL-$SHELL} 4241export SHELL 4242_ASEOF 4243cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 4244## -------------------- ## 4245## M4sh Initialization. ## 4246## -------------------- ## 4247 4248# Be more Bourne compatible 4249DUALCASE=1; export DUALCASE # for MKS sh 4250if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 4251 emulate sh 4252 NULLCMD=: 4253 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 4254 # is contrary to our usage. Disable this feature. 4255 alias -g '${1+"$@"}'='"$@"' 4256 setopt NO_GLOB_SUBST 4257else 4258 case `(set -o) 2>/dev/null` in #( 4259 *posix*) : 4260 set -o posix ;; #( 4261 *) : 4262 ;; 4263esac 4264fi 4265 4266 4267as_nl=' 4268' 4269export as_nl 4270# Printing a long string crashes Solaris 7 /usr/bin/printf. 4271as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 4272as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 4273as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 4274# Prefer a ksh shell builtin over an external printf program on Solaris, 4275# but without wasting forks for bash or zsh. 4276if test -z "$BASH_VERSION$ZSH_VERSION" \ 4277 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 4278 as_echo='print -r --' 4279 as_echo_n='print -rn --' 4280elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 4281 as_echo='printf %s\n' 4282 as_echo_n='printf %s' 4283else 4284 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 4285 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 4286 as_echo_n='/usr/ucb/echo -n' 4287 else 4288 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 4289 as_echo_n_body='eval 4290 arg=$1; 4291 case $arg in #( 4292 *"$as_nl"*) 4293 expr "X$arg" : "X\\(.*\\)$as_nl"; 4294 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 4295 esac; 4296 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 4297 ' 4298 export as_echo_n_body 4299 as_echo_n='sh -c $as_echo_n_body as_echo' 4300 fi 4301 export as_echo_body 4302 as_echo='sh -c $as_echo_body as_echo' 4303fi 4304 4305# The user is always right. 4306if test "${PATH_SEPARATOR+set}" != set; then 4307 PATH_SEPARATOR=: 4308 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 4309 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 4310 PATH_SEPARATOR=';' 4311 } 4312fi 4313 4314 4315# IFS 4316# We need space, tab and new line, in precisely that order. Quoting is 4317# there to prevent editors from complaining about space-tab. 4318# (If _AS_PATH_WALK were called with IFS unset, it would disable word 4319# splitting by setting IFS to empty value.) 4320IFS=" "" $as_nl" 4321 4322# Find who we are. Look in the path if we contain no directory separator. 4323as_myself= 4324case $0 in #(( 4325 *[\\/]* ) as_myself=$0 ;; 4326 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4327for as_dir in $PATH 4328do 4329 IFS=$as_save_IFS 4330 test -z "$as_dir" && as_dir=. 4331 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 4332 done 4333IFS=$as_save_IFS 4334 4335 ;; 4336esac 4337# We did not find ourselves, most probably we were run as `sh COMMAND' 4338# in which case we are not to be found in the path. 4339if test "x$as_myself" = x; then 4340 as_myself=$0 4341fi 4342if test ! -f "$as_myself"; then 4343 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 4344 exit 1 4345fi 4346 4347# Unset variables that we do not need and which cause bugs (e.g. in 4348# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 4349# suppresses any "Segmentation fault" message there. '((' could 4350# trigger a bug in pdksh 5.2.14. 4351for as_var in BASH_ENV ENV MAIL MAILPATH 4352do eval test x\${$as_var+set} = xset \ 4353 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 4354done 4355PS1='$ ' 4356PS2='> ' 4357PS4='+ ' 4358 4359# NLS nuisances. 4360LC_ALL=C 4361export LC_ALL 4362LANGUAGE=C 4363export LANGUAGE 4364 4365# CDPATH. 4366(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 4367 4368 4369# as_fn_error STATUS ERROR [LINENO LOG_FD] 4370# ---------------------------------------- 4371# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 4372# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 4373# script with STATUS, using 1 if that was 0. 4374as_fn_error () 4375{ 4376 as_status=$1; test $as_status -eq 0 && as_status=1 4377 if test "$4"; then 4378 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 4379 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 4380 fi 4381 $as_echo "$as_me: error: $2" >&2 4382 as_fn_exit $as_status 4383} # as_fn_error 4384 4385 4386# as_fn_set_status STATUS 4387# ----------------------- 4388# Set $? to STATUS, without forking. 4389as_fn_set_status () 4390{ 4391 return $1 4392} # as_fn_set_status 4393 4394# as_fn_exit STATUS 4395# ----------------- 4396# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 4397as_fn_exit () 4398{ 4399 set +e 4400 as_fn_set_status $1 4401 exit $1 4402} # as_fn_exit 4403 4404# as_fn_unset VAR 4405# --------------- 4406# Portably unset VAR. 4407as_fn_unset () 4408{ 4409 { eval $1=; unset $1;} 4410} 4411as_unset=as_fn_unset 4412# as_fn_append VAR VALUE 4413# ---------------------- 4414# Append the text in VALUE to the end of the definition contained in VAR. Take 4415# advantage of any shell optimizations that allow amortized linear growth over 4416# repeated appends, instead of the typical quadratic growth present in naive 4417# implementations. 4418if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 4419 eval 'as_fn_append () 4420 { 4421 eval $1+=\$2 4422 }' 4423else 4424 as_fn_append () 4425 { 4426 eval $1=\$$1\$2 4427 } 4428fi # as_fn_append 4429 4430# as_fn_arith ARG... 4431# ------------------ 4432# Perform arithmetic evaluation on the ARGs, and store the result in the 4433# global $as_val. Take advantage of shells that can avoid forks. The arguments 4434# must be portable across $(()) and expr. 4435if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 4436 eval 'as_fn_arith () 4437 { 4438 as_val=$(( $* )) 4439 }' 4440else 4441 as_fn_arith () 4442 { 4443 as_val=`expr "$@" || test $? -eq 1` 4444 } 4445fi # as_fn_arith 4446 4447 4448if expr a : '\(a\)' >/dev/null 2>&1 && 4449 test "X`expr 00001 : '.*\(...\)'`" = X001; then 4450 as_expr=expr 4451else 4452 as_expr=false 4453fi 4454 4455if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4456 as_basename=basename 4457else 4458 as_basename=false 4459fi 4460 4461if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4462 as_dirname=dirname 4463else 4464 as_dirname=false 4465fi 4466 4467as_me=`$as_basename -- "$0" || 4468$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4469 X"$0" : 'X\(//\)$' \| \ 4470 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4471$as_echo X/"$0" | 4472 sed '/^.*\/\([^/][^/]*\)\/*$/{ 4473 s//\1/ 4474 q 4475 } 4476 /^X\/\(\/\/\)$/{ 4477 s//\1/ 4478 q 4479 } 4480 /^X\/\(\/\).*/{ 4481 s//\1/ 4482 q 4483 } 4484 s/.*/./; q'` 4485 4486# Avoid depending upon Character Ranges. 4487as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4488as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4489as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4490as_cr_digits='0123456789' 4491as_cr_alnum=$as_cr_Letters$as_cr_digits 4492 4493ECHO_C= ECHO_N= ECHO_T= 4494case `echo -n x` in #((((( 4495-n*) 4496 case `echo 'xy\c'` in 4497 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4498 xy) ECHO_C='\c';; 4499 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4500 ECHO_T=' ';; 4501 esac;; 4502*) 4503 ECHO_N='-n';; 4504esac 4505 4506rm -f conf$$ conf$$.exe conf$$.file 4507if test -d conf$$.dir; then 4508 rm -f conf$$.dir/conf$$.file 4509else 4510 rm -f conf$$.dir 4511 mkdir conf$$.dir 2>/dev/null 4512fi 4513if (echo >conf$$.file) 2>/dev/null; then 4514 if ln -s conf$$.file conf$$ 2>/dev/null; then 4515 as_ln_s='ln -s' 4516 # ... but there are two gotchas: 4517 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4518 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4519 # In both cases, we have to default to `cp -p'. 4520 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4521 as_ln_s='cp -p' 4522 elif ln conf$$.file conf$$ 2>/dev/null; then 4523 as_ln_s=ln 4524 else 4525 as_ln_s='cp -p' 4526 fi 4527else 4528 as_ln_s='cp -p' 4529fi 4530rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 4531rmdir conf$$.dir 2>/dev/null 4532 4533 4534# as_fn_mkdir_p 4535# ------------- 4536# Create "$as_dir" as a directory, including parents if necessary. 4537as_fn_mkdir_p () 4538{ 4539 4540 case $as_dir in #( 4541 -*) as_dir=./$as_dir;; 4542 esac 4543 test -d "$as_dir" || eval $as_mkdir_p || { 4544 as_dirs= 4545 while :; do 4546 case $as_dir in #( 4547 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 4548 *) as_qdir=$as_dir;; 4549 esac 4550 as_dirs="'$as_qdir' $as_dirs" 4551 as_dir=`$as_dirname -- "$as_dir" || 4552$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4553 X"$as_dir" : 'X\(//\)[^/]' \| \ 4554 X"$as_dir" : 'X\(//\)$' \| \ 4555 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4556$as_echo X"$as_dir" | 4557 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4558 s//\1/ 4559 q 4560 } 4561 /^X\(\/\/\)[^/].*/{ 4562 s//\1/ 4563 q 4564 } 4565 /^X\(\/\/\)$/{ 4566 s//\1/ 4567 q 4568 } 4569 /^X\(\/\).*/{ 4570 s//\1/ 4571 q 4572 } 4573 s/.*/./; q'` 4574 test -d "$as_dir" && break 4575 done 4576 test -z "$as_dirs" || eval "mkdir $as_dirs" 4577 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 4578 4579 4580} # as_fn_mkdir_p 4581if mkdir -p . 2>/dev/null; then 4582 as_mkdir_p='mkdir -p "$as_dir"' 4583else 4584 test -d ./-p && rmdir ./-p 4585 as_mkdir_p=false 4586fi 4587 4588if test -x / >/dev/null 2>&1; then 4589 as_test_x='test -x' 4590else 4591 if ls -dL / >/dev/null 2>&1; then 4592 as_ls_L_option=L 4593 else 4594 as_ls_L_option= 4595 fi 4596 as_test_x=' 4597 eval sh -c '\'' 4598 if test -d "$1"; then 4599 test -d "$1/."; 4600 else 4601 case $1 in #( 4602 -*)set "./$1";; 4603 esac; 4604 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 4605 ???[sx]*):;;*)false;;esac;fi 4606 '\'' sh 4607 ' 4608fi 4609as_executable_p=$as_test_x 4610 4611# Sed expression to map a string onto a valid CPP name. 4612as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4613 4614# Sed expression to map a string onto a valid variable name. 4615as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4616 4617 4618exec 6>&1 4619## ----------------------------------- ## 4620## Main body of $CONFIG_STATUS script. ## 4621## ----------------------------------- ## 4622_ASEOF 4623test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 4624 4625cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4626# Save the log message, to keep $0 and so on meaningful, and to 4627# report actual input values of CONFIG_FILES etc. instead of their 4628# values after options handling. 4629ac_log=" 4630This file was extended by Euchre $as_me 0.8, which was 4631generated by GNU Autoconf 2.68. Invocation command line was 4632 4633 CONFIG_FILES = $CONFIG_FILES 4634 CONFIG_HEADERS = $CONFIG_HEADERS 4635 CONFIG_LINKS = $CONFIG_LINKS 4636 CONFIG_COMMANDS = $CONFIG_COMMANDS 4637 $ $0 $@ 4638 4639on `(hostname || uname -n) 2>/dev/null | sed 1q` 4640" 4641 4642_ACEOF 4643 4644case $ac_config_files in *" 4645"*) set x $ac_config_files; shift; ac_config_files=$*;; 4646esac 4647 4648 4649 4650cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4651# Files that config.status was made for. 4652config_files="$ac_config_files" 4653config_commands="$ac_config_commands" 4654 4655_ACEOF 4656 4657cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4658ac_cs_usage="\ 4659\`$as_me' instantiates files and other configuration actions 4660from templates according to the current configuration. Unless the files 4661and actions are specified as TAGs, all are instantiated by default. 4662 4663Usage: $0 [OPTION]... [TAG]... 4664 4665 -h, --help print this help, then exit 4666 -V, --version print version number and configuration settings, then exit 4667 --config print configuration, then exit 4668 -q, --quiet, --silent 4669 do not print progress messages 4670 -d, --debug don't remove temporary files 4671 --recheck update $as_me by reconfiguring in the same conditions 4672 --file=FILE[:TEMPLATE] 4673 instantiate the configuration file FILE 4674 4675Configuration files: 4676$config_files 4677 4678Configuration commands: 4679$config_commands 4680 4681Report bugs to the package provider." 4682 4683_ACEOF 4684cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4685ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 4686ac_cs_version="\\ 4687Euchre config.status 0.8 4688configured by $0, generated by GNU Autoconf 2.68, 4689 with options \\"\$ac_cs_config\\" 4690 4691Copyright (C) 2010 Free Software Foundation, Inc. 4692This config.status script is free software; the Free Software Foundation 4693gives unlimited permission to copy, distribute and modify it." 4694 4695ac_pwd='$ac_pwd' 4696srcdir='$srcdir' 4697INSTALL='$INSTALL' 4698MKDIR_P='$MKDIR_P' 4699AWK='$AWK' 4700test -n "\$AWK" || AWK=awk 4701_ACEOF 4702 4703cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4704# The default lists apply if the user does not specify any file. 4705ac_need_defaults=: 4706while test $# != 0 4707do 4708 case $1 in 4709 --*=?*) 4710 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4711 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4712 ac_shift=: 4713 ;; 4714 --*=) 4715 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4716 ac_optarg= 4717 ac_shift=: 4718 ;; 4719 *) 4720 ac_option=$1 4721 ac_optarg=$2 4722 ac_shift=shift 4723 ;; 4724 esac 4725 4726 case $ac_option in 4727 # Handling of the options. 4728 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4729 ac_cs_recheck=: ;; 4730 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4731 $as_echo "$ac_cs_version"; exit ;; 4732 --config | --confi | --conf | --con | --co | --c ) 4733 $as_echo "$ac_cs_config"; exit ;; 4734 --debug | --debu | --deb | --de | --d | -d ) 4735 debug=: ;; 4736 --file | --fil | --fi | --f ) 4737 $ac_shift 4738 case $ac_optarg in 4739 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4740 '') as_fn_error $? "missing file argument" ;; 4741 esac 4742 as_fn_append CONFIG_FILES " '$ac_optarg'" 4743 ac_need_defaults=false;; 4744 --he | --h | --help | --hel | -h ) 4745 $as_echo "$ac_cs_usage"; exit ;; 4746 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4747 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4748 ac_cs_silent=: ;; 4749 4750 # This is an error. 4751 -*) as_fn_error $? "unrecognized option: \`$1' 4752Try \`$0 --help' for more information." ;; 4753 4754 *) as_fn_append ac_config_targets " $1" 4755 ac_need_defaults=false ;; 4756 4757 esac 4758 shift 4759done 4760 4761ac_configure_extra_args= 4762 4763if $ac_cs_silent; then 4764 exec 6>/dev/null 4765 ac_configure_extra_args="$ac_configure_extra_args --silent" 4766fi 4767 4768_ACEOF 4769cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4770if \$ac_cs_recheck; then 4771 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4772 shift 4773 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 4774 CONFIG_SHELL='$SHELL' 4775 export CONFIG_SHELL 4776 exec "\$@" 4777fi 4778 4779_ACEOF 4780cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4781exec 5>>config.log 4782{ 4783 echo 4784 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4785## Running $as_me. ## 4786_ASBOX 4787 $as_echo "$ac_log" 4788} >&5 4789 4790_ACEOF 4791cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4792# 4793# INIT-COMMANDS 4794# 4795AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" 4796 4797_ACEOF 4798 4799cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4800 4801# Handling of arguments. 4802for ac_config_target in $ac_config_targets 4803do 4804 case $ac_config_target in 4805 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 4806 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 4807 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 4808 "src/lib/Makefile") CONFIG_FILES="$CONFIG_FILES src/lib/Makefile" ;; 4809 "src/pixmaps/Makefile") CONFIG_FILES="$CONFIG_FILES src/pixmaps/Makefile" ;; 4810 "src/gui/Makefile") CONFIG_FILES="$CONFIG_FILES src/gui/Makefile" ;; 4811 4812 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 4813 esac 4814done 4815 4816 4817# If the user did not use the arguments to specify the items to instantiate, 4818# then the envvar interface is used. Set only those that are not. 4819# We use the long form for the default assignment because of an extremely 4820# bizarre bug on SunOS 4.1.3. 4821if $ac_need_defaults; then 4822 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4823 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 4824fi 4825 4826# Have a temporary directory for convenience. Make it in the build tree 4827# simply because there is no reason against having it here, and in addition, 4828# creating and moving files from /tmp can sometimes cause problems. 4829# Hook for its removal unless debugging. 4830# Note that there is a small window in which the directory will not be cleaned: 4831# after its creation but before its name has been assigned to `$tmp'. 4832$debug || 4833{ 4834 tmp= ac_tmp= 4835 trap 'exit_status=$? 4836 : "${ac_tmp:=$tmp}" 4837 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 4838' 0 4839 trap 'as_fn_exit 1' 1 2 13 15 4840} 4841# Create a (secure) tmp directory for tmp files. 4842 4843{ 4844 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4845 test -d "$tmp" 4846} || 4847{ 4848 tmp=./conf$$-$RANDOM 4849 (umask 077 && mkdir "$tmp") 4850} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 4851ac_tmp=$tmp 4852 4853# Set up the scripts for CONFIG_FILES section. 4854# No need to generate them if there are no CONFIG_FILES. 4855# This happens for instance with `./config.status config.h'. 4856if test -n "$CONFIG_FILES"; then 4857 4858 4859ac_cr=`echo X | tr X '\015'` 4860# On cygwin, bash can eat \r inside `` if the user requested igncr. 4861# But we know of no other shell where ac_cr would be empty at this 4862# point, so we can use a bashism as a fallback. 4863if test "x$ac_cr" = x; then 4864 eval ac_cr=\$\'\\r\' 4865fi 4866ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 4867if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 4868 ac_cs_awk_cr='\\r' 4869else 4870 ac_cs_awk_cr=$ac_cr 4871fi 4872 4873echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 4874_ACEOF 4875 4876 4877{ 4878 echo "cat >conf$$subs.awk <<_ACEOF" && 4879 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 4880 echo "_ACEOF" 4881} >conf$$subs.sh || 4882 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4883ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 4884ac_delim='%!_!# ' 4885for ac_last_try in false false false false false :; do 4886 . ./conf$$subs.sh || 4887 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4888 4889 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 4890 if test $ac_delim_n = $ac_delim_num; then 4891 break 4892 elif $ac_last_try; then 4893 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4894 else 4895 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4896 fi 4897done 4898rm -f conf$$subs.sh 4899 4900cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4901cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 4902_ACEOF 4903sed -n ' 4904h 4905s/^/S["/; s/!.*/"]=/ 4906p 4907g 4908s/^[^!]*!// 4909:repl 4910t repl 4911s/'"$ac_delim"'$// 4912t delim 4913:nl 4914h 4915s/\(.\{148\}\)..*/\1/ 4916t more1 4917s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 4918p 4919n 4920b repl 4921:more1 4922s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4923p 4924g 4925s/.\{148\}// 4926t nl 4927:delim 4928h 4929s/\(.\{148\}\)..*/\1/ 4930t more2 4931s/["\\]/\\&/g; s/^/"/; s/$/"/ 4932p 4933b 4934:more2 4935s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4936p 4937g 4938s/.\{148\}// 4939t delim 4940' <conf$$subs.awk | sed ' 4941/^[^""]/{ 4942 N 4943 s/\n// 4944} 4945' >>$CONFIG_STATUS || ac_write_fail=1 4946rm -f conf$$subs.awk 4947cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4948_ACAWK 4949cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 4950 for (key in S) S_is_set[key] = 1 4951 FS = "" 4952 4953} 4954{ 4955 line = $ 0 4956 nfields = split(line, field, "@") 4957 substed = 0 4958 len = length(field[1]) 4959 for (i = 2; i < nfields; i++) { 4960 key = field[i] 4961 keylen = length(key) 4962 if (S_is_set[key]) { 4963 value = S[key] 4964 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 4965 len += length(value) + length(field[++i]) 4966 substed = 1 4967 } else 4968 len += 1 + keylen 4969 } 4970 4971 print line 4972} 4973 4974_ACAWK 4975_ACEOF 4976cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4977if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 4978 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 4979else 4980 cat 4981fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 4982 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 4983_ACEOF 4984 4985# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 4986# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 4987# trailing colons and then remove the whole line if VPATH becomes empty 4988# (actually we leave an empty line to preserve line numbers). 4989if test "x$srcdir" = x.; then 4990 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 4991h 4992s/// 4993s/^/:/ 4994s/[ ]*$/:/ 4995s/:\$(srcdir):/:/g 4996s/:\${srcdir}:/:/g 4997s/:@srcdir@:/:/g 4998s/^:*// 4999s/:*$// 5000x 5001s/\(=[ ]*\).*/\1/ 5002G 5003s/\n// 5004s/^[^=]*=[ ]*$// 5005}' 5006fi 5007 5008cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5009fi # test -n "$CONFIG_FILES" 5010 5011 5012eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 5013shift 5014for ac_tag 5015do 5016 case $ac_tag in 5017 :[FHLC]) ac_mode=$ac_tag; continue;; 5018 esac 5019 case $ac_mode$ac_tag in 5020 :[FHL]*:*);; 5021 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 5022 :[FH]-) ac_tag=-:-;; 5023 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 5024 esac 5025 ac_save_IFS=$IFS 5026 IFS=: 5027 set x $ac_tag 5028 IFS=$ac_save_IFS 5029 shift 5030 ac_file=$1 5031 shift 5032 5033 case $ac_mode in 5034 :L) ac_source=$1;; 5035 :[FH]) 5036 ac_file_inputs= 5037 for ac_f 5038 do 5039 case $ac_f in 5040 -) ac_f="$ac_tmp/stdin";; 5041 *) # Look for the file first in the build tree, then in the source tree 5042 # (if the path is not absolute). The absolute path cannot be DOS-style, 5043 # because $ac_f cannot contain `:'. 5044 test -f "$ac_f" || 5045 case $ac_f in 5046 [\\/$]*) false;; 5047 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 5048 esac || 5049 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 5050 esac 5051 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 5052 as_fn_append ac_file_inputs " '$ac_f'" 5053 done 5054 5055 # Let's still pretend it is `configure' which instantiates (i.e., don't 5056 # use $as_me), people would be surprised to read: 5057 # /* config.h. Generated by config.status. */ 5058 configure_input='Generated from '` 5059 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 5060 `' by configure.' 5061 if test x"$ac_file" != x-; then 5062 configure_input="$ac_file. $configure_input" 5063 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 5064$as_echo "$as_me: creating $ac_file" >&6;} 5065 fi 5066 # Neutralize special characters interpreted by sed in replacement strings. 5067 case $configure_input in #( 5068 *\&* | *\|* | *\\* ) 5069 ac_sed_conf_input=`$as_echo "$configure_input" | 5070 sed 's/[\\\\&|]/\\\\&/g'`;; #( 5071 *) ac_sed_conf_input=$configure_input;; 5072 esac 5073 5074 case $ac_tag in 5075 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 5076 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 5077 esac 5078 ;; 5079 esac 5080 5081 ac_dir=`$as_dirname -- "$ac_file" || 5082$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5083 X"$ac_file" : 'X\(//\)[^/]' \| \ 5084 X"$ac_file" : 'X\(//\)$' \| \ 5085 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 5086$as_echo X"$ac_file" | 5087 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5088 s//\1/ 5089 q 5090 } 5091 /^X\(\/\/\)[^/].*/{ 5092 s//\1/ 5093 q 5094 } 5095 /^X\(\/\/\)$/{ 5096 s//\1/ 5097 q 5098 } 5099 /^X\(\/\).*/{ 5100 s//\1/ 5101 q 5102 } 5103 s/.*/./; q'` 5104 as_dir="$ac_dir"; as_fn_mkdir_p 5105 ac_builddir=. 5106 5107case "$ac_dir" in 5108.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 5109*) 5110 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 5111 # A ".." for each directory in $ac_dir_suffix. 5112 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 5113 case $ac_top_builddir_sub in 5114 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 5115 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 5116 esac ;; 5117esac 5118ac_abs_top_builddir=$ac_pwd 5119ac_abs_builddir=$ac_pwd$ac_dir_suffix 5120# for backward compatibility: 5121ac_top_builddir=$ac_top_build_prefix 5122 5123case $srcdir in 5124 .) # We are building in place. 5125 ac_srcdir=. 5126 ac_top_srcdir=$ac_top_builddir_sub 5127 ac_abs_top_srcdir=$ac_pwd ;; 5128 [\\/]* | ?:[\\/]* ) # Absolute name. 5129 ac_srcdir=$srcdir$ac_dir_suffix; 5130 ac_top_srcdir=$srcdir 5131 ac_abs_top_srcdir=$srcdir ;; 5132 *) # Relative name. 5133 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 5134 ac_top_srcdir=$ac_top_build_prefix$srcdir 5135 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 5136esac 5137ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 5138 5139 5140 case $ac_mode in 5141 :F) 5142 # 5143 # CONFIG_FILE 5144 # 5145 5146 case $INSTALL in 5147 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5148 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 5149 esac 5150 ac_MKDIR_P=$MKDIR_P 5151 case $MKDIR_P in 5152 [\\/$]* | ?:[\\/]* ) ;; 5153 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 5154 esac 5155_ACEOF 5156 5157cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5158# If the template does not know about datarootdir, expand it. 5159# FIXME: This hack should be removed a few years after 2.60. 5160ac_datarootdir_hack=; ac_datarootdir_seen= 5161ac_sed_dataroot=' 5162/datarootdir/ { 5163 p 5164 q 5165} 5166/@datadir@/p 5167/@docdir@/p 5168/@infodir@/p 5169/@localedir@/p 5170/@mandir@/p' 5171case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 5172*datarootdir*) ac_datarootdir_seen=yes;; 5173*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 5174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 5175$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 5176_ACEOF 5177cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5178 ac_datarootdir_hack=' 5179 s&@datadir@&$datadir&g 5180 s&@docdir@&$docdir&g 5181 s&@infodir@&$infodir&g 5182 s&@localedir@&$localedir&g 5183 s&@mandir@&$mandir&g 5184 s&\\\${datarootdir}&$datarootdir&g' ;; 5185esac 5186_ACEOF 5187 5188# Neutralize VPATH when `$srcdir' = `.'. 5189# Shell code in configure.ac might set extrasub. 5190# FIXME: do we really want to maintain this feature? 5191cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 5192ac_sed_extra="$ac_vpsub 5193$extrasub 5194_ACEOF 5195cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 5196:t 5197/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5198s|@configure_input@|$ac_sed_conf_input|;t t 5199s&@top_builddir@&$ac_top_builddir_sub&;t t 5200s&@top_build_prefix@&$ac_top_build_prefix&;t t 5201s&@srcdir@&$ac_srcdir&;t t 5202s&@abs_srcdir@&$ac_abs_srcdir&;t t 5203s&@top_srcdir@&$ac_top_srcdir&;t t 5204s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 5205s&@builddir@&$ac_builddir&;t t 5206s&@abs_builddir@&$ac_abs_builddir&;t t 5207s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 5208s&@INSTALL@&$ac_INSTALL&;t t 5209s&@MKDIR_P@&$ac_MKDIR_P&;t t 5210$ac_datarootdir_hack 5211" 5212eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 5213 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5214 5215test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 5216 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 5217 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 5218 "$ac_tmp/out"`; test -z "$ac_out"; } && 5219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5220which seems to be undefined. Please make sure it is defined" >&5 5221$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 5222which seems to be undefined. Please make sure it is defined" >&2;} 5223 5224 rm -f "$ac_tmp/stdin" 5225 case $ac_file in 5226 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 5227 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 5228 esac \ 5229 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 5230 ;; 5231 5232 5233 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 5234$as_echo "$as_me: executing $ac_file commands" >&6;} 5235 ;; 5236 esac 5237 5238 5239 case $ac_file$ac_mode in 5240 "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 5241 # Autoconf 2.62 quotes --file arguments for eval, but not when files 5242 # are listed without --file. Let's play safe and only enable the eval 5243 # if we detect the quoting. 5244 case $CONFIG_FILES in 5245 *\'*) eval set x "$CONFIG_FILES" ;; 5246 *) set x $CONFIG_FILES ;; 5247 esac 5248 shift 5249 for mf 5250 do 5251 # Strip MF so we end up with the name of the file. 5252 mf=`echo "$mf" | sed -e 's/:.*$//'` 5253 # Check whether this is an Automake generated Makefile or not. 5254 # We used to match only the files named `Makefile.in', but 5255 # some people rename them; so instead we look at the file content. 5256 # Grep'ing the first line is not enough: some people post-process 5257 # each Makefile.in and add a new line on top of each file to say so. 5258 # Grep'ing the whole file is not good either: AIX grep has a line 5259 # limit of 2048, but all sed's we know have understand at least 4000. 5260 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 5261 dirpart=`$as_dirname -- "$mf" || 5262$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5263 X"$mf" : 'X\(//\)[^/]' \| \ 5264 X"$mf" : 'X\(//\)$' \| \ 5265 X"$mf" : 'X\(/\)' \| . 2>/dev/null || 5266$as_echo X"$mf" | 5267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5268 s//\1/ 5269 q 5270 } 5271 /^X\(\/\/\)[^/].*/{ 5272 s//\1/ 5273 q 5274 } 5275 /^X\(\/\/\)$/{ 5276 s//\1/ 5277 q 5278 } 5279 /^X\(\/\).*/{ 5280 s//\1/ 5281 q 5282 } 5283 s/.*/./; q'` 5284 else 5285 continue 5286 fi 5287 # Extract the definition of DEPDIR, am__include, and am__quote 5288 # from the Makefile without running `make'. 5289 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 5290 test -z "$DEPDIR" && continue 5291 am__include=`sed -n 's/^am__include = //p' < "$mf"` 5292 test -z "am__include" && continue 5293 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 5294 # When using ansi2knr, U may be empty or an underscore; expand it 5295 U=`sed -n 's/^U = //p' < "$mf"` 5296 # Find all dependency output files, they are included files with 5297 # $(DEPDIR) in their names. We invoke sed twice because it is the 5298 # simplest approach to changing $(DEPDIR) to its actual value in the 5299 # expansion. 5300 for file in `sed -n " 5301 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 5302 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 5303 # Make sure the directory exists. 5304 test -f "$dirpart/$file" && continue 5305 fdir=`$as_dirname -- "$file" || 5306$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5307 X"$file" : 'X\(//\)[^/]' \| \ 5308 X"$file" : 'X\(//\)$' \| \ 5309 X"$file" : 'X\(/\)' \| . 2>/dev/null || 5310$as_echo X"$file" | 5311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 5312 s//\1/ 5313 q 5314 } 5315 /^X\(\/\/\)[^/].*/{ 5316 s//\1/ 5317 q 5318 } 5319 /^X\(\/\/\)$/{ 5320 s//\1/ 5321 q 5322 } 5323 /^X\(\/\).*/{ 5324 s//\1/ 5325 q 5326 } 5327 s/.*/./; q'` 5328 as_dir=$dirpart/$fdir; as_fn_mkdir_p 5329 # echo "creating $dirpart/$file" 5330 echo '# dummy' > "$dirpart/$file" 5331 done 5332 done 5333} 5334 ;; 5335 5336 esac 5337done # for ac_tag 5338 5339 5340as_fn_exit 0 5341_ACEOF 5342ac_clean_files=$ac_clean_files_save 5343 5344test $ac_write_fail = 0 || 5345 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 5346 5347 5348# configure is writing to config.log, and then calls config.status. 5349# config.status does its own redirection, appending to config.log. 5350# Unfortunately, on DOS this fails, as config.log is still kept open 5351# by configure, so config.status won't be able to write to it; its 5352# output is simply discarded. So we exec the FD to /dev/null, 5353# effectively closing config.log, so it can be properly (re)opened and 5354# appended to by config.status. When coming back to configure, we 5355# need to make the FD available again. 5356if test "$no_create" != yes; then 5357 ac_cs_success=: 5358 ac_config_status_args= 5359 test "$silent" = yes && 5360 ac_config_status_args="$ac_config_status_args --quiet" 5361 exec 5>/dev/null 5362 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 5363 exec 5>>config.log 5364 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5365 # would make configure fail if this is the last instruction. 5366 $ac_cs_success || as_fn_exit 1 5367fi 5368if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 5369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 5370$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 5371fi 5372 5373