From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KasOk-0006Jf-Qc for mharc-grub-devel@gnu.org; Wed, 03 Sep 2008 09:27:50 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KasOj-0006JM-7u for grub-devel@gnu.org; Wed, 03 Sep 2008 09:27:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KasOh-0006IX-Jq for grub-devel@gnu.org; Wed, 03 Sep 2008 09:27:48 -0400 Received: from [199.232.76.173] (port=57954 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KasOg-0006IR-Tx for grub-devel@gnu.org; Wed, 03 Sep 2008 09:27:46 -0400 Received: from moutng.kundenserver.de ([212.227.126.187]:51367) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KasOg-0005Ec-W6 for grub-devel@gnu.org; Wed, 03 Sep 2008 09:27:47 -0400 Received: from [85.180.19.197] (e180019197.adsl.alicedsl.de [85.180.19.197]) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis) id 0MKwh2-1KasOf1NFe-0007Dz; Wed, 03 Sep 2008 15:27:45 +0200 From: Felix Zielcke To: The development of GRUB 2 Content-Type: multipart/mixed; boundary="=-1NVDW3j+lBGX6ASEalLd" Date: Wed, 03 Sep 2008 15:27:44 +0200 Message-Id: <1220448464.4164.53.camel@fz.local> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 X-Provags-ID: V01U2FsdGVkX1+Oqh05ES9M048JCIciyTfSGX7zRbyouo1sVuv /1MjCpMX5y8mvG1+TnLBJYrcyQEqOE8CljxW5rHyRqwIO3fAUb qGGCVz6Eu+i3ezidR+aIunZqKfkiuiV X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) Subject: [PATCH] update configure.ac to autoconf 2.61 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Sep 2008 13:27:49 -0000 --=-1NVDW3j+lBGX6ASEalLd Content-Type: text/plain Content-Transfer-Encoding: 7bit Attached patch is generated via `autoupdate --force' from autoconf 2.61 a svn-diff after ./autogen.sh doestn't show anything more, because the ./configure script in SVN is already generated with autoconf 2.61. autoconf 2.61 is dated 17.11.2006 on ftp.gnu.org Debian etch + lenny have autoconf 2.61 etch has been released 8th April 2007 Ubuntu has it since feisty which has been released 19th April 2007 I haven't checked the others but I think this is recent enough for the configure.ac (remember it's generated by ./autogen.sh anyway) Yes I really want to get rid of old stuff and if you even only need to call `autoupdate --force' ;) Debian experimental has autoconf 2.62 which I normally use, there is some other stuff deprecated and so changed by `autoupdate' but I'll leave that for the future. -- Felix Zielcke --=-1NVDW3j+lBGX6ASEalLd Content-Disposition: attachment; filename=configure.ac.diff Content-Type: text/x-patch; name=configure.ac.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit 2008-09-03 Felix Zielcke * configure.ac (AC_INIT): Quote version number. (AC_PREREQ): Bumped to 2.61. (AC_TRY_COMPILE): Replace deprecated macro with .. (AC_COMPILE_IFELSE): ... this. Index: configure.ac =================================================================== --- configure.ac (Revision 1845) +++ configure.ac (Arbeitskopie) @@ -31,8 +31,8 @@ dnl (such as TARGET_CC, TARGET_CFLAGS, e dnl type. -AC_INIT(GRUB, 1.96, [bug-grub@gnu.org]) -AC_PREREQ(2.53) +AC_INIT([GRUB],[1.96],[bug-grub@gnu.org]) +AC_PREREQ(2.61) AC_CONFIG_SRCDIR([include/grub/dl.h]) AC_CONFIG_HEADER([config.h]) @@ -266,7 +266,7 @@ if test "x$TARGET_CFLAGS" = x; then # optimization flags. AC_CACHE_CHECK([whether optimization for size works], grub_cv_cc_Os, [ CFLAGS=-Os - AC_TRY_COMPILE(, , grub_cv_cc_Os=yes, grub_cv_cc_Os=no) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[grub_cv_cc_Os=yes],[grub_cv_cc_Os=no]) ]) if test "x$grub_cv_cc_Os" = xyes; then TARGET_CFLAGS="$TARGET_CFLAGS -Os" @@ -278,7 +278,7 @@ if test "x$TARGET_CFLAGS" = x; then if test "x$target_cpu" = xi386; then AC_CACHE_CHECK([whether -falign-loops works], [grub_cv_cc_falign_loop], [ CFLAGS="-falign-loops=1" - AC_TRY_COMPILE(, , [grub_cv_cc_falign_loop=yes], [grub_cv_cc_falign_loop=no]) + AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[grub_cv_cc_falign_loop=yes],[grub_cv_cc_falign_loop=no]) ]) if test "x$grub_cv_cc_falign_loop" = xyes; then --=-1NVDW3j+lBGX6ASEalLd--