* src/ds390/gen.c (genCall): fixed a double use of acc and b after
[fw/sdcc] / configure
index e01cd7f41e19a6736ed9c02ff9609d091f2b83de..d9cb7b17c5222232903eedd91717d6a3ee37260a 100755 (executable)
--- a/configure
+++ b/configure
@@ -311,6 +311,7 @@ ac_includes_default="\
 ac_subdirs_all="$ac_subdirs_all support/cpp2"
 ac_subdirs_all="$ac_subdirs_all packihx"
 ac_subdirs_all="$ac_subdirs_all sim/ucsim"
+ac_subdirs_all="$ac_subdirs_all device/lib/pic16"
 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS AWK VERSION VERSIONHI VERSIONLO VERSIONP CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA RANLIB ac_ct_RANLIB LEX LEXLIB LEX_OUTPUT_ROOT YACC AUTOCONF STRIP AS CP LYX LATEX LATEX2HTML PDFLATEX DVIPDF EGREP M_OR_MM sdccconf_h_dir_separator include_dir_suffix lib_dir_suffix docdir OPT_ENABLE_UCSIM OPT_ENABLE_DEVICE_LIB_BUILD OPT_ENABLE_PACKIHX subdirs LIBOBJS LTLIBOBJS'
 ac_subst_files=''
 
@@ -876,8 +877,11 @@ Optional Features:
   --disable-z80-port      Excludes the z80 port
   --disable-avr-port      Excludes the AVR port
   --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 PIC port
   --disable-xa51-port     Excludes the XA51 port
+  --disable-hc08-port     Excludes the HC08 port
   --disable-ucsim         Disables configuring and building of ucsim
   --disable-device-lib-build
                           Disables automatically building device libraries
@@ -6833,6 +6837,10 @@ cat >>confdefs.h <<_ACEOF
 #define STD_DS390_LIB "libds390"
 _ACEOF
 
+cat >>confdefs.h <<_ACEOF
+#define STD_DS400_LIB "libds400"
+_ACEOF
+
 cat >>confdefs.h <<_ACEOF
 #define STD_XA51_LIB "libxa51"
 _ACEOF
@@ -6963,6 +6971,25 @@ _ACEOF
 
 fi
 
+# Check whether --enable-ds400-port or --disable-ds400-port was given.
+if test "${enable_ds400_port+set}" = set; then
+  enableval="$enable_ds400_port"
+
+fi;
+echo ds400 >>ports.all
+if test "$enable_ds400_port" = "no"; then
+    cat >>confdefs.h <<_ACEOF
+#define OPT_DISABLE_DS400 1
+_ACEOF
+
+else
+    echo ds400 >>ports.build
+    cat >>confdefs.h <<_ACEOF
+#define OPT_DISABLE_DS400 0
+_ACEOF
+
+fi
+
 # Check whether --enable-pic-port or --disable-pic-port was given.
 if test "${enable_pic_port+set}" = set; then
   enableval="$enable_pic_port"
@@ -6982,6 +7009,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"
@@ -7001,6 +7047,25 @@ _ACEOF
 
 fi
 
+# Check whether --enable-hc08-port or --disable-hc08-port was given.
+if test "${enable_hc08_port+set}" = set; then
+  enableval="$enable_hc08_port"
+
+fi;
+echo hc08 >>ports.all
+if test "$enable_hc08_port" = "no"; then
+    cat >>confdefs.h <<_ACEOF
+#define OPT_DISABLE_HC08 1
+_ACEOF
+
+else
+    echo hc08 >>ports.build
+    cat >>confdefs.h <<_ACEOF
+#define OPT_DISABLE_HC08 0
+_ACEOF
+
+fi
+
 # Check whether --enable-ucsim or --disable-ucsim was given.
 if test "${enable_ucsim+set}" = set; then
   enableval="$enable_ucsim"
@@ -7124,7 +7189,12 @@ subdirs="$subdirs packihx"
 
 subdirs="$subdirs sim/ucsim"
 
-                                                                      ac_config_files="$ac_config_files main.mk:main_in.mk src/Makefile as/mcs51/Makefile device/include/Makefile device/lib/Makefile debugger/mcs51/Makefile Makefile.common:Makefile.common.in"
+
+
+subdirs="$subdirs device/lib/pic16"
+
+
+                                                                                ac_config_files="$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 Makefile.common:Makefile.common.in"
 
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
@@ -7653,6 +7723,7 @@ do
   "main.mk" ) CONFIG_FILES="$CONFIG_FILES main.mk:main_in.mk" ;;
   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   "as/mcs51/Makefile" ) CONFIG_FILES="$CONFIG_FILES as/mcs51/Makefile" ;;
+  "as/hc08/Makefile" ) CONFIG_FILES="$CONFIG_FILES as/hc08/Makefile" ;;
   "device/include/Makefile" ) CONFIG_FILES="$CONFIG_FILES device/include/Makefile" ;;
   "device/lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES device/lib/Makefile" ;;
   "debugger/mcs51/Makefile" ) CONFIG_FILES="$CONFIG_FILES debugger/mcs51/Makefile" ;;