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