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