diff options
author | Michael Meissner <gnu@the-meissners.org> | 1995-11-01 03:02:04 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1995-11-01 03:02:04 +0000 |
commit | 5281197d1e4c5d7e091e4e3fb3c3f6c400823da9 (patch) | |
tree | 802957fae9a1f2c6ae52b6934262ab6362ed6d1e | |
parent | 3067858d0945ad8f63b809fa1ed017106cc6446e (diff) | |
download | gdb-5281197d1e4c5d7e091e4e3fb3c3f6c400823da9.zip gdb-5281197d1e4c5d7e091e4e3fb3c3f6c400823da9.tar.gz gdb-5281197d1e4c5d7e091e4e3fb3c3f6c400823da9.tar.bz2 |
fix typo in last change
-rwxr-xr-x | sim/ppc/configure | 12 | ||||
-rw-r--r-- | sim/ppc/configure.in | 2 |
2 files changed, 8 insertions, 6 deletions
diff --git a/sim/ppc/configure b/sim/ppc/configure index d7f319e..ebf3a51 100755 --- a/sim/ppc/configure +++ b/sim/ppc/configure @@ -1040,9 +1040,11 @@ rm -fr confdefs* $ac_clean_files test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 -if test x"$enable_sim_inline" != x"" -a x"$enable_sim_inline" != x"no"; then +if test x"$enable_sim_inline" != x""; then flags="" case "$enable_sim_inline" in + no) flags="";; + 0) flags="-DDEFAULT_INLINE=0";; yes | 2) flags="-DDEFAULT_INLINE=2";; 1) flags="-DDEFAULT_INLINE=1";; *) for x in `echo "$enable_sim_inline" | sed -e "s/,/ /g"`; do @@ -1057,7 +1059,7 @@ if test x"$enable_sim_inline" != x"" -a x"$enable_sim_inline" != x"no"; then if test x"$flags" != x""; then mv Makefile Makefile.tem echo "Setting INLINE_CFLAGS=$flags" 1>&6 - sed -e "s/^INLINE_CFLAGS.*=.*\$/INLINE_CFLAGS = $flags/" \ + sed -e "s/^INLINE_CFLAGS.*=.*\$/INLINE_CFLAGS =$flags/" \ < Makefile.tem > Makefile rm -f Makefile.tem fi @@ -1073,11 +1075,11 @@ fi if test x"$enable_sim_cflags" != x"" -a x"$enable_sim_cflags" != x"no"; then if test "$enable_sim_cflags" = "yes"; then - enable_sim_cflags="-fomit-frame-pointer -O2" + enable_sim_cflags="-fomit-frame-pointer,-O2" fi mv Makefile Makefile.tem echo "Setting SIM_CFLAGS=$enable_sim_cflags" - sed -e "s/^SIM_CFLAGS.*=.*\$/SIM_CFLAGS = $enable_sim_cflags/" \ + sed -e "s/^SIM_CFLAGS.*=.*\$/SIM_CFLAGS = $enable_sim_cflags/" -e "s/,/ /g"\ < Makefile.tem > Makefile rm -f Makefile.tem fi @@ -1111,7 +1113,7 @@ if test x"$enable_sim_filter" = x"no"; then rm -f Makefile.tem else - if test x"$enable_sim_filter" != x"yes"; then + if test x"$enable_sim_filter" != x"yes" -a x"$enable_sim_filter" != x""; then mv Makefile Makefile.tem echo "Setting IGEN_FILTER= -f $enable_sim_filter" 1>&6 sed -e "s/^IGEN_FILTER.*=.*\$/IGEN_FILTER = -f $enable_sim_filter/" \ diff --git a/sim/ppc/configure.in b/sim/ppc/configure.in index f0758d3..59bc4b2 100644 --- a/sim/ppc/configure.in +++ b/sim/ppc/configure.in @@ -104,7 +104,7 @@ if test x"$enable_sim_filter" = x"no"; then rm -f Makefile.tem else - if test x"$enable_sim_filter" != x"yes"; then + if test x"$enable_sim_filter" != x"yes" -a x"$enable_sim_filter" != x""; then mv Makefile Makefile.tem echo "Setting IGEN_FILTER= -f $enable_sim_filter" 1>&6 sed -e "s/^IGEN_FILTER.*=.*\$/IGEN_FILTER = -f $enable_sim_filter/" \ |