X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=configure.in;h=fdea578bef3ba63b9d6764a48f5139e8ee12e831;hb=8efb55fce2781c1bd6090dee7e0083ea0ae8b91f;hp=ca9c157fc2d0ce6f21ed7b8ce83e4b0a01ff9c20;hpb=339bf716b650ad0f0e14dc0084167bc99e0bf6e5;p=fw%2Fsdcc diff --git a/configure.in b/configure.in index ca9c157f..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) @@ -560,7 +566,7 @@ AC_ARG_ENABLE(ds400-port, [Excludes the DS400 port])) echo ds400 >>ports.all if test "$enable_ds400_port" = "no"; then - AC_DEFINE_UNQUOTED(OPT_DISABLE_DS300, 1) + AC_DEFINE_UNQUOTED(OPT_DISABLE_DS400, 1) else echo ds400 >>ports.build AC_DEFINE_UNQUOTED(OPT_DISABLE_DS400, 0) @@ -577,6 +583,17 @@ else AC_DEFINE_UNQUOTED(OPT_DISABLE_PIC, 0) fi +AC_ARG_ENABLE(pic16-port, + AC_HELP_STRING([--disable-pic16-port], + [Excludes the PIC port])) +echo pic16 >>ports.all +if test "$enable_pic16_port" = "no"; then + AC_DEFINE_UNQUOTED(OPT_DISABLE_PIC16, 1) +else + echo pic16 >>ports.build + AC_DEFINE_UNQUOTED(OPT_DISABLE_PIC16, 0) +fi + AC_ARG_ENABLE(xa51-port, AC_HELP_STRING([--disable-xa51-port], [Excludes the XA51 port])) @@ -588,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])) @@ -628,12 +656,17 @@ mv ports ports.build AC_CONFIG_SUBDIRS(support/cpp2) 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