Fixed up ENDIAN warning with mingw32. Added ability to disable ucsim and device...
[fw/sdcc] / configure.in
index 5e658fe4a708f2e7010bc5be48616550459a0426..5dfc2355a3f5b148038539486ec295432b3eff23 100755 (executable)
@@ -291,6 +291,14 @@ else
     AC_DEFINE_UNQUOTED(OPT_DISABLE_TLCS900H, 0)
 fi
 
+AC_ARG_ENABLE(ucsim,[  --disable-ucsim         Disables configuring and building of ucsim])
+OPT_ENABLE_UCSIM=$enable_ucsim
+AC_SUBST(OPT_ENABLE_UCSIM)
+
+AC_ARG_ENABLE(device-lib-build,[  --disable-device-lib-build Disables automatically building device libraries])
+OPT_ENABLE_DEVICE_LIB_BUILD=$enable_device_lib_build
+AC_SUBST(OPT_ENABLE_DEVICE_LIB_BUILD)
+
 #remove duplicates
 cat ports.all | uniq >ports
 mv ports ports.all
@@ -300,11 +308,12 @@ mv ports ports.build
 # Generating output files
 # ===========================================================================
 AC_CONFIG_SUBDIRS(sim/ucsim)
-AC_CONFIG_SUBDIRS(packihx)
 AC_CONFIG_SUBDIRS(support/cpp2)
 # MLH: removed as the rules are already in Makefile.common
+#AC_CONFIG_SUBDIRS(packihx)
 #as/z80/Makefile
 #link/z80/Makefile
+AC_CONFIG_SUBDIRS(sim/ucsim)
 AC_OUTPUT(main.mk:main_in.mk
 src/Makefile
 as/mcs51/Makefile