X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=configure.in;h=fdea578bef3ba63b9d6764a48f5139e8ee12e831;hb=916b7e4011f58680d6006400c274310fb1659a7e;hp=0dddd214d043186fdd3401bd46125e11cb23aa5c;hpb=2c36d952947ee9e9db4e1099855682197f945511;p=fw%2Fsdcc diff --git a/configure.in b/configure.in index 0dddd214..fdea578b 100755 --- a/configure.in +++ b/configure.in @@ -72,6 +72,12 @@ AC_LANG([C]) AC_CHECK_HEADERS(sys/socket.h) +# Checking for functions/libs +# =========================================================================== +AC_CHECK_LIB(socket,socket) +AC_CHECK_LIB(nsl,xdr_short) + + # Checking for functions # =========================================================================== AC_CHECK_FUNCS(strerror) @@ -599,6 +605,17 @@ else AC_DEFINE_UNQUOTED(OPT_DISABLE_XA51, 0) fi +AC_ARG_ENABLE(hc08-port, + AC_HELP_STRING([--disable-hc08-port], + [Excludes the HC08 port])) +echo hc08 >>ports.all +if test "$enable_hc08_port" = "no"; then + AC_DEFINE_UNQUOTED(OPT_DISABLE_HC08, 1) +else + echo hc08 >>ports.build + AC_DEFINE_UNQUOTED(OPT_DISABLE_HC08, 0) +fi + AC_ARG_ENABLE(ucsim, AC_HELP_STRING([--disable-ucsim], [Disables configuring and building of ucsim])) @@ -617,12 +634,6 @@ AC_ARG_ENABLE(packihx, OPT_ENABLE_PACKIHX=$enable_packihx AC_SUBST(OPT_ENABLE_PACKIHX) -AC_ARG_ENABLE(librarian, - AC_HELP_STRING([--disable-librarian], - [Disables building librarian])) -OPT_ENABLE_LIBRARIAN=$enable_librarian -AC_SUBST(OPT_ENABLE_LIBRARIAN) - AC_ARG_ENABLE(libgc, AC_HELP_STRING([--enable-libgc], [Use the Bohem memory allocator. Lower runtime footprint.])) @@ -643,15 +654,19 @@ mv ports ports.build # Generating output files # =========================================================================== AC_CONFIG_SUBDIRS(support/cpp2) -AC_CONFIG_SUBDIRS(support/librarian) AC_CONFIG_SUBDIRS(packihx) AC_CONFIG_SUBDIRS(sim/ucsim) +AC_CONFIG_SUBDIRS(device/lib/pic16) +AC_CONFIG_SUBDIRS(device/lib/pic) + AC_CONFIG_FILES([main.mk:main_in.mk src/Makefile as/mcs51/Makefile +as/hc08/Makefile device/include/Makefile device/lib/Makefile debugger/mcs51/Makefile +support/regression/Makefile Makefile.common:Makefile.common.in ]) AC_OUTPUT