1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.68 for fisicalab 0.3.3. 4# 5# 6# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 7# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software 8# 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 137if test "x$CONFIG_SHELL" = x; then 138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 139 emulate sh 140 NULLCMD=: 141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 142 # is contrary to our usage. Disable this feature. 143 alias -g '\${1+\"\$@\"}'='\"\$@\"' 144 setopt NO_GLOB_SUBST 145else 146 case \`(set -o) 2>/dev/null\` in #( 147 *posix*) : 148 set -o posix ;; #( 149 *) : 150 ;; 151esac 152fi 153" 154 as_required="as_fn_return () { (exit \$1); } 155as_fn_success () { as_fn_return 0; } 156as_fn_failure () { as_fn_return 1; } 157as_fn_ret_success () { return 0; } 158as_fn_ret_failure () { return 1; } 159 160exitcode=0 161as_fn_success || { exitcode=1; echo as_fn_success failed.; } 162as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 163as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 164as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 165if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 166 167else 168 exitcode=1; echo positional parameters were not saved. 169fi 170test x\$exitcode = x0 || exit 1" 171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 175test \$(( 1 + 1 )) = 2 || exit 1" 176 if (eval "$as_required") 2>/dev/null; then : 177 as_have_required=yes 178else 179 as_have_required=no 180fi 181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 182 183else 184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 185as_found=false 186for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 187do 188 IFS=$as_save_IFS 189 test -z "$as_dir" && as_dir=. 190 as_found=: 191 case $as_dir in #( 192 /*) 193 for as_base in sh bash ksh sh5; do 194 # Try only shells that exist, to save several forks. 195 as_shell=$as_dir/$as_base 196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 198 CONFIG_SHELL=$as_shell as_have_required=yes 199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 200 break 2 201fi 202fi 203 done;; 204 esac 205 as_found=false 206done 207$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 209 CONFIG_SHELL=$SHELL as_have_required=yes 210fi; } 211IFS=$as_save_IFS 212 213 214 if test "x$CONFIG_SHELL" != x; then : 215 # We cannot yet assume a decent shell, so we have to provide a 216 # neutralization value for shells without unset; and this also 217 # works around shells that cannot unset nonexistent variables. 218 # Preserve -v and -x to the replacement shell. 219 BASH_ENV=/dev/null 220 ENV=/dev/null 221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 222 export CONFIG_SHELL 223 case $- in # (((( 224 *v*x* | *x*v* ) as_opts=-vx ;; 225 *v* ) as_opts=-v ;; 226 *x* ) as_opts=-x ;; 227 * ) as_opts= ;; 228 esac 229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} 230fi 231 232 if test x$as_have_required = xno; then : 233 $as_echo "$0: This script requires a shell more modern than all" 234 $as_echo "$0: the shells that I found on your system." 235 if test x${ZSH_VERSION+set} = xset ; then 236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 237 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 238 else 239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 240$0: including any error possibly output before this 241$0: message. Then install a modern shell, or manually run 242$0: the script under such a shell if you do have one." 243 fi 244 exit 1 245fi 246fi 247fi 248SHELL=${CONFIG_SHELL-/bin/sh} 249export SHELL 250# Unset more variables known to interfere with behavior of common tools. 251CLICOLOR_FORCE= GREP_OPTIONS= 252unset CLICOLOR_FORCE GREP_OPTIONS 253 254## --------------------- ## 255## M4sh Shell Functions. ## 256## --------------------- ## 257# as_fn_unset VAR 258# --------------- 259# Portably unset VAR. 260as_fn_unset () 261{ 262 { eval $1=; unset $1;} 263} 264as_unset=as_fn_unset 265 266# as_fn_set_status STATUS 267# ----------------------- 268# Set $? to STATUS, without forking. 269as_fn_set_status () 270{ 271 return $1 272} # as_fn_set_status 273 274# as_fn_exit STATUS 275# ----------------- 276# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 277as_fn_exit () 278{ 279 set +e 280 as_fn_set_status $1 281 exit $1 282} # as_fn_exit 283 284# as_fn_mkdir_p 285# ------------- 286# Create "$as_dir" as a directory, including parents if necessary. 287as_fn_mkdir_p () 288{ 289 290 case $as_dir in #( 291 -*) as_dir=./$as_dir;; 292 esac 293 test -d "$as_dir" || eval $as_mkdir_p || { 294 as_dirs= 295 while :; do 296 case $as_dir in #( 297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 298 *) as_qdir=$as_dir;; 299 esac 300 as_dirs="'$as_qdir' $as_dirs" 301 as_dir=`$as_dirname -- "$as_dir" || 302$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 303 X"$as_dir" : 'X\(//\)[^/]' \| \ 304 X"$as_dir" : 'X\(//\)$' \| \ 305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 306$as_echo X"$as_dir" | 307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 308 s//\1/ 309 q 310 } 311 /^X\(\/\/\)[^/].*/{ 312 s//\1/ 313 q 314 } 315 /^X\(\/\/\)$/{ 316 s//\1/ 317 q 318 } 319 /^X\(\/\).*/{ 320 s//\1/ 321 q 322 } 323 s/.*/./; q'` 324 test -d "$as_dir" && break 325 done 326 test -z "$as_dirs" || eval "mkdir $as_dirs" 327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 328 329 330} # as_fn_mkdir_p 331# as_fn_append VAR VALUE 332# ---------------------- 333# Append the text in VALUE to the end of the definition contained in VAR. Take 334# advantage of any shell optimizations that allow amortized linear growth over 335# repeated appends, instead of the typical quadratic growth present in naive 336# implementations. 337if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 338 eval 'as_fn_append () 339 { 340 eval $1+=\$2 341 }' 342else 343 as_fn_append () 344 { 345 eval $1=\$$1\$2 346 } 347fi # as_fn_append 348 349# as_fn_arith ARG... 350# ------------------ 351# Perform arithmetic evaluation on the ARGs, and store the result in the 352# global $as_val. Take advantage of shells that can avoid forks. The arguments 353# must be portable across $(()) and expr. 354if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 355 eval 'as_fn_arith () 356 { 357 as_val=$(( $* )) 358 }' 359else 360 as_fn_arith () 361 { 362 as_val=`expr "$@" || test $? -eq 1` 363 } 364fi # as_fn_arith 365 366 367# as_fn_error STATUS ERROR [LINENO LOG_FD] 368# ---------------------------------------- 369# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 370# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 371# script with STATUS, using 1 if that was 0. 372as_fn_error () 373{ 374 as_status=$1; test $as_status -eq 0 && as_status=1 375 if test "$4"; then 376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 378 fi 379 $as_echo "$as_me: error: $2" >&2 380 as_fn_exit $as_status 381} # as_fn_error 382 383if expr a : '\(a\)' >/dev/null 2>&1 && 384 test "X`expr 00001 : '.*\(...\)'`" = X001; then 385 as_expr=expr 386else 387 as_expr=false 388fi 389 390if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 391 as_basename=basename 392else 393 as_basename=false 394fi 395 396if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 397 as_dirname=dirname 398else 399 as_dirname=false 400fi 401 402as_me=`$as_basename -- "$0" || 403$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 404 X"$0" : 'X\(//\)$' \| \ 405 X"$0" : 'X\(/\)' \| . 2>/dev/null || 406$as_echo X/"$0" | 407 sed '/^.*\/\([^/][^/]*\)\/*$/{ 408 s//\1/ 409 q 410 } 411 /^X\/\(\/\/\)$/{ 412 s//\1/ 413 q 414 } 415 /^X\/\(\/\).*/{ 416 s//\1/ 417 q 418 } 419 s/.*/./; q'` 420 421# Avoid depending upon Character Ranges. 422as_cr_letters='abcdefghijklmnopqrstuvwxyz' 423as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 424as_cr_Letters=$as_cr_letters$as_cr_LETTERS 425as_cr_digits='0123456789' 426as_cr_alnum=$as_cr_Letters$as_cr_digits 427 428 429 as_lineno_1=$LINENO as_lineno_1a=$LINENO 430 as_lineno_2=$LINENO as_lineno_2a=$LINENO 431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 434 sed -n ' 435 p 436 /[$]LINENO/= 437 ' <$as_myself | 438 sed ' 439 s/[$]LINENO.*/&-/ 440 t lineno 441 b 442 :lineno 443 N 444 :loop 445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 446 t loop 447 s/-\n.*// 448 ' >$as_me.lineno && 449 chmod +x "$as_me.lineno" || 450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 451 452 # Don't try to exec as it changes $[0], causing all sort of problems 453 # (the dirname of $[0] is not the place where we might find the 454 # original and so on. Autoconf is especially sensitive to this). 455 . "./$as_me.lineno" 456 # Exit status is that of the last command. 457 exit 458} 459 460ECHO_C= ECHO_N= ECHO_T= 461case `echo -n x` in #((((( 462-n*) 463 case `echo 'xy\c'` in 464 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 465 xy) ECHO_C='\c';; 466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 467 ECHO_T=' ';; 468 esac;; 469*) 470 ECHO_N='-n';; 471esac 472 473rm -f conf$$ conf$$.exe conf$$.file 474if test -d conf$$.dir; then 475 rm -f conf$$.dir/conf$$.file 476else 477 rm -f conf$$.dir 478 mkdir conf$$.dir 2>/dev/null 479fi 480if (echo >conf$$.file) 2>/dev/null; then 481 if ln -s conf$$.file conf$$ 2>/dev/null; then 482 as_ln_s='ln -s' 483 # ... but there are two gotchas: 484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 486 # In both cases, we have to default to `cp -p'. 487 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 488 as_ln_s='cp -p' 489 elif ln conf$$.file conf$$ 2>/dev/null; then 490 as_ln_s=ln 491 else 492 as_ln_s='cp -p' 493 fi 494else 495 as_ln_s='cp -p' 496fi 497rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 498rmdir conf$$.dir 2>/dev/null 499 500if mkdir -p . 2>/dev/null; then 501 as_mkdir_p='mkdir -p "$as_dir"' 502else 503 test -d ./-p && rmdir ./-p 504 as_mkdir_p=false 505fi 506 507if test -x / >/dev/null 2>&1; then 508 as_test_x='test -x' 509else 510 if ls -dL / >/dev/null 2>&1; then 511 as_ls_L_option=L 512 else 513 as_ls_L_option= 514 fi 515 as_test_x=' 516 eval sh -c '\'' 517 if test -d "$1"; then 518 test -d "$1/."; 519 else 520 case $1 in #( 521 -*)set "./$1";; 522 esac; 523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 524 ???[sx]*):;;*)false;;esac;fi 525 '\'' sh 526 ' 527fi 528as_executable_p=$as_test_x 529 530# Sed expression to map a string onto a valid CPP name. 531as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 532 533# Sed expression to map a string onto a valid variable name. 534as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 535 536 537test -n "$DJDIR" || exec 7<&0 </dev/null 538exec 6>&1 539 540# Name of the host. 541# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 542# so uname gets run too. 543ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 544 545# 546# Initializations. 547# 548ac_default_prefix=/usr/local 549ac_clean_files= 550ac_config_libobj_dir=. 551LIBOBJS= 552cross_compiling=no 553subdirs= 554MFLAGS= 555MAKEFLAGS= 556 557# Identity of this package. 558PACKAGE_NAME='fisicalab' 559PACKAGE_TARNAME='fisicalab' 560PACKAGE_VERSION='0.3.3' 561PACKAGE_STRING='fisicalab 0.3.3' 562PACKAGE_BUGREPORT='' 563PACKAGE_URL='' 564 565# Factoring default headers for most tests. 566ac_includes_default="\ 567#include <stdio.h> 568#ifdef HAVE_SYS_TYPES_H 569# include <sys/types.h> 570#endif 571#ifdef HAVE_SYS_STAT_H 572# include <sys/stat.h> 573#endif 574#ifdef STDC_HEADERS 575# include <stdlib.h> 576# include <stddef.h> 577#else 578# ifdef HAVE_STDLIB_H 579# include <stdlib.h> 580# endif 581#endif 582#ifdef HAVE_STRING_H 583# if !defined STDC_HEADERS && defined HAVE_MEMORY_H 584# include <memory.h> 585# endif 586# include <string.h> 587#endif 588#ifdef HAVE_STRINGS_H 589# include <strings.h> 590#endif 591#ifdef HAVE_INTTYPES_H 592# include <inttypes.h> 593#endif 594#ifdef HAVE_STDINT_H 595# include <stdint.h> 596#endif 597#ifdef HAVE_UNISTD_H 598# include <unistd.h> 599#endif" 600 601ac_subst_vars='LTLIBOBJS 602LIBOBJS 603EGREP 604GREP 605CPP 606OBJEXT 607EXEEXT 608ac_ct_CC 609CPPFLAGS 610LDFLAGS 611CFLAGS 612CC 613target_alias 614host_alias 615build_alias 616LIBS 617ECHO_T 618ECHO_N 619ECHO_C 620DEFS 621mandir 622localedir 623libdir 624psdir 625pdfdir 626dvidir 627htmldir 628infodir 629docdir 630oldincludedir 631includedir 632localstatedir 633sharedstatedir 634sysconfdir 635datadir 636datarootdir 637libexecdir 638sbindir 639bindir 640program_transform_name 641prefix 642exec_prefix 643PACKAGE_URL 644PACKAGE_BUGREPORT 645PACKAGE_STRING 646PACKAGE_VERSION 647PACKAGE_TARNAME 648PACKAGE_NAME 649PATH_SEPARATOR 650SHELL' 651ac_subst_files='' 652ac_user_opts=' 653enable_option_checking 654' 655 ac_precious_vars='build_alias 656host_alias 657target_alias 658CC 659CFLAGS 660LDFLAGS 661LIBS 662CPPFLAGS 663CPP' 664 665 666# Initialize some variables set by options. 667ac_init_help= 668ac_init_version=false 669ac_unrecognized_opts= 670ac_unrecognized_sep= 671# The variables have the same names as the options, with 672# dashes changed to underlines. 673cache_file=/dev/null 674exec_prefix=NONE 675no_create= 676no_recursion= 677prefix=NONE 678program_prefix=NONE 679program_suffix=NONE 680program_transform_name=s,x,x, 681silent= 682site= 683srcdir= 684verbose= 685x_includes=NONE 686x_libraries=NONE 687 688# Installation directory options. 689# These are left unexpanded so users can "make install exec_prefix=/foo" 690# and all the variables that are supposed to be based on exec_prefix 691# by default will actually change. 692# Use braces instead of parens because sh, perl, etc. also accept them. 693# (The list follows the same order as the GNU Coding Standards.) 694bindir='${exec_prefix}/bin' 695sbindir='${exec_prefix}/sbin' 696libexecdir='${exec_prefix}/libexec' 697datarootdir='${prefix}/share' 698datadir='${datarootdir}' 699sysconfdir='${prefix}/etc' 700sharedstatedir='${prefix}/com' 701localstatedir='${prefix}/var' 702includedir='${prefix}/include' 703oldincludedir='/usr/include' 704docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 705infodir='${datarootdir}/info' 706htmldir='${docdir}' 707dvidir='${docdir}' 708pdfdir='${docdir}' 709psdir='${docdir}' 710libdir='${exec_prefix}/lib' 711localedir='${datarootdir}/locale' 712mandir='${datarootdir}/man' 713 714ac_prev= 715ac_dashdash= 716for ac_option 717do 718 # If the previous option needs an argument, assign it. 719 if test -n "$ac_prev"; then 720 eval $ac_prev=\$ac_option 721 ac_prev= 722 continue 723 fi 724 725 case $ac_option in 726 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 727 *=) ac_optarg= ;; 728 *) ac_optarg=yes ;; 729 esac 730 731 # Accept the important Cygnus configure options, so we can diagnose typos. 732 733 case $ac_dashdash$ac_option in 734 --) 735 ac_dashdash=yes ;; 736 737 -bindir | --bindir | --bindi | --bind | --bin | --bi) 738 ac_prev=bindir ;; 739 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 740 bindir=$ac_optarg ;; 741 742 -build | --build | --buil | --bui | --bu) 743 ac_prev=build_alias ;; 744 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 745 build_alias=$ac_optarg ;; 746 747 -cache-file | --cache-file | --cache-fil | --cache-fi \ 748 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 749 ac_prev=cache_file ;; 750 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 751 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 752 cache_file=$ac_optarg ;; 753 754 --config-cache | -C) 755 cache_file=config.cache ;; 756 757 -datadir | --datadir | --datadi | --datad) 758 ac_prev=datadir ;; 759 -datadir=* | --datadir=* | --datadi=* | --datad=*) 760 datadir=$ac_optarg ;; 761 762 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 763 | --dataroo | --dataro | --datar) 764 ac_prev=datarootdir ;; 765 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 766 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 767 datarootdir=$ac_optarg ;; 768 769 -disable-* | --disable-*) 770 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 771 # Reject names that are not valid shell variable names. 772 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 773 as_fn_error $? "invalid feature name: $ac_useropt" 774 ac_useropt_orig=$ac_useropt 775 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 776 case $ac_user_opts in 777 *" 778"enable_$ac_useropt" 779"*) ;; 780 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 781 ac_unrecognized_sep=', ';; 782 esac 783 eval enable_$ac_useropt=no ;; 784 785 -docdir | --docdir | --docdi | --doc | --do) 786 ac_prev=docdir ;; 787 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 788 docdir=$ac_optarg ;; 789 790 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 791 ac_prev=dvidir ;; 792 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 793 dvidir=$ac_optarg ;; 794 795 -enable-* | --enable-*) 796 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 797 # Reject names that are not valid shell variable names. 798 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 799 as_fn_error $? "invalid feature name: $ac_useropt" 800 ac_useropt_orig=$ac_useropt 801 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 802 case $ac_user_opts in 803 *" 804"enable_$ac_useropt" 805"*) ;; 806 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 807 ac_unrecognized_sep=', ';; 808 esac 809 eval enable_$ac_useropt=\$ac_optarg ;; 810 811 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 812 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 813 | --exec | --exe | --ex) 814 ac_prev=exec_prefix ;; 815 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 816 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 817 | --exec=* | --exe=* | --ex=*) 818 exec_prefix=$ac_optarg ;; 819 820 -gas | --gas | --ga | --g) 821 # Obsolete; use --with-gas. 822 with_gas=yes ;; 823 824 -help | --help | --hel | --he | -h) 825 ac_init_help=long ;; 826 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 827 ac_init_help=recursive ;; 828 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 829 ac_init_help=short ;; 830 831 -host | --host | --hos | --ho) 832 ac_prev=host_alias ;; 833 -host=* | --host=* | --hos=* | --ho=*) 834 host_alias=$ac_optarg ;; 835 836 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 837 ac_prev=htmldir ;; 838 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 839 | --ht=*) 840 htmldir=$ac_optarg ;; 841 842 -includedir | --includedir | --includedi | --included | --include \ 843 | --includ | --inclu | --incl | --inc) 844 ac_prev=includedir ;; 845 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 846 | --includ=* | --inclu=* | --incl=* | --inc=*) 847 includedir=$ac_optarg ;; 848 849 -infodir | --infodir | --infodi | --infod | --info | --inf) 850 ac_prev=infodir ;; 851 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 852 infodir=$ac_optarg ;; 853 854 -libdir | --libdir | --libdi | --libd) 855 ac_prev=libdir ;; 856 -libdir=* | --libdir=* | --libdi=* | --libd=*) 857 libdir=$ac_optarg ;; 858 859 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 860 | --libexe | --libex | --libe) 861 ac_prev=libexecdir ;; 862 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 863 | --libexe=* | --libex=* | --libe=*) 864 libexecdir=$ac_optarg ;; 865 866 -localedir | --localedir | --localedi | --localed | --locale) 867 ac_prev=localedir ;; 868 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 869 localedir=$ac_optarg ;; 870 871 -localstatedir | --localstatedir | --localstatedi | --localstated \ 872 | --localstate | --localstat | --localsta | --localst | --locals) 873 ac_prev=localstatedir ;; 874 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 875 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 876 localstatedir=$ac_optarg ;; 877 878 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 879 ac_prev=mandir ;; 880 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 881 mandir=$ac_optarg ;; 882 883 -nfp | --nfp | --nf) 884 # Obsolete; use --without-fp. 885 with_fp=no ;; 886 887 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 888 | --no-cr | --no-c | -n) 889 no_create=yes ;; 890 891 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 892 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 893 no_recursion=yes ;; 894 895 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 896 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 897 | --oldin | --oldi | --old | --ol | --o) 898 ac_prev=oldincludedir ;; 899 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 900 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 901 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 902 oldincludedir=$ac_optarg ;; 903 904 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 905 ac_prev=prefix ;; 906 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 907 prefix=$ac_optarg ;; 908 909 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 910 | --program-pre | --program-pr | --program-p) 911 ac_prev=program_prefix ;; 912 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 913 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 914 program_prefix=$ac_optarg ;; 915 916 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 917 | --program-suf | --program-su | --program-s) 918 ac_prev=program_suffix ;; 919 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 920 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 921 program_suffix=$ac_optarg ;; 922 923 -program-transform-name | --program-transform-name \ 924 | --program-transform-nam | --program-transform-na \ 925 | --program-transform-n | --program-transform- \ 926 | --program-transform | --program-transfor \ 927 | --program-transfo | --program-transf \ 928 | --program-trans | --program-tran \ 929 | --progr-tra | --program-tr | --program-t) 930 ac_prev=program_transform_name ;; 931 -program-transform-name=* | --program-transform-name=* \ 932 | --program-transform-nam=* | --program-transform-na=* \ 933 | --program-transform-n=* | --program-transform-=* \ 934 | --program-transform=* | --program-transfor=* \ 935 | --program-transfo=* | --program-transf=* \ 936 | --program-trans=* | --program-tran=* \ 937 | --progr-tra=* | --program-tr=* | --program-t=*) 938 program_transform_name=$ac_optarg ;; 939 940 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 941 ac_prev=pdfdir ;; 942 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 943 pdfdir=$ac_optarg ;; 944 945 -psdir | --psdir | --psdi | --psd | --ps) 946 ac_prev=psdir ;; 947 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 948 psdir=$ac_optarg ;; 949 950 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 951 | -silent | --silent | --silen | --sile | --sil) 952 silent=yes ;; 953 954 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 955 ac_prev=sbindir ;; 956 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 957 | --sbi=* | --sb=*) 958 sbindir=$ac_optarg ;; 959 960 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 961 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 962 | --sharedst | --shareds | --shared | --share | --shar \ 963 | --sha | --sh) 964 ac_prev=sharedstatedir ;; 965 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 966 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 967 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 968 | --sha=* | --sh=*) 969 sharedstatedir=$ac_optarg ;; 970 971 -site | --site | --sit) 972 ac_prev=site ;; 973 -site=* | --site=* | --sit=*) 974 site=$ac_optarg ;; 975 976 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 977 ac_prev=srcdir ;; 978 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 979 srcdir=$ac_optarg ;; 980 981 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 982 | --syscon | --sysco | --sysc | --sys | --sy) 983 ac_prev=sysconfdir ;; 984 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 985 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 986 sysconfdir=$ac_optarg ;; 987 988 -target | --target | --targe | --targ | --tar | --ta | --t) 989 ac_prev=target_alias ;; 990 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 991 target_alias=$ac_optarg ;; 992 993 -v | -verbose | --verbose | --verbos | --verbo | --verb) 994 verbose=yes ;; 995 996 -version | --version | --versio | --versi | --vers | -V) 997 ac_init_version=: ;; 998 999 -with-* | --with-*) 1000 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1001 # Reject names that are not valid shell variable names. 1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1003 as_fn_error $? "invalid package name: $ac_useropt" 1004 ac_useropt_orig=$ac_useropt 1005 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1006 case $ac_user_opts in 1007 *" 1008"with_$ac_useropt" 1009"*) ;; 1010 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1011 ac_unrecognized_sep=', ';; 1012 esac 1013 eval with_$ac_useropt=\$ac_optarg ;; 1014 1015 -without-* | --without-*) 1016 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1017 # Reject names that are not valid shell variable names. 1018 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1019 as_fn_error $? "invalid package name: $ac_useropt" 1020 ac_useropt_orig=$ac_useropt 1021 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1022 case $ac_user_opts in 1023 *" 1024"with_$ac_useropt" 1025"*) ;; 1026 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1027 ac_unrecognized_sep=', ';; 1028 esac 1029 eval with_$ac_useropt=no ;; 1030 1031 --x) 1032 # Obsolete; use --with-x. 1033 with_x=yes ;; 1034 1035 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1036 | --x-incl | --x-inc | --x-in | --x-i) 1037 ac_prev=x_includes ;; 1038 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1039 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1040 x_includes=$ac_optarg ;; 1041 1042 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1043 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1044 ac_prev=x_libraries ;; 1045 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1046 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1047 x_libraries=$ac_optarg ;; 1048 1049 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1050Try \`$0 --help' for more information" 1051 ;; 1052 1053 *=*) 1054 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1055 # Reject names that are not valid shell variable names. 1056 case $ac_envvar in #( 1057 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1058 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1059 esac 1060 eval $ac_envvar=\$ac_optarg 1061 export $ac_envvar ;; 1062 1063 *) 1064 # FIXME: should be removed in autoconf 3.0. 1065 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1066 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1067 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1068 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1069 ;; 1070 1071 esac 1072done 1073 1074if test -n "$ac_prev"; then 1075 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1076 as_fn_error $? "missing argument to $ac_option" 1077fi 1078 1079if test -n "$ac_unrecognized_opts"; then 1080 case $enable_option_checking in 1081 no) ;; 1082 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1083 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1084 esac 1085fi 1086 1087# Check all directory arguments for consistency. 1088for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1089 datadir sysconfdir sharedstatedir localstatedir includedir \ 1090 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1091 libdir localedir mandir 1092do 1093 eval ac_val=\$$ac_var 1094 # Remove trailing slashes. 1095 case $ac_val in 1096 */ ) 1097 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1098 eval $ac_var=\$ac_val;; 1099 esac 1100 # Be sure to have absolute directory names. 1101 case $ac_val in 1102 [\\/$]* | ?:[\\/]* ) continue;; 1103 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1104 esac 1105 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1106done 1107 1108# There might be people who depend on the old broken behavior: `$host' 1109# used to hold the argument of --host etc. 1110# FIXME: To remove some day. 1111build=$build_alias 1112host=$host_alias 1113target=$target_alias 1114 1115# FIXME: To remove some day. 1116if test "x$host_alias" != x; then 1117 if test "x$build_alias" = x; then 1118 cross_compiling=maybe 1119 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. 1120 If a cross compiler is detected then cross compile mode will be used" >&2 1121 elif test "x$build_alias" != "x$host_alias"; then 1122 cross_compiling=yes 1123 fi 1124fi 1125 1126ac_tool_prefix= 1127test -n "$host_alias" && ac_tool_prefix=$host_alias- 1128 1129test "$silent" = yes && exec 6>/dev/null 1130 1131 1132ac_pwd=`pwd` && test -n "$ac_pwd" && 1133ac_ls_di=`ls -di .` && 1134ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1135 as_fn_error $? "working directory cannot be determined" 1136test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1137 as_fn_error $? "pwd does not report name of working directory" 1138 1139 1140# Find the source files, if location was not specified. 1141if test -z "$srcdir"; then 1142 ac_srcdir_defaulted=yes 1143 # Try the directory containing this script, then the parent directory. 1144 ac_confdir=`$as_dirname -- "$as_myself" || 1145$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1146 X"$as_myself" : 'X\(//\)[^/]' \| \ 1147 X"$as_myself" : 'X\(//\)$' \| \ 1148 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1149$as_echo X"$as_myself" | 1150 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1151 s//\1/ 1152 q 1153 } 1154 /^X\(\/\/\)[^/].*/{ 1155 s//\1/ 1156 q 1157 } 1158 /^X\(\/\/\)$/{ 1159 s//\1/ 1160 q 1161 } 1162 /^X\(\/\).*/{ 1163 s//\1/ 1164 q 1165 } 1166 s/.*/./; q'` 1167 srcdir=$ac_confdir 1168 if test ! -r "$srcdir/$ac_unique_file"; then 1169 srcdir=.. 1170 fi 1171else 1172 ac_srcdir_defaulted=no 1173fi 1174if test ! -r "$srcdir/$ac_unique_file"; then 1175 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1176 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1177fi 1178ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1179ac_abs_confdir=`( 1180 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1181 pwd)` 1182# When building in place, set srcdir=. 1183if test "$ac_abs_confdir" = "$ac_pwd"; then 1184 srcdir=. 1185fi 1186# Remove unnecessary trailing slashes from srcdir. 1187# Double slashes in file names in object file debugging info 1188# mess up M-x gdb in Emacs. 1189case $srcdir in 1190*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1191esac 1192for ac_var in $ac_precious_vars; do 1193 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1194 eval ac_env_${ac_var}_value=\$${ac_var} 1195 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1196 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1197done 1198 1199# 1200# Report the --help message. 1201# 1202if test "$ac_init_help" = "long"; then 1203 # Omit some internal or obsolete options to make the list less imposing. 1204 # This message is too long to be a string in the A/UX 3.1 sh. 1205 cat <<_ACEOF 1206\`configure' configures fisicalab 0.3.3 to adapt to many kinds of systems. 1207 1208Usage: $0 [OPTION]... [VAR=VALUE]... 1209 1210To assign environment variables (e.g., CC, CFLAGS...), specify them as 1211VAR=VALUE. See below for descriptions of some of the useful variables. 1212 1213Defaults for the options are specified in brackets. 1214 1215Configuration: 1216 -h, --help display this help and exit 1217 --help=short display options specific to this package 1218 --help=recursive display the short help of all the included packages 1219 -V, --version display version information and exit 1220 -q, --quiet, --silent do not print \`checking ...' messages 1221 --cache-file=FILE cache test results in FILE [disabled] 1222 -C, --config-cache alias for \`--cache-file=config.cache' 1223 -n, --no-create do not create output files 1224 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1225 1226Installation directories: 1227 --prefix=PREFIX install architecture-independent files in PREFIX 1228 [$ac_default_prefix] 1229 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1230 [PREFIX] 1231 1232By default, \`make install' will install all the files in 1233\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1234an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1235for instance \`--prefix=\$HOME'. 1236 1237For better control, use the options below. 1238 1239Fine tuning of the installation directories: 1240 --bindir=DIR user executables [EPREFIX/bin] 1241 --sbindir=DIR system admin executables [EPREFIX/sbin] 1242 --libexecdir=DIR program executables [EPREFIX/libexec] 1243 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1244 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1245 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1246 --libdir=DIR object code libraries [EPREFIX/lib] 1247 --includedir=DIR C header files [PREFIX/include] 1248 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1249 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1250 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1251 --infodir=DIR info documentation [DATAROOTDIR/info] 1252 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1253 --mandir=DIR man documentation [DATAROOTDIR/man] 1254 --docdir=DIR documentation root [DATAROOTDIR/doc/fisicalab] 1255 --htmldir=DIR html documentation [DOCDIR] 1256 --dvidir=DIR dvi documentation [DOCDIR] 1257 --pdfdir=DIR pdf documentation [DOCDIR] 1258 --psdir=DIR ps documentation [DOCDIR] 1259_ACEOF 1260 1261 cat <<\_ACEOF 1262_ACEOF 1263fi 1264 1265if test -n "$ac_init_help"; then 1266 case $ac_init_help in 1267 short | recursive ) echo "Configuration of fisicalab 0.3.3:";; 1268 esac 1269 cat <<\_ACEOF 1270 1271Some influential environment variables: 1272 CC C compiler command 1273 CFLAGS C compiler flags 1274 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1275 nonstandard directory <lib dir> 1276 LIBS libraries to pass to the linker, e.g. -l<library> 1277 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1278 you have headers in a nonstandard directory <include dir> 1279 CPP C preprocessor 1280 1281Use these variables to override the choices made by `configure' or to help 1282it to find libraries and programs with nonstandard names/locations. 1283 1284Report bugs to the package provider. 1285_ACEOF 1286ac_status=$? 1287fi 1288 1289if test "$ac_init_help" = "recursive"; then 1290 # If there are subdirs, report their specific --help. 1291 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1292 test -d "$ac_dir" || 1293 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1294 continue 1295 ac_builddir=. 1296 1297case "$ac_dir" in 1298.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1299*) 1300 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1301 # A ".." for each directory in $ac_dir_suffix. 1302 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1303 case $ac_top_builddir_sub in 1304 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1305 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1306 esac ;; 1307esac 1308ac_abs_top_builddir=$ac_pwd 1309ac_abs_builddir=$ac_pwd$ac_dir_suffix 1310# for backward compatibility: 1311ac_top_builddir=$ac_top_build_prefix 1312 1313case $srcdir in 1314 .) # We are building in place. 1315 ac_srcdir=. 1316 ac_top_srcdir=$ac_top_builddir_sub 1317 ac_abs_top_srcdir=$ac_pwd ;; 1318 [\\/]* | ?:[\\/]* ) # Absolute name. 1319 ac_srcdir=$srcdir$ac_dir_suffix; 1320 ac_top_srcdir=$srcdir 1321 ac_abs_top_srcdir=$srcdir ;; 1322 *) # Relative name. 1323 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1324 ac_top_srcdir=$ac_top_build_prefix$srcdir 1325 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1326esac 1327ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1328 1329 cd "$ac_dir" || { ac_status=$?; continue; } 1330 # Check for guested configure. 1331 if test -f "$ac_srcdir/configure.gnu"; then 1332 echo && 1333 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1334 elif test -f "$ac_srcdir/configure"; then 1335 echo && 1336 $SHELL "$ac_srcdir/configure" --help=recursive 1337 else 1338 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1339 fi || ac_status=$? 1340 cd "$ac_pwd" || { ac_status=$?; break; } 1341 done 1342fi 1343 1344test -n "$ac_init_help" && exit $ac_status 1345if $ac_init_version; then 1346 cat <<\_ACEOF 1347fisicalab configure 0.3.3 1348generated by GNU Autoconf 2.68 1349 1350Copyright (C) 2010 Free Software Foundation, Inc. 1351This configure script is free software; the Free Software Foundation 1352gives unlimited permission to copy, distribute and modify it. 1353_ACEOF 1354 exit 1355fi 1356 1357## ------------------------ ## 1358## Autoconf initialization. ## 1359## ------------------------ ## 1360 1361# ac_fn_c_try_compile LINENO 1362# -------------------------- 1363# Try to compile conftest.$ac_ext, and return whether this succeeded. 1364ac_fn_c_try_compile () 1365{ 1366 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1367 rm -f conftest.$ac_objext 1368 if { { ac_try="$ac_compile" 1369case "(($ac_try" in 1370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1371 *) ac_try_echo=$ac_try;; 1372esac 1373eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1374$as_echo "$ac_try_echo"; } >&5 1375 (eval "$ac_compile") 2>conftest.err 1376 ac_status=$? 1377 if test -s conftest.err; then 1378 grep -v '^ *+' conftest.err >conftest.er1 1379 cat conftest.er1 >&5 1380 mv -f conftest.er1 conftest.err 1381 fi 1382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1383 test $ac_status = 0; } && { 1384 test -z "$ac_c_werror_flag" || 1385 test ! -s conftest.err 1386 } && test -s conftest.$ac_objext; then : 1387 ac_retval=0 1388else 1389 $as_echo "$as_me: failed program was:" >&5 1390sed 's/^/| /' conftest.$ac_ext >&5 1391 1392 ac_retval=1 1393fi 1394 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1395 as_fn_set_status $ac_retval 1396 1397} # ac_fn_c_try_compile 1398 1399# ac_fn_c_try_link LINENO 1400# ----------------------- 1401# Try to link conftest.$ac_ext, and return whether this succeeded. 1402ac_fn_c_try_link () 1403{ 1404 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1405 rm -f conftest.$ac_objext conftest$ac_exeext 1406 if { { ac_try="$ac_link" 1407case "(($ac_try" in 1408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1409 *) ac_try_echo=$ac_try;; 1410esac 1411eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1412$as_echo "$ac_try_echo"; } >&5 1413 (eval "$ac_link") 2>conftest.err 1414 ac_status=$? 1415 if test -s conftest.err; then 1416 grep -v '^ *+' conftest.err >conftest.er1 1417 cat conftest.er1 >&5 1418 mv -f conftest.er1 conftest.err 1419 fi 1420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1421 test $ac_status = 0; } && { 1422 test -z "$ac_c_werror_flag" || 1423 test ! -s conftest.err 1424 } && test -s conftest$ac_exeext && { 1425 test "$cross_compiling" = yes || 1426 $as_test_x conftest$ac_exeext 1427 }; then : 1428 ac_retval=0 1429else 1430 $as_echo "$as_me: failed program was:" >&5 1431sed 's/^/| /' conftest.$ac_ext >&5 1432 1433 ac_retval=1 1434fi 1435 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information 1436 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would 1437 # interfere with the next link command; also delete a directory that is 1438 # left behind by Apple's compiler. We do this before executing the actions. 1439 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1440 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1441 as_fn_set_status $ac_retval 1442 1443} # ac_fn_c_try_link 1444 1445# ac_fn_c_try_cpp LINENO 1446# ---------------------- 1447# Try to preprocess conftest.$ac_ext, and return whether this succeeded. 1448ac_fn_c_try_cpp () 1449{ 1450 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1451 if { { ac_try="$ac_cpp conftest.$ac_ext" 1452case "(($ac_try" in 1453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1454 *) ac_try_echo=$ac_try;; 1455esac 1456eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1457$as_echo "$ac_try_echo"; } >&5 1458 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err 1459 ac_status=$? 1460 if test -s conftest.err; then 1461 grep -v '^ *+' conftest.err >conftest.er1 1462 cat conftest.er1 >&5 1463 mv -f conftest.er1 conftest.err 1464 fi 1465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1466 test $ac_status = 0; } > conftest.i && { 1467 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || 1468 test ! -s conftest.err 1469 }; then : 1470 ac_retval=0 1471else 1472 $as_echo "$as_me: failed program was:" >&5 1473sed 's/^/| /' conftest.$ac_ext >&5 1474 1475 ac_retval=1 1476fi 1477 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1478 as_fn_set_status $ac_retval 1479 1480} # ac_fn_c_try_cpp 1481 1482# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES 1483# ------------------------------------------------------- 1484# Tests whether HEADER exists, giving a warning if it cannot be compiled using 1485# the include files in INCLUDES and setting the cache variable VAR 1486# accordingly. 1487ac_fn_c_check_header_mongrel () 1488{ 1489 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1490 if eval \${$3+:} false; then : 1491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1492$as_echo_n "checking for $2... " >&6; } 1493if eval \${$3+:} false; then : 1494 $as_echo_n "(cached) " >&6 1495fi 1496eval ac_res=\$$3 1497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1498$as_echo "$ac_res" >&6; } 1499else 1500 # Is the header compilable? 1501{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 1502$as_echo_n "checking $2 usability... " >&6; } 1503cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1504/* end confdefs.h. */ 1505$4 1506#include <$2> 1507_ACEOF 1508if ac_fn_c_try_compile "$LINENO"; then : 1509 ac_header_compiler=yes 1510else 1511 ac_header_compiler=no 1512fi 1513rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1514{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 1515$as_echo "$ac_header_compiler" >&6; } 1516 1517# Is the header present? 1518{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 1519$as_echo_n "checking $2 presence... " >&6; } 1520cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1521/* end confdefs.h. */ 1522#include <$2> 1523_ACEOF 1524if ac_fn_c_try_cpp "$LINENO"; then : 1525 ac_header_preproc=yes 1526else 1527 ac_header_preproc=no 1528fi 1529rm -f conftest.err conftest.i conftest.$ac_ext 1530{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 1531$as_echo "$ac_header_preproc" >&6; } 1532 1533# So? What about this header? 1534case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( 1535 yes:no: ) 1536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 1537$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} 1538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1539$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1540 ;; 1541 no:yes:* ) 1542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 1543$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} 1544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 1545$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} 1546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 1547$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} 1548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 1549$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} 1550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 1551$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} 1552 ;; 1553esac 1554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1555$as_echo_n "checking for $2... " >&6; } 1556if eval \${$3+:} false; then : 1557 $as_echo_n "(cached) " >&6 1558else 1559 eval "$3=\$ac_header_compiler" 1560fi 1561eval ac_res=\$$3 1562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1563$as_echo "$ac_res" >&6; } 1564fi 1565 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1566 1567} # ac_fn_c_check_header_mongrel 1568 1569# ac_fn_c_try_run LINENO 1570# ---------------------- 1571# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes 1572# that executables *can* be run. 1573ac_fn_c_try_run () 1574{ 1575 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1576 if { { ac_try="$ac_link" 1577case "(($ac_try" in 1578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1579 *) ac_try_echo=$ac_try;; 1580esac 1581eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1582$as_echo "$ac_try_echo"; } >&5 1583 (eval "$ac_link") 2>&5 1584 ac_status=$? 1585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1586 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' 1587 { { case "(($ac_try" in 1588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1589 *) ac_try_echo=$ac_try;; 1590esac 1591eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1592$as_echo "$ac_try_echo"; } >&5 1593 (eval "$ac_try") 2>&5 1594 ac_status=$? 1595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1596 test $ac_status = 0; }; }; then : 1597 ac_retval=0 1598else 1599 $as_echo "$as_me: program exited with status $ac_status" >&5 1600 $as_echo "$as_me: failed program was:" >&5 1601sed 's/^/| /' conftest.$ac_ext >&5 1602 1603 ac_retval=$ac_status 1604fi 1605 rm -rf conftest.dSYM conftest_ipa8_conftest.oo 1606 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1607 as_fn_set_status $ac_retval 1608 1609} # ac_fn_c_try_run 1610 1611# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES 1612# ------------------------------------------------------- 1613# Tests whether HEADER exists and can be compiled using the include files in 1614# INCLUDES, setting the cache variable VAR accordingly. 1615ac_fn_c_check_header_compile () 1616{ 1617 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1619$as_echo_n "checking for $2... " >&6; } 1620if eval \${$3+:} false; then : 1621 $as_echo_n "(cached) " >&6 1622else 1623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1624/* end confdefs.h. */ 1625$4 1626#include <$2> 1627_ACEOF 1628if ac_fn_c_try_compile "$LINENO"; then : 1629 eval "$3=yes" 1630else 1631 eval "$3=no" 1632fi 1633rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1634fi 1635eval ac_res=\$$3 1636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1637$as_echo "$ac_res" >&6; } 1638 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1639 1640} # ac_fn_c_check_header_compile 1641 1642# ac_fn_c_check_type LINENO TYPE VAR INCLUDES 1643# ------------------------------------------- 1644# Tests whether TYPE exists after having included INCLUDES, setting cache 1645# variable VAR accordingly. 1646ac_fn_c_check_type () 1647{ 1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1650$as_echo_n "checking for $2... " >&6; } 1651if eval \${$3+:} false; then : 1652 $as_echo_n "(cached) " >&6 1653else 1654 eval "$3=no" 1655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1656/* end confdefs.h. */ 1657$4 1658int 1659main () 1660{ 1661if (sizeof ($2)) 1662 return 0; 1663 ; 1664 return 0; 1665} 1666_ACEOF 1667if ac_fn_c_try_compile "$LINENO"; then : 1668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1669/* end confdefs.h. */ 1670$4 1671int 1672main () 1673{ 1674if (sizeof (($2))) 1675 return 0; 1676 ; 1677 return 0; 1678} 1679_ACEOF 1680if ac_fn_c_try_compile "$LINENO"; then : 1681 1682else 1683 eval "$3=yes" 1684fi 1685rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1686fi 1687rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 1688fi 1689eval ac_res=\$$3 1690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1691$as_echo "$ac_res" >&6; } 1692 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1693 1694} # ac_fn_c_check_type 1695 1696# ac_fn_c_check_func LINENO FUNC VAR 1697# ---------------------------------- 1698# Tests whether FUNC exists, setting the cache variable VAR accordingly 1699ac_fn_c_check_func () 1700{ 1701 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 1703$as_echo_n "checking for $2... " >&6; } 1704if eval \${$3+:} false; then : 1705 $as_echo_n "(cached) " >&6 1706else 1707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 1708/* end confdefs.h. */ 1709/* Define $2 to an innocuous variant, in case <limits.h> declares $2. 1710 For example, HP-UX 11i <limits.h> declares gettimeofday. */ 1711#define $2 innocuous_$2 1712 1713/* System header to define __stub macros and hopefully few prototypes, 1714 which can conflict with char $2 (); below. 1715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 1716 <limits.h> exists even on freestanding compilers. */ 1717 1718#ifdef __STDC__ 1719# include <limits.h> 1720#else 1721# include <assert.h> 1722#endif 1723 1724#undef $2 1725 1726/* Override any GCC internal prototype to avoid an error. 1727 Use char because int might match the return type of a GCC 1728 builtin and then its argument prototype would still apply. */ 1729#ifdef __cplusplus 1730extern "C" 1731#endif 1732char $2 (); 1733/* The GNU C library defines this for functions which it implements 1734 to always fail with ENOSYS. Some functions are actually named 1735 something starting with __ and the normal name is an alias. */ 1736#if defined __stub_$2 || defined __stub___$2 1737choke me 1738#endif 1739 1740int 1741main () 1742{ 1743return $2 (); 1744 ; 1745 return 0; 1746} 1747_ACEOF 1748if ac_fn_c_try_link "$LINENO"; then : 1749 eval "$3=yes" 1750else 1751 eval "$3=no" 1752fi 1753rm -f core conftest.err conftest.$ac_objext \ 1754 conftest$ac_exeext conftest.$ac_ext 1755fi 1756eval ac_res=\$$3 1757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 1758$as_echo "$ac_res" >&6; } 1759 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1760 1761} # ac_fn_c_check_func 1762cat >config.log <<_ACEOF 1763This file contains any messages produced by compilers while 1764running configure, to aid debugging if configure makes a mistake. 1765 1766It was created by fisicalab $as_me 0.3.3, which was 1767generated by GNU Autoconf 2.68. Invocation command line was 1768 1769 $ $0 $@ 1770 1771_ACEOF 1772exec 5>>config.log 1773{ 1774cat <<_ASUNAME 1775## --------- ## 1776## Platform. ## 1777## --------- ## 1778 1779hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1780uname -m = `(uname -m) 2>/dev/null || echo unknown` 1781uname -r = `(uname -r) 2>/dev/null || echo unknown` 1782uname -s = `(uname -s) 2>/dev/null || echo unknown` 1783uname -v = `(uname -v) 2>/dev/null || echo unknown` 1784 1785/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1786/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1787 1788/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1789/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1790/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1791/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1792/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1793/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1794/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1795 1796_ASUNAME 1797 1798as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1799for as_dir in $PATH 1800do 1801 IFS=$as_save_IFS 1802 test -z "$as_dir" && as_dir=. 1803 $as_echo "PATH: $as_dir" 1804 done 1805IFS=$as_save_IFS 1806 1807} >&5 1808 1809cat >&5 <<_ACEOF 1810 1811 1812## ----------- ## 1813## Core tests. ## 1814## ----------- ## 1815 1816_ACEOF 1817 1818 1819# Keep a trace of the command line. 1820# Strip out --no-create and --no-recursion so they do not pile up. 1821# Strip out --silent because we don't want to record it for future runs. 1822# Also quote any args containing shell meta-characters. 1823# Make two passes to allow for proper duplicate-argument suppression. 1824ac_configure_args= 1825ac_configure_args0= 1826ac_configure_args1= 1827ac_must_keep_next=false 1828for ac_pass in 1 2 1829do 1830 for ac_arg 1831 do 1832 case $ac_arg in 1833 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1834 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1835 | -silent | --silent | --silen | --sile | --sil) 1836 continue ;; 1837 *\'*) 1838 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1839 esac 1840 case $ac_pass in 1841 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1842 2) 1843 as_fn_append ac_configure_args1 " '$ac_arg'" 1844 if test $ac_must_keep_next = true; then 1845 ac_must_keep_next=false # Got value, back to normal. 1846 else 1847 case $ac_arg in 1848 *=* | --config-cache | -C | -disable-* | --disable-* \ 1849 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1850 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1851 | -with-* | --with-* | -without-* | --without-* | --x) 1852 case "$ac_configure_args0 " in 1853 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1854 esac 1855 ;; 1856 -* ) ac_must_keep_next=true ;; 1857 esac 1858 fi 1859 as_fn_append ac_configure_args " '$ac_arg'" 1860 ;; 1861 esac 1862 done 1863done 1864{ ac_configure_args0=; unset ac_configure_args0;} 1865{ ac_configure_args1=; unset ac_configure_args1;} 1866 1867# When interrupted or exit'd, cleanup temporary files, and complete 1868# config.log. We remove comments because anyway the quotes in there 1869# would cause problems or look ugly. 1870# WARNING: Use '\'' to represent an apostrophe within the trap. 1871# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1872trap 'exit_status=$? 1873 # Save into config.log some information that might help in debugging. 1874 { 1875 echo 1876 1877 $as_echo "## ---------------- ## 1878## Cache variables. ## 1879## ---------------- ##" 1880 echo 1881 # The following way of writing the cache mishandles newlines in values, 1882( 1883 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1884 eval ac_val=\$$ac_var 1885 case $ac_val in #( 1886 *${as_nl}*) 1887 case $ac_var in #( 1888 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1889$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1890 esac 1891 case $ac_var in #( 1892 _ | IFS | as_nl) ;; #( 1893 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1894 *) { eval $ac_var=; unset $ac_var;} ;; 1895 esac ;; 1896 esac 1897 done 1898 (set) 2>&1 | 1899 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1900 *${as_nl}ac_space=\ *) 1901 sed -n \ 1902 "s/'\''/'\''\\\\'\'''\''/g; 1903 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1904 ;; #( 1905 *) 1906 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1907 ;; 1908 esac | 1909 sort 1910) 1911 echo 1912 1913 $as_echo "## ----------------- ## 1914## Output variables. ## 1915## ----------------- ##" 1916 echo 1917 for ac_var in $ac_subst_vars 1918 do 1919 eval ac_val=\$$ac_var 1920 case $ac_val in 1921 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1922 esac 1923 $as_echo "$ac_var='\''$ac_val'\''" 1924 done | sort 1925 echo 1926 1927 if test -n "$ac_subst_files"; then 1928 $as_echo "## ------------------- ## 1929## File substitutions. ## 1930## ------------------- ##" 1931 echo 1932 for ac_var in $ac_subst_files 1933 do 1934 eval ac_val=\$$ac_var 1935 case $ac_val in 1936 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1937 esac 1938 $as_echo "$ac_var='\''$ac_val'\''" 1939 done | sort 1940 echo 1941 fi 1942 1943 if test -s confdefs.h; then 1944 $as_echo "## ----------- ## 1945## confdefs.h. ## 1946## ----------- ##" 1947 echo 1948 cat confdefs.h 1949 echo 1950 fi 1951 test "$ac_signal" != 0 && 1952 $as_echo "$as_me: caught signal $ac_signal" 1953 $as_echo "$as_me: exit $exit_status" 1954 } >&5 1955 rm -f core *.core core.conftest.* && 1956 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1957 exit $exit_status 1958' 0 1959for ac_signal in 1 2 13 15; do 1960 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1961done 1962ac_signal=0 1963 1964# confdefs.h avoids OS command line length limits that DEFS can exceed. 1965rm -f -r conftest* confdefs.h 1966 1967$as_echo "/* confdefs.h */" > confdefs.h 1968 1969# Predefined preprocessor variables. 1970 1971cat >>confdefs.h <<_ACEOF 1972#define PACKAGE_NAME "$PACKAGE_NAME" 1973_ACEOF 1974 1975cat >>confdefs.h <<_ACEOF 1976#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1977_ACEOF 1978 1979cat >>confdefs.h <<_ACEOF 1980#define PACKAGE_VERSION "$PACKAGE_VERSION" 1981_ACEOF 1982 1983cat >>confdefs.h <<_ACEOF 1984#define PACKAGE_STRING "$PACKAGE_STRING" 1985_ACEOF 1986 1987cat >>confdefs.h <<_ACEOF 1988#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1989_ACEOF 1990 1991cat >>confdefs.h <<_ACEOF 1992#define PACKAGE_URL "$PACKAGE_URL" 1993_ACEOF 1994 1995 1996# Let the site file select an alternate cache file if it wants to. 1997# Prefer an explicitly selected file to automatically selected ones. 1998ac_site_file1=NONE 1999ac_site_file2=NONE 2000if test -n "$CONFIG_SITE"; then 2001 # We do not want a PATH search for config.site. 2002 case $CONFIG_SITE in #(( 2003 -*) ac_site_file1=./$CONFIG_SITE;; 2004 */*) ac_site_file1=$CONFIG_SITE;; 2005 *) ac_site_file1=./$CONFIG_SITE;; 2006 esac 2007elif test "x$prefix" != xNONE; then 2008 ac_site_file1=$prefix/share/config.site 2009 ac_site_file2=$prefix/etc/config.site 2010else 2011 ac_site_file1=$ac_default_prefix/share/config.site 2012 ac_site_file2=$ac_default_prefix/etc/config.site 2013fi 2014for ac_site_file in "$ac_site_file1" "$ac_site_file2" 2015do 2016 test "x$ac_site_file" = xNONE && continue 2017 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 2018 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 2019$as_echo "$as_me: loading site script $ac_site_file" >&6;} 2020 sed 's/^/| /' "$ac_site_file" >&5 2021 . "$ac_site_file" \ 2022 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2023$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2024as_fn_error $? "failed to load site script $ac_site_file 2025See \`config.log' for more details" "$LINENO" 5; } 2026 fi 2027done 2028 2029if test -r "$cache_file"; then 2030 # Some versions of bash will fail to source /dev/null (special files 2031 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 2032 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 2033 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 2034$as_echo "$as_me: loading cache $cache_file" >&6;} 2035 case $cache_file in 2036 [\\/]* | ?:[\\/]* ) . "$cache_file";; 2037 *) . "./$cache_file";; 2038 esac 2039 fi 2040else 2041 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 2042$as_echo "$as_me: creating cache $cache_file" >&6;} 2043 >$cache_file 2044fi 2045 2046# Check that the precious variables saved in the cache have kept the same 2047# value. 2048ac_cache_corrupted=false 2049for ac_var in $ac_precious_vars; do 2050 eval ac_old_set=\$ac_cv_env_${ac_var}_set 2051 eval ac_new_set=\$ac_env_${ac_var}_set 2052 eval ac_old_val=\$ac_cv_env_${ac_var}_value 2053 eval ac_new_val=\$ac_env_${ac_var}_value 2054 case $ac_old_set,$ac_new_set in 2055 set,) 2056 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 2057$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 2058 ac_cache_corrupted=: ;; 2059 ,set) 2060 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 2061$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 2062 ac_cache_corrupted=: ;; 2063 ,);; 2064 *) 2065 if test "x$ac_old_val" != "x$ac_new_val"; then 2066 # differences in whitespace do not lead to failure. 2067 ac_old_val_w=`echo x $ac_old_val` 2068 ac_new_val_w=`echo x $ac_new_val` 2069 if test "$ac_old_val_w" != "$ac_new_val_w"; then 2070 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 2071$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 2072 ac_cache_corrupted=: 2073 else 2074 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 2075$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 2076 eval $ac_var=\$ac_old_val 2077 fi 2078 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 2079$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 2080 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 2081$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 2082 fi;; 2083 esac 2084 # Pass precious variables to config.status. 2085 if test "$ac_new_set" = set; then 2086 case $ac_new_val in 2087 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 2088 *) ac_arg=$ac_var=$ac_new_val ;; 2089 esac 2090 case " $ac_configure_args " in 2091 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 2092 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 2093 esac 2094 fi 2095done 2096if $ac_cache_corrupted; then 2097 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2098$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2099 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 2100$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 2101 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 2102fi 2103## -------------------- ## 2104## Main body of script. ## 2105## -------------------- ## 2106 2107ac_ext=c 2108ac_cpp='$CPP $CPPFLAGS' 2109ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2110ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2111ac_compiler_gnu=$ac_cv_c_compiler_gnu 2112 2113 2114 2115# If GNUSTEP_MAKEFILES is undefined, try to use gnustep-config to determine it. 2116if test -z "$GNUSTEP_MAKEFILES"; then 2117 GNUSTEP_MAKEFILES=`gnustep-config --variable=GNUSTEP_MAKEFILES 2>&5` 2118fi 2119 2120if test -z "$GNUSTEP_MAKEFILES"; then 2121 as_fn_error $? "You must have the gnustep-make package installed and set up the GNUSTEP_MAKEFILES environment variable to contain the path to the makefiles directory before configuring!" "$LINENO" 5 2122fi 2123 2124ac_aux_dir= 2125for ac_dir in $GNUSTEP_MAKEFILES "$srcdir"/$GNUSTEP_MAKEFILES; do 2126 if test -f "$ac_dir/install-sh"; then 2127 ac_aux_dir=$ac_dir 2128 ac_install_sh="$ac_aux_dir/install-sh -c" 2129 break 2130 elif test -f "$ac_dir/install.sh"; then 2131 ac_aux_dir=$ac_dir 2132 ac_install_sh="$ac_aux_dir/install.sh -c" 2133 break 2134 elif test -f "$ac_dir/shtool"; then 2135 ac_aux_dir=$ac_dir 2136 ac_install_sh="$ac_aux_dir/shtool install -c" 2137 break 2138 fi 2139done 2140if test -z "$ac_aux_dir"; then 2141 as_fn_error $? "cannot find install-sh, install.sh, or shtool in $GNUSTEP_MAKEFILES \"$srcdir\"/$GNUSTEP_MAKEFILES" "$LINENO" 5 2142fi 2143 2144# These three variables are undocumented and unsupported, 2145# and are intended to be withdrawn in a future Autoconf release. 2146# They can cause serious problems if a builder's source tree is in a directory 2147# whose full name contains unusual characters. 2148ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2149ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2150ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2151 2152 2153 2154OBJC_FLAGS=`gnustep-config --objc-flags 2>&5` 2155GSL_PREFIX=`gsl-config --prefix 2>&5` 2156GNUSTEP_LOCAL_LIBRARIES=`gnustep-config --variable=GNUSTEP_LOCAL_LIBRARIES 2>&5` 2157GNUSTEP_SYSTEM_LIBRARIES=`gnustep-config --variable=GNUSTEP_SYSTEM_LIBRARIES 2>&5` 2158 2159CPPFLAGS="$CPPFLAGS -x objective-c $OBJC_FLAGS" 2160LDFLAGS="$LDFLAGS -L$GSL_PREFIX/lib -L$GNUSTEP_LOCAL_LIBRARIES -L$GNUSTEP_SYSTEM_LIBRARIES" 2161 2162# Checks for programs. 2163ac_ext=c 2164ac_cpp='$CPP $CPPFLAGS' 2165ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2166ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2167ac_compiler_gnu=$ac_cv_c_compiler_gnu 2168if test -n "$ac_tool_prefix"; then 2169 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 2170set dummy ${ac_tool_prefix}gcc; ac_word=$2 2171{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2172$as_echo_n "checking for $ac_word... " >&6; } 2173if ${ac_cv_prog_CC+:} false; then : 2174 $as_echo_n "(cached) " >&6 2175else 2176 if test -n "$CC"; then 2177 ac_cv_prog_CC="$CC" # Let the user override the test. 2178else 2179as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2180for as_dir in $PATH 2181do 2182 IFS=$as_save_IFS 2183 test -z "$as_dir" && as_dir=. 2184 for ac_exec_ext in '' $ac_executable_extensions; do 2185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2186 ac_cv_prog_CC="${ac_tool_prefix}gcc" 2187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2188 break 2 2189 fi 2190done 2191 done 2192IFS=$as_save_IFS 2193 2194fi 2195fi 2196CC=$ac_cv_prog_CC 2197if test -n "$CC"; then 2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2199$as_echo "$CC" >&6; } 2200else 2201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2202$as_echo "no" >&6; } 2203fi 2204 2205 2206fi 2207if test -z "$ac_cv_prog_CC"; then 2208 ac_ct_CC=$CC 2209 # Extract the first word of "gcc", so it can be a program name with args. 2210set dummy gcc; ac_word=$2 2211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2212$as_echo_n "checking for $ac_word... " >&6; } 2213if ${ac_cv_prog_ac_ct_CC+:} false; then : 2214 $as_echo_n "(cached) " >&6 2215else 2216 if test -n "$ac_ct_CC"; then 2217 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2218else 2219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2220for as_dir in $PATH 2221do 2222 IFS=$as_save_IFS 2223 test -z "$as_dir" && as_dir=. 2224 for ac_exec_ext in '' $ac_executable_extensions; do 2225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2226 ac_cv_prog_ac_ct_CC="gcc" 2227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2228 break 2 2229 fi 2230done 2231 done 2232IFS=$as_save_IFS 2233 2234fi 2235fi 2236ac_ct_CC=$ac_cv_prog_ac_ct_CC 2237if test -n "$ac_ct_CC"; then 2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2239$as_echo "$ac_ct_CC" >&6; } 2240else 2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2242$as_echo "no" >&6; } 2243fi 2244 2245 if test "x$ac_ct_CC" = x; then 2246 CC="" 2247 else 2248 case $cross_compiling:$ac_tool_warned in 2249yes:) 2250{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2251$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2252ac_tool_warned=yes ;; 2253esac 2254 CC=$ac_ct_CC 2255 fi 2256else 2257 CC="$ac_cv_prog_CC" 2258fi 2259 2260if test -z "$CC"; then 2261 if test -n "$ac_tool_prefix"; then 2262 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 2263set dummy ${ac_tool_prefix}cc; ac_word=$2 2264{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2265$as_echo_n "checking for $ac_word... " >&6; } 2266if ${ac_cv_prog_CC+:} false; then : 2267 $as_echo_n "(cached) " >&6 2268else 2269 if test -n "$CC"; then 2270 ac_cv_prog_CC="$CC" # Let the user override the test. 2271else 2272as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2273for as_dir in $PATH 2274do 2275 IFS=$as_save_IFS 2276 test -z "$as_dir" && as_dir=. 2277 for ac_exec_ext in '' $ac_executable_extensions; do 2278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2279 ac_cv_prog_CC="${ac_tool_prefix}cc" 2280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2281 break 2 2282 fi 2283done 2284 done 2285IFS=$as_save_IFS 2286 2287fi 2288fi 2289CC=$ac_cv_prog_CC 2290if test -n "$CC"; then 2291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2292$as_echo "$CC" >&6; } 2293else 2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2295$as_echo "no" >&6; } 2296fi 2297 2298 2299 fi 2300fi 2301if test -z "$CC"; then 2302 # Extract the first word of "cc", so it can be a program name with args. 2303set dummy cc; ac_word=$2 2304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2305$as_echo_n "checking for $ac_word... " >&6; } 2306if ${ac_cv_prog_CC+:} false; then : 2307 $as_echo_n "(cached) " >&6 2308else 2309 if test -n "$CC"; then 2310 ac_cv_prog_CC="$CC" # Let the user override the test. 2311else 2312 ac_prog_rejected=no 2313as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2314for as_dir in $PATH 2315do 2316 IFS=$as_save_IFS 2317 test -z "$as_dir" && as_dir=. 2318 for ac_exec_ext in '' $ac_executable_extensions; do 2319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2320 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 2321 ac_prog_rejected=yes 2322 continue 2323 fi 2324 ac_cv_prog_CC="cc" 2325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2326 break 2 2327 fi 2328done 2329 done 2330IFS=$as_save_IFS 2331 2332if test $ac_prog_rejected = yes; then 2333 # We found a bogon in the path, so make sure we never use it. 2334 set dummy $ac_cv_prog_CC 2335 shift 2336 if test $# != 0; then 2337 # We chose a different compiler from the bogus one. 2338 # However, it has the same basename, so the bogon will be chosen 2339 # first if we set CC to just the basename; use the full file name. 2340 shift 2341 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2342 fi 2343fi 2344fi 2345fi 2346CC=$ac_cv_prog_CC 2347if test -n "$CC"; then 2348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2349$as_echo "$CC" >&6; } 2350else 2351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2352$as_echo "no" >&6; } 2353fi 2354 2355 2356fi 2357if test -z "$CC"; then 2358 if test -n "$ac_tool_prefix"; then 2359 for ac_prog in cl.exe 2360 do 2361 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2362set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2363{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2364$as_echo_n "checking for $ac_word... " >&6; } 2365if ${ac_cv_prog_CC+:} false; then : 2366 $as_echo_n "(cached) " >&6 2367else 2368 if test -n "$CC"; then 2369 ac_cv_prog_CC="$CC" # Let the user override the test. 2370else 2371as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2372for as_dir in $PATH 2373do 2374 IFS=$as_save_IFS 2375 test -z "$as_dir" && as_dir=. 2376 for ac_exec_ext in '' $ac_executable_extensions; do 2377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2378 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2380 break 2 2381 fi 2382done 2383 done 2384IFS=$as_save_IFS 2385 2386fi 2387fi 2388CC=$ac_cv_prog_CC 2389if test -n "$CC"; then 2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2391$as_echo "$CC" >&6; } 2392else 2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2394$as_echo "no" >&6; } 2395fi 2396 2397 2398 test -n "$CC" && break 2399 done 2400fi 2401if test -z "$CC"; then 2402 ac_ct_CC=$CC 2403 for ac_prog in cl.exe 2404do 2405 # Extract the first word of "$ac_prog", so it can be a program name with args. 2406set dummy $ac_prog; ac_word=$2 2407{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2408$as_echo_n "checking for $ac_word... " >&6; } 2409if ${ac_cv_prog_ac_ct_CC+:} false; then : 2410 $as_echo_n "(cached) " >&6 2411else 2412 if test -n "$ac_ct_CC"; then 2413 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2414else 2415as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2416for as_dir in $PATH 2417do 2418 IFS=$as_save_IFS 2419 test -z "$as_dir" && as_dir=. 2420 for ac_exec_ext in '' $ac_executable_extensions; do 2421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 2422 ac_cv_prog_ac_ct_CC="$ac_prog" 2423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2424 break 2 2425 fi 2426done 2427 done 2428IFS=$as_save_IFS 2429 2430fi 2431fi 2432ac_ct_CC=$ac_cv_prog_ac_ct_CC 2433if test -n "$ac_ct_CC"; then 2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2435$as_echo "$ac_ct_CC" >&6; } 2436else 2437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2438$as_echo "no" >&6; } 2439fi 2440 2441 2442 test -n "$ac_ct_CC" && break 2443done 2444 2445 if test "x$ac_ct_CC" = x; then 2446 CC="" 2447 else 2448 case $cross_compiling:$ac_tool_warned in 2449yes:) 2450{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2451$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2452ac_tool_warned=yes ;; 2453esac 2454 CC=$ac_ct_CC 2455 fi 2456fi 2457 2458fi 2459 2460 2461test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2462$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2463as_fn_error $? "no acceptable C compiler found in \$PATH 2464See \`config.log' for more details" "$LINENO" 5; } 2465 2466# Provide some information about the compiler. 2467$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2468set X $ac_compile 2469ac_compiler=$2 2470for ac_option in --version -v -V -qversion; do 2471 { { ac_try="$ac_compiler $ac_option >&5" 2472case "(($ac_try" in 2473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2474 *) ac_try_echo=$ac_try;; 2475esac 2476eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2477$as_echo "$ac_try_echo"; } >&5 2478 (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2479 ac_status=$? 2480 if test -s conftest.err; then 2481 sed '10a\ 2482... rest of stderr output deleted ... 2483 10q' conftest.err >conftest.er1 2484 cat conftest.er1 >&5 2485 fi 2486 rm -f conftest.er1 conftest.err 2487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2488 test $ac_status = 0; } 2489done 2490 2491cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2492/* end confdefs.h. */ 2493 2494int 2495main () 2496{ 2497 2498 ; 2499 return 0; 2500} 2501_ACEOF 2502ac_clean_files_save=$ac_clean_files 2503ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2504# Try to create an executable without -o first, disregard a.out. 2505# It will help us diagnose broken compilers, and finding out an intuition 2506# of exeext. 2507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2508$as_echo_n "checking whether the C compiler works... " >&6; } 2509ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2510 2511# The possible output files: 2512ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2513 2514ac_rmfiles= 2515for ac_file in $ac_files 2516do 2517 case $ac_file in 2518 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2519 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2520 esac 2521done 2522rm -f $ac_rmfiles 2523 2524if { { ac_try="$ac_link_default" 2525case "(($ac_try" in 2526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2527 *) ac_try_echo=$ac_try;; 2528esac 2529eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2530$as_echo "$ac_try_echo"; } >&5 2531 (eval "$ac_link_default") 2>&5 2532 ac_status=$? 2533 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2534 test $ac_status = 0; }; then : 2535 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2536# So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2537# in a Makefile. We should not override ac_cv_exeext if it was cached, 2538# so that the user can short-circuit this test for compilers unknown to 2539# Autoconf. 2540for ac_file in $ac_files '' 2541do 2542 test -f "$ac_file" || continue 2543 case $ac_file in 2544 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2545 ;; 2546 [ab].out ) 2547 # We found the default executable, but exeext='' is most 2548 # certainly right. 2549 break;; 2550 *.* ) 2551 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2552 then :; else 2553 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2554 fi 2555 # We set ac_cv_exeext here because the later test for it is not 2556 # safe: cross compilers may not add the suffix if given an `-o' 2557 # argument, so we may need to know it at that point already. 2558 # Even if this section looks crufty: it has the advantage of 2559 # actually working. 2560 break;; 2561 * ) 2562 break;; 2563 esac 2564done 2565test "$ac_cv_exeext" = no && ac_cv_exeext= 2566 2567else 2568 ac_file='' 2569fi 2570if test -z "$ac_file"; then : 2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2572$as_echo "no" >&6; } 2573$as_echo "$as_me: failed program was:" >&5 2574sed 's/^/| /' conftest.$ac_ext >&5 2575 2576{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2577$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2578as_fn_error 77 "C compiler cannot create executables 2579See \`config.log' for more details" "$LINENO" 5; } 2580else 2581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2582$as_echo "yes" >&6; } 2583fi 2584{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2585$as_echo_n "checking for C compiler default output file name... " >&6; } 2586{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2587$as_echo "$ac_file" >&6; } 2588ac_exeext=$ac_cv_exeext 2589 2590rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2591ac_clean_files=$ac_clean_files_save 2592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2593$as_echo_n "checking for suffix of executables... " >&6; } 2594if { { ac_try="$ac_link" 2595case "(($ac_try" in 2596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2597 *) ac_try_echo=$ac_try;; 2598esac 2599eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2600$as_echo "$ac_try_echo"; } >&5 2601 (eval "$ac_link") 2>&5 2602 ac_status=$? 2603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2604 test $ac_status = 0; }; then : 2605 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2606# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2607# work properly (i.e., refer to `conftest.exe'), while it won't with 2608# `rm'. 2609for ac_file in conftest.exe conftest conftest.*; do 2610 test -f "$ac_file" || continue 2611 case $ac_file in 2612 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2613 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2614 break;; 2615 * ) break;; 2616 esac 2617done 2618else 2619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2620$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2621as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2622See \`config.log' for more details" "$LINENO" 5; } 2623fi 2624rm -f conftest conftest$ac_cv_exeext 2625{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2626$as_echo "$ac_cv_exeext" >&6; } 2627 2628rm -f conftest.$ac_ext 2629EXEEXT=$ac_cv_exeext 2630ac_exeext=$EXEEXT 2631cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2632/* end confdefs.h. */ 2633#include <stdio.h> 2634int 2635main () 2636{ 2637FILE *f = fopen ("conftest.out", "w"); 2638 return ferror (f) || fclose (f) != 0; 2639 2640 ; 2641 return 0; 2642} 2643_ACEOF 2644ac_clean_files="$ac_clean_files conftest.out" 2645# Check that the compiler produces executables we can run. If not, either 2646# the compiler is broken, or we cross compile. 2647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2648$as_echo_n "checking whether we are cross compiling... " >&6; } 2649if test "$cross_compiling" != yes; then 2650 { { ac_try="$ac_link" 2651case "(($ac_try" in 2652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2653 *) ac_try_echo=$ac_try;; 2654esac 2655eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2656$as_echo "$ac_try_echo"; } >&5 2657 (eval "$ac_link") 2>&5 2658 ac_status=$? 2659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2660 test $ac_status = 0; } 2661 if { ac_try='./conftest$ac_cv_exeext' 2662 { { case "(($ac_try" in 2663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2664 *) ac_try_echo=$ac_try;; 2665esac 2666eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2667$as_echo "$ac_try_echo"; } >&5 2668 (eval "$ac_try") 2>&5 2669 ac_status=$? 2670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2671 test $ac_status = 0; }; }; then 2672 cross_compiling=no 2673 else 2674 if test "$cross_compiling" = maybe; then 2675 cross_compiling=yes 2676 else 2677 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2678$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2679as_fn_error $? "cannot run C compiled programs. 2680If you meant to cross compile, use \`--host'. 2681See \`config.log' for more details" "$LINENO" 5; } 2682 fi 2683 fi 2684fi 2685{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2686$as_echo "$cross_compiling" >&6; } 2687 2688rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2689ac_clean_files=$ac_clean_files_save 2690{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2691$as_echo_n "checking for suffix of object files... " >&6; } 2692if ${ac_cv_objext+:} false; then : 2693 $as_echo_n "(cached) " >&6 2694else 2695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2696/* end confdefs.h. */ 2697 2698int 2699main () 2700{ 2701 2702 ; 2703 return 0; 2704} 2705_ACEOF 2706rm -f conftest.o conftest.obj 2707if { { ac_try="$ac_compile" 2708case "(($ac_try" in 2709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2710 *) ac_try_echo=$ac_try;; 2711esac 2712eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2713$as_echo "$ac_try_echo"; } >&5 2714 (eval "$ac_compile") 2>&5 2715 ac_status=$? 2716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2717 test $ac_status = 0; }; then : 2718 for ac_file in conftest.o conftest.obj conftest.*; do 2719 test -f "$ac_file" || continue; 2720 case $ac_file in 2721 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2722 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2723 break;; 2724 esac 2725done 2726else 2727 $as_echo "$as_me: failed program was:" >&5 2728sed 's/^/| /' conftest.$ac_ext >&5 2729 2730{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2731$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2732as_fn_error $? "cannot compute suffix of object files: cannot compile 2733See \`config.log' for more details" "$LINENO" 5; } 2734fi 2735rm -f conftest.$ac_cv_objext conftest.$ac_ext 2736fi 2737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2738$as_echo "$ac_cv_objext" >&6; } 2739OBJEXT=$ac_cv_objext 2740ac_objext=$OBJEXT 2741{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2742$as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2743if ${ac_cv_c_compiler_gnu+:} false; then : 2744 $as_echo_n "(cached) " >&6 2745else 2746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2747/* end confdefs.h. */ 2748 2749int 2750main () 2751{ 2752#ifndef __GNUC__ 2753 choke me 2754#endif 2755 2756 ; 2757 return 0; 2758} 2759_ACEOF 2760if ac_fn_c_try_compile "$LINENO"; then : 2761 ac_compiler_gnu=yes 2762else 2763 ac_compiler_gnu=no 2764fi 2765rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2766ac_cv_c_compiler_gnu=$ac_compiler_gnu 2767 2768fi 2769{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2770$as_echo "$ac_cv_c_compiler_gnu" >&6; } 2771if test $ac_compiler_gnu = yes; then 2772 GCC=yes 2773else 2774 GCC= 2775fi 2776ac_test_CFLAGS=${CFLAGS+set} 2777ac_save_CFLAGS=$CFLAGS 2778{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2779$as_echo_n "checking whether $CC accepts -g... " >&6; } 2780if ${ac_cv_prog_cc_g+:} false; then : 2781 $as_echo_n "(cached) " >&6 2782else 2783 ac_save_c_werror_flag=$ac_c_werror_flag 2784 ac_c_werror_flag=yes 2785 ac_cv_prog_cc_g=no 2786 CFLAGS="-g" 2787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2788/* end confdefs.h. */ 2789 2790int 2791main () 2792{ 2793 2794 ; 2795 return 0; 2796} 2797_ACEOF 2798if ac_fn_c_try_compile "$LINENO"; then : 2799 ac_cv_prog_cc_g=yes 2800else 2801 CFLAGS="" 2802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2803/* end confdefs.h. */ 2804 2805int 2806main () 2807{ 2808 2809 ; 2810 return 0; 2811} 2812_ACEOF 2813if ac_fn_c_try_compile "$LINENO"; then : 2814 2815else 2816 ac_c_werror_flag=$ac_save_c_werror_flag 2817 CFLAGS="-g" 2818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2819/* end confdefs.h. */ 2820 2821int 2822main () 2823{ 2824 2825 ; 2826 return 0; 2827} 2828_ACEOF 2829if ac_fn_c_try_compile "$LINENO"; then : 2830 ac_cv_prog_cc_g=yes 2831fi 2832rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2833fi 2834rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2835fi 2836rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2837 ac_c_werror_flag=$ac_save_c_werror_flag 2838fi 2839{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2840$as_echo "$ac_cv_prog_cc_g" >&6; } 2841if test "$ac_test_CFLAGS" = set; then 2842 CFLAGS=$ac_save_CFLAGS 2843elif test $ac_cv_prog_cc_g = yes; then 2844 if test "$GCC" = yes; then 2845 CFLAGS="-g -O2" 2846 else 2847 CFLAGS="-g" 2848 fi 2849else 2850 if test "$GCC" = yes; then 2851 CFLAGS="-O2" 2852 else 2853 CFLAGS= 2854 fi 2855fi 2856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2857$as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2858if ${ac_cv_prog_cc_c89+:} false; then : 2859 $as_echo_n "(cached) " >&6 2860else 2861 ac_cv_prog_cc_c89=no 2862ac_save_CC=$CC 2863cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2864/* end confdefs.h. */ 2865#include <stdarg.h> 2866#include <stdio.h> 2867#include <sys/types.h> 2868#include <sys/stat.h> 2869/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2870struct buf { int x; }; 2871FILE * (*rcsopen) (struct buf *, struct stat *, int); 2872static char *e (p, i) 2873 char **p; 2874 int i; 2875{ 2876 return p[i]; 2877} 2878static char *f (char * (*g) (char **, int), char **p, ...) 2879{ 2880 char *s; 2881 va_list v; 2882 va_start (v,p); 2883 s = g (p, va_arg (v,int)); 2884 va_end (v); 2885 return s; 2886} 2887 2888/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2889 function prototypes and stuff, but not '\xHH' hex character constants. 2890 These don't provoke an error unfortunately, instead are silently treated 2891 as 'x'. The following induces an error, until -std is added to get 2892 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2893 array size at least. It's necessary to write '\x00'==0 to get something 2894 that's true only with -std. */ 2895int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2896 2897/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2898 inside strings and character constants. */ 2899#define FOO(x) 'x' 2900int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2901 2902int test (int i, double x); 2903struct s1 {int (*f) (int a);}; 2904struct s2 {int (*f) (double a);}; 2905int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2906int argc; 2907char **argv; 2908int 2909main () 2910{ 2911return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2912 ; 2913 return 0; 2914} 2915_ACEOF 2916for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2917 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2918do 2919 CC="$ac_save_CC $ac_arg" 2920 if ac_fn_c_try_compile "$LINENO"; then : 2921 ac_cv_prog_cc_c89=$ac_arg 2922fi 2923rm -f core conftest.err conftest.$ac_objext 2924 test "x$ac_cv_prog_cc_c89" != "xno" && break 2925done 2926rm -f conftest.$ac_ext 2927CC=$ac_save_CC 2928 2929fi 2930# AC_CACHE_VAL 2931case "x$ac_cv_prog_cc_c89" in 2932 x) 2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 2934$as_echo "none needed" >&6; } ;; 2935 xno) 2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 2937$as_echo "unsupported" >&6; } ;; 2938 *) 2939 CC="$CC $ac_cv_prog_cc_c89" 2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 2941$as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2942esac 2943if test "x$ac_cv_prog_cc_c89" != xno; then : 2944 2945fi 2946 2947ac_ext=c 2948ac_cpp='$CPP $CPPFLAGS' 2949ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2950ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2951ac_compiler_gnu=$ac_cv_c_compiler_gnu 2952 2953 2954# Checks for libraries. 2955BASE=yes 2956GUI=yes 2957GSL=yes 2958 2959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgnustep-base" >&5 2960$as_echo_n "checking for main in -lgnustep-base... " >&6; } 2961if ${ac_cv_lib_gnustep_base_main+:} false; then : 2962 $as_echo_n "(cached) " >&6 2963else 2964 ac_check_lib_save_LIBS=$LIBS 2965LIBS="-lgnustep-base $LIBS" 2966cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2967/* end confdefs.h. */ 2968 2969 2970int 2971main () 2972{ 2973return main (); 2974 ; 2975 return 0; 2976} 2977_ACEOF 2978if ac_fn_c_try_link "$LINENO"; then : 2979 ac_cv_lib_gnustep_base_main=yes 2980else 2981 ac_cv_lib_gnustep_base_main=no 2982fi 2983rm -f core conftest.err conftest.$ac_objext \ 2984 conftest$ac_exeext conftest.$ac_ext 2985LIBS=$ac_check_lib_save_LIBS 2986fi 2987{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnustep_base_main" >&5 2988$as_echo "$ac_cv_lib_gnustep_base_main" >&6; } 2989if test "x$ac_cv_lib_gnustep_base_main" = xyes; then : 2990 cat >>confdefs.h <<_ACEOF 2991#define HAVE_LIBGNUSTEP_BASE 1 2992_ACEOF 2993 2994 LIBS="-lgnustep-base $LIBS" 2995 2996else 2997 BASE=no 2998fi 2999 3000{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgnustep-gui" >&5 3001$as_echo_n "checking for main in -lgnustep-gui... " >&6; } 3002if ${ac_cv_lib_gnustep_gui_main+:} false; then : 3003 $as_echo_n "(cached) " >&6 3004else 3005 ac_check_lib_save_LIBS=$LIBS 3006LIBS="-lgnustep-gui $LIBS" 3007cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3008/* end confdefs.h. */ 3009 3010 3011int 3012main () 3013{ 3014return main (); 3015 ; 3016 return 0; 3017} 3018_ACEOF 3019if ac_fn_c_try_link "$LINENO"; then : 3020 ac_cv_lib_gnustep_gui_main=yes 3021else 3022 ac_cv_lib_gnustep_gui_main=no 3023fi 3024rm -f core conftest.err conftest.$ac_objext \ 3025 conftest$ac_exeext conftest.$ac_ext 3026LIBS=$ac_check_lib_save_LIBS 3027fi 3028{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gnustep_gui_main" >&5 3029$as_echo "$ac_cv_lib_gnustep_gui_main" >&6; } 3030if test "x$ac_cv_lib_gnustep_gui_main" = xyes; then : 3031 cat >>confdefs.h <<_ACEOF 3032#define HAVE_LIBGNUSTEP_GUI 1 3033_ACEOF 3034 3035 LIBS="-lgnustep-gui $LIBS" 3036 3037else 3038 GUI=no 3039fi 3040 3041{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lm" >&5 3042$as_echo_n "checking for main in -lm... " >&6; } 3043if ${ac_cv_lib_m_main+:} false; then : 3044 $as_echo_n "(cached) " >&6 3045else 3046 ac_check_lib_save_LIBS=$LIBS 3047LIBS="-lm $LIBS" 3048cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3049/* end confdefs.h. */ 3050 3051 3052int 3053main () 3054{ 3055return main (); 3056 ; 3057 return 0; 3058} 3059_ACEOF 3060if ac_fn_c_try_link "$LINENO"; then : 3061 ac_cv_lib_m_main=yes 3062else 3063 ac_cv_lib_m_main=no 3064fi 3065rm -f core conftest.err conftest.$ac_objext \ 3066 conftest$ac_exeext conftest.$ac_ext 3067LIBS=$ac_check_lib_save_LIBS 3068fi 3069{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_main" >&5 3070$as_echo "$ac_cv_lib_m_main" >&6; } 3071if test "x$ac_cv_lib_m_main" = xyes; then : 3072 cat >>confdefs.h <<_ACEOF 3073#define HAVE_LIBM 1 3074_ACEOF 3075 3076 LIBS="-lm $LIBS" 3077 3078else 3079 GSL=no 3080fi 3081 3082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgslcblas" >&5 3083$as_echo_n "checking for main in -lgslcblas... " >&6; } 3084if ${ac_cv_lib_gslcblas_main+:} false; then : 3085 $as_echo_n "(cached) " >&6 3086else 3087 ac_check_lib_save_LIBS=$LIBS 3088LIBS="-lgslcblas $LIBS" 3089cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3090/* end confdefs.h. */ 3091 3092 3093int 3094main () 3095{ 3096return main (); 3097 ; 3098 return 0; 3099} 3100_ACEOF 3101if ac_fn_c_try_link "$LINENO"; then : 3102 ac_cv_lib_gslcblas_main=yes 3103else 3104 ac_cv_lib_gslcblas_main=no 3105fi 3106rm -f core conftest.err conftest.$ac_objext \ 3107 conftest$ac_exeext conftest.$ac_ext 3108LIBS=$ac_check_lib_save_LIBS 3109fi 3110{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gslcblas_main" >&5 3111$as_echo "$ac_cv_lib_gslcblas_main" >&6; } 3112if test "x$ac_cv_lib_gslcblas_main" = xyes; then : 3113 cat >>confdefs.h <<_ACEOF 3114#define HAVE_LIBGSLCBLAS 1 3115_ACEOF 3116 3117 LIBS="-lgslcblas $LIBS" 3118 3119else 3120 GSL=no 3121fi 3122 3123{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lgsl" >&5 3124$as_echo_n "checking for main in -lgsl... " >&6; } 3125if ${ac_cv_lib_gsl_main+:} false; then : 3126 $as_echo_n "(cached) " >&6 3127else 3128 ac_check_lib_save_LIBS=$LIBS 3129LIBS="-lgsl $LIBS" 3130cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3131/* end confdefs.h. */ 3132 3133 3134int 3135main () 3136{ 3137return main (); 3138 ; 3139 return 0; 3140} 3141_ACEOF 3142if ac_fn_c_try_link "$LINENO"; then : 3143 ac_cv_lib_gsl_main=yes 3144else 3145 ac_cv_lib_gsl_main=no 3146fi 3147rm -f core conftest.err conftest.$ac_objext \ 3148 conftest$ac_exeext conftest.$ac_ext 3149LIBS=$ac_check_lib_save_LIBS 3150fi 3151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gsl_main" >&5 3152$as_echo "$ac_cv_lib_gsl_main" >&6; } 3153if test "x$ac_cv_lib_gsl_main" = xyes; then : 3154 cat >>confdefs.h <<_ACEOF 3155#define HAVE_LIBGSL 1 3156_ACEOF 3157 3158 LIBS="-lgsl $LIBS" 3159 3160else 3161 GSL=no 3162fi 3163 3164 3165if test $BASE = no; then 3166 as_fn_error $? "\`fisicalab requires the library gnustep-base.'" "$LINENO" 5; 3167fi 3168 3169if test $GUI = no; then 3170 as_fn_error $? "\`fisicalab requires the library gnustep-gui.'" "$LINENO" 5; 3171else 3172 GUI_VERSION=`grep --recursive --no-filename GSBundleShortVersionString /usr/GNUstep/Local/Library/Libraries/gnustep-gui/Versions/` 3173 GUI_VERSION=${GUI_VERSION#*.} 3174 GUI_VERSION=${GUI_VERSION%.*} 3175 3176 if test $GUI_VERSION -lt 23; then 3177 as_fn_error $? "\`fisicalab requires at least gnustep-gui 0.23.0.'" "$LINENO" 5; 3178 fi 3179fi 3180 3181if test $GSL = no; then 3182 as_fn_error $? "\`fisicalab requires the library gsl.'" "$LINENO" 5; 3183fi 3184 3185# Checks for header files. 3186ac_ext=c 3187ac_cpp='$CPP $CPPFLAGS' 3188ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3189ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3190ac_compiler_gnu=$ac_cv_c_compiler_gnu 3191{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 3192$as_echo_n "checking how to run the C preprocessor... " >&6; } 3193# On Suns, sometimes $CPP names a directory. 3194if test -n "$CPP" && test -d "$CPP"; then 3195 CPP= 3196fi 3197if test -z "$CPP"; then 3198 if ${ac_cv_prog_CPP+:} false; then : 3199 $as_echo_n "(cached) " >&6 3200else 3201 # Double quotes because CPP needs to be expanded 3202 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 3203 do 3204 ac_preproc_ok=false 3205for ac_c_preproc_warn_flag in '' yes 3206do 3207 # Use a header file that comes with gcc, so configuring glibc 3208 # with a fresh cross-compiler works. 3209 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3210 # <limits.h> exists even on freestanding compilers. 3211 # On the NeXT, cc -E runs the code through the compiler's parser, 3212 # not just through cpp. "Syntax error" is here to catch this case. 3213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3214/* end confdefs.h. */ 3215#ifdef __STDC__ 3216# include <limits.h> 3217#else 3218# include <assert.h> 3219#endif 3220 Syntax error 3221_ACEOF 3222if ac_fn_c_try_cpp "$LINENO"; then : 3223 3224else 3225 # Broken: fails on valid input. 3226continue 3227fi 3228rm -f conftest.err conftest.i conftest.$ac_ext 3229 3230 # OK, works on sane cases. Now check whether nonexistent headers 3231 # can be detected and how. 3232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3233/* end confdefs.h. */ 3234#include <ac_nonexistent.h> 3235_ACEOF 3236if ac_fn_c_try_cpp "$LINENO"; then : 3237 # Broken: success on invalid input. 3238continue 3239else 3240 # Passes both tests. 3241ac_preproc_ok=: 3242break 3243fi 3244rm -f conftest.err conftest.i conftest.$ac_ext 3245 3246done 3247# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3248rm -f conftest.i conftest.err conftest.$ac_ext 3249if $ac_preproc_ok; then : 3250 break 3251fi 3252 3253 done 3254 ac_cv_prog_CPP=$CPP 3255 3256fi 3257 CPP=$ac_cv_prog_CPP 3258else 3259 ac_cv_prog_CPP=$CPP 3260fi 3261{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 3262$as_echo "$CPP" >&6; } 3263ac_preproc_ok=false 3264for ac_c_preproc_warn_flag in '' yes 3265do 3266 # Use a header file that comes with gcc, so configuring glibc 3267 # with a fresh cross-compiler works. 3268 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 3269 # <limits.h> exists even on freestanding compilers. 3270 # On the NeXT, cc -E runs the code through the compiler's parser, 3271 # not just through cpp. "Syntax error" is here to catch this case. 3272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3273/* end confdefs.h. */ 3274#ifdef __STDC__ 3275# include <limits.h> 3276#else 3277# include <assert.h> 3278#endif 3279 Syntax error 3280_ACEOF 3281if ac_fn_c_try_cpp "$LINENO"; then : 3282 3283else 3284 # Broken: fails on valid input. 3285continue 3286fi 3287rm -f conftest.err conftest.i conftest.$ac_ext 3288 3289 # OK, works on sane cases. Now check whether nonexistent headers 3290 # can be detected and how. 3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3292/* end confdefs.h. */ 3293#include <ac_nonexistent.h> 3294_ACEOF 3295if ac_fn_c_try_cpp "$LINENO"; then : 3296 # Broken: success on invalid input. 3297continue 3298else 3299 # Passes both tests. 3300ac_preproc_ok=: 3301break 3302fi 3303rm -f conftest.err conftest.i conftest.$ac_ext 3304 3305done 3306# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 3307rm -f conftest.i conftest.err conftest.$ac_ext 3308if $ac_preproc_ok; then : 3309 3310else 3311 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 3312$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 3313as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 3314See \`config.log' for more details" "$LINENO" 5; } 3315fi 3316 3317ac_ext=c 3318ac_cpp='$CPP $CPPFLAGS' 3319ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3320ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3321ac_compiler_gnu=$ac_cv_c_compiler_gnu 3322 3323 3324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 3325$as_echo_n "checking for grep that handles long lines and -e... " >&6; } 3326if ${ac_cv_path_GREP+:} false; then : 3327 $as_echo_n "(cached) " >&6 3328else 3329 if test -z "$GREP"; then 3330 ac_path_GREP_found=false 3331 # Loop through the user's path and test for each of PROGNAME-LIST 3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3333for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3334do 3335 IFS=$as_save_IFS 3336 test -z "$as_dir" && as_dir=. 3337 for ac_prog in grep ggrep; do 3338 for ac_exec_ext in '' $ac_executable_extensions; do 3339 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" 3340 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue 3341# Check for GNU ac_path_GREP and select it if it is found. 3342 # Check for GNU $ac_path_GREP 3343case `"$ac_path_GREP" --version 2>&1` in 3344*GNU*) 3345 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; 3346*) 3347 ac_count=0 3348 $as_echo_n 0123456789 >"conftest.in" 3349 while : 3350 do 3351 cat "conftest.in" "conftest.in" >"conftest.tmp" 3352 mv "conftest.tmp" "conftest.in" 3353 cp "conftest.in" "conftest.nl" 3354 $as_echo 'GREP' >> "conftest.nl" 3355 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3356 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3357 as_fn_arith $ac_count + 1 && ac_count=$as_val 3358 if test $ac_count -gt ${ac_path_GREP_max-0}; then 3359 # Best one so far, save it but keep looking for a better one 3360 ac_cv_path_GREP="$ac_path_GREP" 3361 ac_path_GREP_max=$ac_count 3362 fi 3363 # 10*(2^10) chars as input seems more than enough 3364 test $ac_count -gt 10 && break 3365 done 3366 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3367esac 3368 3369 $ac_path_GREP_found && break 3 3370 done 3371 done 3372 done 3373IFS=$as_save_IFS 3374 if test -z "$ac_cv_path_GREP"; then 3375 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3376 fi 3377else 3378 ac_cv_path_GREP=$GREP 3379fi 3380 3381fi 3382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 3383$as_echo "$ac_cv_path_GREP" >&6; } 3384 GREP="$ac_cv_path_GREP" 3385 3386 3387{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 3388$as_echo_n "checking for egrep... " >&6; } 3389if ${ac_cv_path_EGREP+:} false; then : 3390 $as_echo_n "(cached) " >&6 3391else 3392 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 3393 then ac_cv_path_EGREP="$GREP -E" 3394 else 3395 if test -z "$EGREP"; then 3396 ac_path_EGREP_found=false 3397 # Loop through the user's path and test for each of PROGNAME-LIST 3398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3399for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin 3400do 3401 IFS=$as_save_IFS 3402 test -z "$as_dir" && as_dir=. 3403 for ac_prog in egrep; do 3404 for ac_exec_ext in '' $ac_executable_extensions; do 3405 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" 3406 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue 3407# Check for GNU ac_path_EGREP and select it if it is found. 3408 # Check for GNU $ac_path_EGREP 3409case `"$ac_path_EGREP" --version 2>&1` in 3410*GNU*) 3411 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; 3412*) 3413 ac_count=0 3414 $as_echo_n 0123456789 >"conftest.in" 3415 while : 3416 do 3417 cat "conftest.in" "conftest.in" >"conftest.tmp" 3418 mv "conftest.tmp" "conftest.in" 3419 cp "conftest.in" "conftest.nl" 3420 $as_echo 'EGREP' >> "conftest.nl" 3421 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break 3422 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break 3423 as_fn_arith $ac_count + 1 && ac_count=$as_val 3424 if test $ac_count -gt ${ac_path_EGREP_max-0}; then 3425 # Best one so far, save it but keep looking for a better one 3426 ac_cv_path_EGREP="$ac_path_EGREP" 3427 ac_path_EGREP_max=$ac_count 3428 fi 3429 # 10*(2^10) chars as input seems more than enough 3430 test $ac_count -gt 10 && break 3431 done 3432 rm -f conftest.in conftest.tmp conftest.nl conftest.out;; 3433esac 3434 3435 $ac_path_EGREP_found && break 3 3436 done 3437 done 3438 done 3439IFS=$as_save_IFS 3440 if test -z "$ac_cv_path_EGREP"; then 3441 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 3442 fi 3443else 3444 ac_cv_path_EGREP=$EGREP 3445fi 3446 3447 fi 3448fi 3449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 3450$as_echo "$ac_cv_path_EGREP" >&6; } 3451 EGREP="$ac_cv_path_EGREP" 3452 3453 3454{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 3455$as_echo_n "checking for ANSI C header files... " >&6; } 3456if ${ac_cv_header_stdc+:} false; then : 3457 $as_echo_n "(cached) " >&6 3458else 3459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3460/* end confdefs.h. */ 3461#include <stdlib.h> 3462#include <stdarg.h> 3463#include <string.h> 3464#include <float.h> 3465 3466int 3467main () 3468{ 3469 3470 ; 3471 return 0; 3472} 3473_ACEOF 3474if ac_fn_c_try_compile "$LINENO"; then : 3475 ac_cv_header_stdc=yes 3476else 3477 ac_cv_header_stdc=no 3478fi 3479rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 3480 3481if test $ac_cv_header_stdc = yes; then 3482 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3484/* end confdefs.h. */ 3485#include <string.h> 3486 3487_ACEOF 3488if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3489 $EGREP "memchr" >/dev/null 2>&1; then : 3490 3491else 3492 ac_cv_header_stdc=no 3493fi 3494rm -f conftest* 3495 3496fi 3497 3498if test $ac_cv_header_stdc = yes; then 3499 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3501/* end confdefs.h. */ 3502#include <stdlib.h> 3503 3504_ACEOF 3505if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3506 $EGREP "free" >/dev/null 2>&1; then : 3507 3508else 3509 ac_cv_header_stdc=no 3510fi 3511rm -f conftest* 3512 3513fi 3514 3515if test $ac_cv_header_stdc = yes; then 3516 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3517 if test "$cross_compiling" = yes; then : 3518 : 3519else 3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext 3521/* end confdefs.h. */ 3522#include <ctype.h> 3523#include <stdlib.h> 3524#if ((' ' & 0x0FF) == 0x020) 3525# define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3526# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3527#else 3528# define ISLOWER(c) \ 3529 (('a' <= (c) && (c) <= 'i') \ 3530 || ('j' <= (c) && (c) <= 'r') \ 3531 || ('s' <= (c) && (c) <= 'z')) 3532# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3533#endif 3534 3535#define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3536int 3537main () 3538{ 3539 int i; 3540 for (i = 0; i < 256; i++) 3541 if (XOR (islower (i), ISLOWER (i)) 3542 || toupper (i) != TOUPPER (i)) 3543 return 2; 3544 return 0; 3545} 3546_ACEOF 3547if ac_fn_c_try_run "$LINENO"; then : 3548 3549else 3550 ac_cv_header_stdc=no 3551fi 3552rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ 3553 conftest.$ac_objext conftest.beam conftest.$ac_ext 3554fi 3555 3556fi 3557fi 3558{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 3559$as_echo "$ac_cv_header_stdc" >&6; } 3560if test $ac_cv_header_stdc = yes; then 3561 3562$as_echo "#define STDC_HEADERS 1" >>confdefs.h 3563 3564fi 3565 3566# On IRIX 5.3, sys/types and inttypes.h are conflicting. 3567for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 3568 inttypes.h stdint.h unistd.h 3569do : 3570 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3571ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default 3572" 3573if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3574 cat >>confdefs.h <<_ACEOF 3575#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3576_ACEOF 3577 3578fi 3579 3580done 3581 3582 3583ac_fn_c_check_header_mongrel "$LINENO" "Foundation/Foundation.h" "ac_cv_header_Foundation_Foundation_h" "$ac_includes_default" 3584if test "x$ac_cv_header_Foundation_Foundation_h" = xyes; then : 3585 3586else 3587 as_fn_error $? "You should install the header files for pachage gnustep-base." "$LINENO" 5 3588fi 3589 3590 3591ac_fn_c_check_header_mongrel "$LINENO" "AppKit/AppKit.h" "ac_cv_header_AppKit_AppKit_h" "$ac_includes_default" 3592if test "x$ac_cv_header_AppKit_AppKit_h" = xyes; then : 3593 3594else 3595 as_fn_error $? "You should install the header files for pachage gnustep-gui." "$LINENO" 5 3596fi 3597 3598 3599for ac_header in gsl/gsl_vector.h gsl/gsl_multiroots.h gsl/gsl_rng.h 3600do : 3601 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 3602ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" 3603if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : 3604 cat >>confdefs.h <<_ACEOF 3605#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 3606_ACEOF 3607 3608else 3609 as_fn_error $? "You should install the header files for pachage gsl." "$LINENO" 5 3610fi 3611 3612done 3613 3614 3615# Checks for typedefs, structures, and compiler characteristics. 3616ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default" 3617if test "x$ac_cv_type_size_t" = xyes; then : 3618 3619else 3620 3621cat >>confdefs.h <<_ACEOF 3622#define size_t unsigned int 3623_ACEOF 3624 3625fi 3626 3627 3628# Checks for library functions. 3629for ac_func in floor sqrt 3630do : 3631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` 3632ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" 3633if eval test \"x\$"$as_ac_var"\" = x"yes"; then : 3634 cat >>confdefs.h <<_ACEOF 3635#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 3636_ACEOF 3637 3638fi 3639done 3640 3641 3642ac_config_files="$ac_config_files GNUmakefile GNUmakefile.preamble" 3643 3644cat >confcache <<\_ACEOF 3645# This file is a shell script that caches the results of configure 3646# tests run on this system so they can be shared between configure 3647# scripts and configure runs, see configure's option --config-cache. 3648# It is not useful on other systems. If it contains results you don't 3649# want to keep, you may remove or edit it. 3650# 3651# config.status only pays attention to the cache file if you give it 3652# the --recheck option to rerun configure. 3653# 3654# `ac_cv_env_foo' variables (set or unset) will be overridden when 3655# loading this file, other *unset* `ac_cv_foo' will be assigned the 3656# following values. 3657 3658_ACEOF 3659 3660# The following way of writing the cache mishandles newlines in values, 3661# but we know of no workaround that is simple, portable, and efficient. 3662# So, we kill variables containing newlines. 3663# Ultrix sh set writes to stderr and can't be redirected directly, 3664# and sets the high bit in the cache file unless we assign to the vars. 3665( 3666 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 3667 eval ac_val=\$$ac_var 3668 case $ac_val in #( 3669 *${as_nl}*) 3670 case $ac_var in #( 3671 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 3672$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 3673 esac 3674 case $ac_var in #( 3675 _ | IFS | as_nl) ;; #( 3676 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3677 *) { eval $ac_var=; unset $ac_var;} ;; 3678 esac ;; 3679 esac 3680 done 3681 3682 (set) 2>&1 | 3683 case $as_nl`(ac_space=' '; set) 2>&1` in #( 3684 *${as_nl}ac_space=\ *) 3685 # `set' does not quote correctly, so add quotes: double-quote 3686 # substitution turns \\\\ into \\, and sed turns \\ into \. 3687 sed -n \ 3688 "s/'/'\\\\''/g; 3689 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3690 ;; #( 3691 *) 3692 # `set' quotes correctly as required by POSIX, so do not add quotes. 3693 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3694 ;; 3695 esac | 3696 sort 3697) | 3698 sed ' 3699 /^ac_cv_env_/b end 3700 t clear 3701 :clear 3702 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3703 t end 3704 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3705 :end' >>confcache 3706if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 3707 if test -w "$cache_file"; then 3708 if test "x$cache_file" != "x/dev/null"; then 3709 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 3710$as_echo "$as_me: updating cache $cache_file" >&6;} 3711 if test ! -f "$cache_file" || test -h "$cache_file"; then 3712 cat confcache >"$cache_file" 3713 else 3714 case $cache_file in #( 3715 */* | ?:*) 3716 mv -f confcache "$cache_file"$$ && 3717 mv -f "$cache_file"$$ "$cache_file" ;; #( 3718 *) 3719 mv -f confcache "$cache_file" ;; 3720 esac 3721 fi 3722 fi 3723 else 3724 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 3725$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 3726 fi 3727fi 3728rm -f confcache 3729 3730test "x$prefix" = xNONE && prefix=$ac_default_prefix 3731# Let make expand exec_prefix. 3732test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3733 3734# Transform confdefs.h into DEFS. 3735# Protect against shell expansion while executing Makefile rules. 3736# Protect against Makefile macro expansion. 3737# 3738# If the first sed substitution is executed (which looks for macros that 3739# take arguments), then branch to the quote section. Otherwise, 3740# look for a macro that doesn't take arguments. 3741ac_script=' 3742:mline 3743/\\$/{ 3744 N 3745 s,\\\n,, 3746 b mline 3747} 3748t clear 3749:clear 3750s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 3751t quote 3752s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 3753t quote 3754b any 3755:quote 3756s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 3757s/\[/\\&/g 3758s/\]/\\&/g 3759s/\$/$$/g 3760H 3761:any 3762${ 3763 g 3764 s/^\n// 3765 s/\n/ /g 3766 p 3767} 3768' 3769DEFS=`sed -n "$ac_script" confdefs.h` 3770 3771 3772ac_libobjs= 3773ac_ltlibobjs= 3774U= 3775for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3776 # 1. Remove the extension, and $U if already installed. 3777 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 3778 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 3779 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3780 # will be set to the directory where LIBOBJS objects are built. 3781 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 3782 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 3783done 3784LIBOBJS=$ac_libobjs 3785 3786LTLIBOBJS=$ac_ltlibobjs 3787 3788 3789 3790: "${CONFIG_STATUS=./config.status}" 3791ac_write_fail=0 3792ac_clean_files_save=$ac_clean_files 3793ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3794{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 3795$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 3796as_write_fail=0 3797cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 3798#! $SHELL 3799# Generated by $as_me. 3800# Run this file to recreate the current configuration. 3801# Compiler output produced by configure, useful for debugging 3802# configure, is in config.log if it exists. 3803 3804debug=false 3805ac_cs_recheck=false 3806ac_cs_silent=false 3807 3808SHELL=\${CONFIG_SHELL-$SHELL} 3809export SHELL 3810_ASEOF 3811cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 3812## -------------------- ## 3813## M4sh Initialization. ## 3814## -------------------- ## 3815 3816# Be more Bourne compatible 3817DUALCASE=1; export DUALCASE # for MKS sh 3818if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 3819 emulate sh 3820 NULLCMD=: 3821 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 3822 # is contrary to our usage. Disable this feature. 3823 alias -g '${1+"$@"}'='"$@"' 3824 setopt NO_GLOB_SUBST 3825else 3826 case `(set -o) 2>/dev/null` in #( 3827 *posix*) : 3828 set -o posix ;; #( 3829 *) : 3830 ;; 3831esac 3832fi 3833 3834 3835as_nl=' 3836' 3837export as_nl 3838# Printing a long string crashes Solaris 7 /usr/bin/printf. 3839as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3840as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 3841as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 3842# Prefer a ksh shell builtin over an external printf program on Solaris, 3843# but without wasting forks for bash or zsh. 3844if test -z "$BASH_VERSION$ZSH_VERSION" \ 3845 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 3846 as_echo='print -r --' 3847 as_echo_n='print -rn --' 3848elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 3849 as_echo='printf %s\n' 3850 as_echo_n='printf %s' 3851else 3852 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 3853 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 3854 as_echo_n='/usr/ucb/echo -n' 3855 else 3856 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 3857 as_echo_n_body='eval 3858 arg=$1; 3859 case $arg in #( 3860 *"$as_nl"*) 3861 expr "X$arg" : "X\\(.*\\)$as_nl"; 3862 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 3863 esac; 3864 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 3865 ' 3866 export as_echo_n_body 3867 as_echo_n='sh -c $as_echo_n_body as_echo' 3868 fi 3869 export as_echo_body 3870 as_echo='sh -c $as_echo_body as_echo' 3871fi 3872 3873# The user is always right. 3874if test "${PATH_SEPARATOR+set}" != set; then 3875 PATH_SEPARATOR=: 3876 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 3877 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 3878 PATH_SEPARATOR=';' 3879 } 3880fi 3881 3882 3883# IFS 3884# We need space, tab and new line, in precisely that order. Quoting is 3885# there to prevent editors from complaining about space-tab. 3886# (If _AS_PATH_WALK were called with IFS unset, it would disable word 3887# splitting by setting IFS to empty value.) 3888IFS=" "" $as_nl" 3889 3890# Find who we are. Look in the path if we contain no directory separator. 3891as_myself= 3892case $0 in #(( 3893 *[\\/]* ) as_myself=$0 ;; 3894 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3895for as_dir in $PATH 3896do 3897 IFS=$as_save_IFS 3898 test -z "$as_dir" && as_dir=. 3899 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3900 done 3901IFS=$as_save_IFS 3902 3903 ;; 3904esac 3905# We did not find ourselves, most probably we were run as `sh COMMAND' 3906# in which case we are not to be found in the path. 3907if test "x$as_myself" = x; then 3908 as_myself=$0 3909fi 3910if test ! -f "$as_myself"; then 3911 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3912 exit 1 3913fi 3914 3915# Unset variables that we do not need and which cause bugs (e.g. in 3916# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 3917# suppresses any "Segmentation fault" message there. '((' could 3918# trigger a bug in pdksh 5.2.14. 3919for as_var in BASH_ENV ENV MAIL MAILPATH 3920do eval test x\${$as_var+set} = xset \ 3921 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 3922done 3923PS1='$ ' 3924PS2='> ' 3925PS4='+ ' 3926 3927# NLS nuisances. 3928LC_ALL=C 3929export LC_ALL 3930LANGUAGE=C 3931export LANGUAGE 3932 3933# CDPATH. 3934(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 3935 3936 3937# as_fn_error STATUS ERROR [LINENO LOG_FD] 3938# ---------------------------------------- 3939# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3940# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3941# script with STATUS, using 1 if that was 0. 3942as_fn_error () 3943{ 3944 as_status=$1; test $as_status -eq 0 && as_status=1 3945 if test "$4"; then 3946 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3947 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3948 fi 3949 $as_echo "$as_me: error: $2" >&2 3950 as_fn_exit $as_status 3951} # as_fn_error 3952 3953 3954# as_fn_set_status STATUS 3955# ----------------------- 3956# Set $? to STATUS, without forking. 3957as_fn_set_status () 3958{ 3959 return $1 3960} # as_fn_set_status 3961 3962# as_fn_exit STATUS 3963# ----------------- 3964# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3965as_fn_exit () 3966{ 3967 set +e 3968 as_fn_set_status $1 3969 exit $1 3970} # as_fn_exit 3971 3972# as_fn_unset VAR 3973# --------------- 3974# Portably unset VAR. 3975as_fn_unset () 3976{ 3977 { eval $1=; unset $1;} 3978} 3979as_unset=as_fn_unset 3980# as_fn_append VAR VALUE 3981# ---------------------- 3982# Append the text in VALUE to the end of the definition contained in VAR. Take 3983# advantage of any shell optimizations that allow amortized linear growth over 3984# repeated appends, instead of the typical quadratic growth present in naive 3985# implementations. 3986if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3987 eval 'as_fn_append () 3988 { 3989 eval $1+=\$2 3990 }' 3991else 3992 as_fn_append () 3993 { 3994 eval $1=\$$1\$2 3995 } 3996fi # as_fn_append 3997 3998# as_fn_arith ARG... 3999# ------------------ 4000# Perform arithmetic evaluation on the ARGs, and store the result in the 4001# global $as_val. Take advantage of shells that can avoid forks. The arguments 4002# must be portable across $(()) and expr. 4003if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 4004 eval 'as_fn_arith () 4005 { 4006 as_val=$(( $* )) 4007 }' 4008else 4009 as_fn_arith () 4010 { 4011 as_val=`expr "$@" || test $? -eq 1` 4012 } 4013fi # as_fn_arith 4014 4015 4016if expr a : '\(a\)' >/dev/null 2>&1 && 4017 test "X`expr 00001 : '.*\(...\)'`" = X001; then 4018 as_expr=expr 4019else 4020 as_expr=false 4021fi 4022 4023if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 4024 as_basename=basename 4025else 4026 as_basename=false 4027fi 4028 4029if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 4030 as_dirname=dirname 4031else 4032 as_dirname=false 4033fi 4034 4035as_me=`$as_basename -- "$0" || 4036$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 4037 X"$0" : 'X\(//\)$' \| \ 4038 X"$0" : 'X\(/\)' \| . 2>/dev/null || 4039$as_echo X/"$0" | 4040 sed '/^.*\/\([^/][^/]*\)\/*$/{ 4041 s//\1/ 4042 q 4043 } 4044 /^X\/\(\/\/\)$/{ 4045 s//\1/ 4046 q 4047 } 4048 /^X\/\(\/\).*/{ 4049 s//\1/ 4050 q 4051 } 4052 s/.*/./; q'` 4053 4054# Avoid depending upon Character Ranges. 4055as_cr_letters='abcdefghijklmnopqrstuvwxyz' 4056as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 4057as_cr_Letters=$as_cr_letters$as_cr_LETTERS 4058as_cr_digits='0123456789' 4059as_cr_alnum=$as_cr_Letters$as_cr_digits 4060 4061ECHO_C= ECHO_N= ECHO_T= 4062case `echo -n x` in #((((( 4063-n*) 4064 case `echo 'xy\c'` in 4065 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 4066 xy) ECHO_C='\c';; 4067 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 4068 ECHO_T=' ';; 4069 esac;; 4070*) 4071 ECHO_N='-n';; 4072esac 4073 4074rm -f conf$$ conf$$.exe conf$$.file 4075if test -d conf$$.dir; then 4076 rm -f conf$$.dir/conf$$.file 4077else 4078 rm -f conf$$.dir 4079 mkdir conf$$.dir 2>/dev/null 4080fi 4081if (echo >conf$$.file) 2>/dev/null; then 4082 if ln -s conf$$.file conf$$ 2>/dev/null; then 4083 as_ln_s='ln -s' 4084 # ... but there are two gotchas: 4085 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 4086 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 4087 # In both cases, we have to default to `cp -p'. 4088 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 4089 as_ln_s='cp -p' 4090 elif ln conf$$.file conf$$ 2>/dev/null; then 4091 as_ln_s=ln 4092 else 4093 as_ln_s='cp -p' 4094 fi 4095else 4096 as_ln_s='cp -p' 4097fi 4098rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 4099rmdir conf$$.dir 2>/dev/null 4100 4101 4102# as_fn_mkdir_p 4103# ------------- 4104# Create "$as_dir" as a directory, including parents if necessary. 4105as_fn_mkdir_p () 4106{ 4107 4108 case $as_dir in #( 4109 -*) as_dir=./$as_dir;; 4110 esac 4111 test -d "$as_dir" || eval $as_mkdir_p || { 4112 as_dirs= 4113 while :; do 4114 case $as_dir in #( 4115 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 4116 *) as_qdir=$as_dir;; 4117 esac 4118 as_dirs="'$as_qdir' $as_dirs" 4119 as_dir=`$as_dirname -- "$as_dir" || 4120$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4121 X"$as_dir" : 'X\(//\)[^/]' \| \ 4122 X"$as_dir" : 'X\(//\)$' \| \ 4123 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 4124$as_echo X"$as_dir" | 4125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4126 s//\1/ 4127 q 4128 } 4129 /^X\(\/\/\)[^/].*/{ 4130 s//\1/ 4131 q 4132 } 4133 /^X\(\/\/\)$/{ 4134 s//\1/ 4135 q 4136 } 4137 /^X\(\/\).*/{ 4138 s//\1/ 4139 q 4140 } 4141 s/.*/./; q'` 4142 test -d "$as_dir" && break 4143 done 4144 test -z "$as_dirs" || eval "mkdir $as_dirs" 4145 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 4146 4147 4148} # as_fn_mkdir_p 4149if mkdir -p . 2>/dev/null; then 4150 as_mkdir_p='mkdir -p "$as_dir"' 4151else 4152 test -d ./-p && rmdir ./-p 4153 as_mkdir_p=false 4154fi 4155 4156if test -x / >/dev/null 2>&1; then 4157 as_test_x='test -x' 4158else 4159 if ls -dL / >/dev/null 2>&1; then 4160 as_ls_L_option=L 4161 else 4162 as_ls_L_option= 4163 fi 4164 as_test_x=' 4165 eval sh -c '\'' 4166 if test -d "$1"; then 4167 test -d "$1/."; 4168 else 4169 case $1 in #( 4170 -*)set "./$1";; 4171 esac; 4172 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( 4173 ???[sx]*):;;*)false;;esac;fi 4174 '\'' sh 4175 ' 4176fi 4177as_executable_p=$as_test_x 4178 4179# Sed expression to map a string onto a valid CPP name. 4180as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 4181 4182# Sed expression to map a string onto a valid variable name. 4183as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 4184 4185 4186exec 6>&1 4187## ----------------------------------- ## 4188## Main body of $CONFIG_STATUS script. ## 4189## ----------------------------------- ## 4190_ASEOF 4191test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 4192 4193cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4194# Save the log message, to keep $0 and so on meaningful, and to 4195# report actual input values of CONFIG_FILES etc. instead of their 4196# values after options handling. 4197ac_log=" 4198This file was extended by fisicalab $as_me 0.3.3, which was 4199generated by GNU Autoconf 2.68. Invocation command line was 4200 4201 CONFIG_FILES = $CONFIG_FILES 4202 CONFIG_HEADERS = $CONFIG_HEADERS 4203 CONFIG_LINKS = $CONFIG_LINKS 4204 CONFIG_COMMANDS = $CONFIG_COMMANDS 4205 $ $0 $@ 4206 4207on `(hostname || uname -n) 2>/dev/null | sed 1q` 4208" 4209 4210_ACEOF 4211 4212case $ac_config_files in *" 4213"*) set x $ac_config_files; shift; ac_config_files=$*;; 4214esac 4215 4216 4217 4218cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4219# Files that config.status was made for. 4220config_files="$ac_config_files" 4221 4222_ACEOF 4223 4224cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4225ac_cs_usage="\ 4226\`$as_me' instantiates files and other configuration actions 4227from templates according to the current configuration. Unless the files 4228and actions are specified as TAGs, all are instantiated by default. 4229 4230Usage: $0 [OPTION]... [TAG]... 4231 4232 -h, --help print this help, then exit 4233 -V, --version print version number and configuration settings, then exit 4234 --config print configuration, then exit 4235 -q, --quiet, --silent 4236 do not print progress messages 4237 -d, --debug don't remove temporary files 4238 --recheck update $as_me by reconfiguring in the same conditions 4239 --file=FILE[:TEMPLATE] 4240 instantiate the configuration file FILE 4241 4242Configuration files: 4243$config_files 4244 4245Report bugs to the package provider." 4246 4247_ACEOF 4248cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4249ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 4250ac_cs_version="\\ 4251fisicalab config.status 0.3.3 4252configured by $0, generated by GNU Autoconf 2.68, 4253 with options \\"\$ac_cs_config\\" 4254 4255Copyright (C) 2010 Free Software Foundation, Inc. 4256This config.status script is free software; the Free Software Foundation 4257gives unlimited permission to copy, distribute and modify it." 4258 4259ac_pwd='$ac_pwd' 4260srcdir='$srcdir' 4261test -n "\$AWK" || AWK=awk 4262_ACEOF 4263 4264cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4265# The default lists apply if the user does not specify any file. 4266ac_need_defaults=: 4267while test $# != 0 4268do 4269 case $1 in 4270 --*=?*) 4271 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4272 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 4273 ac_shift=: 4274 ;; 4275 --*=) 4276 ac_option=`expr "X$1" : 'X\([^=]*\)='` 4277 ac_optarg= 4278 ac_shift=: 4279 ;; 4280 *) 4281 ac_option=$1 4282 ac_optarg=$2 4283 ac_shift=shift 4284 ;; 4285 esac 4286 4287 case $ac_option in 4288 # Handling of the options. 4289 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 4290 ac_cs_recheck=: ;; 4291 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 4292 $as_echo "$ac_cs_version"; exit ;; 4293 --config | --confi | --conf | --con | --co | --c ) 4294 $as_echo "$ac_cs_config"; exit ;; 4295 --debug | --debu | --deb | --de | --d | -d ) 4296 debug=: ;; 4297 --file | --fil | --fi | --f ) 4298 $ac_shift 4299 case $ac_optarg in 4300 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 4301 '') as_fn_error $? "missing file argument" ;; 4302 esac 4303 as_fn_append CONFIG_FILES " '$ac_optarg'" 4304 ac_need_defaults=false;; 4305 --he | --h | --help | --hel | -h ) 4306 $as_echo "$ac_cs_usage"; exit ;; 4307 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 4308 | -silent | --silent | --silen | --sile | --sil | --si | --s) 4309 ac_cs_silent=: ;; 4310 4311 # This is an error. 4312 -*) as_fn_error $? "unrecognized option: \`$1' 4313Try \`$0 --help' for more information." ;; 4314 4315 *) as_fn_append ac_config_targets " $1" 4316 ac_need_defaults=false ;; 4317 4318 esac 4319 shift 4320done 4321 4322ac_configure_extra_args= 4323 4324if $ac_cs_silent; then 4325 exec 6>/dev/null 4326 ac_configure_extra_args="$ac_configure_extra_args --silent" 4327fi 4328 4329_ACEOF 4330cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4331if \$ac_cs_recheck; then 4332 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 4333 shift 4334 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 4335 CONFIG_SHELL='$SHELL' 4336 export CONFIG_SHELL 4337 exec "\$@" 4338fi 4339 4340_ACEOF 4341cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4342exec 5>>config.log 4343{ 4344 echo 4345 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 4346## Running $as_me. ## 4347_ASBOX 4348 $as_echo "$ac_log" 4349} >&5 4350 4351_ACEOF 4352cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4353_ACEOF 4354 4355cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4356 4357# Handling of arguments. 4358for ac_config_target in $ac_config_targets 4359do 4360 case $ac_config_target in 4361 "GNUmakefile") CONFIG_FILES="$CONFIG_FILES GNUmakefile" ;; 4362 "GNUmakefile.preamble") CONFIG_FILES="$CONFIG_FILES GNUmakefile.preamble" ;; 4363 4364 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 4365 esac 4366done 4367 4368 4369# If the user did not use the arguments to specify the items to instantiate, 4370# then the envvar interface is used. Set only those that are not. 4371# We use the long form for the default assignment because of an extremely 4372# bizarre bug on SunOS 4.1.3. 4373if $ac_need_defaults; then 4374 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 4375fi 4376 4377# Have a temporary directory for convenience. Make it in the build tree 4378# simply because there is no reason against having it here, and in addition, 4379# creating and moving files from /tmp can sometimes cause problems. 4380# Hook for its removal unless debugging. 4381# Note that there is a small window in which the directory will not be cleaned: 4382# after its creation but before its name has been assigned to `$tmp'. 4383$debug || 4384{ 4385 tmp= ac_tmp= 4386 trap 'exit_status=$? 4387 : "${ac_tmp:=$tmp}" 4388 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 4389' 0 4390 trap 'as_fn_exit 1' 1 2 13 15 4391} 4392# Create a (secure) tmp directory for tmp files. 4393 4394{ 4395 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 4396 test -d "$tmp" 4397} || 4398{ 4399 tmp=./conf$$-$RANDOM 4400 (umask 077 && mkdir "$tmp") 4401} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 4402ac_tmp=$tmp 4403 4404# Set up the scripts for CONFIG_FILES section. 4405# No need to generate them if there are no CONFIG_FILES. 4406# This happens for instance with `./config.status config.h'. 4407if test -n "$CONFIG_FILES"; then 4408 4409 4410ac_cr=`echo X | tr X '\015'` 4411# On cygwin, bash can eat \r inside `` if the user requested igncr. 4412# But we know of no other shell where ac_cr would be empty at this 4413# point, so we can use a bashism as a fallback. 4414if test "x$ac_cr" = x; then 4415 eval ac_cr=\$\'\\r\' 4416fi 4417ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 4418if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 4419 ac_cs_awk_cr='\\r' 4420else 4421 ac_cs_awk_cr=$ac_cr 4422fi 4423 4424echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 4425_ACEOF 4426 4427 4428{ 4429 echo "cat >conf$$subs.awk <<_ACEOF" && 4430 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 4431 echo "_ACEOF" 4432} >conf$$subs.sh || 4433 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4434ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 4435ac_delim='%!_!# ' 4436for ac_last_try in false false false false false :; do 4437 . ./conf$$subs.sh || 4438 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4439 4440 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 4441 if test $ac_delim_n = $ac_delim_num; then 4442 break 4443 elif $ac_last_try; then 4444 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 4445 else 4446 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 4447 fi 4448done 4449rm -f conf$$subs.sh 4450 4451cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4452cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 4453_ACEOF 4454sed -n ' 4455h 4456s/^/S["/; s/!.*/"]=/ 4457p 4458g 4459s/^[^!]*!// 4460:repl 4461t repl 4462s/'"$ac_delim"'$// 4463t delim 4464:nl 4465h 4466s/\(.\{148\}\)..*/\1/ 4467t more1 4468s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 4469p 4470n 4471b repl 4472:more1 4473s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4474p 4475g 4476s/.\{148\}// 4477t nl 4478:delim 4479h 4480s/\(.\{148\}\)..*/\1/ 4481t more2 4482s/["\\]/\\&/g; s/^/"/; s/$/"/ 4483p 4484b 4485:more2 4486s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 4487p 4488g 4489s/.\{148\}// 4490t delim 4491' <conf$$subs.awk | sed ' 4492/^[^""]/{ 4493 N 4494 s/\n// 4495} 4496' >>$CONFIG_STATUS || ac_write_fail=1 4497rm -f conf$$subs.awk 4498cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4499_ACAWK 4500cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 4501 for (key in S) S_is_set[key] = 1 4502 FS = "" 4503 4504} 4505{ 4506 line = $ 0 4507 nfields = split(line, field, "@") 4508 substed = 0 4509 len = length(field[1]) 4510 for (i = 2; i < nfields; i++) { 4511 key = field[i] 4512 keylen = length(key) 4513 if (S_is_set[key]) { 4514 value = S[key] 4515 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 4516 len += length(value) + length(field[++i]) 4517 substed = 1 4518 } else 4519 len += 1 + keylen 4520 } 4521 4522 print line 4523} 4524 4525_ACAWK 4526_ACEOF 4527cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4528if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 4529 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 4530else 4531 cat 4532fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 4533 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 4534_ACEOF 4535 4536# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 4537# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 4538# trailing colons and then remove the whole line if VPATH becomes empty 4539# (actually we leave an empty line to preserve line numbers). 4540if test "x$srcdir" = x.; then 4541 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 4542h 4543s/// 4544s/^/:/ 4545s/[ ]*$/:/ 4546s/:\$(srcdir):/:/g 4547s/:\${srcdir}:/:/g 4548s/:@srcdir@:/:/g 4549s/^:*// 4550s/:*$// 4551x 4552s/\(=[ ]*\).*/\1/ 4553G 4554s/\n// 4555s/^[^=]*=[ ]*$// 4556}' 4557fi 4558 4559cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4560fi # test -n "$CONFIG_FILES" 4561 4562 4563eval set X " :F $CONFIG_FILES " 4564shift 4565for ac_tag 4566do 4567 case $ac_tag in 4568 :[FHLC]) ac_mode=$ac_tag; continue;; 4569 esac 4570 case $ac_mode$ac_tag in 4571 :[FHL]*:*);; 4572 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 4573 :[FH]-) ac_tag=-:-;; 4574 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 4575 esac 4576 ac_save_IFS=$IFS 4577 IFS=: 4578 set x $ac_tag 4579 IFS=$ac_save_IFS 4580 shift 4581 ac_file=$1 4582 shift 4583 4584 case $ac_mode in 4585 :L) ac_source=$1;; 4586 :[FH]) 4587 ac_file_inputs= 4588 for ac_f 4589 do 4590 case $ac_f in 4591 -) ac_f="$ac_tmp/stdin";; 4592 *) # Look for the file first in the build tree, then in the source tree 4593 # (if the path is not absolute). The absolute path cannot be DOS-style, 4594 # because $ac_f cannot contain `:'. 4595 test -f "$ac_f" || 4596 case $ac_f in 4597 [\\/$]*) false;; 4598 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4599 esac || 4600 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 4601 esac 4602 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 4603 as_fn_append ac_file_inputs " '$ac_f'" 4604 done 4605 4606 # Let's still pretend it is `configure' which instantiates (i.e., don't 4607 # use $as_me), people would be surprised to read: 4608 # /* config.h. Generated by config.status. */ 4609 configure_input='Generated from '` 4610 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 4611 `' by configure.' 4612 if test x"$ac_file" != x-; then 4613 configure_input="$ac_file. $configure_input" 4614 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 4615$as_echo "$as_me: creating $ac_file" >&6;} 4616 fi 4617 # Neutralize special characters interpreted by sed in replacement strings. 4618 case $configure_input in #( 4619 *\&* | *\|* | *\\* ) 4620 ac_sed_conf_input=`$as_echo "$configure_input" | 4621 sed 's/[\\\\&|]/\\\\&/g'`;; #( 4622 *) ac_sed_conf_input=$configure_input;; 4623 esac 4624 4625 case $ac_tag in 4626 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 4627 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 4628 esac 4629 ;; 4630 esac 4631 4632 ac_dir=`$as_dirname -- "$ac_file" || 4633$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4634 X"$ac_file" : 'X\(//\)[^/]' \| \ 4635 X"$ac_file" : 'X\(//\)$' \| \ 4636 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4637$as_echo X"$ac_file" | 4638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4639 s//\1/ 4640 q 4641 } 4642 /^X\(\/\/\)[^/].*/{ 4643 s//\1/ 4644 q 4645 } 4646 /^X\(\/\/\)$/{ 4647 s//\1/ 4648 q 4649 } 4650 /^X\(\/\).*/{ 4651 s//\1/ 4652 q 4653 } 4654 s/.*/./; q'` 4655 as_dir="$ac_dir"; as_fn_mkdir_p 4656 ac_builddir=. 4657 4658case "$ac_dir" in 4659.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4660*) 4661 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 4662 # A ".." for each directory in $ac_dir_suffix. 4663 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 4664 case $ac_top_builddir_sub in 4665 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4666 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4667 esac ;; 4668esac 4669ac_abs_top_builddir=$ac_pwd 4670ac_abs_builddir=$ac_pwd$ac_dir_suffix 4671# for backward compatibility: 4672ac_top_builddir=$ac_top_build_prefix 4673 4674case $srcdir in 4675 .) # We are building in place. 4676 ac_srcdir=. 4677 ac_top_srcdir=$ac_top_builddir_sub 4678 ac_abs_top_srcdir=$ac_pwd ;; 4679 [\\/]* | ?:[\\/]* ) # Absolute name. 4680 ac_srcdir=$srcdir$ac_dir_suffix; 4681 ac_top_srcdir=$srcdir 4682 ac_abs_top_srcdir=$srcdir ;; 4683 *) # Relative name. 4684 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4685 ac_top_srcdir=$ac_top_build_prefix$srcdir 4686 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4687esac 4688ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4689 4690 4691 case $ac_mode in 4692 :F) 4693 # 4694 # CONFIG_FILE 4695 # 4696 4697_ACEOF 4698 4699cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4700# If the template does not know about datarootdir, expand it. 4701# FIXME: This hack should be removed a few years after 2.60. 4702ac_datarootdir_hack=; ac_datarootdir_seen= 4703ac_sed_dataroot=' 4704/datarootdir/ { 4705 p 4706 q 4707} 4708/@datadir@/p 4709/@docdir@/p 4710/@infodir@/p 4711/@localedir@/p 4712/@mandir@/p' 4713case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 4714*datarootdir*) ac_datarootdir_seen=yes;; 4715*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 4716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 4717$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4718_ACEOF 4719cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4720 ac_datarootdir_hack=' 4721 s&@datadir@&$datadir&g 4722 s&@docdir@&$docdir&g 4723 s&@infodir@&$infodir&g 4724 s&@localedir@&$localedir&g 4725 s&@mandir@&$mandir&g 4726 s&\\\${datarootdir}&$datarootdir&g' ;; 4727esac 4728_ACEOF 4729 4730# Neutralize VPATH when `$srcdir' = `.'. 4731# Shell code in configure.ac might set extrasub. 4732# FIXME: do we really want to maintain this feature? 4733cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4734ac_sed_extra="$ac_vpsub 4735$extrasub 4736_ACEOF 4737cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4738:t 4739/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4740s|@configure_input@|$ac_sed_conf_input|;t t 4741s&@top_builddir@&$ac_top_builddir_sub&;t t 4742s&@top_build_prefix@&$ac_top_build_prefix&;t t 4743s&@srcdir@&$ac_srcdir&;t t 4744s&@abs_srcdir@&$ac_abs_srcdir&;t t 4745s&@top_srcdir@&$ac_top_srcdir&;t t 4746s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 4747s&@builddir@&$ac_builddir&;t t 4748s&@abs_builddir@&$ac_abs_builddir&;t t 4749s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4750$ac_datarootdir_hack 4751" 4752eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 4753 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4754 4755test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 4756 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 4757 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 4758 "$ac_tmp/out"`; test -z "$ac_out"; } && 4759 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4760which seems to be undefined. Please make sure it is defined" >&5 4761$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4762which seems to be undefined. Please make sure it is defined" >&2;} 4763 4764 rm -f "$ac_tmp/stdin" 4765 case $ac_file in 4766 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 4767 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 4768 esac \ 4769 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4770 ;; 4771 4772 4773 4774 esac 4775 4776done # for ac_tag 4777 4778 4779as_fn_exit 0 4780_ACEOF 4781ac_clean_files=$ac_clean_files_save 4782 4783test $ac_write_fail = 0 || 4784 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 4785 4786 4787# configure is writing to config.log, and then calls config.status. 4788# config.status does its own redirection, appending to config.log. 4789# Unfortunately, on DOS this fails, as config.log is still kept open 4790# by configure, so config.status won't be able to write to it; its 4791# output is simply discarded. So we exec the FD to /dev/null, 4792# effectively closing config.log, so it can be properly (re)opened and 4793# appended to by config.status. When coming back to configure, we 4794# need to make the FD available again. 4795if test "$no_create" != yes; then 4796 ac_cs_success=: 4797 ac_config_status_args= 4798 test "$silent" = yes && 4799 ac_config_status_args="$ac_config_status_args --quiet" 4800 exec 5>/dev/null 4801 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4802 exec 5>>config.log 4803 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4804 # would make configure fail if this is the last instruction. 4805 $ac_cs_success || as_fn_exit 1 4806fi 4807if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 4808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 4809$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 4810fi 4811 4812