]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* configure.in: Set ac_cv_search_tgetent to "none required" for
authorEli Zaretskii <eliz@gnu.org>
Mon, 29 Dec 2003 07:35:35 +0000 (07:35 +0000)
committerEli Zaretskii <eliz@gnu.org>
Mon, 29 Dec 2003 07:35:35 +0000 (07:35 +0000)
"*djgpp*" targets as well (DJGPP doesn't have termcap and doesn't
need one).

* config/djgpp/config.sed: Tweak to adapt to the changes in
configury.

* config/djgpp/djconfig.sh: Fix the test of unpacked
distribution, since there's no gdb.cxx directory anymore.

gdb/ChangeLog
gdb/config/djgpp/config.sed
gdb/config/djgpp/djconfig.sh
gdb/configure.in

index 5c2e53149734f0be7c613176c89b4ccfd15ae8cc..2ab9e11e19d9098d80f8844ce331b2ba2659ef47 100644 (file)
@@ -1,3 +1,15 @@
+2003-12-29  Eli Zaretskii  <eliz@elta.co.il>
+
+       * configure.in: Set ac_cv_search_tgetent to "none required" for
+       "*djgpp*" targets as well (DJGPP doesn't have termcap and doesn't
+       need one).
+
+       * config/djgpp/config.sed: Tweak to adapt to the changes in
+       configury.
+
+       * config/djgpp/djconfig.sh: Fix the test of unpacked
+       distribution, since there's no gdb.cxx directory anymore.
+
 2003-12-28  Mark Kettenis  <kettenis@gnu.org>
 
        * i386-sol2-tdep.c (i386_sol2_mcontext_addr): New function.
index 7cc9d3f3e486347ac8a95e8036a712f9eb45fdf5..4313bfb0c0c0ef4346a4ab924dcaae519458642f 100644 (file)
@@ -3,7 +3,7 @@ s|gdb\.c++|gdb.cxx|g
 /ac_rel_source/s|ln -s|cp -p|
 s|\.gdbinit|gdb.ini|g
 
-/ac_given_INSTALL=/,/^CEOF/ {
+/^ac_given_INSTALL=/,/^CEOF/ {
   /^s%@prefix@%/a\
   s,\\([yp*]\\)\\.tab,\\1_tab,g\
   /^   @rm -f/s,\\$@-\\[0-9\\]\\[0-9\\],& *.i[1-9] *.i[1-9][0-9],\
@@ -12,19 +12,27 @@ s|\.gdbinit|gdb.ini|g
   s,\\.info\\*,.inf* *.i[1-9] *.i[1-9][0-9],\
   s,\\.gdbinit,gdb.ini,g\
   /TEXINPUTS=/s,:,';',g\
-  /VPATH *=/s,\\([^A-z]\\):,\1;,g\
+  /VPATH *=/s,\\([^A-z]\\):,\\1;,g\
   /\\$\\$file-\\[0-9\\]/s,echo,& *.i[1-9] *.i[1-9][0-9],\
   /\\$\\$file-\\[0-9\\]/s,rm -f \\$\\$file,& \\${PACKAGE}.i[1-9] \\${PACKAGE}.i[1-9][0-9],\
   s,config\\.h\\.in,config.h-in,g\
   s,po2tbl\\.sed\\.in,po2tblsed.in,g
+
+}
+
+/^ac_given_srcdir=/,/^CEOF/ {
+  /^s%@TOPLEVEL_CONFIGURE_ARGUMENTS@%/a\
+  /@test ! -f /s,\\(.\\)\$, export am_cv_exeext=.exe; export lt_cv_sys_max_cmd_len=12288; \\1,
+
 }
 
 /^CONFIG_FILES=/,/^EOF/ {
-  s|po/Makefile.in\([^-:]\)|po/Makefile.in:po/Makefile.in-in\1|
+  s|po/Makefile.in\([^-:a-z]\)|po/Makefile.in:po/Makefile.in-in\1|
 }
 
-/^ *CONFIG_HEADERS=/,/^EOF/ {
-  s|config.h\([^-:]\)|config.h:config.h-in\1|
+/^ *# *Handling of arguments/,/^done/ {
+  s| config.h"| config.h:config.h-in"|
+  s|config.h\([^-:"a-z]\)|config.h:config.h-in\1|
 }
 
 /^[    ]*\/\*)/s,/\*,/*|[A-z]:/*,
@@ -32,3 +40,4 @@ s|\.gdbinit|gdb.ini|g
 /\$]\*) ac_rel_source=/s,\[/\$\]\*,&|[A-z]:/*,
 /ac_file_inputs=/s,\( -e "s%\^%\$ac_given_srcdir/%"\)\( -e "s%:% $ac_given_srcdir/%g"\),\2\1,
 /^[    ]*if test "x`echo /s,sed 's@/,sed -e 's@^[A-z]:@@' -e 's@/,
+/^ *ac_config_headers=/s, config.h", config.h:config.h-in",
index 23be0d5fdad2d43e93502ae76d17848bf0572d67..c79dbfb4e1329c0730e3c36e917cfdada5a91715 100644 (file)
@@ -5,7 +5,7 @@
 # configuring other GNU programs for DJGPP.
 #
 #=====================================================================
-# Copyright 1997, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+# Copyright 1997,1999,2000,2001,2002,2003 Free Software Foundation, Inc.
 #
 # Originally written by Robert Hoehne, revised by Eli Zaretskii.
 #  This file is part of GDB.
@@ -52,9 +52,21 @@ fi
 # Make sure they don't have some file names mangled by untarring.
 echo -n "Checking the unpacked distribution..."
 if ( ! test -f ${srcdir}/intl/po2tblsed.in || \
-     ! test -d ${srcdir}/gdb/testsuite/gdb.cxx || \
+     ! test -f ${srcdir}/gdb/ChangeLog.002 || \
      ! test -f ${srcdir}/readline/config.h-in ) ; then
+  if ( ! test -f ${srcdir}/intl/po2tblsed.in ) ; then
+    notfound=${srcdir}/intl/po2tblsed.in
+  else
+    if ( ! test -d ${srcdir}/gdb/testsuite/cxx) ; then
+      notfound=${srcdir}/gdb/ChangeLog.002
+    else
+      if ( ! test -f ${srcdir}/readline/config.h-in ) ; then
+        notfound=${srcdir}/readline/config.h-in
+      fi
+    fi
+  fi
   echo " FAILED."
+  echo "(File $notfound was not found.)"
   echo ""
   echo "You MUST unpack the sources with the DJTAR command, like this:"
   echo ""
@@ -62,6 +74,7 @@ if ( ! test -f ${srcdir}/intl/po2tblsed.in || \
   echo ""
   echo "where X.YZ is the GDB version, and fnchange.lst can be found"
   echo "in the gdb/config/djgpp/ directory in the GDB distribution."
+  echo ""
   echo "configure FAILED!"
   exit 1
 else
index 128c744a46ce0c7e92ba8b9f1916549d0f610964..d27470cb6c8fe2069641020961f71520a234180b 100644 (file)
@@ -317,8 +317,7 @@ case $host_os in
       LIBS="../libtermcap/libtermcap.a $LIBS"
       ac_cv_search_tgetent="../libtermcap/libtermcap.a"
     fi ;;
-  go32*)
-    # ??? Is this really true?
+  go32* | *djgpp*)
     ac_cv_search_tgetent="none required"
     ;;
   aix*)