]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/m4/sim_ac_option_hardware.m4
sim: unify hardware settings
[thirdparty/binutils-gdb.git] / sim / m4 / sim_ac_option_hardware.m4
index 14101830e828517ea2e450f268527d5b30042242..ed53cd2f1206a2ce3fa5d574dc3f178d3fde775f 100644 (file)
@@ -39,16 +39,7 @@ elif test "$enable_sim_hardware" = yes; then
 else
   AC_MSG_ERROR([unknown argument "$enable_sim_hardware"])
 fi
-dnl AM_CONDITIONAL([SIM_ENABLE_HW], [test "$enable_sim_hardware" = "yes"])
-if test "$enable_sim_hardware" = "yes"; then
-  SIM_ENABLE_HW_TRUE=
-  SIM_ENABLE_HW_FALSE='#'
-else
-  SIM_ENABLE_HW_TRUE='#'
-  SIM_ENABLE_HW_FALSE=
-fi
-AC_SUBST(SIM_ENABLE_HW_TRUE)
-AC_SUBST(SIM_ENABLE_HW_FALSE)
+AM_CONDITIONAL([SIM_ENABLE_HW], [test "$enable_sim_hardware" = "yes"])
 AC_MSG_RESULT(${enable_sim_hardware})
 AC_SUBST(sim_hw_cflags)
 AC_SUBST(sim_hw_sockser)