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