From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id 89651385840D; Mon, 7 Nov 2022 16:26:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 89651385840D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1667838400; bh=njB4/hHcgiLYK1hHfZoSkAXucuUpKJjYnT9sEbMHDiY=; h=From:To:Subject:Date:From; b=Rh7S0kEkTVr73rFUZ+MAnIknlfpqQ0djmX88fjfqpDz3CO8EosXjSQq+P/U2m1GR2 p4K4F8gO5a567ko+iILgBOxcCIf55gpRuwJHuiHSuDenmou6ffBa1+TVjX/UMo5O8i YzG8Z1hT+EA1f5tRVMkOCq5LRLaq9F84+r5une+w= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: gdb-cvs@sourceware.org Subject: [binutils-gdb] sim: or1k: drop subdir configure logic X-Act-Checkin: binutils-gdb X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/master X-Git-Oldrev: ee79c7df308ff2931fa6d893da5b7ab3604e73a9 X-Git-Newrev: 763b20abcbfa3e35fc69ac3c8a56183039ee8c69 Message-Id: <20221107162640.89651385840D@sourceware.org> Date: Mon, 7 Nov 2022 16:26:40 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D763b20abcbfa= 3e35fc69ac3c8a56183039ee8c69 commit 763b20abcbfa3e35fc69ac3c8a56183039ee8c69 Author: Mike Frysinger Date: Mon Nov 7 23:04:25 2022 +0700 sim: or1k: drop subdir configure logic =20 We've been using this only to set the default word size to 32. We can easily move this into the makefile via a -D compiler flag and clean up the build logic quite a bit. Diff: --- sim/Makefile.in | 15 +- sim/configure | 24 +- sim/configure.ac | 2 +- sim/or1k/Makefile.in | 2 + sim/or1k/aclocal.m4 | 16 - sim/or1k/configure | 2932 ---------------------------------------------= ---- sim/or1k/configure.ac | 7 - 7 files changed, 32 insertions(+), 2966 deletions(-) diff --git a/sim/Makefile.in b/sim/Makefile.in index 88ef5b695f7..91535d4af72 100644 --- a/sim/Makefile.in +++ b/sim/Makefile.in @@ -257,12 +257,13 @@ CONFIG_CLEAN_FILES =3D Make-common.sim aarch64/Makefi= le.sim \ m68hc11/.gdbinit mcore/Makefile.sim mcore/.gdbinit \ microblaze/Makefile.sim microblaze/.gdbinit mips/.gdbinit \ mn10300/.gdbinit moxie/Makefile.sim moxie/.gdbinit \ - msp430/Makefile.sim msp430/.gdbinit or1k/.gdbinit ppc/.gdbinit \ - pru/Makefile.sim pru/.gdbinit riscv/Makefile.sim \ - riscv/.gdbinit rl78/Makefile.sim rl78/.gdbinit rx/Makefile.sim \ - rx/.gdbinit sh/Makefile.sim sh/.gdbinit erc32/Makefile.sim \ - erc32/.gdbinit v850/.gdbinit example-synacor/Makefile.sim \ - example-synacor/.gdbinit arch-subdir.mk .gdbinit + msp430/Makefile.sim msp430/.gdbinit or1k/Makefile.sim \ + or1k/.gdbinit ppc/.gdbinit pru/Makefile.sim pru/.gdbinit \ + riscv/Makefile.sim riscv/.gdbinit rl78/Makefile.sim \ + rl78/.gdbinit rx/Makefile.sim rx/.gdbinit sh/Makefile.sim \ + sh/.gdbinit erc32/Makefile.sim erc32/.gdbinit v850/.gdbinit \ + example-synacor/Makefile.sim example-synacor/.gdbinit \ + arch-subdir.mk .gdbinit CONFIG_CLEAN_VPATH_FILES =3D LIBRARIES =3D $(noinst_LIBRARIES) ARFLAGS =3D cru @@ -1768,6 +1769,8 @@ msp430/Makefile.sim: $(top_builddir)/config.status $(= top_srcdir)/msp430/Makefile cd $(top_builddir) && $(SHELL) ./config.status $@ msp430/.gdbinit: $(top_builddir)/config.status $(top_srcdir)/common/gdbini= t.in cd $(top_builddir) && $(SHELL) ./config.status $@ +or1k/Makefile.sim: $(top_builddir)/config.status $(top_srcdir)/or1k/Makefi= le.in + cd $(top_builddir) && $(SHELL) ./config.status $@ or1k/.gdbinit: $(top_builddir)/config.status $(top_srcdir)/common/gdbinit.= in cd $(top_builddir) && $(SHELL) ./config.status $@ ppc/.gdbinit: $(top_builddir)/config.status $(top_srcdir)/common/gdbinit.in diff --git a/sim/configure b/sim/configure index af93f479efa..d29220f69fb 100755 --- a/sim/configure +++ b/sim/configure @@ -1112,7 +1112,6 @@ LD_FOR_TARGET_EXAMPLE_SYNACOR CC_FOR_TARGET_EXAMPLE_SYNACOR' ac_subdirs_all=3D'mips mn10300 -or1k ppc v850' =20 @@ -12428,7 +12427,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12431 "configure" +#line 12430 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -12534,7 +12533,7 @@ else lt_dlunknown=3D0; lt_dlno_uscore=3D1; lt_dlneed_uscore=3D2 lt_status=3D$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12537 "configure" +#line 12536 "configure" #include "confdefs.h" =20 #if HAVE_DLFCN_H @@ -15331,8 +15330,11 @@ fi SIM_PRIMARY_TARGET=3Dor1k fi as_fn_append SIM_ENABLED_ARCHES " or1k" - subdirs=3D"$subdirs or1k" + ac_config_files=3D"$ac_config_files or1k/Makefile.sim:or1k/Makefile.= in" =20 + ac_config_commands=3D"$ac_config_commands or1k/Makefile" + + as_fn_append SIM_SUBDIRS " or1k" =20 ac_config_files=3D"$ac_config_files or1k/.gdbinit:common/gdbinit.in" =20 @@ -17552,6 +17554,8 @@ do "msp430/Makefile") CONFIG_COMMANDS=3D"$CONFIG_COMMANDS msp430/Makefile= " ;; "msp430/.gdbinit") CONFIG_FILES=3D"$CONFIG_FILES msp430/.gdbinit:commo= n/gdbinit.in" ;; "depdir-msp430") CONFIG_COMMANDS=3D"$CONFIG_COMMANDS depdir-msp430" ;; + "or1k/Makefile.sim") CONFIG_FILES=3D"$CONFIG_FILES or1k/Makefile.sim:o= r1k/Makefile.in" ;; + "or1k/Makefile") CONFIG_COMMANDS=3D"$CONFIG_COMMANDS or1k/Makefile" ;; "or1k/.gdbinit") CONFIG_FILES=3D"$CONFIG_FILES or1k/.gdbinit:common/gd= binit.in" ;; "depdir-or1k") CONFIG_COMMANDS=3D"$CONFIG_COMMANDS depdir-or1k" ;; "ppc/.gdbinit") CONFIG_FILES=3D"$CONFIG_FILES ppc/.gdbinit:common/gdbi= nit.in" ;; @@ -19178,6 +19182,18 @@ $as_echo X"$file" | rm -f msp430/Makesim1.tmp msp430/Makesim2.tmp ;; "depdir-msp430":C) $SHELL $ac_aux_dir/mkinstalldirs msp430/$DEPDIR ;; + "or1k/Makefile":C) sed -n \ + -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ { + /^srcdir =3D / s:$:/or1k: + p + }' \ + or1k/Makesim1.tmp + sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' or1k/Makesim2.tmp + sed -e '/^## COMMON_PRE_/ r or1k/Makesim1.tmp' \ + -e '/^## COMMON_POST_/ r or1k/Makesim2.tmp' \ + or1k/Makefile + rm -f or1k/Makesim1.tmp or1k/Makesim2.tmp + ;; "depdir-or1k":C) $SHELL $ac_aux_dir/mkinstalldirs or1k/$DEPDIR ;; "depdir-ppc":C) $SHELL $ac_aux_dir/mkinstalldirs ppc/$DEPDIR ;; "pru/Makefile":C) sed -n \ diff --git a/sim/configure.ac b/sim/configure.ac index c179e636a22..48bf75e8808 100644 --- a/sim/configure.ac +++ b/sim/configure.ac @@ -147,7 +147,7 @@ if test "${enable_sim}" !=3D no; then SIM_TARGET([mn10300*-*-*], [mn10300], [true], [sim_igen=3Dyes]) SIM_TARGET([moxie-*-*], [moxie]) SIM_TARGET([msp430*-*-*], [msp430]) - SIM_TARGET([or1k*-*-*], [or1k], [true]) + SIM_TARGET([or1k*-*-*], [or1k]) SIM_TARGET([powerpc*-*-*], [ppc], [true]) SIM_TARGET([pru*-*-*], [pru]) SIM_TARGET([riscv*-*-*], [riscv]) diff --git a/sim/or1k/Makefile.in b/sim/or1k/Makefile.in index fdf49835c7b..17c40bcdc54 100644 --- a/sim/or1k/Makefile.in +++ b/sim/or1k/Makefile.in @@ -40,6 +40,8 @@ SIM_OBJS =3D \ =20 SIM_OBJS +=3D $(OR1K_OBJS) =20 +SIM_EXTRA_CFLAGS =3D -DWITH_TARGET_WORD_BITSIZE=3D32 -DWITH_TARGET_WORD_MS= B=3D31 + ## COMMON_POST_CONFIG_FRAG =20 arch =3D or1k diff --git a/sim/or1k/aclocal.m4 b/sim/or1k/aclocal.m4 deleted file mode 100644 index 3b7f0c1f4a4..00000000000 --- a/sim/or1k/aclocal.m4 +++ /dev/null @@ -1,16 +0,0 @@ -# generated automatically by aclocal 1.15.1 -*- Autoconf -*- - -# Copyright (C) 1996-2017 Free Software Foundation, Inc. - -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY, to the extent permitted by law; without -# even the implied warranty of MERCHANTABILITY or FITNESS FOR A -# PARTICULAR PURPOSE. - -m4_ifndef([AC_CONFIG_MACRO_DIRS], [m4_defun([_AM_CONFIG_MACRO_DIRS], [])m4= _defun([AC_CONFIG_MACRO_DIRS], [_AM_CONFIG_MACRO_DIRS($@)])]) -m4_include([../m4/sim_ac_option_bitsize.m4]) -m4_include([../m4/sim_ac_output.m4]) diff --git a/sim/or1k/configure b/sim/or1k/configure deleted file mode 100755 index 569d09ba18e..00000000000 --- a/sim/or1k/configure +++ /dev/null @@ -1,2932 +0,0 @@ -#! /bin/sh -# Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69. -# -# -# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. -# -# -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=3D1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=3D: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'=3D'"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi - - -as_nl=3D' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo=3D'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\= \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" =3D "X$as_echo") 2>/dev/null; then - as_echo=3D'print -r --' - as_echo_n=3D'print -rn --' -elif (test "X`printf %s $as_echo`" =3D "X$as_echo") 2>/dev/null; then - as_echo=3D'printf %s\n' - as_echo_n=3D'printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" =3D "X-n $as_ech= o"; then - as_echo_body=3D'eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n=3D'/usr/ucb/echo -n' - else - as_echo_body=3D'eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body=3D'eval - arg=3D$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=3D`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n=3D'sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo=3D'sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" !=3D set; then - PATH_SEPARATOR=3D: - (PATH=3D'/bin;/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH=3D'/bin:/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=3D';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=3D" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -as_myself=3D -case $0 in #(( - *[\\/]* ) as_myself=3D$0 ;; - *) as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - test -r "$as_dir/$0" && as_myself=3D$as_dir/$0 && break - done -IFS=3D$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" =3D x; then - as_myself=3D$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute = file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} =3D xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1=3D'$ ' -PS2=3D'> ' -PS4=3D'+ ' - -# NLS nuisances. -LC_ALL=3DC -export LC_ALL -LANGUAGE=3DC -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - -# Use a proper internal environment variable to ensure we don't fall - # into an infinite loop, continuously re-executing ourselves. - if test x"${_as_can_reexec}" !=3D xno && test "x$CONFIG_SHELL" !=3D x; t= hen - _as_can_reexec=3Dno; export _as_can_reexec; - # We cannot yet assume a decent shell, so we have to provide a -# neutralization value for shells without unset; and this also -# works around shells that cannot unset nonexistent variables. -# Preserve -v and -x to the replacement shell. -BASH_ENV=3D/dev/null -ENV=3D/dev/null -(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV -case $- in # (((( - *v*x* | *x*v* ) as_opts=3D-vx ;; - *v* ) as_opts=3D-v ;; - *x* ) as_opts=3D-x ;; - * ) as_opts=3D ;; -esac -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} -# Admittedly, this is quite paranoid, since all the known shells bail -# out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -as_fn_exit 255 - fi - # We don't want this to propagate to other subprocesses. - { _as_can_reexec=3D; unset _as_can_reexec;} -if test "x$CONFIG_SHELL" =3D x; then - as_bourne_compatible=3D"if test -n \"\${ZSH_VERSION+set}\" && (emulate s= h) >/dev/null 2>&1; then : - emulate sh - NULLCMD=3D: - # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which - # is contrary to our usage. Disable this feature. - alias -g '\${1+\"\$@\"}'=3D'\"\$@\"' - setopt NO_GLOB_SUBST -else - case \`(set -o) 2>/dev/null\` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi -" - as_required=3D"as_fn_return () { (exit \$1); } -as_fn_success () { as_fn_return 0; } -as_fn_failure () { as_fn_return 1; } -as_fn_ret_success () { return 0; } -as_fn_ret_failure () { return 1; } - -exitcode=3D0 -as_fn_success || { exitcode=3D1; echo as_fn_success failed.; } -as_fn_failure && { exitcode=3D1; echo as_fn_failure succeeded.; } -as_fn_ret_success || { exitcode=3D1; echo as_fn_ret_success failed.; } -as_fn_ret_failure && { exitcode=3D1; echo as_fn_ret_failure succeeded.; } -if ( set x; as_fn_ret_success y && test x =3D \"\$1\" ); then : - -else - exitcode=3D1; echo positional parameters were not saved. -fi -test x\$exitcode =3D x0 || exit 1 -test -x / || exit 1" - as_suggested=3D" as_lineno_1=3D";as_suggested=3D$as_suggested$LINENO;as= _suggested=3D$as_suggested" as_lineno_1a=3D\$LINENO - as_lineno_2=3D";as_suggested=3D$as_suggested$LINENO;as_suggested=3D$as_s= uggested" as_lineno_2a=3D\$LINENO - eval 'test \"x\$as_lineno_1'\$as_run'\" !=3D \"x\$as_lineno_2'\$as_run'\= " && - test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" =3D \"x\$as_lineno_2'\$as= _run'\"' || exit 1" - if (eval "$as_required") 2>/dev/null; then : - as_have_required=3Dyes -else - as_have_required=3Dno -fi - if test x$as_have_required =3D xyes && (eval "$as_suggested") 2>/dev/nul= l; then : - -else - as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -as_found=3Dfalse -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - as_found=3D: - case $as_dir in #( - /*) - for as_base in sh bash ksh sh5; do - # Try only shells that exist, to save several forks. - as_shell=3D$as_dir/$as_base - if { test -f "$as_shell" || test -f "$as_shell.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=3Da "$as_s= hell"; } 2>/dev/null; then : - CONFIG_SHELL=3D$as_shell as_have_required=3Dyes - if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=3Da "$a= s_shell"; } 2>/dev/null; then : - break 2 -fi -fi - done;; - esac - as_found=3Dfalse -done -$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && - { $as_echo "$as_bourne_compatible""$as_required" | as_run=3Da "$SHE= LL"; } 2>/dev/null; then : - CONFIG_SHELL=3D$SHELL as_have_required=3Dyes -fi; } -IFS=3D$as_save_IFS - - - if test "x$CONFIG_SHELL" !=3D x; then : - export CONFIG_SHELL - # We cannot yet assume a decent shell, so we have to provide a -# neutralization value for shells without unset; and this also -# works around shells that cannot unset nonexistent variables. -# Preserve -v and -x to the replacement shell. -BASH_ENV=3D/dev/null -ENV=3D/dev/null -(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV -case $- in # (((( - *v*x* | *x*v* ) as_opts=3D-vx ;; - *v* ) as_opts=3D-v ;; - *x* ) as_opts=3D-x ;; - * ) as_opts=3D ;; -esac -exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} -# Admittedly, this is quite paranoid, since all the known shells bail -# out after a failed `exec'. -$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 -exit 255 -fi - - if test x$as_have_required =3D xno; then : - $as_echo "$0: This script requires a shell more modern than all" - $as_echo "$0: the shells that I found on your system." - if test x${ZSH_VERSION+set} =3D xset ; then - $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" - $as_echo "$0: be upgraded to zsh 4.3.4 or later." - else - $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, -$0: including any error possibly output before this -$0: message. Then install a modern shell, or manually run -$0: the script under such a shell if you do have one." - fi - exit 1 -fi -fi -fi -SHELL=3D${CONFIG_SHELL-/bin/sh} -export SHELL -# Unset more variables known to interfere with behavior of common tools. -CLICOLOR_FORCE=3D GREP_OPTIONS=3D -unset CLICOLOR_FORCE GREP_OPTIONS - -## --------------------- ## -## M4sh Shell Functions. ## -## --------------------- ## -# as_fn_unset VAR -# --------------- -# Portably unset VAR. -as_fn_unset () -{ - { eval $1=3D; unset $1;} -} -as_unset=3Das_fn_unset - -# as_fn_set_status STATUS -# ----------------------- -# Set $? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} # as_fn_set_status - -# as_fn_exit STATUS -# ----------------- -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} # as_fn_exit - -# as_fn_mkdir_p -# ------------- -# Create "$as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=3D./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs=3D - while :; do - case $as_dir in #( - *\'*) as_qdir=3D`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=3D$as_dir;; - esac - as_dirs=3D"'$as_qdir' $as_dirs" - as_dir=3D`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_di= r" - - -} # as_fn_mkdir_p - -# as_fn_executable_p FILE -# ----------------------- -# Test if FILE is an executable regular file. -as_fn_executable_p () -{ - test -f "$1" && test -x "$1" -} # as_fn_executable_p -# as_fn_append VAR VALUE -# ---------------------- -# Append the text in VALUE to the end of the definition contained in VAR. = Take -# advantage of any shell optimizations that allow amortized linear growth = over -# repeated appends, instead of the typical quadratic growth present in nai= ve -# implementations. -if (eval "as_var=3D1; as_var+=3D2; test x\$as_var =3D x12") 2>/dev/null; t= hen : - eval 'as_fn_append () - { - eval $1+=3D\$2 - }' -else - as_fn_append () - { - eval $1=3D\$$1\$2 - } -fi # as_fn_append - -# as_fn_arith ARG... -# ------------------ -# Perform arithmetic evaluation on the ARGs, and store the result in the -# global $as_val. Take advantage of shells that can avoid forks. The argum= ents -# must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) =3D 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=3D$(( $* )) - }' -else - as_fn_arith () - { - as_val=3D`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -# as_fn_error STATUS ERROR [LINENO LOG_FD] -# ---------------------------------------- -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -# provided, also output the error to LOG_FD, referencing LINENO. Then exit= the -# script with STATUS, using 1 if that was 0. -as_fn_error () -{ - as_status=3D$1; test $as_status -eq 0 && as_status=3D1 - if test "$4"; then - as_lineno=3D${as_lineno-"$3"} as_lineno_stack=3Das_lineno_stack=3D$as_= lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 - fi - $as_echo "$as_me: error: $2" >&2 - as_fn_exit $as_status -} # as_fn_error - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" =3D X001; then - as_expr=3Dexpr -else - as_expr=3Dfalse -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" =3D "X/= "; then - as_basename=3Dbasename -else - as_basename=3Dfalse -fi - -if (as_dir=3D`dirname -- /` && test "X$as_dir" =3D X/) >/dev/null 2>&1; th= en - as_dirname=3Ddirname -else - as_dirname=3Dfalse -fi - -as_me=3D`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters=3D'abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS=3D'ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=3D$as_cr_letters$as_cr_LETTERS -as_cr_digits=3D'0123456789' -as_cr_alnum=3D$as_cr_Letters$as_cr_digits - - - as_lineno_1=3D$LINENO as_lineno_1a=3D$LINENO - as_lineno_2=3D$LINENO as_lineno_2a=3D$LINENO - eval 'test "x$as_lineno_1'$as_run'" !=3D "x$as_lineno_2'$as_run'" && - test "x`expr $as_lineno_1'$as_run' + 1`" =3D "x$as_lineno_2'$as_run'"' |= | { - # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) - sed -n ' - p - /[$]LINENO/=3D - ' <$as_myself | - sed ' - s/[$]LINENO.*/&-/ - t lineno - b - :lineno - N - :loop - s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ - t loop - s/-\n.*// - ' >$as_me.lineno && - chmod +x "$as_me.lineno" || - { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a P= OSIX shell" >&2; as_fn_exit 1; } - - # If we had to re-execute with $CONFIG_SHELL, we're ensured to have - # already done that, so ensure we don't try to do so again and fall - # in an infinite loop. This has already happened in practice. - _as_can_reexec=3Dno; export _as_can_reexec - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensitive to this). - . "./$as_me.lineno" - # Exit status is that of the last command. - exit -} - -ECHO_C=3D ECHO_N=3D ECHO_T=3D -case `echo -n x` in #((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=3D' ';; # ECHO_T is single tab character. - xy) ECHO_C=3D'\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=3D' ';; - esac;; -*) - ECHO_N=3D'-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s=3D'ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executabl= e. - # In both cases, we have to default to `cp -pR'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s=3D'cp -pR' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=3Dln - else - as_ln_s=3D'cp -pR' - fi -else - as_ln_s=3D'cp -pR' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - -if mkdir -p . 2>/dev/null; then - as_mkdir_p=3D'mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=3Dfalse -fi - -as_test_x=3D'test -x' -as_executable_p=3Das_fn_executable_p - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp=3D"eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnu= m]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh=3D"eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -test -n "$DJDIR" || exec 7<&0 &1 - -# Name of the host. -# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit st= atus, -# so uname gets run too. -ac_hostname=3D`(hostname || uname -n) 2>/dev/null | sed 1q` - -# -# Initializations. -# -ac_default_prefix=3D/usr/local -ac_clean_files=3D -ac_config_libobj_dir=3D. -LIBOBJS=3D -cross_compiling=3Dno -subdirs=3D -MFLAGS=3D -MAKEFLAGS=3D - -# Identity of this package. -PACKAGE_NAME=3D -PACKAGE_TARNAME=3D -PACKAGE_VERSION=3D -PACKAGE_STRING=3D -PACKAGE_BUGREPORT=3D -PACKAGE_URL=3D - -ac_unique_file=3D"Makefile.in" -ac_subst_vars=3D'LTLIBOBJS -LIBOBJS -SIM_COMMON_BUILD_FALSE -SIM_COMMON_BUILD_TRUE -sim_float -target_alias -host_alias -build_alias -LIBS -ECHO_T -ECHO_N -ECHO_C -DEFS -mandir -localedir -libdir -psdir -pdfdir -dvidir -htmldir -infodir -docdir -oldincludedir -includedir -localstatedir -sharedstatedir -sysconfdir -datadir -datarootdir -libexecdir -sbindir -bindir -program_transform_name -prefix -exec_prefix -PACKAGE_URL -PACKAGE_BUGREPORT -PACKAGE_STRING -PACKAGE_VERSION -PACKAGE_TARNAME -PACKAGE_NAME -PATH_SEPARATOR -SHELL -sim_bitsize' -ac_subst_files=3D'' -ac_user_opts=3D' -enable_option_checking -enable_sim_bitsize -' - ac_precious_vars=3D'build_alias -host_alias -target_alias' - - -# Initialize some variables set by options. -ac_init_help=3D -ac_init_version=3Dfalse -ac_unrecognized_opts=3D -ac_unrecognized_sep=3D -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=3D/dev/null -exec_prefix=3DNONE -no_create=3D -no_recursion=3D -prefix=3DNONE -program_prefix=3DNONE -program_suffix=3DNONE -program_transform_name=3Ds,x,x, -silent=3D -site=3D -srcdir=3D -verbose=3D -x_includes=3DNONE -x_libraries=3DNONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=3D/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -# (The list follows the same order as the GNU Coding Standards.) -bindir=3D'${exec_prefix}/bin' -sbindir=3D'${exec_prefix}/sbin' -libexecdir=3D'${exec_prefix}/libexec' -datarootdir=3D'${prefix}/share' -datadir=3D'${datarootdir}' -sysconfdir=3D'${prefix}/etc' -sharedstatedir=3D'${prefix}/com' -localstatedir=3D'${prefix}/var' -includedir=3D'${prefix}/include' -oldincludedir=3D'/usr/include' -docdir=3D'${datarootdir}/doc/${PACKAGE}' -infodir=3D'${datarootdir}/info' -htmldir=3D'${docdir}' -dvidir=3D'${docdir}' -pdfdir=3D'${docdir}' -psdir=3D'${docdir}' -libdir=3D'${exec_prefix}/lib' -localedir=3D'${datarootdir}/locale' -mandir=3D'${datarootdir}/man' - -ac_prev=3D -ac_dashdash=3D -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval $ac_prev=3D\$ac_option - ac_prev=3D - continue - fi - - case $ac_option in - *=3D?*) ac_optarg=3D`expr "X$ac_option" : '[^=3D]*=3D\(.*\)'` ;; - *=3D) ac_optarg=3D ;; - *) ac_optarg=3Dyes ;; - esac - - # Accept the important Cygnus configure options, so we can diagnose typo= s. - - case $ac_dashdash$ac_option in - --) - ac_dashdash=3Dyes ;; - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=3Dbindir ;; - -bindir=3D* | --bindir=3D* | --bindi=3D* | --bind=3D* | --bin=3D* | --bi= =3D*) - bindir=3D$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=3Dbuild_alias ;; - -build=3D* | --build=3D* | --buil=3D* | --bui=3D* | --bu=3D*) - build_alias=3D$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=3Dcache_file ;; - -cache-file=3D* | --cache-file=3D* | --cache-fil=3D* | --cache-fi=3D* \ - | --cache-f=3D* | --cache-=3D* | --cache=3D* | --cach=3D* | --cac=3D* | = --ca=3D* | --c=3D*) - cache_file=3D$ac_optarg ;; - - --config-cache | -C) - cache_file=3Dconfig.cache ;; - - -datadir | --datadir | --datadi | --datad) - ac_prev=3Ddatadir ;; - -datadir=3D* | --datadir=3D* | --datadi=3D* | --datad=3D*) - datadir=3D$ac_optarg ;; - - -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ - | --dataroo | --dataro | --datar) - ac_prev=3Ddatarootdir ;; - -datarootdir=3D* | --datarootdir=3D* | --datarootdi=3D* | --datarootd=3D= * \ - | --dataroot=3D* | --dataroo=3D* | --dataro=3D* | --datar=3D*) - datarootdir=3D$ac_optarg ;; - - -disable-* | --disable-*) - ac_useropt=3D`expr "x$ac_option" : 'x-*disable-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" - ac_useropt_orig=3D$ac_useropt - ac_useropt=3D`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts=3D"$ac_unrecognized_opts$ac_unrecognized_sep= --disable-$ac_useropt_orig" - ac_unrecognized_sep=3D', ';; - esac - eval enable_$ac_useropt=3Dno ;; - - -docdir | --docdir | --docdi | --doc | --do) - ac_prev=3Ddocdir ;; - -docdir=3D* | --docdir=3D* | --docdi=3D* | --doc=3D* | --do=3D*) - docdir=3D$ac_optarg ;; - - -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) - ac_prev=3Ddvidir ;; - -dvidir=3D* | --dvidir=3D* | --dvidi=3D* | --dvid=3D* | --dvi=3D* | --dv= =3D*) - dvidir=3D$ac_optarg ;; - - -enable-* | --enable-*) - ac_useropt=3D`expr "x$ac_option" : 'x-*enable-\([^=3D]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid feature name: $ac_useropt" - ac_useropt_orig=3D$ac_useropt - ac_useropt=3D`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"enable_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts=3D"$ac_unrecognized_opts$ac_unrecognized_sep= --enable-$ac_useropt_orig" - ac_unrecognized_sep=3D', ';; - esac - eval enable_$ac_useropt=3D\$ac_optarg ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=3Dexec_prefix ;; - -exec-prefix=3D* | --exec_prefix=3D* | --exec-prefix=3D* | --exec-prefi= =3D* \ - | --exec-pref=3D* | --exec-pre=3D* | --exec-pr=3D* | --exec-p=3D* | --ex= ec-=3D* \ - | --exec=3D* | --exe=3D* | --ex=3D*) - exec_prefix=3D$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=3Dyes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=3Dlong ;; - -help=3Dr* | --help=3Dr* | --hel=3Dr* | --he=3Dr* | -hr*) - ac_init_help=3Drecursive ;; - -help=3Ds* | --help=3Ds* | --hel=3Ds* | --he=3Ds* | -hs*) - ac_init_help=3Dshort ;; - - -host | --host | --hos | --ho) - ac_prev=3Dhost_alias ;; - -host=3D* | --host=3D* | --hos=3D* | --ho=3D*) - host_alias=3D$ac_optarg ;; - - -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) - ac_prev=3Dhtmldir ;; - -htmldir=3D* | --htmldir=3D* | --htmldi=3D* | --htmld=3D* | --html=3D* |= --htm=3D* \ - | --ht=3D*) - htmldir=3D$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=3Dincludedir ;; - -includedir=3D* | --includedir=3D* | --includedi=3D* | --included=3D* | = --include=3D* \ - | --includ=3D* | --inclu=3D* | --incl=3D* | --inc=3D*) - includedir=3D$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=3Dinfodir ;; - -infodir=3D* | --infodir=3D* | --infodi=3D* | --infod=3D* | --info=3D* |= --inf=3D*) - infodir=3D$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=3Dlibdir ;; - -libdir=3D* | --libdir=3D* | --libdi=3D* | --libd=3D*) - libdir=3D$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=3Dlibexecdir ;; - -libexecdir=3D* | --libexecdir=3D* | --libexecdi=3D* | --libexecd=3D* | = --libexec=3D* \ - | --libexe=3D* | --libex=3D* | --libe=3D*) - libexecdir=3D$ac_optarg ;; - - -localedir | --localedir | --localedi | --localed | --locale) - ac_prev=3Dlocaledir ;; - -localedir=3D* | --localedir=3D* | --localedi=3D* | --localed=3D* | --lo= cale=3D*) - localedir=3D$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst | --locals) - ac_prev=3Dlocalstatedir ;; - -localstatedir=3D* | --localstatedir=3D* | --localstatedi=3D* | --locals= tated=3D* \ - | --localstate=3D* | --localstat=3D* | --localsta=3D* | --localst=3D* | = --locals=3D*) - localstatedir=3D$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=3Dmandir ;; - -mandir=3D* | --mandir=3D* | --mandi=3D* | --mand=3D* | --man=3D* | --ma= =3D* | --m=3D*) - mandir=3D$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=3Dno ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=3Dyes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=3Dyes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=3Doldincludedir ;; - -oldincludedir=3D* | --oldincludedir=3D* | --oldincludedi=3D* | --oldinc= luded=3D* \ - | --oldinclude=3D* | --oldinclud=3D* | --oldinclu=3D* | --oldincl=3D* | = --oldinc=3D* \ - | --oldin=3D* | --oldi=3D* | --old=3D* | --ol=3D* | --o=3D*) - oldincludedir=3D$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=3Dprefix ;; - -prefix=3D* | --prefix=3D* | --prefi=3D* | --pref=3D* | --pre=3D* | --pr= =3D* | --p=3D*) - prefix=3D$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=3Dprogram_prefix ;; - -program-prefix=3D* | --program-prefix=3D* | --program-prefi=3D* \ - | --program-pref=3D* | --program-pre=3D* | --program-pr=3D* | --program-= p=3D*) - program_prefix=3D$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=3Dprogram_suffix ;; - -program-suffix=3D* | --program-suffix=3D* | --program-suffi=3D* \ - | --program-suff=3D* | --program-suf=3D* | --program-su=3D* | --program-= s=3D*) - program_suffix=3D$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=3Dprogram_transform_name ;; - -program-transform-name=3D* | --program-transform-name=3D* \ - | --program-transform-nam=3D* | --program-transform-na=3D* \ - | --program-transform-n=3D* | --program-transform-=3D* \ - | --program-transform=3D* | --program-transfor=3D* \ - | --program-transfo=3D* | --program-transf=3D* \ - | --program-trans=3D* | --program-tran=3D* \ - | --progr-tra=3D* | --program-tr=3D* | --program-t=3D*) - program_transform_name=3D$ac_optarg ;; - - -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) - ac_prev=3Dpdfdir ;; - -pdfdir=3D* | --pdfdir=3D* | --pdfdi=3D* | --pdfd=3D* | --pdf=3D* | --pd= =3D*) - pdfdir=3D$ac_optarg ;; - - -psdir | --psdir | --psdi | --psd | --ps) - ac_prev=3Dpsdir ;; - -psdir=3D* | --psdir=3D* | --psdi=3D* | --psd=3D* | --ps=3D*) - psdir=3D$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=3Dyes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=3Dsbindir ;; - -sbindir=3D* | --sbindir=3D* | --sbindi=3D* | --sbind=3D* | --sbin=3D* \ - | --sbi=3D* | --sb=3D*) - sbindir=3D$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=3Dsharedstatedir ;; - -sharedstatedir=3D* | --sharedstatedir=3D* | --sharedstatedi=3D* \ - | --sharedstated=3D* | --sharedstate=3D* | --sharedstat=3D* | --sharedst= a=3D* \ - | --sharedst=3D* | --shareds=3D* | --shared=3D* | --share=3D* | --shar= =3D* \ - | --sha=3D* | --sh=3D*) - sharedstatedir=3D$ac_optarg ;; - - -site | --site | --sit) - ac_prev=3Dsite ;; - -site=3D* | --site=3D* | --sit=3D*) - site=3D$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=3Dsrcdir ;; - -srcdir=3D* | --srcdir=3D* | --srcdi=3D* | --srcd=3D* | --src=3D* | --sr= =3D*) - srcdir=3D$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=3Dsysconfdir ;; - -sysconfdir=3D* | --sysconfdir=3D* | --sysconfdi=3D* | --sysconfd=3D* | = --sysconf=3D* \ - | --syscon=3D* | --sysco=3D* | --sysc=3D* | --sys=3D* | --sy=3D*) - sysconfdir=3D$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=3Dtarget_alias ;; - -target=3D* | --target=3D* | --targe=3D* | --targ=3D* | --tar=3D* | --ta= =3D* | --t=3D*) - target_alias=3D$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=3Dyes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=3D: ;; - - -with-* | --with-*) - ac_useropt=3D`expr "x$ac_option" : 'x-*with-\([^=3D]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" - ac_useropt_orig=3D$ac_useropt - ac_useropt=3D`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts=3D"$ac_unrecognized_opts$ac_unrecognized_sep= --with-$ac_useropt_orig" - ac_unrecognized_sep=3D', ';; - esac - eval with_$ac_useropt=3D\$ac_optarg ;; - - -without-* | --without-*) - ac_useropt=3D`expr "x$ac_option" : 'x-*without-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && - as_fn_error $? "invalid package name: $ac_useropt" - ac_useropt_orig=3D$ac_useropt - ac_useropt=3D`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` - case $ac_user_opts in - *" -"with_$ac_useropt" -"*) ;; - *) ac_unrecognized_opts=3D"$ac_unrecognized_opts$ac_unrecognized_sep= --without-$ac_useropt_orig" - ac_unrecognized_sep=3D', ';; - esac - eval with_$ac_useropt=3Dno ;; - - --x) - # Obsolete; use --with-x. - with_x=3Dyes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=3Dx_includes ;; - -x-includes=3D* | --x-includes=3D* | --x-include=3D* | --x-includ=3D* | = --x-inclu=3D* \ - | --x-incl=3D* | --x-inc=3D* | --x-in=3D* | --x-i=3D*) - x_includes=3D$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=3Dx_libraries ;; - -x-libraries=3D* | --x-libraries=3D* | --x-librarie=3D* | --x-librari=3D= * \ - | --x-librar=3D* | --x-libra=3D* | --x-libr=3D* | --x-lib=3D* | --x-li= =3D* | --x-l=3D*) - x_libraries=3D$ac_optarg ;; - - -*) as_fn_error $? "unrecognized option: \`$ac_option' -Try \`$0 --help' for more information" - ;; - - *=3D*) - ac_envvar=3D`expr "x$ac_option" : 'x\([^=3D]*\)=3D'` - # Reject names that are not valid shell variable names. - case $ac_envvar in #( - '' | [0-9]* | *[!_$as_cr_alnum]* ) - as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; - esac - eval $ac_envvar=3D\$ac_optarg - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - $as_echo "$as_me: WARNING: you should use --build, --host, --target" >= &2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : "${build_alias=3D$ac_option} ${host_alias=3D$ac_option} ${target_ali= as=3D$ac_option}" - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=3D--`echo $ac_prev | sed 's/_/-/g'` - as_fn_error $? "missing argument to $ac_option" -fi - -if test -n "$ac_unrecognized_opts"; then - case $enable_option_checking in - no) ;; - fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; - *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecogniz= ed_opts" >&2 ;; - esac -fi - -# Check all directory arguments for consistency. -for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ - datadir sysconfdir sharedstatedir localstatedir includedir \ - oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ - libdir localedir mandir -do - eval ac_val=3D\$$ac_var - # Remove trailing slashes. - case $ac_val in - */ ) - ac_val=3D`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` - eval $ac_var=3D\$ac_val;; - esac - # Be sure to have absolute directory names. - case $ac_val in - [\\/$]* | ?:[\\/]* ) continue;; - NONE | '' ) case $ac_var in *prefix ) continue;; esac;; - esac - as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_v= al" -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=3D$build_alias -host=3D$host_alias -target=3D$target_alias - -# FIXME: To remove some day. -if test "x$host_alias" !=3D x; then - if test "x$build_alias" =3D x; then - cross_compiling=3Dmaybe - elif test "x$build_alias" !=3D "x$host_alias"; then - cross_compiling=3Dyes - fi -fi - -ac_tool_prefix=3D -test -n "$host_alias" && ac_tool_prefix=3D$host_alias- - -test "$silent" =3D yes && exec 6>/dev/null - - -ac_pwd=3D`pwd` && test -n "$ac_pwd" && -ac_ls_di=3D`ls -di .` && -ac_pwd_ls_di=3D`cd "$ac_pwd" && ls -di .` || - as_fn_error $? "working directory cannot be determined" -test "X$ac_ls_di" =3D "X$ac_pwd_ls_di" || - as_fn_error $? "pwd does not report name of working directory" - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=3Dyes - # Try the directory containing this script, then the parent directory. - ac_confdir=3D`$as_dirname -- "$as_myself" || -$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_myself" : 'X\(//\)[^/]' \| \ - X"$as_myself" : 'X\(//\)$' \| \ - X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_myself" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - srcdir=3D$ac_confdir - if test ! -r "$srcdir/$ac_unique_file"; then - srcdir=3D.. - fi -else - ac_srcdir_defaulted=3Dno -fi -if test ! -r "$srcdir/$ac_unique_file"; then - test "$ac_srcdir_defaulted" =3D yes && srcdir=3D"$ac_confdir or .." - as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" -fi -ac_msg=3D"sources are in $srcdir, but \`cd $srcdir' does not work" -ac_abs_confdir=3D`( - cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" - pwd)` -# When building in place, set srcdir=3D. -if test "$ac_abs_confdir" =3D "$ac_pwd"; then - srcdir=3D. -fi -# Remove unnecessary trailing slashes from srcdir. -# Double slashes in file names in object file debugging info -# mess up M-x gdb in Emacs. -case $srcdir in -*/) srcdir=3D`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; -esac -for ac_var in $ac_precious_vars; do - eval ac_env_${ac_var}_set=3D\${${ac_var}+set} - eval ac_env_${ac_var}_value=3D\$${ac_var} - eval ac_cv_env_${ac_var}_set=3D\${${ac_var}+set} - eval ac_cv_env_${ac_var}_value=3D\$${ac_var} -done - -# -# Report the --help message. -# -if test "$ac_init_help" =3D "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures this package to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=3DVALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=3DVALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --help=3Dshort display options specific to this package - --help=3Drecursive display the short help of all the included pac= kages - -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking ...' messages - --cache-file=3DFILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=3Dconfig.cache' - -n, --no-create do not create output files - --srcdir=3DDIR find the sources in DIR [configure dir or \`..= '] - -Installation directories: - --prefix=3DPREFIX install architecture-independent files in PREF= IX - [$ac_default_prefix] - --exec-prefix=3DEPREFIX install architecture-dependent files in EPREFIX - [PREFIX] - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=3D\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=3DDIR user executables [EPREFIX/bin] - --sbindir=3DDIR system admin executables [EPREFIX/sbin] - --libexecdir=3DDIR program executables [EPREFIX/libexec] - --sysconfdir=3DDIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=3DDIR modifiable architecture-independent data [PREF= IX/com] - --localstatedir=3DDIR modifiable single-machine data [PREFIX/var] - --libdir=3DDIR object code libraries [EPREFIX/lib] - --includedir=3DDIR C header files [PREFIX/include] - --oldincludedir=3DDIR C header files for non-gcc [/usr/include] - --datarootdir=3DDIR read-only arch.-independent data root [PREFIX/= share] - --datadir=3DDIR read-only architecture-independent data [DATAR= OOTDIR] - --infodir=3DDIR info documentation [DATAROOTDIR/info] - --localedir=3DDIR locale-dependent data [DATAROOTDIR/locale] - --mandir=3DDIR man documentation [DATAROOTDIR/man] - --docdir=3DDIR documentation root [DATAROOTDIR/doc/PACKAGE] - --htmldir=3DDIR html documentation [DOCDIR] - --dvidir=3DDIR dvi documentation [DOCDIR] - --pdfdir=3DDIR pdf documentation [DOCDIR] - --psdir=3DDIR ps documentation [DOCDIR] -_ACEOF - - cat <<\_ACEOF -_ACEOF -fi - -if test -n "$ac_init_help"; then - - cat <<\_ACEOF - -Optional Features: - --disable-option-checking ignore unrecognized --enable/--with options - --disable-FEATURE do not include FEATURE (same as --enable-FEATURE= =3Dno) - --enable-FEATURE[=3DARG] include FEATURE [ARG=3Dyes] - --enable-sim-bitsize=3DN Specify target bitsize (32 or 64) - -Report bugs to the package provider. -_ACEOF -ac_status=3D$? -fi - -if test "$ac_init_help" =3D "recursive"; then - # If there are subdirs, report their specific --help. - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" =3D x: && continue - test -d "$ac_dir" || - { cd "$srcdir" && ac_pwd=3D`pwd` && srcdir=3D. && test -d "$ac_dir";= } || - continue - ac_builddir=3D. - -case "$ac_dir" in -.) ac_dir_suffix=3D ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; -*) - ac_dir_suffix=3D/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=3D`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g= ;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; - *) ac_top_build_prefix=3D$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=3D$ac_pwd -ac_abs_builddir=3D$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=3D$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=3D. - ac_top_srcdir=3D$ac_top_builddir_sub - ac_abs_top_srcdir=3D$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=3D$srcdir$ac_dir_suffix; - ac_top_srcdir=3D$srcdir - ac_abs_top_srcdir=3D$srcdir ;; - *) # Relative name. - ac_srcdir=3D$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=3D$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=3D$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=3D$ac_abs_top_srcdir$ac_dir_suffix - - cd "$ac_dir" || { ac_status=3D$?; continue; } - # Check for guested configure. - if test -f "$ac_srcdir/configure.gnu"; then - echo && - $SHELL "$ac_srcdir/configure.gnu" --help=3Drecursive - elif test -f "$ac_srcdir/configure"; then - echo && - $SHELL "$ac_srcdir/configure" --help=3Drecursive - else - $as_echo "$as_me: WARNING: no configuration information is in $ac_di= r" >&2 - fi || ac_status=3D$? - cd "$ac_pwd" || { ac_status=3D$?; break; } - done -fi - -test -n "$ac_init_help" && exit $ac_status -if $ac_init_version; then - cat <<\_ACEOF -configure -generated by GNU Autoconf 2.69 - -Copyright (C) 2012 Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -_ACEOF - exit -fi - -## ------------------------ ## -## Autoconf initialization. ## -## ------------------------ ## -cat >config.log <<_ACEOF -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by $as_me, which was -generated by GNU Autoconf 2.69. Invocation command line was - - $ $0 $@ - -_ACEOF -exec 5>>config.log -{ -cat <<_ASUNAME -## --------- ## -## Platform. ## -## --------- ## - -hostname =3D `(hostname || uname -n) 2>/dev/null | sed 1q` -uname -m =3D `(uname -m) 2>/dev/null || echo unknown` -uname -r =3D `(uname -r) 2>/dev/null || echo unknown` -uname -s =3D `(uname -s) 2>/dev/null || echo unknown` -uname -v =3D `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p =3D `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X =3D `(/bin/uname -X) 2>/dev/null || echo unknown` - -/bin/arch =3D `(/bin/arch) 2>/dev/null || echo u= nknown` -/usr/bin/arch -k =3D `(/usr/bin/arch -k) 2>/dev/null || echo u= nknown` -/usr/convex/getsysinfo =3D `(/usr/convex/getsysinfo) 2>/dev/null || echo u= nknown` -/usr/bin/hostinfo =3D `(/usr/bin/hostinfo) 2>/dev/null || echo u= nknown` -/bin/machine =3D `(/bin/machine) 2>/dev/null || echo u= nknown` -/usr/bin/oslevel =3D `(/usr/bin/oslevel) 2>/dev/null || echo u= nknown` -/bin/universe =3D `(/bin/universe) 2>/dev/null || echo u= nknown` - -_ASUNAME - -as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - $as_echo "PATH: $as_dir" - done -IFS=3D$as_save_IFS - -} >&5 - -cat >&5 <<_ACEOF - - -## ----------- ## -## Core tests. ## -## ----------- ## - -_ACEOF - - -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Strip out --silent because we don't want to record it for future runs. -# Also quote any args containing shell meta-characters. -# Make two passes to allow for proper duplicate-argument suppression. -ac_configure_args=3D -ac_configure_args0=3D -ac_configure_args1=3D -ac_must_keep_next=3Dfalse -for ac_pass in 1 2 -do - for ac_arg - do - case $ac_arg in - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - continue ;; - *\'*) - ac_arg=3D`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case $ac_pass in - 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; - 2) - as_fn_append ac_configure_args1 " '$ac_arg'" - if test $ac_must_keep_next =3D true; then - ac_must_keep_next=3Dfalse # Got value, back to normal. - else - case $ac_arg in - *=3D* | --config-cache | -C | -disable-* | --disable-* \ - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ - | -with-* | --with-* | -without-* | --without-* | --x) - case "$ac_configure_args0 " in - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; - esac - ;; - -* ) ac_must_keep_next=3Dtrue ;; - esac - fi - as_fn_append ac_configure_args " '$ac_arg'" - ;; - esac - done -done -{ ac_configure_args0=3D; unset ac_configure_args0;} -{ ac_configure_args1=3D; unset ac_configure_args1;} - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Use '\'' to represent an apostrophe within the trap. -# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0= bug. -trap 'exit_status=3D$? - # Save into config.log some information that might help in debugging. - { - echo - - $as_echo "## ---------------- ## -## Cache variables. ## -## ---------------- ##" - echo - # The following way of writing the cache mishandles newlines in values, -( - for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=3D.= */\1/p'\''`; do - eval ac_val=3D\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache vari= able $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;= } ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var=3D ;; #( - *) { eval $ac_var=3D; unset $ac_var;} ;; - esac ;; - esac - done - (set) 2>&1 | - case $as_nl`(ac_space=3D'\'' '\''; set) 2>&1` in #( - *${as_nl}ac_space=3D\ *) - sed -n \ - "s/'\''/'\''\\\\'\'''\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=3D\\(.*\\)/\\1=3D'\''\\2'= \''/p" - ;; #( - *) - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=3D/p" - ;; - esac | - sort -) - echo - - $as_echo "## ----------------- ## -## Output variables. ## -## ----------------- ##" - echo - for ac_var in $ac_subst_vars - do - eval ac_val=3D\$$ac_var - case $ac_val in - *\'\''*) ac_val=3D`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\''= '\''/g"`;; - esac - $as_echo "$ac_var=3D'\''$ac_val'\''" - done | sort - echo - - if test -n "$ac_subst_files"; then - $as_echo "## ------------------- ## -## File substitutions. ## -## ------------------- ##" - echo - for ac_var in $ac_subst_files - do - eval ac_val=3D\$$ac_var - case $ac_val in - *\'\''*) ac_val=3D`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/= g"`;; - esac - $as_echo "$ac_var=3D'\''$ac_val'\''" - done | sort - echo - fi - - if test -s confdefs.h; then - $as_echo "## ----------- ## -## confdefs.h. ## -## ----------- ##" - echo - cat confdefs.h - echo - fi - test "$ac_signal" !=3D 0 && - $as_echo "$as_me: caught signal $ac_signal" - $as_echo "$as_me: exit $exit_status" - } >&5 - rm -f core *.core core.conftest.* && - rm -f -r conftest* confdefs* conf$$* $ac_clean_files && - exit $exit_status -' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal=3D'$ac_signal'; as_fn_exit 1' $ac_signal -done -ac_signal=3D0 - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -f -r conftest* confdefs.h - -$as_echo "/* confdefs.h */" > confdefs.h - -# Predefined preprocessor variables. - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_URL "$PACKAGE_URL" -_ACEOF - - -# Let the site file select an alternate cache file if it wants to. -# Prefer an explicitly selected file to automatically selected ones. -ac_site_file1=3DNONE -ac_site_file2=3DNONE -if test -n "$CONFIG_SITE"; then - # We do not want a PATH search for config.site. - case $CONFIG_SITE in #(( - -*) ac_site_file1=3D./$CONFIG_SITE;; - */*) ac_site_file1=3D$CONFIG_SITE;; - *) ac_site_file1=3D./$CONFIG_SITE;; - esac -elif test "x$prefix" !=3D xNONE; then - ac_site_file1=3D$prefix/share/config.site - ac_site_file2=3D$prefix/etc/config.site -else - ac_site_file1=3D$ac_default_prefix/share/config.site - ac_site_file2=3D$ac_default_prefix/etc/config.site -fi -for ac_site_file in "$ac_site_file1" "$ac_site_file2" -do - test "x$ac_site_file" =3D xNONE && continue - if test /dev/null !=3D "$ac_site_file" && test -r "$ac_site_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_= file" >&5 -$as_echo "$as_me: loading site script $ac_site_file" >&6;} - sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" \ - || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':"= >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "failed to load site script $ac_site_file -See \`config.log' for more details" "$LINENO" 5; } - fi -done - -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special files - # actually), so we avoid doing that. DJGPP emulates it as a regular fil= e. - if test /dev/null !=3D "$cache_file" && test -f "$cache_file"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 -$as_echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . "$cache_file";; - *) . "./$cache_file";; - esac - fi -else - { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 -$as_echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=3Dfalse -for ac_var in $ac_precious_vars; do - eval ac_old_set=3D\$ac_cv_env_${ac_var}_set - eval ac_new_set=3D\$ac_env_${ac_var}_set - eval ac_old_val=3D\$ac_cv_env_${ac_var}_value - eval ac_new_val=3D\$ac_env_${ac_var}_value - case $ac_old_set,$ac_new_set in - set,) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set t= o \`$ac_old_val' in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previ= ous run" >&2;} - ac_cache_corrupted=3D: ;; - ,set) - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not s= et in the previous run" >&5 -$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=3D: ;; - ,);; - *) - if test "x$ac_old_val" !=3D "x$ac_new_val"; then - # differences in whitespace do not lead to failure. - ac_old_val_w=3D`echo x $ac_old_val` - ac_new_val_w=3D`echo x $ac_new_val` - if test "$ac_old_val_w" !=3D "$ac_new_val_w"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed = since the previous run:" >&5 -$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >= &2;} - ac_cache_corrupted=3D: - else - { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace c= hanges in \`$ac_var' since the previous run:" >&5 -$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since= the previous run:" >&2;} - eval $ac_var=3D\$ac_old_val - fi - { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'"= >&5 -$as_echo "$as_me: former value: \`$ac_old_val'" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'"= >&5 -$as_echo "$as_me: current value: \`$ac_new_val'" >&2;} - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" =3D set; then - case $ac_new_val in - *\'*) ac_arg=3D$ac_var=3D`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\'= '/g"` ;; - *) ac_arg=3D$ac_var=3D$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) as_fn_append ac_configure_args " '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} - { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environme= nt can compromise the build" >&5 -$as_echo "$as_me: error: changes in the environment can compromise the bui= ld" >&2;} - as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start= over" "$LINENO" 5 -fi -## -------------------- ## -## Main body of script. ## -## -------------------- ## - -ac_ext=3Dc -ac_cpp=3D'$CPP $CPPFLAGS' -ac_compile=3D'$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link=3D'$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$= ac_ext $LIBS >&5' -ac_compiler_gnu=3D$ac_cv_c_compiler_gnu - - - - -wire_word_bitsize=3D"32" -wire_word_msb=3D"31" -wire_address_bitsize=3D"" -wire_cell_bitsize=3D"" -# Check whether --enable-sim-bitsize was given. -if test "${enable_sim_bitsize+set}" =3D set; then : - enableval=3D$enable_sim_bitsize; sim_bitsize=3D -case "${enableval}" in - 64,63 | 64,63,* ) sim_bitsize=3D"-DWITH_TARGET_WORD_BITSIZE=3D64 -DWITH_= TARGET_WORD_MSB=3D63";; - 32,31 | 32,31,* ) sim_bitsize=3D"-DWITH_TARGET_WORD_BITSIZE=3D32 -DWITH_= TARGET_WORD_MSB=3D31";; - 64,0 | 64,0,* ) sim_bitsize=3D"-DWITH_TARGET_WORD_BITSIZE=3D32 -DWITH_TA= RGET_WORD_MSB=3D0";; - 32,0 | 64,0,* ) sim_bitsize=3D"-DWITH_TARGET_WORD_BITSIZE=3D32 -DWITH_TA= RGET_WORD_MSB=3D0";; - 32) if test x"$wire_word_msb" !=3D x -a x"$wire_word_msb" !=3D x0; then - sim_bitsize=3D"-DWITH_TARGET_WORD_BITSIZE=3D32 -DWITH_TARGET_WORD_= MSB=3D31" - else - sim_bitsize=3D"-DWITH_TARGET_WORD_BITSIZE=3D32 -DWITH_TARGET_WORD_= MSB=3D0" - fi ;; - 64) if test x"$wire_word_msb" !=3D x -a x"$wire_word_msb" !=3D x0; then - sim_bitsize=3D"-DWITH_TARGET_WORD_BITSIZE=3D64 -DWITH_TARGET_WORD_= MSB=3D63" - else - sim_bitsize=3D"-DWITH_TARGET_WORD_BITSIZE=3D64 -DWITH_TARGET_WORD_= MSB=3D0" - fi ;; - *) as_fn_error $? "\"--enable-sim-bitsize was given $enableval. Expect= ed 32 or 64\"" "$LINENO" 5 ;; -esac -# address bitsize -tmp=3D`echo "${enableval}" | sed -e "s/^[0-9]*,*[0-9]*,*//"` -case x"${tmp}" in - x ) ;; - x32 | x32,* ) sim_bitsize=3D"${sim_bitsize} -DWITH_TARGET_ADDRESS_BITSIZ= E=3D32" ;; - x64 | x64,* ) sim_bitsize=3D"${sim_bitsize} -DWITH_TARGET_ADDRESS_BITSIZ= E=3D64" ;; - * ) as_fn_error $? "\"--enable-sim-bitsize was given address size $enabl= eval. Expected 32 or 64\"" "$LINENO" 5 ;; -esac -# cell bitsize -tmp=3D`echo "${enableval}" | sed -e "s/^[0-9]*,*[0-9*]*,*[0-9]*,*//"` -case x"${tmp}" in - x ) ;; - x32 | x32,* ) sim_bitsize=3D"${sim_bitsize} -DWITH_TARGET_CELL_BITSIZE= =3D32" ;; - x64 | x64,* ) sim_bitsize=3D"${sim_bitsize} -DWITH_TARGET_CELL_BITSIZE= =3D64" ;; - * ) as_fn_error $? "\"--enable-sim-bitsize was given cell size $enableva= l. Expected 32 or 64\"" "$LINENO" 5 ;; -esac -if test x"$silent" !=3D x"yes" && test x"$sim_bitsize" !=3D x""; then - echo "Setting bitsize flags =3D $sim_bitsize" 6>&1 -fi -else - sim_bitsize=3D"" -if test x"$wire_word_bitsize" !=3D x; then - sim_bitsize=3D"$sim_bitsize -DWITH_TARGET_WORD_BITSIZE=3D$wire_word_bits= ize" -fi -if test x"$wire_word_msb" !=3D x; then - sim_bitsize=3D"$sim_bitsize -DWITH_TARGET_WORD_MSB=3D$wire_word_msb" -fi -if test x"$wire_address_bitsize" !=3D x; then - sim_bitsize=3D"$sim_bitsize -DWITH_TARGET_ADDRESS_BITSIZE=3D$wire_addres= s_bitsize" -fi -if test x"$wire_cell_bitsize" !=3D x; then - sim_bitsize=3D"$sim_bitsize -DWITH_TARGET_CELL_BITSIZE=3D$wire_cell_bits= ize" -fi -fi - - -ac_config_files=3D"$ac_config_files Makefile.sim:Makefile.in" - -ac_config_files=3D"$ac_config_files Make-common.sim:../common/Make-common.= in" - -ac_config_commands=3D"$ac_config_commands Makefile" - -ac_config_commands=3D"$ac_config_commands stamp-h" - - - - - -SIM_COMMON_BUILD_TRUE=3D'#' -SIM_COMMON_BUILD_FALSE=3D - - - -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, we kill variables containing newlines. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -( - for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=3D.*/\= 1/p'`; do - eval ac_val=3D\$$ac_var - case $ac_val in #( - *${as_nl}*) - case $ac_var in #( - *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache vari= able $ac_var contains a newline" >&5 -$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;= } ;; - esac - case $ac_var in #( - _ | IFS | as_nl) ;; #( - BASH_ARGV | BASH_SOURCE) eval $ac_var=3D ;; #( - *) { eval $ac_var=3D; unset $ac_var;} ;; - esac ;; - esac - done - - (set) 2>&1 | - case $as_nl`(ac_space=3D' '; set) 2>&1` in #( - *${as_nl}ac_space=3D\ *) - # `set' does not quote correctly, so add quotes: double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \. - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=3D\\(.*\\)/\\1=3D'\\2'/p" - ;; #( - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=3D/p" - ;; - esac | - sort -) | - sed ' - /^ac_cv_env_/b end - t clear - :clear - s/^\([^=3D]*\)=3D\(.*[{}].*\)$/test "${\1+set}" =3D set || &/ - t end - s/^\([^=3D]*\)=3D\(.*\)$/\1=3D${\1=3D\2}/ - :end' >>confcache -if diff "$cache_file" confcache >/dev/null 2>&1; then :; else - if test -w "$cache_file"; then - if test "x$cache_file" !=3D "x/dev/null"; then - { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file"= >&5 -$as_echo "$as_me: updating cache $cache_file" >&6;} - if test ! -f "$cache_file" || test -h "$cache_file"; then - cat confcache >"$cache_file" - else - case $cache_file in #( - */* | ?:*) - mv -f confcache "$cache_file"$$ && - mv -f "$cache_file"$$ "$cache_file" ;; #( - *) - mv -f confcache "$cache_file" ;; - esac - fi - fi - else - { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache= $cache_file" >&5 -$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} - fi -fi -rm -f confcache - -test "x$prefix" =3D xNONE && prefix=3D$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" =3D xNONE && exec_prefix=3D'${prefix}' - -# Transform confdefs.h into DEFS. -# Protect against shell expansion while executing Makefile rules. -# Protect against Makefile macro expansion. -# -# If the first sed substitution is executed (which looks for macros that -# take arguments), then branch to the quote section. Otherwise, -# look for a macro that doesn't take arguments. -ac_script=3D' -:mline -/\\$/{ - N - s,\\\n,, - b mline -} -t clear -:clear -s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=3D\2= /g -t quote -s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=3D\2/g -t quote -b any -:quote -s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g -s/\[/\\&/g -s/\]/\\&/g -s/\$/$$/g -H -:any -${ - g - s/^\n// - s/\n/ /g - p -} -' -DEFS=3D`sed -n "$ac_script" confdefs.h` - - -ac_libobjs=3D -ac_ltlibobjs=3D -U=3D -for ac_i in : $LIBOBJS; do test "x$ac_i" =3D x: && continue - # 1. Remove the extension, and $U if already installed. - ac_script=3D's/\$U\././;s/\.o$//;s/\.obj$//' - ac_i=3D`$as_echo "$ac_i" | sed "$ac_script"` - # 2. Prepend LIBOBJDIR. When used with automake>=3D1.10 LIBOBJDIR - # will be set to the directory where LIBOBJS objects are built. - as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" - as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' -done -LIBOBJS=3D$ac_libobjs - -LTLIBOBJS=3D$ac_ltlibobjs - - - -: "${CONFIG_STATUS=3D./config.status}" -ac_write_fail=3D0 -ac_clean_files_save=3D$ac_clean_files -ac_clean_files=3D"$ac_clean_files $CONFIG_STATUS" -{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 -$as_echo "$as_me: creating $CONFIG_STATUS" >&6;} -as_write_fail=3D0 -cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=3D1 -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=3Dfalse -ac_cs_recheck=3Dfalse -ac_cs_silent=3Dfalse - -SHELL=3D\${CONFIG_SHELL-$SHELL} -export SHELL -_ASEOF -cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=3D1 -## -------------------- ## -## M4sh Initialization. ## -## -------------------- ## - -# Be more Bourne compatible -DUALCASE=3D1; export DUALCASE # for MKS sh -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : - emulate sh - NULLCMD=3D: - # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'=3D'"$@"' - setopt NO_GLOB_SUBST -else - case `(set -o) 2>/dev/null` in #( - *posix*) : - set -o posix ;; #( - *) : - ;; -esac -fi - - -as_nl=3D' -' -export as_nl -# Printing a long string crashes Solaris 7 /usr/bin/printf. -as_echo=3D'\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\= \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' -as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo -as_echo=3D$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo -# Prefer a ksh shell builtin over an external printf program on Solaris, -# but without wasting forks for bash or zsh. -if test -z "$BASH_VERSION$ZSH_VERSION" \ - && (test "X`print -r -- $as_echo`" =3D "X$as_echo") 2>/dev/null; then - as_echo=3D'print -r --' - as_echo_n=3D'print -rn --' -elif (test "X`printf %s $as_echo`" =3D "X$as_echo") 2>/dev/null; then - as_echo=3D'printf %s\n' - as_echo_n=3D'printf %s' -else - if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" =3D "X-n $as_ech= o"; then - as_echo_body=3D'eval /usr/ucb/echo -n "$1$as_nl"' - as_echo_n=3D'/usr/ucb/echo -n' - else - as_echo_body=3D'eval expr "X$1" : "X\\(.*\\)"' - as_echo_n_body=3D'eval - arg=3D$1; - case $arg in #( - *"$as_nl"*) - expr "X$arg" : "X\\(.*\\)$as_nl"; - arg=3D`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; - esac; - expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" - ' - export as_echo_n_body - as_echo_n=3D'sh -c $as_echo_n_body as_echo' - fi - export as_echo_body - as_echo=3D'sh -c $as_echo_body as_echo' -fi - -# The user is always right. -if test "${PATH_SEPARATOR+set}" !=3D set; then - PATH_SEPARATOR=3D: - (PATH=3D'/bin;/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 && { - (PATH=3D'/bin:/bin'; FPATH=3D$PATH; sh -c :) >/dev/null 2>&1 || - PATH_SEPARATOR=3D';' - } -fi - - -# IFS -# We need space, tab and new line, in precisely that order. Quoting is -# there to prevent editors from complaining about space-tab. -# (If _AS_PATH_WALK were called with IFS unset, it would disable word -# splitting by setting IFS to empty value.) -IFS=3D" "" $as_nl" - -# Find who we are. Look in the path if we contain no directory separator. -as_myself=3D -case $0 in #(( - *[\\/]* ) as_myself=3D$0 ;; - *) as_save_IFS=3D$IFS; IFS=3D$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=3D$as_save_IFS - test -z "$as_dir" && as_dir=3D. - test -r "$as_dir/$0" && as_myself=3D$as_dir/$0 && break - done -IFS=3D$as_save_IFS - - ;; -esac -# We did not find ourselves, most probably we were run as `sh COMMAND' -# in which case we are not to be found in the path. -if test "x$as_myself" =3D x; then - as_myself=3D$0 -fi -if test ! -f "$as_myself"; then - $as_echo "$as_myself: error: cannot find myself; rerun with an absolute = file name" >&2 - exit 1 -fi - -# Unset variables that we do not need and which cause bugs (e.g. in -# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" -# suppresses any "Segmentation fault" message there. '((' could -# trigger a bug in pdksh 5.2.14. -for as_var in BASH_ENV ENV MAIL MAILPATH -do eval test x\${$as_var+set} =3D xset \ - && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : -done -PS1=3D'$ ' -PS2=3D'> ' -PS4=3D'+ ' - -# NLS nuisances. -LC_ALL=3DC -export LC_ALL -LANGUAGE=3DC -export LANGUAGE - -# CDPATH. -(unset CDPATH) >/dev/null 2>&1 && unset CDPATH - - -# as_fn_error STATUS ERROR [LINENO LOG_FD] -# ---------------------------------------- -# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are -# provided, also output the error to LOG_FD, referencing LINENO. Then exit= the -# script with STATUS, using 1 if that was 0. -as_fn_error () -{ - as_status=3D$1; test $as_status -eq 0 && as_status=3D1 - if test "$4"; then - as_lineno=3D${as_lineno-"$3"} as_lineno_stack=3Das_lineno_stack=3D$as_= lineno_stack - $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 - fi - $as_echo "$as_me: error: $2" >&2 - as_fn_exit $as_status -} # as_fn_error - - -# as_fn_set_status STATUS -# ----------------------- -# Set $? to STATUS, without forking. -as_fn_set_status () -{ - return $1 -} # as_fn_set_status - -# as_fn_exit STATUS -# ----------------- -# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. -as_fn_exit () -{ - set +e - as_fn_set_status $1 - exit $1 -} # as_fn_exit - -# as_fn_unset VAR -# --------------- -# Portably unset VAR. -as_fn_unset () -{ - { eval $1=3D; unset $1;} -} -as_unset=3Das_fn_unset -# as_fn_append VAR VALUE -# ---------------------- -# Append the text in VALUE to the end of the definition contained in VAR. = Take -# advantage of any shell optimizations that allow amortized linear growth = over -# repeated appends, instead of the typical quadratic growth present in nai= ve -# implementations. -if (eval "as_var=3D1; as_var+=3D2; test x\$as_var =3D x12") 2>/dev/null; t= hen : - eval 'as_fn_append () - { - eval $1+=3D\$2 - }' -else - as_fn_append () - { - eval $1=3D\$$1\$2 - } -fi # as_fn_append - -# as_fn_arith ARG... -# ------------------ -# Perform arithmetic evaluation on the ARGs, and store the result in the -# global $as_val. Take advantage of shells that can avoid forks. The argum= ents -# must be portable across $(()) and expr. -if (eval "test \$(( 1 + 1 )) =3D 2") 2>/dev/null; then : - eval 'as_fn_arith () - { - as_val=3D$(( $* )) - }' -else - as_fn_arith () - { - as_val=3D`expr "$@" || test $? -eq 1` - } -fi # as_fn_arith - - -if expr a : '\(a\)' >/dev/null 2>&1 && - test "X`expr 00001 : '.*\(...\)'`" =3D X001; then - as_expr=3Dexpr -else - as_expr=3Dfalse -fi - -if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" =3D "X/= "; then - as_basename=3Dbasename -else - as_basename=3Dfalse -fi - -if (as_dir=3D`dirname -- /` && test "X$as_dir" =3D X/) >/dev/null 2>&1; th= en - as_dirname=3Ddirname -else - as_dirname=3Dfalse -fi - -as_me=3D`$as_basename -- "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ - s//\1/ - q - } - /^X\/\(\/\/\)$/{ - s//\1/ - q - } - /^X\/\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - -# Avoid depending upon Character Ranges. -as_cr_letters=3D'abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS=3D'ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=3D$as_cr_letters$as_cr_LETTERS -as_cr_digits=3D'0123456789' -as_cr_alnum=3D$as_cr_Letters$as_cr_digits - -ECHO_C=3D ECHO_N=3D ECHO_T=3D -case `echo -n x` in #((((( --n*) - case `echo 'xy\c'` in - *c*) ECHO_T=3D' ';; # ECHO_T is single tab character. - xy) ECHO_C=3D'\c';; - *) echo `echo ksh88 bug on AIX 6.1` > /dev/null - ECHO_T=3D' ';; - esac;; -*) - ECHO_N=3D'-n';; -esac - -rm -f conf$$ conf$$.exe conf$$.file -if test -d conf$$.dir; then - rm -f conf$$.dir/conf$$.file -else - rm -f conf$$.dir - mkdir conf$$.dir 2>/dev/null -fi -if (echo >conf$$.file) 2>/dev/null; then - if ln -s conf$$.file conf$$ 2>/dev/null; then - as_ln_s=3D'ln -s' - # ... but there are two gotchas: - # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. - # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executabl= e. - # In both cases, we have to default to `cp -pR'. - ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || - as_ln_s=3D'cp -pR' - elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=3Dln - else - as_ln_s=3D'cp -pR' - fi -else - as_ln_s=3D'cp -pR' -fi -rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file -rmdir conf$$.dir 2>/dev/null - - -# as_fn_mkdir_p -# ------------- -# Create "$as_dir" as a directory, including parents if necessary. -as_fn_mkdir_p () -{ - - case $as_dir in #( - -*) as_dir=3D./$as_dir;; - esac - test -d "$as_dir" || eval $as_mkdir_p || { - as_dirs=3D - while :; do - case $as_dir in #( - *\'*) as_qdir=3D`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( - *) as_qdir=3D$as_dir;; - esac - as_dirs=3D"'$as_qdir' $as_dirs" - as_dir=3D`$as_dirname -- "$as_dir" || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - test -d "$as_dir" && break - done - test -z "$as_dirs" || eval "mkdir $as_dirs" - } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_di= r" - - -} # as_fn_mkdir_p -if mkdir -p . 2>/dev/null; then - as_mkdir_p=3D'mkdir -p "$as_dir"' -else - test -d ./-p && rmdir ./-p - as_mkdir_p=3Dfalse -fi - - -# as_fn_executable_p FILE -# ----------------------- -# Test if FILE is an executable regular file. -as_fn_executable_p () -{ - test -f "$1" && test -x "$1" -} # as_fn_executable_p -as_test_x=3D'test -x' -as_executable_p=3Das_fn_executable_p - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp=3D"eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnu= m]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh=3D"eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -exec 6>&1 -## ----------------------------------- ## -## Main body of $CONFIG_STATUS script. ## -## ----------------------------------- ## -_ASEOF -test $as_write_fail =3D 0 && chmod +x $CONFIG_STATUS || ac_write_fail=3D1 - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=3D1 -# Save the log message, to keep $0 and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. -ac_log=3D" -This file was extended by $as_me, which was -generated by GNU Autoconf 2.69. Invocation command line was - - CONFIG_FILES =3D $CONFIG_FILES - CONFIG_HEADERS =3D $CONFIG_HEADERS - CONFIG_LINKS =3D $CONFIG_LINKS - CONFIG_COMMANDS =3D $CONFIG_COMMANDS - $ $0 $@ - -on `(hostname || uname -n) 2>/dev/null | sed 1q` -" - -_ACEOF - -case $ac_config_files in *" -"*) set x $ac_config_files; shift; ac_config_files=3D$*;; -esac - - - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 -# Files that config.status was made for. -config_files=3D"$ac_config_files" -config_commands=3D"$ac_config_commands" - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=3D1 -ac_cs_usage=3D"\ -\`$as_me' instantiates files and other configuration actions -from templates according to the current configuration. Unless the files -and actions are specified as TAGs, all are instantiated by default. - -Usage: $0 [OPTION]... [TAG]... - - -h, --help print this help, then exit - -V, --version print version number and configuration settings, then e= xit - --config print configuration, then exit - -q, --quiet, --silent - do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=3DFILE[:TEMPLATE] - instantiate the configuration file FILE - -Configuration files: -$config_files - -Configuration commands: -$config_commands - -Report bugs to the package provider." - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 -ac_cs_config=3D"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]= /\\\\&/g'`" -ac_cs_version=3D"\\ -config.status -configured by $0, generated by GNU Autoconf 2.69, - with options \\"\$ac_cs_config\\" - -Copyright (C) 2012 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." - -ac_pwd=3D'$ac_pwd' -srcdir=3D'$srcdir' -test -n "\$AWK" || AWK=3Dawk -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=3D1 -# The default lists apply if the user does not specify any file. -ac_need_defaults=3D: -while test $# !=3D 0 -do - case $1 in - --*=3D?*) - ac_option=3D`expr "X$1" : 'X\([^=3D]*\)=3D'` - ac_optarg=3D`expr "X$1" : 'X[^=3D]*=3D\(.*\)'` - ac_shift=3D: - ;; - --*=3D) - ac_option=3D`expr "X$1" : 'X\([^=3D]*\)=3D'` - ac_optarg=3D - ac_shift=3D: - ;; - *) - ac_option=3D$1 - ac_optarg=3D$2 - ac_shift=3Dshift - ;; - esac - - case $ac_option in - # Handling of the options. - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=3D: ;; - --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) - $as_echo "$ac_cs_version"; exit ;; - --config | --confi | --conf | --con | --co | --c ) - $as_echo "$ac_cs_config"; exit ;; - --debug | --debu | --deb | --de | --d | -d ) - debug=3D: ;; - --file | --fil | --fi | --f ) - $ac_shift - case $ac_optarg in - *\'*) ac_optarg=3D`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; - '') as_fn_error $? "missing file argument" ;; - esac - as_fn_append CONFIG_FILES " '$ac_optarg'" - ac_need_defaults=3Dfalse;; - --he | --h | --help | --hel | -h ) - $as_echo "$ac_cs_usage"; exit ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=3D: ;; - - # This is an error. - -*) as_fn_error $? "unrecognized option: \`$1' -Try \`$0 --help' for more information." ;; - - *) as_fn_append ac_config_targets " $1" - ac_need_defaults=3Dfalse ;; - - esac - shift -done - -ac_configure_extra_args=3D - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args=3D"$ac_configure_extra_args --silent" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 -if \$ac_cs_recheck; then - set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-crea= te --no-recursion - shift - \$as_echo "running CONFIG_SHELL=3D$SHELL \$*" >&6 - CONFIG_SHELL=3D'$SHELL' - export CONFIG_SHELL - exec "\$@" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=3D1 -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -## Running $as_me. ## -_ASBOX - $as_echo "$ac_log" -} >&5 - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=3D1 - -# Handling of arguments. -for ac_config_target in $ac_config_targets -do - case $ac_config_target in - "Makefile.sim") CONFIG_FILES=3D"$CONFIG_FILES Makefile.sim:Makefile.in= " ;; - "Make-common.sim") CONFIG_FILES=3D"$CONFIG_FILES Make-common.sim:../co= mmon/Make-common.in" ;; - "Makefile") CONFIG_COMMANDS=3D"$CONFIG_COMMANDS Makefile" ;; - "stamp-h") CONFIG_COMMANDS=3D"$CONFIG_COMMANDS stamp-h" ;; - - *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; - esac -done - - -# If the user did not use the arguments to specify the items to instantiat= e, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" =3D set || CONFIG_FILES=3D$config_files - test "${CONFIG_COMMANDS+set}" =3D set || CONFIG_COMMANDS=3D$config_comma= nds -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason against having it here, and in additio= n, -# creating and moving files from /tmp can sometimes cause problems. -# Hook for its removal unless debugging. -# Note that there is a small window in which the directory will not be cle= aned: -# after its creation but before its name has been assigned to `$tmp'. -$debug || -{ - tmp=3D ac_tmp=3D - trap 'exit_status=3D$? - : "${ac_tmp:=3D$tmp}" - { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status -' 0 - trap 'as_fn_exit 1' 1 2 13 15 -} -# Create a (secure) tmp directory for tmp files. - -{ - tmp=3D`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && - test -d "$tmp" -} || -{ - tmp=3D./conf$$-$RANDOM - (umask 077 && mkdir "$tmp") -} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 -ac_tmp=3D$tmp - -# Set up the scripts for CONFIG_FILES section. -# No need to generate them if there are no CONFIG_FILES. -# This happens for instance with `./config.status config.h'. -if test -n "$CONFIG_FILES"; then - - -ac_cr=3D`echo X | tr X '\015'` -# On cygwin, bash can eat \r inside `` if the user requested igncr. -# But we know of no other shell where ac_cr would be empty at this -# point, so we can use a bashism as a fallback. -if test "x$ac_cr" =3D x; then - eval ac_cr=3D\$\'\\r\' -fi -ac_cs_awk_cr=3D`$AWK 'BEGIN { print "a\rb" }' /dev/null` -if test "$ac_cs_awk_cr" =3D "a${ac_cr}b"; then - ac_cs_awk_cr=3D'\\r' -else - ac_cs_awk_cr=3D$ac_cr -fi - -echo 'BEGIN {' >"$ac_tmp/subs1.awk" && -_ACEOF - - -{ - echo "cat >conf$$subs.awk <<_ACEOF" && - echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && - echo "_ACEOF" -} >conf$$subs.sh || - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 -ac_delim_num=3D`echo "$ac_subst_vars" | grep -c '^'` -ac_delim=3D'%!_!# ' -for ac_last_try in false false false false false :; do - . ./conf$$subs.sh || - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 - - ac_delim_n=3D`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` - if test $ac_delim_n =3D $ac_delim_num; then - break - elif $ac_last_try; then - as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 - else - ac_delim=3D"$ac_delim!$ac_delim _$ac_delim!! " - fi -done -rm -f conf$$subs.sh - -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 -cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && -_ACEOF -sed -n ' -h -s/^/S["/; s/!.*/"]=3D/ -p -g -s/^[^!]*!// -:repl -t repl -s/'"$ac_delim"'$// -t delim -:nl -h -s/\(.\{148\}\)..*/\1/ -t more1 -s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ -p -n -b repl -:more1 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t nl -:delim -h -s/\(.\{148\}\)..*/\1/ -t more2 -s/["\\]/\\&/g; s/^/"/; s/$/"/ -p -b -:more2 -s/["\\]/\\&/g; s/^/"/; s/$/"\\/ -p -g -s/.\{148\}// -t delim -' >$CONFIG_STATUS || ac_write_fail=3D1 -rm -f conf$$subs.awk -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 -_ACAWK -cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && - for (key in S) S_is_set[key] =3D 1 - FS =3D "=07" - -} -{ - line =3D $ 0 - nfields =3D split(line, field, "@") - substed =3D 0 - len =3D length(field[1]) - for (i =3D 2; i < nfields; i++) { - key =3D field[i] - keylen =3D length(key) - if (S_is_set[key]) { - value =3D S[key] - line =3D substr(line, 1, len) "" value "" substr(line, len + keylen = + 3) - len +=3D length(value) + length(field[++i]) - substed =3D 1 - } else - len +=3D 1 + keylen - } - - print line -} - -_ACAWK -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=3D1 -if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then - sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" -else - cat -fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ - || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 -_ACEOF - -# VPATH may cause trouble with some makes, so we remove sole $(srcdir), -# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leadin= g and -# trailing colons and then remove the whole line if VPATH becomes empty -# (actually we leave an empty line to preserve line numbers). -if test "x$srcdir" =3D x.; then - ac_vpsub=3D'/^[ ]*VPATH[ ]*=3D[ ]*/{ -h -s/// -s/^/:/ -s/[ ]*$/:/ -s/:\$(srcdir):/:/g -s/:\${srcdir}:/:/g -s/:@srcdir@:/:/g -s/^:*// -s/:*$// -x -s/\(=3D[ ]*\).*/\1/ -G -s/\n// -s/^[^=3D]*=3D[ ]*$// -}' -fi - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=3D1 -fi # test -n "$CONFIG_FILES" - - -eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" -shift -for ac_tag -do - case $ac_tag in - :[FHLC]) ac_mode=3D$ac_tag; continue;; - esac - case $ac_mode$ac_tag in - :[FHL]*:*);; - :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; - :[FH]-) ac_tag=3D-:-;; - :[FH]*) ac_tag=3D$ac_tag:$ac_tag.in;; - esac - ac_save_IFS=3D$IFS - IFS=3D: - set x $ac_tag - IFS=3D$ac_save_IFS - shift - ac_file=3D$1 - shift - - case $ac_mode in - :L) ac_source=3D$1;; - :[FH]) - ac_file_inputs=3D - for ac_f - do - case $ac_f in - -) ac_f=3D"$ac_tmp/stdin";; - *) # Look for the file first in the build tree, then in the source t= ree - # (if the path is not absolute). The absolute path cannot be DOS-style, - # because $ac_f cannot contain `:'. - test -f "$ac_f" || - case $ac_f in - [\\/$]*) false;; - *) test -f "$srcdir/$ac_f" && ac_f=3D"$srcdir/$ac_f";; - esac || - as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; - esac - case $ac_f in *\'*) ac_f=3D`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/= g"`;; esac - as_fn_append ac_file_inputs " '$ac_f'" - done - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - configure_input=3D'Generated from '` - $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' - `' by configure.' - if test x"$ac_file" !=3D x-; then - configure_input=3D"$ac_file. $configure_input" - { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 -$as_echo "$as_me: creating $ac_file" >&6;} - fi - # Neutralize special characters interpreted by sed in replacement stri= ngs. - case $configure_input in #( - *\&* | *\|* | *\\* ) - ac_sed_conf_input=3D`$as_echo "$configure_input" | - sed 's/[\\\\&|]/\\\\&/g'`;; #( - *) ac_sed_conf_input=3D$configure_input;; - esac - - case $ac_tag in - *:-:* | *:-) cat >"$ac_tmp/stdin" \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; - esac - ;; - esac - - ac_dir=3D`$as_dirname -- "$ac_file" || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || -$as_echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ - s//\1/ - q - } - /^X\(\/\/\)[^/].*/{ - s//\1/ - q - } - /^X\(\/\/\)$/{ - s//\1/ - q - } - /^X\(\/\).*/{ - s//\1/ - q - } - s/.*/./; q'` - as_dir=3D"$ac_dir"; as_fn_mkdir_p - ac_builddir=3D. - -case "$ac_dir" in -.) ac_dir_suffix=3D ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; -*) - ac_dir_suffix=3D/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` - # A ".." for each directory in $ac_dir_suffix. - ac_top_builddir_sub=3D`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g= ;s|/||'` - case $ac_top_builddir_sub in - "") ac_top_builddir_sub=3D. ac_top_build_prefix=3D ;; - *) ac_top_build_prefix=3D$ac_top_builddir_sub/ ;; - esac ;; -esac -ac_abs_top_builddir=3D$ac_pwd -ac_abs_builddir=3D$ac_pwd$ac_dir_suffix -# for backward compatibility: -ac_top_builddir=3D$ac_top_build_prefix - -case $srcdir in - .) # We are building in place. - ac_srcdir=3D. - ac_top_srcdir=3D$ac_top_builddir_sub - ac_abs_top_srcdir=3D$ac_pwd ;; - [\\/]* | ?:[\\/]* ) # Absolute name. - ac_srcdir=3D$srcdir$ac_dir_suffix; - ac_top_srcdir=3D$srcdir - ac_abs_top_srcdir=3D$srcdir ;; - *) # Relative name. - ac_srcdir=3D$ac_top_build_prefix$srcdir$ac_dir_suffix - ac_top_srcdir=3D$ac_top_build_prefix$srcdir - ac_abs_top_srcdir=3D$ac_pwd/$srcdir ;; -esac -ac_abs_srcdir=3D$ac_abs_top_srcdir$ac_dir_suffix - - - case $ac_mode in - :F) - # - # CONFIG_FILE - # - -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=3D1 -# If the template does not know about datarootdir, expand it. -# FIXME: This hack should be removed a few years after 2.60. -ac_datarootdir_hack=3D; ac_datarootdir_seen=3D -ac_sed_dataroot=3D' -/datarootdir/ { - p - q -} -/@datadir@/p -/@docdir@/p -/@infodir@/p -/@localedir@/p -/@mandir@/p' -case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in -*datarootdir*) ac_datarootdir_seen=3Dyes;; -*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems = to ignore the --datarootdir setting" >&5 -$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootd= ir setting" >&2;} -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 - ac_datarootdir_hack=3D' - s&@datadir@&$datadir&g - s&@docdir@&$docdir&g - s&@infodir@&$infodir&g - s&@localedir@&$localedir&g - s&@mandir@&$mandir&g - s&\\\${datarootdir}&$datarootdir&g' ;; -esac -_ACEOF - -# Neutralize VPATH when `$srcdir' =3D `.'. -# Shell code in configure.ac might set extrasub. -# FIXME: do we really want to maintain this feature? -cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=3D1 -ac_sed_extra=3D"$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=3D1 -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s|@configure_input@|$ac_sed_conf_input|;t t -s&@top_builddir@&$ac_top_builddir_sub&;t t -s&@top_build_prefix@&$ac_top_build_prefix&;t t -s&@srcdir@&$ac_srcdir&;t t -s&@abs_srcdir@&$ac_abs_srcdir&;t t -s&@top_srcdir@&$ac_top_srcdir&;t t -s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t -s&@builddir@&$ac_builddir&;t t -s&@abs_builddir@&$ac_abs_builddir&;t t -s&@abs_top_builddir@&$ac_abs_top_builddir&;t t -$ac_datarootdir_hack -" -eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk"= \ - >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - -test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && - { ac_out=3D`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out= "; } && - { ac_out=3D`sed -n '/^[ ]*datarootdir[ ]*:*=3D/p' \ - "$ac_tmp/out"`; test -z "$ac_out"; } && - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a re= ference to the variable \`datarootdir' -which seems to be undefined. Please make sure it is defined" >&5 -$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \= `datarootdir' -which seems to be undefined. Please make sure it is defined" >&2;} - - rm -f "$ac_tmp/stdin" - case $ac_file in - -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; - *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; - esac \ - || as_fn_error $? "could not create $ac_file" "$LINENO" 5 - ;; - - - :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file command= s" >&5 -$as_echo "$as_me: executing $ac_file commands" >&6;} - ;; - esac - - - case $ac_file$ac_mode in - "Makefile":C) echo "Merging Makefile.sim+Make-common.sim into Makefile= ..." - rm -f Makesim1.tmp Makesim2.tmp Makefile - sed -n -e '/^## COMMON_PRE_/,/^## End COMMON_PRE_/ p' M= akesim1.tmp - sed -n -e '/^## COMMON_POST_/,/^## End COMMON_POST_/ p' Makesim2.tmp - sed -e '/^## COMMON_PRE_/ r Makesim1.tmp' \ - -e '/^## COMMON_POST_/ r Makesim2.tmp' \ - Makefile - rm -f Makefile.sim Make-common.sim Makesim1.tmp Makesim2.tmp - ;; - "stamp-h":C) echo > stamp-h ;; - - esac -done # for ac_tag - - -as_fn_exit 0 -_ACEOF -ac_clean_files=3D$ac_clean_files_save - -test $ac_write_fail =3D 0 || - as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" !=3D yes; then - ac_cs_success=3D: - ac_config_status_args=3D - test "$silent" =3D yes && - ac_config_status_args=3D"$ac_config_status_args --quiet" - exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=3Dfalse - exec 5>>config.log - # Use ||, not &&, to avoid exiting from the if with $? =3D 1, which - # would make configure fail if this is the last instruction. - $ac_cs_success || as_fn_exit 1 -fi -if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" !=3D = no; then - { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: = $ac_unrecognized_opts" >&5 -$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&= 2;} -fi - - diff --git a/sim/or1k/configure.ac b/sim/or1k/configure.ac deleted file mode 100644 index a0fe51c897b..00000000000 --- a/sim/or1k/configure.ac +++ /dev/null @@ -1,7 +0,0 @@ -dnl Process this file with autoconf to produce a configure script. -AC_INIT(Makefile.in) -AC_CONFIG_MACRO_DIRS([../m4 ../.. ../../config]) - -SIM_AC_OPTION_BITSIZE([32], [31]) - -SIM_AC_OUTPUT