diff options
-rwxr-xr-x | sim/ppc/configure | 10 | ||||
-rw-r--r-- | sim/ppc/configure.in | 8 |
2 files changed, 9 insertions, 9 deletions
diff --git a/sim/ppc/configure b/sim/ppc/configure index aab7e2a..7eefa07 100755 --- a/sim/ppc/configure +++ b/sim/ppc/configure @@ -452,7 +452,7 @@ if test -n "$enableval"; then case "${enableval}" in yes) sim_cflags="-O2 -fomit-frame-pointer";; no) sim_cflags="";; - *) sim_cflags=`echo "${enableval}" | sed -e "s/,/ /"`;; + *) sim_cflags=`echo "${enableval}" | sed -e "s/,/ /g"`;; esac else sim_cflags="" @@ -531,10 +531,10 @@ enableval="$enable_sim_inline" if test -n "$enableval"; then sim_inline="" case "$enableval" in - no) flags="";; - 0) flags="-DDEFAULT_INLINE=0";; - yes | 2) flags="-DDEFAULT_INLINE=2";; - 1) flags="-DDEFAULT_INLINE=1";; + no) sim_inline="";; + 0) sim_inline="-DDEFAULT_INLINE=0";; + yes | 2) sim_inline="-DDEFAULT_INLINE=2";; + 1) sim_inline="-DDEFAULT_INLINE=1";; *) for x in `echo "$enableval" | sed -e "s/,/ /g"`; do new_flag="" case "$x" in diff --git a/sim/ppc/configure.in b/sim/ppc/configure.in index 04beaaf..43761d8 100644 --- a/sim/ppc/configure.in +++ b/sim/ppc/configure.in @@ -58,10 +58,10 @@ AC_ARG_ENABLE(sim-inline, [ --enable-sim-inline=inlines Specify which functions should be inlined.], [sim_inline="" case "$enableval" in - no) flags="";; - 0) flags="-DDEFAULT_INLINE=0";; - yes | 2) flags="-DDEFAULT_INLINE=2";; - 1) flags="-DDEFAULT_INLINE=1";; + no) sim_inline="";; + 0) sim_inline="-DDEFAULT_INLINE=0";; + yes | 2) sim_inline="-DDEFAULT_INLINE=2";; + 1) sim_inline="-DDEFAULT_INLINE=1";; *) for x in `echo "$enableval" | sed -e "s/,/ /g"`; do new_flag="" case "$x" in |