diff options
author | Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU> | 2011-06-19 21:56:15 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU> | 2011-06-19 21:56:15 -0700 |
commit | 2f5776b244a4a2a8297fee9e0160c835430e1f06 (patch) | |
tree | 55dfcf8b14585830acc927dfd3ef3eb6ee74a37a | |
parent | 1e163c715550e20e239976a22e00869884713e54 (diff) | |
download | pk-cs250.zip pk-cs250.tar.gz pk-cs250.tar.bz2 |
configure argument --host=riscv is now impliedcs250
-rw-r--r-- | aclocal.m4 | 16 | ||||
-rwxr-xr-x | configure | 6 | ||||
-rw-r--r-- | configure.ac | 2 |
3 files changed, 24 insertions, 0 deletions
@@ -343,3 +343,19 @@ AC_DEFUN([MCPPBS_GROUP], ]) ]) + +#------------------------------------------------------------------------- +# AX_DEFAULT_CONFIGURE_ARG +#------------------------------------------------------------------------- +# Simple little macro which adds a configure commane line option to an +# internal autoconf shell variable. Not sure how safe this is, but it +# seems to work fine. +# +# Author : Christopher Batten +# Date : August 20, 2009 + +AC_DEFUN([AX_DEFAULT_CONFIGURE_ARG], +[ + AC_MSG_NOTICE([adding default configure arg: $1]) + ac_configure_args="$1 ${ac_configure_args}" +]) @@ -3912,6 +3912,12 @@ CFLAGS="-Wall -Os -std=gnu99" LIBS="-lgcc" + + { $as_echo "$as_me:${as_lineno-$LINENO}: adding default configure arg: --host=riscv" >&5 +$as_echo "$as_me: adding default configure arg: --host=riscv" >&6;} + ac_configure_args="--host=riscv ${ac_configure_args}" + + #------------------------------------------------------------------------- # MCPPBS subproject list #------------------------------------------------------------------------- diff --git a/configure.ac b/configure.ac index bbd9b43..e09605c 100644 --- a/configure.ac +++ b/configure.ac @@ -74,6 +74,8 @@ AC_HEADER_STDC AC_SUBST([CFLAGS], ["-Wall -Os -std=gnu99"]) AC_SUBST([LIBS], ["-lgcc"]) +AX_DEFAULT_CONFIGURE_ARG([--host=riscv]) + #------------------------------------------------------------------------- # MCPPBS subproject list #------------------------------------------------------------------------- |