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