Added binutils in preparation for AVR
authorsandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 11 Sep 2000 00:58:59 +0000 (00:58 +0000)
committersandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Mon, 11 Sep 2000 00:58:59 +0000 (00:58 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@350 4a8a32a2-be11-0410-ad9d-d568d2c75423

Makefile
configure
configure.in

index 095b3dfb30cdd7b62eea7722b0455981ab1330a0..4b64260f0f4b33224d1b454fab4a3104fc1ba17f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ SHELL           = /bin/sh
 AUTOCONF       = autoconf
 
 PRJDIR         = .
-SDCC_MISC      = debugger/mcs51 sim/ucsim
+SDCC_MISC      = debugger/mcs51 sim/ucsim binutils-2.9.5.0.13
 SDCC_LIBS      = support/cpp
 SDCC_ASLINK    = as/mcs51 as link
 
index b262dc0189183a0f336ae5cb12d0ab0149016b26..c1d52b764879bba40ca7ce5266d48af7df406cd3 100755 (executable)
--- a/configure
+++ b/configure
@@ -531,7 +531,7 @@ fi
 
 
 
-for ac_prog in mawk gawk nawk awk
+for ac_prog in gawk mawk nawk awk
 do
 # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2
@@ -2445,6 +2445,7 @@ cat >> confdefs.h <<EOF
 #define STD_DS390_LIB "libds390"
 EOF
 
+
 cat >> confdefs.h <<EOF
 #define PREFIX "${prefix}"
 EOF
@@ -2460,7 +2461,7 @@ EOF
 
 # mlh: dont compile libgc if it's available locally
 echo $ac_n "checking for GC_malloc in -lgc""... $ac_c" 1>&6
-echo "configure:2461: checking for GC_malloc in -lgc" >&5
+echo "configure:2465: checking for GC_malloc in -lgc" >&5
 ac_lib_var=`echo gc'_'GC_malloc | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
@@ -2468,7 +2469,7 @@ else
   ac_save_LIBS="$LIBS"
 LIBS="-lgc  $LIBS"
 cat > conftest.$ac_ext <<EOF
-#line 2469 "configure"
+#line 2473 "configure"
 #include "confdefs.h"
 /* Override any gcc2 internal prototype to avoid an error.  */
 /* We use char because int might match the return type of a gcc2
@@ -2479,7 +2480,7 @@ int main() {
 GC_malloc()
 ; return 0; }
 EOF
-if { (eval echo configure:2480: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
+if { (eval echo configure:2484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
   rm -rf conftest*
   eval "ac_cv_lib_$ac_lib_var=yes"
 else
@@ -2578,6 +2579,8 @@ fi
 # ===========================================================================
 subdirs="sim/ucsim"
 
+subdirs="sim/ucsim binutils-2.9.5.0.13"
+
 # MLH: removed as the rules are already in Makefile.common
 #as/z80/Makefile
 #link/z80/Makefile
@@ -2999,7 +3002,7 @@ if test "$no_recursion" != yes; then
     esac
   done
 
-  for ac_config_dir in sim/ucsim; do
+  for ac_config_dir in sim/ucsim binutils-2.9.5.0.13; do
 
     # Do not complain, so a configure script can configure whichever
     # parts of a large source tree are present.
index 1cf8153a3a4c7042f85d85801e86201c3237650a..ef123b91afa6ea82f29ff76823481ce2f17914a5 100755 (executable)
@@ -226,6 +226,7 @@ fi
 # Generating output files
 # ===========================================================================
 AC_CONFIG_SUBDIRS(sim/ucsim)
+AC_CONFIG_SUBDIRS(binutils-2.9.5.0.13)
 # MLH: removed as the rules are already in Makefile.common
 #as/z80/Makefile
 #link/z80/Makefile