X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=configure.in;h=340e9c1d0d2ed38c18b596ed946a5fae414d19e8;hb=a71e3529acf4739d5c8590d2507cd0929efb52a1;hp=5e658fe4a708f2e7010bc5be48616550459a0426;hpb=67d911453a06d86cb670bad9e565eec52af61d59;p=fw%2Fsdcc diff --git a/configure.in b/configure.in index 5e658fe4..340e9c1d 100755 --- a/configure.in +++ b/configure.in @@ -291,6 +291,18 @@ 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) + +AC_ARG_ENABLE(packihx,[ -disable-packihx Disables building packihx]) +OPT_ENABLE_PACKIHX=$enable_packihx +AC_SUBST(OPT_ENABLE_PACKIHX) + #remove duplicates cat ports.all | uniq >ports mv ports ports.all @@ -299,12 +311,13 @@ mv ports ports.build # Generating output files # =========================================================================== -AC_CONFIG_SUBDIRS(sim/ucsim) -AC_CONFIG_SUBDIRS(packihx) AC_CONFIG_SUBDIRS(support/cpp2) +AC_CONFIG_SUBDIRS(packihx) +AC_CONFIG_SUBDIRS(sim/ucsim) # MLH: removed as the rules are already in Makefile.common #as/z80/Makefile #link/z80/Makefile +AC_CONFIG_SUBDIRS(sim/ucsim) AC_OUTPUT(main.mk:main_in.mk src/Makefile as/mcs51/Makefile