X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=configure;h=a0b6e55aa474023292445bd76ecab6aff3e78257;hb=1bae67cc62e2c7b085984fc26cc0fecf8fd935c2;hp=0f9497740b5080a133cbb3d3a35b0feca1964fff;hpb=9dce29780589f6f9bf101a3306ec39d6ae8a0e45;p=fw%2Fsdcc diff --git a/configure b/configure index 0f949774..a0b6e55a 100755 --- a/configure +++ b/configure @@ -875,6 +875,7 @@ Optional Features: --disable-ds390-port Excludes the DS390 port --disable-ds400-port Excludes the DS400 port --disable-pic-port Excludes the PIC port + --disable-pic16-port Excludes the PIC16 port --disable-xa51-port Excludes the XA51 port --disable-ucsim Disables configuring and building of ucsim --disable-device-lib-build @@ -6582,6 +6583,25 @@ _ACEOF fi +# Check whether --enable-pic16-port or --disable-pic16-port was given. +if test "${enable_pic16_port+set}" = set; then + enableval="$enable_pic16_port" + +fi; +echo pic16 >>ports.all +if test "$enable_pic16_port" = "no"; then + cat >>confdefs.h <<_ACEOF +#define OPT_DISABLE_PIC16 1 +_ACEOF + +else + echo pic16 >>ports.build + cat >>confdefs.h <<_ACEOF +#define OPT_DISABLE_PIC16 0 +_ACEOF + +fi + # Check whether --enable-xa51-port or --disable-xa51-port was given. if test "${enable_xa51_port+set}" = set; then enableval="$enable_xa51_port"