1#! /bin/sh 2# Guess values for system-dependent variables and create Makefiles. 3# Generated by GNU Autoconf 2.69. 4# 5# 6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7# 8# 9# This configure script is free software; the Free Software Foundation 10# gives unlimited permission to copy, distribute and modify it. 11## -------------------- ## 12## M4sh Initialization. ## 13## -------------------- ## 14 15# Be more Bourne compatible 16DUALCASE=1; export DUALCASE # for MKS sh 17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 18 emulate sh 19 NULLCMD=: 20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 21 # is contrary to our usage. Disable this feature. 22 alias -g '${1+"$@"}'='"$@"' 23 setopt NO_GLOB_SUBST 24else 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 30esac 31fi 32 33 34as_nl=' 35' 36export as_nl 37# Printing a long string crashes Solaris 7 /usr/bin/printf. 38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41# Prefer a ksh shell builtin over an external printf program on Solaris, 42# but without wasting forks for bash or zsh. 43if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70fi 71 72# The user is always right. 73if test "${PATH_SEPARATOR+set}" != set; then 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 79fi 80 81 82# IFS 83# We need space, tab and new line, in precisely that order. Quoting is 84# there to prevent editors from complaining about space-tab. 85# (If _AS_PATH_WALK were called with IFS unset, it would disable word 86# splitting by setting IFS to empty value.) 87IFS=" "" $as_nl" 88 89# Find who we are. Look in the path if we contain no directory separator. 90as_myself= 91case $0 in #(( 92 *[\\/]* ) as_myself=$0 ;; 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 94for as_dir in $PATH 95do 96 IFS=$as_save_IFS 97 test -z "$as_dir" && as_dir=. 98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 100IFS=$as_save_IFS 101 102 ;; 103esac 104# We did not find ourselves, most probably we were run as `sh COMMAND' 105# in which case we are not to be found in the path. 106if test "x$as_myself" = x; then 107 as_myself=$0 108fi 109if test ! -f "$as_myself"; then 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112fi 113 114# Unset variables that we do not need and which cause bugs (e.g. in 115# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116# suppresses any "Segmentation fault" message there. '((' could 117# trigger a bug in pdksh 5.2.14. 118for as_var in BASH_ENV ENV MAIL MAILPATH 119do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 121done 122PS1='$ ' 123PS2='> ' 124PS4='+ ' 125 126# NLS nuisances. 127LC_ALL=C 128export LC_ALL 129LANGUAGE=C 130export LANGUAGE 131 132# CDPATH. 133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135# Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140# neutralization value for shells without unset; and this also 141# works around shells that cannot unset nonexistent variables. 142# Preserve -v and -x to the replacement shell. 143BASH_ENV=/dev/null 144ENV=/dev/null 145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151esac 152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153# Admittedly, this is quite paranoid, since all the known shells bail 154# out after a failed `exec'. 155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174esac 175fi 176" 177 as_required="as_fn_return () { (exit \$1); } 178as_fn_success () { as_fn_return 0; } 179as_fn_failure () { as_fn_return 1; } 180as_fn_ret_success () { return 0; } 181as_fn_ret_failure () { return 1; } 182 183exitcode=0 184as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190else 191 exitcode=1; echo positional parameters were not saved. 192fi 193test x\$exitcode = x0 || exit 1 194test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" 199 if (eval "$as_required") 2>/dev/null; then : 200 as_have_required=yes 201else 202 as_have_required=no 203fi 204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 205 206else 207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 208as_found=false 209for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 210do 211 IFS=$as_save_IFS 212 test -z "$as_dir" && as_dir=. 213 as_found=: 214 case $as_dir in #( 215 /*) 216 for as_base in sh bash ksh sh5; do 217 # Try only shells that exist, to save several forks. 218 as_shell=$as_dir/$as_base 219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 221 CONFIG_SHELL=$as_shell as_have_required=yes 222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 223 break 2 224fi 225fi 226 done;; 227 esac 228 as_found=false 229done 230$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 232 CONFIG_SHELL=$SHELL as_have_required=yes 233fi; } 234IFS=$as_save_IFS 235 236 237 if test "x$CONFIG_SHELL" != x; then : 238 export CONFIG_SHELL 239 # We cannot yet assume a decent shell, so we have to provide a 240# neutralization value for shells without unset; and this also 241# works around shells that cannot unset nonexistent variables. 242# Preserve -v and -x to the replacement shell. 243BASH_ENV=/dev/null 244ENV=/dev/null 245(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 246case $- in # (((( 247 *v*x* | *x*v* ) as_opts=-vx ;; 248 *v* ) as_opts=-v ;; 249 *x* ) as_opts=-x ;; 250 * ) as_opts= ;; 251esac 252exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 253# Admittedly, this is quite paranoid, since all the known shells bail 254# out after a failed `exec'. 255$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 256exit 255 257fi 258 259 if test x$as_have_required = xno; then : 260 $as_echo "$0: This script requires a shell more modern than all" 261 $as_echo "$0: the shells that I found on your system." 262 if test x${ZSH_VERSION+set} = xset ; then 263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 264 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 265 else 266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 267$0: including any error possibly output before this 268$0: message. Then install a modern shell, or manually run 269$0: the script under such a shell if you do have one." 270 fi 271 exit 1 272fi 273fi 274fi 275SHELL=${CONFIG_SHELL-/bin/sh} 276export SHELL 277# Unset more variables known to interfere with behavior of common tools. 278CLICOLOR_FORCE= GREP_OPTIONS= 279unset CLICOLOR_FORCE GREP_OPTIONS 280 281## --------------------- ## 282## M4sh Shell Functions. ## 283## --------------------- ## 284# as_fn_unset VAR 285# --------------- 286# Portably unset VAR. 287as_fn_unset () 288{ 289 { eval $1=; unset $1;} 290} 291as_unset=as_fn_unset 292 293# as_fn_set_status STATUS 294# ----------------------- 295# Set $? to STATUS, without forking. 296as_fn_set_status () 297{ 298 return $1 299} # as_fn_set_status 300 301# as_fn_exit STATUS 302# ----------------- 303# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 304as_fn_exit () 305{ 306 set +e 307 as_fn_set_status $1 308 exit $1 309} # as_fn_exit 310 311# as_fn_mkdir_p 312# ------------- 313# Create "$as_dir" as a directory, including parents if necessary. 314as_fn_mkdir_p () 315{ 316 317 case $as_dir in #( 318 -*) as_dir=./$as_dir;; 319 esac 320 test -d "$as_dir" || eval $as_mkdir_p || { 321 as_dirs= 322 while :; do 323 case $as_dir in #( 324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 325 *) as_qdir=$as_dir;; 326 esac 327 as_dirs="'$as_qdir' $as_dirs" 328 as_dir=`$as_dirname -- "$as_dir" || 329$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 330 X"$as_dir" : 'X\(//\)[^/]' \| \ 331 X"$as_dir" : 'X\(//\)$' \| \ 332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 333$as_echo X"$as_dir" | 334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 335 s//\1/ 336 q 337 } 338 /^X\(\/\/\)[^/].*/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)$/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\).*/{ 347 s//\1/ 348 q 349 } 350 s/.*/./; q'` 351 test -d "$as_dir" && break 352 done 353 test -z "$as_dirs" || eval "mkdir $as_dirs" 354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 355 356 357} # as_fn_mkdir_p 358 359# as_fn_executable_p FILE 360# ----------------------- 361# Test if FILE is an executable regular file. 362as_fn_executable_p () 363{ 364 test -f "$1" && test -x "$1" 365} # as_fn_executable_p 366# as_fn_append VAR VALUE 367# ---------------------- 368# Append the text in VALUE to the end of the definition contained in VAR. Take 369# advantage of any shell optimizations that allow amortized linear growth over 370# repeated appends, instead of the typical quadratic growth present in naive 371# implementations. 372if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 373 eval 'as_fn_append () 374 { 375 eval $1+=\$2 376 }' 377else 378 as_fn_append () 379 { 380 eval $1=\$$1\$2 381 } 382fi # as_fn_append 383 384# as_fn_arith ARG... 385# ------------------ 386# Perform arithmetic evaluation on the ARGs, and store the result in the 387# global $as_val. Take advantage of shells that can avoid forks. The arguments 388# must be portable across $(()) and expr. 389if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 390 eval 'as_fn_arith () 391 { 392 as_val=$(( $* )) 393 }' 394else 395 as_fn_arith () 396 { 397 as_val=`expr "$@" || test $? -eq 1` 398 } 399fi # as_fn_arith 400 401 402# as_fn_error STATUS ERROR [LINENO LOG_FD] 403# ---------------------------------------- 404# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 405# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 406# script with STATUS, using 1 if that was 0. 407as_fn_error () 408{ 409 as_status=$1; test $as_status -eq 0 && as_status=1 410 if test "$4"; then 411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 413 fi 414 $as_echo "$as_me: error: $2" >&2 415 as_fn_exit $as_status 416} # as_fn_error 417 418if expr a : '\(a\)' >/dev/null 2>&1 && 419 test "X`expr 00001 : '.*\(...\)'`" = X001; then 420 as_expr=expr 421else 422 as_expr=false 423fi 424 425if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 426 as_basename=basename 427else 428 as_basename=false 429fi 430 431if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 432 as_dirname=dirname 433else 434 as_dirname=false 435fi 436 437as_me=`$as_basename -- "$0" || 438$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 439 X"$0" : 'X\(//\)$' \| \ 440 X"$0" : 'X\(/\)' \| . 2>/dev/null || 441$as_echo X/"$0" | 442 sed '/^.*\/\([^/][^/]*\)\/*$/{ 443 s//\1/ 444 q 445 } 446 /^X\/\(\/\/\)$/{ 447 s//\1/ 448 q 449 } 450 /^X\/\(\/\).*/{ 451 s//\1/ 452 q 453 } 454 s/.*/./; q'` 455 456# Avoid depending upon Character Ranges. 457as_cr_letters='abcdefghijklmnopqrstuvwxyz' 458as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 459as_cr_Letters=$as_cr_letters$as_cr_LETTERS 460as_cr_digits='0123456789' 461as_cr_alnum=$as_cr_Letters$as_cr_digits 462 463 464 as_lineno_1=$LINENO as_lineno_1a=$LINENO 465 as_lineno_2=$LINENO as_lineno_2a=$LINENO 466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 469 sed -n ' 470 p 471 /[$]LINENO/= 472 ' <$as_myself | 473 sed ' 474 s/[$]LINENO.*/&-/ 475 t lineno 476 b 477 :lineno 478 N 479 :loop 480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 481 t loop 482 s/-\n.*// 483 ' >$as_me.lineno && 484 chmod +x "$as_me.lineno" || 485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 486 487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 488 # already done that, so ensure we don't try to do so again and fall 489 # in an infinite loop. This has already happened in practice. 490 _as_can_reexec=no; export _as_can_reexec 491 # Don't try to exec as it changes $[0], causing all sort of problems 492 # (the dirname of $[0] is not the place where we might find the 493 # original and so on. Autoconf is especially sensitive to this). 494 . "./$as_me.lineno" 495 # Exit status is that of the last command. 496 exit 497} 498 499ECHO_C= ECHO_N= ECHO_T= 500case `echo -n x` in #((((( 501-n*) 502 case `echo 'xy\c'` in 503 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 504 xy) ECHO_C='\c';; 505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 506 ECHO_T=' ';; 507 esac;; 508*) 509 ECHO_N='-n';; 510esac 511 512rm -f conf$$ conf$$.exe conf$$.file 513if test -d conf$$.dir; then 514 rm -f conf$$.dir/conf$$.file 515else 516 rm -f conf$$.dir 517 mkdir conf$$.dir 2>/dev/null 518fi 519if (echo >conf$$.file) 2>/dev/null; then 520 if ln -s conf$$.file conf$$ 2>/dev/null; then 521 as_ln_s='ln -s' 522 # ... but there are two gotchas: 523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 525 # In both cases, we have to default to `cp -pR'. 526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 527 as_ln_s='cp -pR' 528 elif ln conf$$.file conf$$ 2>/dev/null; then 529 as_ln_s=ln 530 else 531 as_ln_s='cp -pR' 532 fi 533else 534 as_ln_s='cp -pR' 535fi 536rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 537rmdir conf$$.dir 2>/dev/null 538 539if mkdir -p . 2>/dev/null; then 540 as_mkdir_p='mkdir -p "$as_dir"' 541else 542 test -d ./-p && rmdir ./-p 543 as_mkdir_p=false 544fi 545 546as_test_x='test -x' 547as_executable_p=as_fn_executable_p 548 549# Sed expression to map a string onto a valid CPP name. 550as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 551 552# Sed expression to map a string onto a valid variable name. 553as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 554 555 556test -n "$DJDIR" || exec 7<&0 </dev/null 557exec 6>&1 558 559# Name of the host. 560# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 561# so uname gets run too. 562ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 563 564# 565# Initializations. 566# 567ac_default_prefix=/usr/local 568ac_clean_files= 569ac_config_libobj_dir=. 570LIBOBJS= 571cross_compiling=no 572subdirs= 573MFLAGS= 574MAKEFLAGS= 575 576# Identity of this package. 577PACKAGE_NAME= 578PACKAGE_TARNAME= 579PACKAGE_VERSION= 580PACKAGE_STRING= 581PACKAGE_BUGREPORT= 582PACKAGE_URL= 583 584ac_unique_file="src/libsbml_wrap.cpp" 585ac_subst_vars='LTLIBOBJS 586LIBOBJS 587CPPFLAGS 588target_alias 589host_alias 590build_alias 591LIBS 592ECHO_T 593ECHO_N 594ECHO_C 595DEFS 596mandir 597localedir 598libdir 599psdir 600pdfdir 601dvidir 602htmldir 603infodir 604docdir 605oldincludedir 606includedir 607localstatedir 608sharedstatedir 609sysconfdir 610datadir 611datarootdir 612libexecdir 613sbindir 614bindir 615program_transform_name 616prefix 617exec_prefix 618PACKAGE_URL 619PACKAGE_BUGREPORT 620PACKAGE_STRING 621PACKAGE_VERSION 622PACKAGE_TARNAME 623PACKAGE_NAME 624PATH_SEPARATOR 625SHELL' 626ac_subst_files='' 627ac_user_opts=' 628enable_option_checking 629with_xml2_config 630' 631 ac_precious_vars='build_alias 632host_alias 633target_alias' 634 635 636# Initialize some variables set by options. 637ac_init_help= 638ac_init_version=false 639ac_unrecognized_opts= 640ac_unrecognized_sep= 641# The variables have the same names as the options, with 642# dashes changed to underlines. 643cache_file=/dev/null 644exec_prefix=NONE 645no_create= 646no_recursion= 647prefix=NONE 648program_prefix=NONE 649program_suffix=NONE 650program_transform_name=s,x,x, 651silent= 652site= 653srcdir= 654verbose= 655x_includes=NONE 656x_libraries=NONE 657 658# Installation directory options. 659# These are left unexpanded so users can "make install exec_prefix=/foo" 660# and all the variables that are supposed to be based on exec_prefix 661# by default will actually change. 662# Use braces instead of parens because sh, perl, etc. also accept them. 663# (The list follows the same order as the GNU Coding Standards.) 664bindir='${exec_prefix}/bin' 665sbindir='${exec_prefix}/sbin' 666libexecdir='${exec_prefix}/libexec' 667datarootdir='${prefix}/share' 668datadir='${datarootdir}' 669sysconfdir='${prefix}/etc' 670sharedstatedir='${prefix}/com' 671localstatedir='${prefix}/var' 672includedir='${prefix}/include' 673oldincludedir='/usr/include' 674docdir='${datarootdir}/doc/${PACKAGE}' 675infodir='${datarootdir}/info' 676htmldir='${docdir}' 677dvidir='${docdir}' 678pdfdir='${docdir}' 679psdir='${docdir}' 680libdir='${exec_prefix}/lib' 681localedir='${datarootdir}/locale' 682mandir='${datarootdir}/man' 683 684ac_prev= 685ac_dashdash= 686for ac_option 687do 688 # If the previous option needs an argument, assign it. 689 if test -n "$ac_prev"; then 690 eval $ac_prev=\$ac_option 691 ac_prev= 692 continue 693 fi 694 695 case $ac_option in 696 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 697 *=) ac_optarg= ;; 698 *) ac_optarg=yes ;; 699 esac 700 701 # Accept the important Cygnus configure options, so we can diagnose typos. 702 703 case $ac_dashdash$ac_option in 704 --) 705 ac_dashdash=yes ;; 706 707 -bindir | --bindir | --bindi | --bind | --bin | --bi) 708 ac_prev=bindir ;; 709 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 710 bindir=$ac_optarg ;; 711 712 -build | --build | --buil | --bui | --bu) 713 ac_prev=build_alias ;; 714 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 715 build_alias=$ac_optarg ;; 716 717 -cache-file | --cache-file | --cache-fil | --cache-fi \ 718 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 719 ac_prev=cache_file ;; 720 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 721 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 722 cache_file=$ac_optarg ;; 723 724 --config-cache | -C) 725 cache_file=config.cache ;; 726 727 -datadir | --datadir | --datadi | --datad) 728 ac_prev=datadir ;; 729 -datadir=* | --datadir=* | --datadi=* | --datad=*) 730 datadir=$ac_optarg ;; 731 732 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 733 | --dataroo | --dataro | --datar) 734 ac_prev=datarootdir ;; 735 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 736 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 737 datarootdir=$ac_optarg ;; 738 739 -disable-* | --disable-*) 740 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 741 # Reject names that are not valid shell variable names. 742 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 743 as_fn_error $? "invalid feature name: $ac_useropt" 744 ac_useropt_orig=$ac_useropt 745 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 746 case $ac_user_opts in 747 *" 748"enable_$ac_useropt" 749"*) ;; 750 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 751 ac_unrecognized_sep=', ';; 752 esac 753 eval enable_$ac_useropt=no ;; 754 755 -docdir | --docdir | --docdi | --doc | --do) 756 ac_prev=docdir ;; 757 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 758 docdir=$ac_optarg ;; 759 760 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 761 ac_prev=dvidir ;; 762 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 763 dvidir=$ac_optarg ;; 764 765 -enable-* | --enable-*) 766 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 767 # Reject names that are not valid shell variable names. 768 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 769 as_fn_error $? "invalid feature name: $ac_useropt" 770 ac_useropt_orig=$ac_useropt 771 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 772 case $ac_user_opts in 773 *" 774"enable_$ac_useropt" 775"*) ;; 776 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 777 ac_unrecognized_sep=', ';; 778 esac 779 eval enable_$ac_useropt=\$ac_optarg ;; 780 781 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 782 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 783 | --exec | --exe | --ex) 784 ac_prev=exec_prefix ;; 785 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 786 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 787 | --exec=* | --exe=* | --ex=*) 788 exec_prefix=$ac_optarg ;; 789 790 -gas | --gas | --ga | --g) 791 # Obsolete; use --with-gas. 792 with_gas=yes ;; 793 794 -help | --help | --hel | --he | -h) 795 ac_init_help=long ;; 796 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 797 ac_init_help=recursive ;; 798 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 799 ac_init_help=short ;; 800 801 -host | --host | --hos | --ho) 802 ac_prev=host_alias ;; 803 -host=* | --host=* | --hos=* | --ho=*) 804 host_alias=$ac_optarg ;; 805 806 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 807 ac_prev=htmldir ;; 808 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 809 | --ht=*) 810 htmldir=$ac_optarg ;; 811 812 -includedir | --includedir | --includedi | --included | --include \ 813 | --includ | --inclu | --incl | --inc) 814 ac_prev=includedir ;; 815 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 816 | --includ=* | --inclu=* | --incl=* | --inc=*) 817 includedir=$ac_optarg ;; 818 819 -infodir | --infodir | --infodi | --infod | --info | --inf) 820 ac_prev=infodir ;; 821 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 822 infodir=$ac_optarg ;; 823 824 -libdir | --libdir | --libdi | --libd) 825 ac_prev=libdir ;; 826 -libdir=* | --libdir=* | --libdi=* | --libd=*) 827 libdir=$ac_optarg ;; 828 829 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 830 | --libexe | --libex | --libe) 831 ac_prev=libexecdir ;; 832 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 833 | --libexe=* | --libex=* | --libe=*) 834 libexecdir=$ac_optarg ;; 835 836 -localedir | --localedir | --localedi | --localed | --locale) 837 ac_prev=localedir ;; 838 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 839 localedir=$ac_optarg ;; 840 841 -localstatedir | --localstatedir | --localstatedi | --localstated \ 842 | --localstate | --localstat | --localsta | --localst | --locals) 843 ac_prev=localstatedir ;; 844 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 845 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 846 localstatedir=$ac_optarg ;; 847 848 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 849 ac_prev=mandir ;; 850 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 851 mandir=$ac_optarg ;; 852 853 -nfp | --nfp | --nf) 854 # Obsolete; use --without-fp. 855 with_fp=no ;; 856 857 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 858 | --no-cr | --no-c | -n) 859 no_create=yes ;; 860 861 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 862 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 863 no_recursion=yes ;; 864 865 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 866 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 867 | --oldin | --oldi | --old | --ol | --o) 868 ac_prev=oldincludedir ;; 869 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 870 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 871 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 872 oldincludedir=$ac_optarg ;; 873 874 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 875 ac_prev=prefix ;; 876 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 877 prefix=$ac_optarg ;; 878 879 -program-prefix | --program-prefix | --program-prefi | --program-pref \ 880 | --program-pre | --program-pr | --program-p) 881 ac_prev=program_prefix ;; 882 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 883 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 884 program_prefix=$ac_optarg ;; 885 886 -program-suffix | --program-suffix | --program-suffi | --program-suff \ 887 | --program-suf | --program-su | --program-s) 888 ac_prev=program_suffix ;; 889 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 890 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 891 program_suffix=$ac_optarg ;; 892 893 -program-transform-name | --program-transform-name \ 894 | --program-transform-nam | --program-transform-na \ 895 | --program-transform-n | --program-transform- \ 896 | --program-transform | --program-transfor \ 897 | --program-transfo | --program-transf \ 898 | --program-trans | --program-tran \ 899 | --progr-tra | --program-tr | --program-t) 900 ac_prev=program_transform_name ;; 901 -program-transform-name=* | --program-transform-name=* \ 902 | --program-transform-nam=* | --program-transform-na=* \ 903 | --program-transform-n=* | --program-transform-=* \ 904 | --program-transform=* | --program-transfor=* \ 905 | --program-transfo=* | --program-transf=* \ 906 | --program-trans=* | --program-tran=* \ 907 | --progr-tra=* | --program-tr=* | --program-t=*) 908 program_transform_name=$ac_optarg ;; 909 910 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 911 ac_prev=pdfdir ;; 912 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 913 pdfdir=$ac_optarg ;; 914 915 -psdir | --psdir | --psdi | --psd | --ps) 916 ac_prev=psdir ;; 917 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 918 psdir=$ac_optarg ;; 919 920 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 921 | -silent | --silent | --silen | --sile | --sil) 922 silent=yes ;; 923 924 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 925 ac_prev=sbindir ;; 926 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 927 | --sbi=* | --sb=*) 928 sbindir=$ac_optarg ;; 929 930 -sharedstatedir | --sharedstatedir | --sharedstatedi \ 931 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 932 | --sharedst | --shareds | --shared | --share | --shar \ 933 | --sha | --sh) 934 ac_prev=sharedstatedir ;; 935 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 936 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 937 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 938 | --sha=* | --sh=*) 939 sharedstatedir=$ac_optarg ;; 940 941 -site | --site | --sit) 942 ac_prev=site ;; 943 -site=* | --site=* | --sit=*) 944 site=$ac_optarg ;; 945 946 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 947 ac_prev=srcdir ;; 948 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 949 srcdir=$ac_optarg ;; 950 951 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 952 | --syscon | --sysco | --sysc | --sys | --sy) 953 ac_prev=sysconfdir ;; 954 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 955 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 956 sysconfdir=$ac_optarg ;; 957 958 -target | --target | --targe | --targ | --tar | --ta | --t) 959 ac_prev=target_alias ;; 960 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 961 target_alias=$ac_optarg ;; 962 963 -v | -verbose | --verbose | --verbos | --verbo | --verb) 964 verbose=yes ;; 965 966 -version | --version | --versio | --versi | --vers | -V) 967 ac_init_version=: ;; 968 969 -with-* | --with-*) 970 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 971 # Reject names that are not valid shell variable names. 972 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 973 as_fn_error $? "invalid package name: $ac_useropt" 974 ac_useropt_orig=$ac_useropt 975 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 976 case $ac_user_opts in 977 *" 978"with_$ac_useropt" 979"*) ;; 980 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 981 ac_unrecognized_sep=', ';; 982 esac 983 eval with_$ac_useropt=\$ac_optarg ;; 984 985 -without-* | --without-*) 986 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 987 # Reject names that are not valid shell variable names. 988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 989 as_fn_error $? "invalid package name: $ac_useropt" 990 ac_useropt_orig=$ac_useropt 991 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 992 case $ac_user_opts in 993 *" 994"with_$ac_useropt" 995"*) ;; 996 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 997 ac_unrecognized_sep=', ';; 998 esac 999 eval with_$ac_useropt=no ;; 1000 1001 --x) 1002 # Obsolete; use --with-x. 1003 with_x=yes ;; 1004 1005 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1006 | --x-incl | --x-inc | --x-in | --x-i) 1007 ac_prev=x_includes ;; 1008 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1009 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1010 x_includes=$ac_optarg ;; 1011 1012 -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1013 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1014 ac_prev=x_libraries ;; 1015 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1016 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1017 x_libraries=$ac_optarg ;; 1018 1019 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1020Try \`$0 --help' for more information" 1021 ;; 1022 1023 *=*) 1024 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1025 # Reject names that are not valid shell variable names. 1026 case $ac_envvar in #( 1027 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1028 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1029 esac 1030 eval $ac_envvar=\$ac_optarg 1031 export $ac_envvar ;; 1032 1033 *) 1034 # FIXME: should be removed in autoconf 3.0. 1035 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1036 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1037 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1038 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1039 ;; 1040 1041 esac 1042done 1043 1044if test -n "$ac_prev"; then 1045 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1046 as_fn_error $? "missing argument to $ac_option" 1047fi 1048 1049if test -n "$ac_unrecognized_opts"; then 1050 case $enable_option_checking in 1051 no) ;; 1052 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1053 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1054 esac 1055fi 1056 1057# Check all directory arguments for consistency. 1058for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1059 datadir sysconfdir sharedstatedir localstatedir includedir \ 1060 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1061 libdir localedir mandir 1062do 1063 eval ac_val=\$$ac_var 1064 # Remove trailing slashes. 1065 case $ac_val in 1066 */ ) 1067 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1068 eval $ac_var=\$ac_val;; 1069 esac 1070 # Be sure to have absolute directory names. 1071 case $ac_val in 1072 [\\/$]* | ?:[\\/]* ) continue;; 1073 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1074 esac 1075 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1076done 1077 1078# There might be people who depend on the old broken behavior: `$host' 1079# used to hold the argument of --host etc. 1080# FIXME: To remove some day. 1081build=$build_alias 1082host=$host_alias 1083target=$target_alias 1084 1085# FIXME: To remove some day. 1086if test "x$host_alias" != x; then 1087 if test "x$build_alias" = x; then 1088 cross_compiling=maybe 1089 elif test "x$build_alias" != "x$host_alias"; then 1090 cross_compiling=yes 1091 fi 1092fi 1093 1094ac_tool_prefix= 1095test -n "$host_alias" && ac_tool_prefix=$host_alias- 1096 1097test "$silent" = yes && exec 6>/dev/null 1098 1099 1100ac_pwd=`pwd` && test -n "$ac_pwd" && 1101ac_ls_di=`ls -di .` && 1102ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1103 as_fn_error $? "working directory cannot be determined" 1104test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1105 as_fn_error $? "pwd does not report name of working directory" 1106 1107 1108# Find the source files, if location was not specified. 1109if test -z "$srcdir"; then 1110 ac_srcdir_defaulted=yes 1111 # Try the directory containing this script, then the parent directory. 1112 ac_confdir=`$as_dirname -- "$as_myself" || 1113$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1114 X"$as_myself" : 'X\(//\)[^/]' \| \ 1115 X"$as_myself" : 'X\(//\)$' \| \ 1116 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1117$as_echo X"$as_myself" | 1118 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1119 s//\1/ 1120 q 1121 } 1122 /^X\(\/\/\)[^/].*/{ 1123 s//\1/ 1124 q 1125 } 1126 /^X\(\/\/\)$/{ 1127 s//\1/ 1128 q 1129 } 1130 /^X\(\/\).*/{ 1131 s//\1/ 1132 q 1133 } 1134 s/.*/./; q'` 1135 srcdir=$ac_confdir 1136 if test ! -r "$srcdir/$ac_unique_file"; then 1137 srcdir=.. 1138 fi 1139else 1140 ac_srcdir_defaulted=no 1141fi 1142if test ! -r "$srcdir/$ac_unique_file"; then 1143 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1144 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1145fi 1146ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1147ac_abs_confdir=`( 1148 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1149 pwd)` 1150# When building in place, set srcdir=. 1151if test "$ac_abs_confdir" = "$ac_pwd"; then 1152 srcdir=. 1153fi 1154# Remove unnecessary trailing slashes from srcdir. 1155# Double slashes in file names in object file debugging info 1156# mess up M-x gdb in Emacs. 1157case $srcdir in 1158*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1159esac 1160for ac_var in $ac_precious_vars; do 1161 eval ac_env_${ac_var}_set=\${${ac_var}+set} 1162 eval ac_env_${ac_var}_value=\$${ac_var} 1163 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1164 eval ac_cv_env_${ac_var}_value=\$${ac_var} 1165done 1166 1167# 1168# Report the --help message. 1169# 1170if test "$ac_init_help" = "long"; then 1171 # Omit some internal or obsolete options to make the list less imposing. 1172 # This message is too long to be a string in the A/UX 3.1 sh. 1173 cat <<_ACEOF 1174\`configure' configures this package to adapt to many kinds of systems. 1175 1176Usage: $0 [OPTION]... [VAR=VALUE]... 1177 1178To assign environment variables (e.g., CC, CFLAGS...), specify them as 1179VAR=VALUE. See below for descriptions of some of the useful variables. 1180 1181Defaults for the options are specified in brackets. 1182 1183Configuration: 1184 -h, --help display this help and exit 1185 --help=short display options specific to this package 1186 --help=recursive display the short help of all the included packages 1187 -V, --version display version information and exit 1188 -q, --quiet, --silent do not print \`checking ...' messages 1189 --cache-file=FILE cache test results in FILE [disabled] 1190 -C, --config-cache alias for \`--cache-file=config.cache' 1191 -n, --no-create do not create output files 1192 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1193 1194Installation directories: 1195 --prefix=PREFIX install architecture-independent files in PREFIX 1196 [$ac_default_prefix] 1197 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1198 [PREFIX] 1199 1200By default, \`make install' will install all the files in 1201\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1202an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1203for instance \`--prefix=\$HOME'. 1204 1205For better control, use the options below. 1206 1207Fine tuning of the installation directories: 1208 --bindir=DIR user executables [EPREFIX/bin] 1209 --sbindir=DIR system admin executables [EPREFIX/sbin] 1210 --libexecdir=DIR program executables [EPREFIX/libexec] 1211 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1212 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1213 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1214 --libdir=DIR object code libraries [EPREFIX/lib] 1215 --includedir=DIR C header files [PREFIX/include] 1216 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1217 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1218 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1219 --infodir=DIR info documentation [DATAROOTDIR/info] 1220 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1221 --mandir=DIR man documentation [DATAROOTDIR/man] 1222 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1223 --htmldir=DIR html documentation [DOCDIR] 1224 --dvidir=DIR dvi documentation [DOCDIR] 1225 --pdfdir=DIR pdf documentation [DOCDIR] 1226 --psdir=DIR ps documentation [DOCDIR] 1227_ACEOF 1228 1229 cat <<\_ACEOF 1230_ACEOF 1231fi 1232 1233if test -n "$ac_init_help"; then 1234 1235 cat <<\_ACEOF 1236 1237Optional Packages: 1238 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1239 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1240 --with-xml2-config the xml2-config configuration script 1241 1242Report bugs to the package provider. 1243_ACEOF 1244ac_status=$? 1245fi 1246 1247if test "$ac_init_help" = "recursive"; then 1248 # If there are subdirs, report their specific --help. 1249 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1250 test -d "$ac_dir" || 1251 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1252 continue 1253 ac_builddir=. 1254 1255case "$ac_dir" in 1256.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1257*) 1258 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1259 # A ".." for each directory in $ac_dir_suffix. 1260 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1261 case $ac_top_builddir_sub in 1262 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1263 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1264 esac ;; 1265esac 1266ac_abs_top_builddir=$ac_pwd 1267ac_abs_builddir=$ac_pwd$ac_dir_suffix 1268# for backward compatibility: 1269ac_top_builddir=$ac_top_build_prefix 1270 1271case $srcdir in 1272 .) # We are building in place. 1273 ac_srcdir=. 1274 ac_top_srcdir=$ac_top_builddir_sub 1275 ac_abs_top_srcdir=$ac_pwd ;; 1276 [\\/]* | ?:[\\/]* ) # Absolute name. 1277 ac_srcdir=$srcdir$ac_dir_suffix; 1278 ac_top_srcdir=$srcdir 1279 ac_abs_top_srcdir=$srcdir ;; 1280 *) # Relative name. 1281 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1282 ac_top_srcdir=$ac_top_build_prefix$srcdir 1283 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1284esac 1285ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1286 1287 cd "$ac_dir" || { ac_status=$?; continue; } 1288 # Check for guested configure. 1289 if test -f "$ac_srcdir/configure.gnu"; then 1290 echo && 1291 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1292 elif test -f "$ac_srcdir/configure"; then 1293 echo && 1294 $SHELL "$ac_srcdir/configure" --help=recursive 1295 else 1296 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1297 fi || ac_status=$? 1298 cd "$ac_pwd" || { ac_status=$?; break; } 1299 done 1300fi 1301 1302test -n "$ac_init_help" && exit $ac_status 1303if $ac_init_version; then 1304 cat <<\_ACEOF 1305configure 1306generated by GNU Autoconf 2.69 1307 1308Copyright (C) 2012 Free Software Foundation, Inc. 1309This configure script is free software; the Free Software Foundation 1310gives unlimited permission to copy, distribute and modify it. 1311_ACEOF 1312 exit 1313fi 1314 1315## ------------------------ ## 1316## Autoconf initialization. ## 1317## ------------------------ ## 1318cat >config.log <<_ACEOF 1319This file contains any messages produced by compilers while 1320running configure, to aid debugging if configure makes a mistake. 1321 1322It was created by $as_me, which was 1323generated by GNU Autoconf 2.69. Invocation command line was 1324 1325 $ $0 $@ 1326 1327_ACEOF 1328exec 5>>config.log 1329{ 1330cat <<_ASUNAME 1331## --------- ## 1332## Platform. ## 1333## --------- ## 1334 1335hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1336uname -m = `(uname -m) 2>/dev/null || echo unknown` 1337uname -r = `(uname -r) 2>/dev/null || echo unknown` 1338uname -s = `(uname -s) 2>/dev/null || echo unknown` 1339uname -v = `(uname -v) 2>/dev/null || echo unknown` 1340 1341/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1342/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1343 1344/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1345/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1346/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1347/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1348/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1349/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1350/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1351 1352_ASUNAME 1353 1354as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1355for as_dir in $PATH 1356do 1357 IFS=$as_save_IFS 1358 test -z "$as_dir" && as_dir=. 1359 $as_echo "PATH: $as_dir" 1360 done 1361IFS=$as_save_IFS 1362 1363} >&5 1364 1365cat >&5 <<_ACEOF 1366 1367 1368## ----------- ## 1369## Core tests. ## 1370## ----------- ## 1371 1372_ACEOF 1373 1374 1375# Keep a trace of the command line. 1376# Strip out --no-create and --no-recursion so they do not pile up. 1377# Strip out --silent because we don't want to record it for future runs. 1378# Also quote any args containing shell meta-characters. 1379# Make two passes to allow for proper duplicate-argument suppression. 1380ac_configure_args= 1381ac_configure_args0= 1382ac_configure_args1= 1383ac_must_keep_next=false 1384for ac_pass in 1 2 1385do 1386 for ac_arg 1387 do 1388 case $ac_arg in 1389 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1390 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1391 | -silent | --silent | --silen | --sile | --sil) 1392 continue ;; 1393 *\'*) 1394 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1395 esac 1396 case $ac_pass in 1397 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1398 2) 1399 as_fn_append ac_configure_args1 " '$ac_arg'" 1400 if test $ac_must_keep_next = true; then 1401 ac_must_keep_next=false # Got value, back to normal. 1402 else 1403 case $ac_arg in 1404 *=* | --config-cache | -C | -disable-* | --disable-* \ 1405 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1406 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1407 | -with-* | --with-* | -without-* | --without-* | --x) 1408 case "$ac_configure_args0 " in 1409 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1410 esac 1411 ;; 1412 -* ) ac_must_keep_next=true ;; 1413 esac 1414 fi 1415 as_fn_append ac_configure_args " '$ac_arg'" 1416 ;; 1417 esac 1418 done 1419done 1420{ ac_configure_args0=; unset ac_configure_args0;} 1421{ ac_configure_args1=; unset ac_configure_args1;} 1422 1423# When interrupted or exit'd, cleanup temporary files, and complete 1424# config.log. We remove comments because anyway the quotes in there 1425# would cause problems or look ugly. 1426# WARNING: Use '\'' to represent an apostrophe within the trap. 1427# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1428trap 'exit_status=$? 1429 # Save into config.log some information that might help in debugging. 1430 { 1431 echo 1432 1433 $as_echo "## ---------------- ## 1434## Cache variables. ## 1435## ---------------- ##" 1436 echo 1437 # The following way of writing the cache mishandles newlines in values, 1438( 1439 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1440 eval ac_val=\$$ac_var 1441 case $ac_val in #( 1442 *${as_nl}*) 1443 case $ac_var in #( 1444 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1445$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1446 esac 1447 case $ac_var in #( 1448 _ | IFS | as_nl) ;; #( 1449 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1450 *) { eval $ac_var=; unset $ac_var;} ;; 1451 esac ;; 1452 esac 1453 done 1454 (set) 2>&1 | 1455 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1456 *${as_nl}ac_space=\ *) 1457 sed -n \ 1458 "s/'\''/'\''\\\\'\'''\''/g; 1459 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1460 ;; #( 1461 *) 1462 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1463 ;; 1464 esac | 1465 sort 1466) 1467 echo 1468 1469 $as_echo "## ----------------- ## 1470## Output variables. ## 1471## ----------------- ##" 1472 echo 1473 for ac_var in $ac_subst_vars 1474 do 1475 eval ac_val=\$$ac_var 1476 case $ac_val in 1477 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1478 esac 1479 $as_echo "$ac_var='\''$ac_val'\''" 1480 done | sort 1481 echo 1482 1483 if test -n "$ac_subst_files"; then 1484 $as_echo "## ------------------- ## 1485## File substitutions. ## 1486## ------------------- ##" 1487 echo 1488 for ac_var in $ac_subst_files 1489 do 1490 eval ac_val=\$$ac_var 1491 case $ac_val in 1492 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1493 esac 1494 $as_echo "$ac_var='\''$ac_val'\''" 1495 done | sort 1496 echo 1497 fi 1498 1499 if test -s confdefs.h; then 1500 $as_echo "## ----------- ## 1501## confdefs.h. ## 1502## ----------- ##" 1503 echo 1504 cat confdefs.h 1505 echo 1506 fi 1507 test "$ac_signal" != 0 && 1508 $as_echo "$as_me: caught signal $ac_signal" 1509 $as_echo "$as_me: exit $exit_status" 1510 } >&5 1511 rm -f core *.core core.conftest.* && 1512 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1513 exit $exit_status 1514' 0 1515for ac_signal in 1 2 13 15; do 1516 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1517done 1518ac_signal=0 1519 1520# confdefs.h avoids OS command line length limits that DEFS can exceed. 1521rm -f -r conftest* confdefs.h 1522 1523$as_echo "/* confdefs.h */" > confdefs.h 1524 1525# Predefined preprocessor variables. 1526 1527cat >>confdefs.h <<_ACEOF 1528#define PACKAGE_NAME "$PACKAGE_NAME" 1529_ACEOF 1530 1531cat >>confdefs.h <<_ACEOF 1532#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1533_ACEOF 1534 1535cat >>confdefs.h <<_ACEOF 1536#define PACKAGE_VERSION "$PACKAGE_VERSION" 1537_ACEOF 1538 1539cat >>confdefs.h <<_ACEOF 1540#define PACKAGE_STRING "$PACKAGE_STRING" 1541_ACEOF 1542 1543cat >>confdefs.h <<_ACEOF 1544#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1545_ACEOF 1546 1547cat >>confdefs.h <<_ACEOF 1548#define PACKAGE_URL "$PACKAGE_URL" 1549_ACEOF 1550 1551 1552# Let the site file select an alternate cache file if it wants to. 1553# Prefer an explicitly selected file to automatically selected ones. 1554ac_site_file1=NONE 1555ac_site_file2=NONE 1556if test -n "$CONFIG_SITE"; then 1557 # We do not want a PATH search for config.site. 1558 case $CONFIG_SITE in #(( 1559 -*) ac_site_file1=./$CONFIG_SITE;; 1560 */*) ac_site_file1=$CONFIG_SITE;; 1561 *) ac_site_file1=./$CONFIG_SITE;; 1562 esac 1563elif test "x$prefix" != xNONE; then 1564 ac_site_file1=$prefix/share/config.site 1565 ac_site_file2=$prefix/etc/config.site 1566else 1567 ac_site_file1=$ac_default_prefix/share/config.site 1568 ac_site_file2=$ac_default_prefix/etc/config.site 1569fi 1570for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1571do 1572 test "x$ac_site_file" = xNONE && continue 1573 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1574 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1575$as_echo "$as_me: loading site script $ac_site_file" >&6;} 1576 sed 's/^/| /' "$ac_site_file" >&5 1577 . "$ac_site_file" \ 1578 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1579$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1580as_fn_error $? "failed to load site script $ac_site_file 1581See \`config.log' for more details" "$LINENO" 5; } 1582 fi 1583done 1584 1585if test -r "$cache_file"; then 1586 # Some versions of bash will fail to source /dev/null (special files 1587 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1588 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1589 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1590$as_echo "$as_me: loading cache $cache_file" >&6;} 1591 case $cache_file in 1592 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1593 *) . "./$cache_file";; 1594 esac 1595 fi 1596else 1597 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1598$as_echo "$as_me: creating cache $cache_file" >&6;} 1599 >$cache_file 1600fi 1601 1602# Check that the precious variables saved in the cache have kept the same 1603# value. 1604ac_cache_corrupted=false 1605for ac_var in $ac_precious_vars; do 1606 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1607 eval ac_new_set=\$ac_env_${ac_var}_set 1608 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1609 eval ac_new_val=\$ac_env_${ac_var}_value 1610 case $ac_old_set,$ac_new_set in 1611 set,) 1612 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1613$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1614 ac_cache_corrupted=: ;; 1615 ,set) 1616 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1617$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1618 ac_cache_corrupted=: ;; 1619 ,);; 1620 *) 1621 if test "x$ac_old_val" != "x$ac_new_val"; then 1622 # differences in whitespace do not lead to failure. 1623 ac_old_val_w=`echo x $ac_old_val` 1624 ac_new_val_w=`echo x $ac_new_val` 1625 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1626 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1627$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1628 ac_cache_corrupted=: 1629 else 1630 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1631$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1632 eval $ac_var=\$ac_old_val 1633 fi 1634 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1635$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1636 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1637$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1638 fi;; 1639 esac 1640 # Pass precious variables to config.status. 1641 if test "$ac_new_set" = set; then 1642 case $ac_new_val in 1643 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1644 *) ac_arg=$ac_var=$ac_new_val ;; 1645 esac 1646 case " $ac_configure_args " in 1647 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1648 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1649 esac 1650 fi 1651done 1652if $ac_cache_corrupted; then 1653 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1654$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1655 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1656$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1657 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1658fi 1659## -------------------- ## 1660## Main body of script. ## 1661## -------------------- ## 1662 1663ac_ext=c 1664ac_cpp='$CPP $CPPFLAGS' 1665ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1666ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1667ac_compiler_gnu=$ac_cv_c_compiler_gnu 1668 1669 1670 1671: ${R_HOME=`R RHOME`} 1672if test -z "${R_HOME}"; then 1673 echo "could not determine R_HOME" 1674 exit 1 1675fi 1676 1677CC=`"${R_HOME}/bin/R" CMD config CC` 1678CFLAGS=`"${R_HOME}/bin/R" CMD config CFLAGS` 1679CPPFLAGS=`"${R_HOME}/bin/R" CMD config CPPFLAGS` 1680 1681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for xml2-config script" >&5 1682$as_echo_n "checking for xml2-config script... " >&6; } 1683 1684 1685# Check whether --with-xml2-config was given. 1686if test "${with_xml2_config+set}" = set; then : 1687 withval=$with_xml2_config; with_xml2_config=${withval} 1688fi 1689 1690 1691LIBXML2_CONFIG= 1692if test "x${with_xml2_config}" = "x" ; then 1693 for c in \ 1694 /Library/Frameworks/libxml.framework/Resources/Scripts/xml2-config \ 1695 ${prefix}/bin/xml2-config \ 1696 /usr/bin/xml2-config \ 1697 /usr/local/bin/xml2-config 1698 do 1699 if test -x "$c" ; then 1700 LIBXML2_CONFIG="$c" 1701 break 1702 fi 1703 done 1704else 1705 LIBXML2_CONFIG="${with_xml2_config}" 1706fi 1707if test "x$LIBXML2_CONFIG" = "x" ; then 1708 as_fn_error $? "unable to find xml2-config" "$LINENO" 5 1709else 1710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${LIBXML2_CONFIG}" >&5 1711$as_echo "${LIBXML2_CONFIG}" >&6; } 1712 XML2_VERSION=`${LIBXML2_CONFIG} --version` 1713 XML2_PREFIX=`${LIBXML2_CONFIG} --prefix` 1714 XML2_LIBS="`${LIBXML2_CONFIG} --libs`" 1715 XML2_CFLAGS=`${LIBXML2_CONFIG} --cflags` 1716fi 1717 1718if test -n "${LIBSBML_INCLUDE}" ; then 1719 LIBSBML_CPPFLAGS="-I${LIBSBML_INCLUDE}" 1720else 1721 LIBSBML_CPPFLAGS="-I/usr/include/sbml -I/usr/local/include/sbml" 1722fi 1723PACKAGE_FLAGS="-DUSE_COMP=1 -DUSE_GROUPS=1 -DUSE_MULTI=1 -DUSE_LAYOUT=1 -DUSE_FBC=1 -DUSE_QUAL=1 -DUSE_LIBXML=1 -DUSE_RENDER=1" 1724CPPFLAGS="${CPPFLAGS} -I./src -I./src/sbml -Iswig -Isbml -I. -I../.. ${PACKAGE_FLAGS} ${LIBSBML_CPPFLAGS} ${XML2_CFLAGS}" 1725 1726LIBS="${XML2_LIBS}" 1727if test -n "${LIBSBML_LIBS}" ; then 1728 LIBS="${LIBS} -L${LIBSBML_LIBS} ${LIBS}" 1729fi 1730 1731 1732 1733ac_config_files="$ac_config_files src/Makevars" 1734 1735cat >confcache <<\_ACEOF 1736# This file is a shell script that caches the results of configure 1737# tests run on this system so they can be shared between configure 1738# scripts and configure runs, see configure's option --config-cache. 1739# It is not useful on other systems. If it contains results you don't 1740# want to keep, you may remove or edit it. 1741# 1742# config.status only pays attention to the cache file if you give it 1743# the --recheck option to rerun configure. 1744# 1745# `ac_cv_env_foo' variables (set or unset) will be overridden when 1746# loading this file, other *unset* `ac_cv_foo' will be assigned the 1747# following values. 1748 1749_ACEOF 1750 1751# The following way of writing the cache mishandles newlines in values, 1752# but we know of no workaround that is simple, portable, and efficient. 1753# So, we kill variables containing newlines. 1754# Ultrix sh set writes to stderr and can't be redirected directly, 1755# and sets the high bit in the cache file unless we assign to the vars. 1756( 1757 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 1758 eval ac_val=\$$ac_var 1759 case $ac_val in #( 1760 *${as_nl}*) 1761 case $ac_var in #( 1762 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1763$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1764 esac 1765 case $ac_var in #( 1766 _ | IFS | as_nl) ;; #( 1767 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1768 *) { eval $ac_var=; unset $ac_var;} ;; 1769 esac ;; 1770 esac 1771 done 1772 1773 (set) 2>&1 | 1774 case $as_nl`(ac_space=' '; set) 2>&1` in #( 1775 *${as_nl}ac_space=\ *) 1776 # `set' does not quote correctly, so add quotes: double-quote 1777 # substitution turns \\\\ into \\, and sed turns \\ into \. 1778 sed -n \ 1779 "s/'/'\\\\''/g; 1780 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 1781 ;; #( 1782 *) 1783 # `set' quotes correctly as required by POSIX, so do not add quotes. 1784 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1785 ;; 1786 esac | 1787 sort 1788) | 1789 sed ' 1790 /^ac_cv_env_/b end 1791 t clear 1792 :clear 1793 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 1794 t end 1795 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 1796 :end' >>confcache 1797if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 1798 if test -w "$cache_file"; then 1799 if test "x$cache_file" != "x/dev/null"; then 1800 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 1801$as_echo "$as_me: updating cache $cache_file" >&6;} 1802 if test ! -f "$cache_file" || test -h "$cache_file"; then 1803 cat confcache >"$cache_file" 1804 else 1805 case $cache_file in #( 1806 */* | ?:*) 1807 mv -f confcache "$cache_file"$$ && 1808 mv -f "$cache_file"$$ "$cache_file" ;; #( 1809 *) 1810 mv -f confcache "$cache_file" ;; 1811 esac 1812 fi 1813 fi 1814 else 1815 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 1816$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 1817 fi 1818fi 1819rm -f confcache 1820 1821test "x$prefix" = xNONE && prefix=$ac_default_prefix 1822# Let make expand exec_prefix. 1823test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 1824 1825# Transform confdefs.h into DEFS. 1826# Protect against shell expansion while executing Makefile rules. 1827# Protect against Makefile macro expansion. 1828# 1829# If the first sed substitution is executed (which looks for macros that 1830# take arguments), then branch to the quote section. Otherwise, 1831# look for a macro that doesn't take arguments. 1832ac_script=' 1833:mline 1834/\\$/{ 1835 N 1836 s,\\\n,, 1837 b mline 1838} 1839t clear 1840:clear 1841s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 1842t quote 1843s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 1844t quote 1845b any 1846:quote 1847s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 1848s/\[/\\&/g 1849s/\]/\\&/g 1850s/\$/$$/g 1851H 1852:any 1853${ 1854 g 1855 s/^\n// 1856 s/\n/ /g 1857 p 1858} 1859' 1860DEFS=`sed -n "$ac_script" confdefs.h` 1861 1862 1863ac_libobjs= 1864ac_ltlibobjs= 1865U= 1866for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 1867 # 1. Remove the extension, and $U if already installed. 1868 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 1869 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 1870 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 1871 # will be set to the directory where LIBOBJS objects are built. 1872 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 1873 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 1874done 1875LIBOBJS=$ac_libobjs 1876 1877LTLIBOBJS=$ac_ltlibobjs 1878 1879 1880 1881: "${CONFIG_STATUS=./config.status}" 1882ac_write_fail=0 1883ac_clean_files_save=$ac_clean_files 1884ac_clean_files="$ac_clean_files $CONFIG_STATUS" 1885{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 1886$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 1887as_write_fail=0 1888cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 1889#! $SHELL 1890# Generated by $as_me. 1891# Run this file to recreate the current configuration. 1892# Compiler output produced by configure, useful for debugging 1893# configure, is in config.log if it exists. 1894 1895debug=false 1896ac_cs_recheck=false 1897ac_cs_silent=false 1898 1899SHELL=\${CONFIG_SHELL-$SHELL} 1900export SHELL 1901_ASEOF 1902cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 1903## -------------------- ## 1904## M4sh Initialization. ## 1905## -------------------- ## 1906 1907# Be more Bourne compatible 1908DUALCASE=1; export DUALCASE # for MKS sh 1909if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 1910 emulate sh 1911 NULLCMD=: 1912 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 1913 # is contrary to our usage. Disable this feature. 1914 alias -g '${1+"$@"}'='"$@"' 1915 setopt NO_GLOB_SUBST 1916else 1917 case `(set -o) 2>/dev/null` in #( 1918 *posix*) : 1919 set -o posix ;; #( 1920 *) : 1921 ;; 1922esac 1923fi 1924 1925 1926as_nl=' 1927' 1928export as_nl 1929# Printing a long string crashes Solaris 7 /usr/bin/printf. 1930as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 1931as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 1932as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 1933# Prefer a ksh shell builtin over an external printf program on Solaris, 1934# but without wasting forks for bash or zsh. 1935if test -z "$BASH_VERSION$ZSH_VERSION" \ 1936 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 1937 as_echo='print -r --' 1938 as_echo_n='print -rn --' 1939elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 1940 as_echo='printf %s\n' 1941 as_echo_n='printf %s' 1942else 1943 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 1944 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 1945 as_echo_n='/usr/ucb/echo -n' 1946 else 1947 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 1948 as_echo_n_body='eval 1949 arg=$1; 1950 case $arg in #( 1951 *"$as_nl"*) 1952 expr "X$arg" : "X\\(.*\\)$as_nl"; 1953 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 1954 esac; 1955 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 1956 ' 1957 export as_echo_n_body 1958 as_echo_n='sh -c $as_echo_n_body as_echo' 1959 fi 1960 export as_echo_body 1961 as_echo='sh -c $as_echo_body as_echo' 1962fi 1963 1964# The user is always right. 1965if test "${PATH_SEPARATOR+set}" != set; then 1966 PATH_SEPARATOR=: 1967 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 1968 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 1969 PATH_SEPARATOR=';' 1970 } 1971fi 1972 1973 1974# IFS 1975# We need space, tab and new line, in precisely that order. Quoting is 1976# there to prevent editors from complaining about space-tab. 1977# (If _AS_PATH_WALK were called with IFS unset, it would disable word 1978# splitting by setting IFS to empty value.) 1979IFS=" "" $as_nl" 1980 1981# Find who we are. Look in the path if we contain no directory separator. 1982as_myself= 1983case $0 in #(( 1984 *[\\/]* ) as_myself=$0 ;; 1985 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1986for as_dir in $PATH 1987do 1988 IFS=$as_save_IFS 1989 test -z "$as_dir" && as_dir=. 1990 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 1991 done 1992IFS=$as_save_IFS 1993 1994 ;; 1995esac 1996# We did not find ourselves, most probably we were run as `sh COMMAND' 1997# in which case we are not to be found in the path. 1998if test "x$as_myself" = x; then 1999 as_myself=$0 2000fi 2001if test ! -f "$as_myself"; then 2002 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 2003 exit 1 2004fi 2005 2006# Unset variables that we do not need and which cause bugs (e.g. in 2007# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 2008# suppresses any "Segmentation fault" message there. '((' could 2009# trigger a bug in pdksh 5.2.14. 2010for as_var in BASH_ENV ENV MAIL MAILPATH 2011do eval test x\${$as_var+set} = xset \ 2012 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 2013done 2014PS1='$ ' 2015PS2='> ' 2016PS4='+ ' 2017 2018# NLS nuisances. 2019LC_ALL=C 2020export LC_ALL 2021LANGUAGE=C 2022export LANGUAGE 2023 2024# CDPATH. 2025(unset CDPATH) >/dev/null 2>&1 && unset CDPATH 2026 2027 2028# as_fn_error STATUS ERROR [LINENO LOG_FD] 2029# ---------------------------------------- 2030# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 2031# provided, also output the error to LOG_FD, referencing LINENO. Then exit the 2032# script with STATUS, using 1 if that was 0. 2033as_fn_error () 2034{ 2035 as_status=$1; test $as_status -eq 0 && as_status=1 2036 if test "$4"; then 2037 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2038 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 2039 fi 2040 $as_echo "$as_me: error: $2" >&2 2041 as_fn_exit $as_status 2042} # as_fn_error 2043 2044 2045# as_fn_set_status STATUS 2046# ----------------------- 2047# Set $? to STATUS, without forking. 2048as_fn_set_status () 2049{ 2050 return $1 2051} # as_fn_set_status 2052 2053# as_fn_exit STATUS 2054# ----------------- 2055# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 2056as_fn_exit () 2057{ 2058 set +e 2059 as_fn_set_status $1 2060 exit $1 2061} # as_fn_exit 2062 2063# as_fn_unset VAR 2064# --------------- 2065# Portably unset VAR. 2066as_fn_unset () 2067{ 2068 { eval $1=; unset $1;} 2069} 2070as_unset=as_fn_unset 2071# as_fn_append VAR VALUE 2072# ---------------------- 2073# Append the text in VALUE to the end of the definition contained in VAR. Take 2074# advantage of any shell optimizations that allow amortized linear growth over 2075# repeated appends, instead of the typical quadratic growth present in naive 2076# implementations. 2077if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 2078 eval 'as_fn_append () 2079 { 2080 eval $1+=\$2 2081 }' 2082else 2083 as_fn_append () 2084 { 2085 eval $1=\$$1\$2 2086 } 2087fi # as_fn_append 2088 2089# as_fn_arith ARG... 2090# ------------------ 2091# Perform arithmetic evaluation on the ARGs, and store the result in the 2092# global $as_val. Take advantage of shells that can avoid forks. The arguments 2093# must be portable across $(()) and expr. 2094if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 2095 eval 'as_fn_arith () 2096 { 2097 as_val=$(( $* )) 2098 }' 2099else 2100 as_fn_arith () 2101 { 2102 as_val=`expr "$@" || test $? -eq 1` 2103 } 2104fi # as_fn_arith 2105 2106 2107if expr a : '\(a\)' >/dev/null 2>&1 && 2108 test "X`expr 00001 : '.*\(...\)'`" = X001; then 2109 as_expr=expr 2110else 2111 as_expr=false 2112fi 2113 2114if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 2115 as_basename=basename 2116else 2117 as_basename=false 2118fi 2119 2120if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 2121 as_dirname=dirname 2122else 2123 as_dirname=false 2124fi 2125 2126as_me=`$as_basename -- "$0" || 2127$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 2128 X"$0" : 'X\(//\)$' \| \ 2129 X"$0" : 'X\(/\)' \| . 2>/dev/null || 2130$as_echo X/"$0" | 2131 sed '/^.*\/\([^/][^/]*\)\/*$/{ 2132 s//\1/ 2133 q 2134 } 2135 /^X\/\(\/\/\)$/{ 2136 s//\1/ 2137 q 2138 } 2139 /^X\/\(\/\).*/{ 2140 s//\1/ 2141 q 2142 } 2143 s/.*/./; q'` 2144 2145# Avoid depending upon Character Ranges. 2146as_cr_letters='abcdefghijklmnopqrstuvwxyz' 2147as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 2148as_cr_Letters=$as_cr_letters$as_cr_LETTERS 2149as_cr_digits='0123456789' 2150as_cr_alnum=$as_cr_Letters$as_cr_digits 2151 2152ECHO_C= ECHO_N= ECHO_T= 2153case `echo -n x` in #((((( 2154-n*) 2155 case `echo 'xy\c'` in 2156 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 2157 xy) ECHO_C='\c';; 2158 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 2159 ECHO_T=' ';; 2160 esac;; 2161*) 2162 ECHO_N='-n';; 2163esac 2164 2165rm -f conf$$ conf$$.exe conf$$.file 2166if test -d conf$$.dir; then 2167 rm -f conf$$.dir/conf$$.file 2168else 2169 rm -f conf$$.dir 2170 mkdir conf$$.dir 2>/dev/null 2171fi 2172if (echo >conf$$.file) 2>/dev/null; then 2173 if ln -s conf$$.file conf$$ 2>/dev/null; then 2174 as_ln_s='ln -s' 2175 # ... but there are two gotchas: 2176 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 2177 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 2178 # In both cases, we have to default to `cp -pR'. 2179 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 2180 as_ln_s='cp -pR' 2181 elif ln conf$$.file conf$$ 2>/dev/null; then 2182 as_ln_s=ln 2183 else 2184 as_ln_s='cp -pR' 2185 fi 2186else 2187 as_ln_s='cp -pR' 2188fi 2189rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 2190rmdir conf$$.dir 2>/dev/null 2191 2192 2193# as_fn_mkdir_p 2194# ------------- 2195# Create "$as_dir" as a directory, including parents if necessary. 2196as_fn_mkdir_p () 2197{ 2198 2199 case $as_dir in #( 2200 -*) as_dir=./$as_dir;; 2201 esac 2202 test -d "$as_dir" || eval $as_mkdir_p || { 2203 as_dirs= 2204 while :; do 2205 case $as_dir in #( 2206 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 2207 *) as_qdir=$as_dir;; 2208 esac 2209 as_dirs="'$as_qdir' $as_dirs" 2210 as_dir=`$as_dirname -- "$as_dir" || 2211$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 2212 X"$as_dir" : 'X\(//\)[^/]' \| \ 2213 X"$as_dir" : 'X\(//\)$' \| \ 2214 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 2215$as_echo X"$as_dir" | 2216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 2217 s//\1/ 2218 q 2219 } 2220 /^X\(\/\/\)[^/].*/{ 2221 s//\1/ 2222 q 2223 } 2224 /^X\(\/\/\)$/{ 2225 s//\1/ 2226 q 2227 } 2228 /^X\(\/\).*/{ 2229 s//\1/ 2230 q 2231 } 2232 s/.*/./; q'` 2233 test -d "$as_dir" && break 2234 done 2235 test -z "$as_dirs" || eval "mkdir $as_dirs" 2236 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 2237 2238 2239} # as_fn_mkdir_p 2240if mkdir -p . 2>/dev/null; then 2241 as_mkdir_p='mkdir -p "$as_dir"' 2242else 2243 test -d ./-p && rmdir ./-p 2244 as_mkdir_p=false 2245fi 2246 2247 2248# as_fn_executable_p FILE 2249# ----------------------- 2250# Test if FILE is an executable regular file. 2251as_fn_executable_p () 2252{ 2253 test -f "$1" && test -x "$1" 2254} # as_fn_executable_p 2255as_test_x='test -x' 2256as_executable_p=as_fn_executable_p 2257 2258# Sed expression to map a string onto a valid CPP name. 2259as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 2260 2261# Sed expression to map a string onto a valid variable name. 2262as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 2263 2264 2265exec 6>&1 2266## ----------------------------------- ## 2267## Main body of $CONFIG_STATUS script. ## 2268## ----------------------------------- ## 2269_ASEOF 2270test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 2271 2272cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2273# Save the log message, to keep $0 and so on meaningful, and to 2274# report actual input values of CONFIG_FILES etc. instead of their 2275# values after options handling. 2276ac_log=" 2277This file was extended by $as_me, which was 2278generated by GNU Autoconf 2.69. Invocation command line was 2279 2280 CONFIG_FILES = $CONFIG_FILES 2281 CONFIG_HEADERS = $CONFIG_HEADERS 2282 CONFIG_LINKS = $CONFIG_LINKS 2283 CONFIG_COMMANDS = $CONFIG_COMMANDS 2284 $ $0 $@ 2285 2286on `(hostname || uname -n) 2>/dev/null | sed 1q` 2287" 2288 2289_ACEOF 2290 2291case $ac_config_files in *" 2292"*) set x $ac_config_files; shift; ac_config_files=$*;; 2293esac 2294 2295 2296 2297cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2298# Files that config.status was made for. 2299config_files="$ac_config_files" 2300 2301_ACEOF 2302 2303cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2304ac_cs_usage="\ 2305\`$as_me' instantiates files and other configuration actions 2306from templates according to the current configuration. Unless the files 2307and actions are specified as TAGs, all are instantiated by default. 2308 2309Usage: $0 [OPTION]... [TAG]... 2310 2311 -h, --help print this help, then exit 2312 -V, --version print version number and configuration settings, then exit 2313 --config print configuration, then exit 2314 -q, --quiet, --silent 2315 do not print progress messages 2316 -d, --debug don't remove temporary files 2317 --recheck update $as_me by reconfiguring in the same conditions 2318 --file=FILE[:TEMPLATE] 2319 instantiate the configuration file FILE 2320 2321Configuration files: 2322$config_files 2323 2324Report bugs to the package provider." 2325 2326_ACEOF 2327cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2328ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 2329ac_cs_version="\\ 2330config.status 2331configured by $0, generated by GNU Autoconf 2.69, 2332 with options \\"\$ac_cs_config\\" 2333 2334Copyright (C) 2012 Free Software Foundation, Inc. 2335This config.status script is free software; the Free Software Foundation 2336gives unlimited permission to copy, distribute and modify it." 2337 2338ac_pwd='$ac_pwd' 2339srcdir='$srcdir' 2340test -n "\$AWK" || AWK=awk 2341_ACEOF 2342 2343cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2344# The default lists apply if the user does not specify any file. 2345ac_need_defaults=: 2346while test $# != 0 2347do 2348 case $1 in 2349 --*=?*) 2350 ac_option=`expr "X$1" : 'X\([^=]*\)='` 2351 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 2352 ac_shift=: 2353 ;; 2354 --*=) 2355 ac_option=`expr "X$1" : 'X\([^=]*\)='` 2356 ac_optarg= 2357 ac_shift=: 2358 ;; 2359 *) 2360 ac_option=$1 2361 ac_optarg=$2 2362 ac_shift=shift 2363 ;; 2364 esac 2365 2366 case $ac_option in 2367 # Handling of the options. 2368 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 2369 ac_cs_recheck=: ;; 2370 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 2371 $as_echo "$ac_cs_version"; exit ;; 2372 --config | --confi | --conf | --con | --co | --c ) 2373 $as_echo "$ac_cs_config"; exit ;; 2374 --debug | --debu | --deb | --de | --d | -d ) 2375 debug=: ;; 2376 --file | --fil | --fi | --f ) 2377 $ac_shift 2378 case $ac_optarg in 2379 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 2380 '') as_fn_error $? "missing file argument" ;; 2381 esac 2382 as_fn_append CONFIG_FILES " '$ac_optarg'" 2383 ac_need_defaults=false;; 2384 --he | --h | --help | --hel | -h ) 2385 $as_echo "$ac_cs_usage"; exit ;; 2386 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2387 | -silent | --silent | --silen | --sile | --sil | --si | --s) 2388 ac_cs_silent=: ;; 2389 2390 # This is an error. 2391 -*) as_fn_error $? "unrecognized option: \`$1' 2392Try \`$0 --help' for more information." ;; 2393 2394 *) as_fn_append ac_config_targets " $1" 2395 ac_need_defaults=false ;; 2396 2397 esac 2398 shift 2399done 2400 2401ac_configure_extra_args= 2402 2403if $ac_cs_silent; then 2404 exec 6>/dev/null 2405 ac_configure_extra_args="$ac_configure_extra_args --silent" 2406fi 2407 2408_ACEOF 2409cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2410if \$ac_cs_recheck; then 2411 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 2412 shift 2413 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 2414 CONFIG_SHELL='$SHELL' 2415 export CONFIG_SHELL 2416 exec "\$@" 2417fi 2418 2419_ACEOF 2420cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2421exec 5>>config.log 2422{ 2423 echo 2424 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 2425## Running $as_me. ## 2426_ASBOX 2427 $as_echo "$ac_log" 2428} >&5 2429 2430_ACEOF 2431cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2432_ACEOF 2433 2434cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2435 2436# Handling of arguments. 2437for ac_config_target in $ac_config_targets 2438do 2439 case $ac_config_target in 2440 "src/Makevars") CONFIG_FILES="$CONFIG_FILES src/Makevars" ;; 2441 2442 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 2443 esac 2444done 2445 2446 2447# If the user did not use the arguments to specify the items to instantiate, 2448# then the envvar interface is used. Set only those that are not. 2449# We use the long form for the default assignment because of an extremely 2450# bizarre bug on SunOS 4.1.3. 2451if $ac_need_defaults; then 2452 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 2453fi 2454 2455# Have a temporary directory for convenience. Make it in the build tree 2456# simply because there is no reason against having it here, and in addition, 2457# creating and moving files from /tmp can sometimes cause problems. 2458# Hook for its removal unless debugging. 2459# Note that there is a small window in which the directory will not be cleaned: 2460# after its creation but before its name has been assigned to `$tmp'. 2461$debug || 2462{ 2463 tmp= ac_tmp= 2464 trap 'exit_status=$? 2465 : "${ac_tmp:=$tmp}" 2466 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 2467' 0 2468 trap 'as_fn_exit 1' 1 2 13 15 2469} 2470# Create a (secure) tmp directory for tmp files. 2471 2472{ 2473 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 2474 test -d "$tmp" 2475} || 2476{ 2477 tmp=./conf$$-$RANDOM 2478 (umask 077 && mkdir "$tmp") 2479} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 2480ac_tmp=$tmp 2481 2482# Set up the scripts for CONFIG_FILES section. 2483# No need to generate them if there are no CONFIG_FILES. 2484# This happens for instance with `./config.status config.h'. 2485if test -n "$CONFIG_FILES"; then 2486 2487 2488ac_cr=`echo X | tr X '\015'` 2489# On cygwin, bash can eat \r inside `` if the user requested igncr. 2490# But we know of no other shell where ac_cr would be empty at this 2491# point, so we can use a bashism as a fallback. 2492if test "x$ac_cr" = x; then 2493 eval ac_cr=\$\'\\r\' 2494fi 2495ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 2496if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 2497 ac_cs_awk_cr='\\r' 2498else 2499 ac_cs_awk_cr=$ac_cr 2500fi 2501 2502echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 2503_ACEOF 2504 2505 2506{ 2507 echo "cat >conf$$subs.awk <<_ACEOF" && 2508 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 2509 echo "_ACEOF" 2510} >conf$$subs.sh || 2511 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 2512ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 2513ac_delim='%!_!# ' 2514for ac_last_try in false false false false false :; do 2515 . ./conf$$subs.sh || 2516 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 2517 2518 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 2519 if test $ac_delim_n = $ac_delim_num; then 2520 break 2521 elif $ac_last_try; then 2522 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 2523 else 2524 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 2525 fi 2526done 2527rm -f conf$$subs.sh 2528 2529cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2530cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 2531_ACEOF 2532sed -n ' 2533h 2534s/^/S["/; s/!.*/"]=/ 2535p 2536g 2537s/^[^!]*!// 2538:repl 2539t repl 2540s/'"$ac_delim"'$// 2541t delim 2542:nl 2543h 2544s/\(.\{148\}\)..*/\1/ 2545t more1 2546s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 2547p 2548n 2549b repl 2550:more1 2551s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 2552p 2553g 2554s/.\{148\}// 2555t nl 2556:delim 2557h 2558s/\(.\{148\}\)..*/\1/ 2559t more2 2560s/["\\]/\\&/g; s/^/"/; s/$/"/ 2561p 2562b 2563:more2 2564s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 2565p 2566g 2567s/.\{148\}// 2568t delim 2569' <conf$$subs.awk | sed ' 2570/^[^""]/{ 2571 N 2572 s/\n// 2573} 2574' >>$CONFIG_STATUS || ac_write_fail=1 2575rm -f conf$$subs.awk 2576cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2577_ACAWK 2578cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 2579 for (key in S) S_is_set[key] = 1 2580 FS = "" 2581 2582} 2583{ 2584 line = $ 0 2585 nfields = split(line, field, "@") 2586 substed = 0 2587 len = length(field[1]) 2588 for (i = 2; i < nfields; i++) { 2589 key = field[i] 2590 keylen = length(key) 2591 if (S_is_set[key]) { 2592 value = S[key] 2593 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 2594 len += length(value) + length(field[++i]) 2595 substed = 1 2596 } else 2597 len += 1 + keylen 2598 } 2599 2600 print line 2601} 2602 2603_ACAWK 2604_ACEOF 2605cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2606if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 2607 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 2608else 2609 cat 2610fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 2611 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 2612_ACEOF 2613 2614# VPATH may cause trouble with some makes, so we remove sole $(srcdir), 2615# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 2616# trailing colons and then remove the whole line if VPATH becomes empty 2617# (actually we leave an empty line to preserve line numbers). 2618if test "x$srcdir" = x.; then 2619 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 2620h 2621s/// 2622s/^/:/ 2623s/[ ]*$/:/ 2624s/:\$(srcdir):/:/g 2625s/:\${srcdir}:/:/g 2626s/:@srcdir@:/:/g 2627s/^:*// 2628s/:*$// 2629x 2630s/\(=[ ]*\).*/\1/ 2631G 2632s/\n// 2633s/^[^=]*=[ ]*$// 2634}' 2635fi 2636 2637cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2638fi # test -n "$CONFIG_FILES" 2639 2640 2641eval set X " :F $CONFIG_FILES " 2642shift 2643for ac_tag 2644do 2645 case $ac_tag in 2646 :[FHLC]) ac_mode=$ac_tag; continue;; 2647 esac 2648 case $ac_mode$ac_tag in 2649 :[FHL]*:*);; 2650 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 2651 :[FH]-) ac_tag=-:-;; 2652 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 2653 esac 2654 ac_save_IFS=$IFS 2655 IFS=: 2656 set x $ac_tag 2657 IFS=$ac_save_IFS 2658 shift 2659 ac_file=$1 2660 shift 2661 2662 case $ac_mode in 2663 :L) ac_source=$1;; 2664 :[FH]) 2665 ac_file_inputs= 2666 for ac_f 2667 do 2668 case $ac_f in 2669 -) ac_f="$ac_tmp/stdin";; 2670 *) # Look for the file first in the build tree, then in the source tree 2671 # (if the path is not absolute). The absolute path cannot be DOS-style, 2672 # because $ac_f cannot contain `:'. 2673 test -f "$ac_f" || 2674 case $ac_f in 2675 [\\/$]*) false;; 2676 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 2677 esac || 2678 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 2679 esac 2680 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 2681 as_fn_append ac_file_inputs " '$ac_f'" 2682 done 2683 2684 # Let's still pretend it is `configure' which instantiates (i.e., don't 2685 # use $as_me), people would be surprised to read: 2686 # /* config.h. Generated by config.status. */ 2687 configure_input='Generated from '` 2688 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 2689 `' by configure.' 2690 if test x"$ac_file" != x-; then 2691 configure_input="$ac_file. $configure_input" 2692 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 2693$as_echo "$as_me: creating $ac_file" >&6;} 2694 fi 2695 # Neutralize special characters interpreted by sed in replacement strings. 2696 case $configure_input in #( 2697 *\&* | *\|* | *\\* ) 2698 ac_sed_conf_input=`$as_echo "$configure_input" | 2699 sed 's/[\\\\&|]/\\\\&/g'`;; #( 2700 *) ac_sed_conf_input=$configure_input;; 2701 esac 2702 2703 case $ac_tag in 2704 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 2705 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 2706 esac 2707 ;; 2708 esac 2709 2710 ac_dir=`$as_dirname -- "$ac_file" || 2711$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 2712 X"$ac_file" : 'X\(//\)[^/]' \| \ 2713 X"$ac_file" : 'X\(//\)$' \| \ 2714 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 2715$as_echo X"$ac_file" | 2716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 2717 s//\1/ 2718 q 2719 } 2720 /^X\(\/\/\)[^/].*/{ 2721 s//\1/ 2722 q 2723 } 2724 /^X\(\/\/\)$/{ 2725 s//\1/ 2726 q 2727 } 2728 /^X\(\/\).*/{ 2729 s//\1/ 2730 q 2731 } 2732 s/.*/./; q'` 2733 as_dir="$ac_dir"; as_fn_mkdir_p 2734 ac_builddir=. 2735 2736case "$ac_dir" in 2737.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 2738*) 2739 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 2740 # A ".." for each directory in $ac_dir_suffix. 2741 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 2742 case $ac_top_builddir_sub in 2743 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 2744 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 2745 esac ;; 2746esac 2747ac_abs_top_builddir=$ac_pwd 2748ac_abs_builddir=$ac_pwd$ac_dir_suffix 2749# for backward compatibility: 2750ac_top_builddir=$ac_top_build_prefix 2751 2752case $srcdir in 2753 .) # We are building in place. 2754 ac_srcdir=. 2755 ac_top_srcdir=$ac_top_builddir_sub 2756 ac_abs_top_srcdir=$ac_pwd ;; 2757 [\\/]* | ?:[\\/]* ) # Absolute name. 2758 ac_srcdir=$srcdir$ac_dir_suffix; 2759 ac_top_srcdir=$srcdir 2760 ac_abs_top_srcdir=$srcdir ;; 2761 *) # Relative name. 2762 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 2763 ac_top_srcdir=$ac_top_build_prefix$srcdir 2764 ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 2765esac 2766ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 2767 2768 2769 case $ac_mode in 2770 :F) 2771 # 2772 # CONFIG_FILE 2773 # 2774 2775_ACEOF 2776 2777cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2778# If the template does not know about datarootdir, expand it. 2779# FIXME: This hack should be removed a few years after 2.60. 2780ac_datarootdir_hack=; ac_datarootdir_seen= 2781ac_sed_dataroot=' 2782/datarootdir/ { 2783 p 2784 q 2785} 2786/@datadir@/p 2787/@docdir@/p 2788/@infodir@/p 2789/@localedir@/p 2790/@mandir@/p' 2791case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 2792*datarootdir*) ac_datarootdir_seen=yes;; 2793*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 2794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 2795$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 2796_ACEOF 2797cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2798 ac_datarootdir_hack=' 2799 s&@datadir@&$datadir&g 2800 s&@docdir@&$docdir&g 2801 s&@infodir@&$infodir&g 2802 s&@localedir@&$localedir&g 2803 s&@mandir@&$mandir&g 2804 s&\\\${datarootdir}&$datarootdir&g' ;; 2805esac 2806_ACEOF 2807 2808# Neutralize VPATH when `$srcdir' = `.'. 2809# Shell code in configure.ac might set extrasub. 2810# FIXME: do we really want to maintain this feature? 2811cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2812ac_sed_extra="$ac_vpsub 2813$extrasub 2814_ACEOF 2815cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2816:t 2817/@[a-zA-Z_][a-zA-Z_0-9]*@/!b 2818s|@configure_input@|$ac_sed_conf_input|;t t 2819s&@top_builddir@&$ac_top_builddir_sub&;t t 2820s&@top_build_prefix@&$ac_top_build_prefix&;t t 2821s&@srcdir@&$ac_srcdir&;t t 2822s&@abs_srcdir@&$ac_abs_srcdir&;t t 2823s&@top_srcdir@&$ac_top_srcdir&;t t 2824s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 2825s&@builddir@&$ac_builddir&;t t 2826s&@abs_builddir@&$ac_abs_builddir&;t t 2827s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 2828$ac_datarootdir_hack 2829" 2830eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 2831 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 2832 2833test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 2834 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 2835 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 2836 "$ac_tmp/out"`; test -z "$ac_out"; } && 2837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 2838which seems to be undefined. Please make sure it is defined" >&5 2839$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 2840which seems to be undefined. Please make sure it is defined" >&2;} 2841 2842 rm -f "$ac_tmp/stdin" 2843 case $ac_file in 2844 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 2845 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 2846 esac \ 2847 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 2848 ;; 2849 2850 2851 2852 esac 2853 2854done # for ac_tag 2855 2856 2857as_fn_exit 0 2858_ACEOF 2859ac_clean_files=$ac_clean_files_save 2860 2861test $ac_write_fail = 0 || 2862 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 2863 2864 2865# configure is writing to config.log, and then calls config.status. 2866# config.status does its own redirection, appending to config.log. 2867# Unfortunately, on DOS this fails, as config.log is still kept open 2868# by configure, so config.status won't be able to write to it; its 2869# output is simply discarded. So we exec the FD to /dev/null, 2870# effectively closing config.log, so it can be properly (re)opened and 2871# appended to by config.status. When coming back to configure, we 2872# need to make the FD available again. 2873if test "$no_create" != yes; then 2874 ac_cs_success=: 2875 ac_config_status_args= 2876 test "$silent" = yes && 2877 ac_config_status_args="$ac_config_status_args --quiet" 2878 exec 5>/dev/null 2879 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 2880 exec 5>>config.log 2881 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 2882 # would make configure fail if this is the last instruction. 2883 $ac_cs_success || as_fn_exit 1 2884fi 2885if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 2886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 2887$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 2888fi 2889 2890