This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project. See the GDB home page for more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Using the correct subdirs in the main configure.in


The GNU gettext package is located in the subdirectory intl/ and
not in gettext, so a change to the (no)configdirs is needed.

Additionally I changed the sed scripts which filter out the
directories given in noconfigdirs from configdirs. In the case
that a directory is more than once in configdirs (like intl for
instance) it was not correctly filtered out.

And adding the sim subdirectory to $noconfigdirs for DJGPP.

WARNING: The patch might not look correct, since there are
VERY LONG lines, so you might manually edit the patch before
appying it! (the lines with native_only=... and host_tools=...)

This patch is against "a March 10th snapshot from DJ"
which I got from DJ Delorie.

Sun Mar 14 1999 Robert Hoehne <robert.hoehne@gmx.net>

	* configure.in: Change reference to gettext to the intl subdirectory
		Filter out all directories from $noconfigdirs out of $configdirs
		Add sim to $noconfigdirs for DJGPP

--- gdb-snap-march-10th-from-DJ/configure.in.orig	Thu Mar 11 19:56:52 1999
+++ gdb-snap-march-10th-from-DJ/configure.in	Thu Mar 11 23:31:46 1999
@@ -51,7 +51,7 @@
 # these tools are built for the host environment
 # Note, the powerpc-eabi build depends on sim occurring before gdb in order to
 # know that we are building the simulator.
-host_tools="texinfo byacc flex bison binutils ld gas gcc sim gdb make patch prms send-pr gprof gdbtest tgas etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool ispell grep diff rcs cvssrc fileutils shellutils time textutils wdiff find 
emacs emacs19 uudecode hello tar gzip indent recode release sed utils guile perl apache inet gawk findutils snavigator libtool gettext zip"
+host_tools="texinfo byacc flex bison binutils ld gas gcc sim gdb make patch prms send-pr gprof gdb
test tgas etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool ispell grep diff rcs cvssr
c fileutils shellutils time textutils wdiff find emacs 
emacs19 uudecode hello tar gzip indent recode release sed utils guile perl apache inet gawk finduti
ls snavigator libtool intl zip"
 
 # these libraries are built for the target environment, and are built after
 # the host libraries and the host tools (which may be a cross compiler)
@@ -85,7 +85,7 @@
 #
 # This must be a single line because of the way it is searched by grep in
 # the code below.
-native_only="autoconf automake libtool cvssrc emacs emacs19 fileutils find gawk gettext grep gzip 
hello indent ispell m4 rcs recode sed shellutils tar textutils gash uudecode wdiff gprof target-gro
ff guile perl apache inet time ash bash bzip2 prms 
snavigator gnuserv target-gperf"
+native_only="autoconf automake libtool cvssrc emacs emacs19 fileutils find gawk intl grep gzip hel
lo indent ispell m4 rcs recode sed shellutils tar textutils gash uudecode wdiff gprof target-groff 
guile perl apache inet time ash bash bzip2 prms 
snavigator gnuserv target-gperf"
 
 # directories to be built in a cross environment only
 #
@@ -505,10 +505,10 @@
 
 case "${host}" in
   i[3456]86-*-vsta)
-    noconfigdirs="tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode de
jagnu diff guile perl apache inet itcl tix db snavigator gnuserv gettext"
+    noconfigdirs="tcl expect dejagnu make texinfo bison patch flex byacc send-pr gprof uudecode de
jagnu diff guile perl apache inet itcl tix db snavigator gnuserv intl"
     ;;
   i[3456]86-*-go32* | i[3456]86-*-msdosdjgpp*)
-    noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejag
nu diff guile perl apache inet itcl tix db snavigator gnuserv gettext"
+    noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejag
nu diff guile perl apache inet itcl tix db snavigator gnuserv intl sim"
 	;;
   i[3456]86-*-mingw32*)
     # noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dej
agnu diff guile perl apache inet itcl tix db snavigator gnuserv"
@@ -871,7 +871,7 @@
 for dir in . $skipdirs $noconfigdirs ; do
   dirname=`echo $dir | sed -e s/target-//g`
   if [ $dir != . ]  && echo " ${configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
-    configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /"`
+    configdirs=`echo " ${configdirs} " | sed -e "s/ ${dir} / /g"`
     if [ -r $srcdir/$dirname/configure ] \
 	|| [ -r $srcdir/$dirname/configure.in ]; then
       if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then
@@ -882,7 +882,7 @@
     fi
   fi
   if [ $dir != . ]  && echo " ${target_configdirs} " | grep " ${dir} " >/dev/null 2>&1; then
-    target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /"`
+    target_configdirs=`echo " ${target_configdirs} " | sed -e "s/ ${dir} / /g"`
     if [ -r $srcdir/$dirname/configure ] \
 	|| [ -r $srcdir/$dirname/configure.in ]; then
       if echo " ${skipdirs} " | grep " ${dir} " >/dev/null 2>&1; then

******************************************************
* email:   Robert Hoehne <robert.hoehne@gmx.net>     *
* Post:    Am Berg 3, D-09573 Dittmannsdorf, Germany *
* WWW:     http://www.tu-chemnitz.de/~sho/rho        *
******************************************************