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