This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Make spu use autoconf 2.59
- From: neroden at twcny dot rr dot com (Nathanael Nerode)
- To: gdb-patches at sources dot redhat dot com
- Date: Thu, 5 Aug 2004 15:47:39 -0400
- Subject: [PATCH] Make spu use autoconf 2.59
This updates spu to use autoconf 2.59. It was easy. :-)
It's only distributed with GDB, so I'm asking on that list. For copyright
purposes, I'm treating it as being part of GDB.
OK to commit?
Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/utils/spu/ChangeLog,v
retrieving revision 1.6
diff -u -r1.6 ChangeLog
--- ChangeLog 2 Apr 2002 20:23:28 -0000 1.6
+++ ChangeLog 5 Aug 2004 19:42:12 -0000
@@ -1,3 +1,10 @@
+2004-08-05 Nathanael Nerode <neroden@gcc.gnu.org>
+
+ * configure.in: Convert to autoconf 2.59, rename to...
+ * configure.ac: ...this.
+ * Makefile.in: Update to match.
+ * configure: Regenerate.
+
2002-04-02 Daniel Jacobowitz <drow@mvista.com>
From Nathanael Nerode <neroden@doctormoo.dyndns.org>:
Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/utils/spu/Makefile.in,v
retrieving revision 1.2
diff -u -r1.2 Makefile.in
--- Makefile.in 2 Apr 2002 20:23:28 -0000 1.2
+++ Makefile.in 5 Aug 2004 19:42:12 -0000
@@ -92,5 +92,5 @@
config.status: $(srcdir)/configure
./config.status --recheck
-$(srcdir)/configure: $(srcdir)/configure.in
+$(srcdir)/configure: $(srcdir)/configure.ac
cd $(srcdir) && autoconf
Index: configure.ac
===================================================================
RCS file: configure.ac
diff -N configure.ac
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ configure.ac 5 Aug 2004 19:42:14 -0000
@@ -0,0 +1,43 @@
+# Process this file with autoconf to produce a configure script.
+
+# Copyright 2002, 2004 Free Software Foundation, Inc.
+
+# This file is part of SPU.
+
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+AC_INIT
+AC_PREREQ([2.59])
+AC_CONFIG_SRCDIR([spu.c])
+
+# Checks for programs.
+AC_PROG_CC
+AC_PROG_INSTALL
+
+dnl # Checks for header files.
+dnl # The program doesn't actually handle failure.
+dnl AC_HEADER_STDC
+dnl AC_CHECK_HEADERS([stdlib.h string.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_C_CONST
+
+dnl # Checks for library functions.
+dnl # The program doesn't actually handle failure.
+dnl AC_FUNC_MALLOC
+dnl AC_CHECK_FUNCS([memset strtol])
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
Index: configure.in
===================================================================
RCS file: configure.in
diff -N configure.in
--- configure.in 2 Apr 2002 20:23:28 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,40 +0,0 @@
-# Process this file with autoconf to produce a configure script.
-
-# Copyright 2002 Free Software Foundation, Inc.
-
-# This file is part of SPU.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-AC_INIT([spu.c])
-
-# Checks for programs.
-AC_PROG_CC
-AC_PROG_INSTALL
-
-dnl # Checks for header files.
-dnl # The program doesn't actually handle failure.
-dnl AC_HEADER_STDC
-dnl AC_CHECK_HEADERS([stdlib.h string.h])
-
-# Checks for typedefs, structures, and compiler characteristics.
-AC_C_CONST
-
-dnl # Checks for library functions.
-dnl # The program doesn't actually handle failure.
-dnl AC_FUNC_MALLOC
-dnl AC_CHECK_FUNCS([memset strtol])
-
-AC_OUTPUT([Makefile])
--
There are none so blind as those who will not see.