From: Felix Zielcke <fzielcke@z-51.de>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: [PATCH] update configure.ac to autoconf 2.61
Date: Wed, 03 Sep 2008 15:27:44 +0200 [thread overview]
Message-ID: <1220448464.4164.53.camel@fz.local> (raw)
[-- Attachment #1: Type: text/plain, Size: 824 bytes --]
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
[-- Attachment #2: configure.ac.diff --]
[-- Type: text/x-patch, Size: 1508 bytes --]
2008-09-03 Felix Zielcke <fzielcke@z-51.de>
* 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
next reply other threads:[~2008-09-03 13:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-03 13:27 Felix Zielcke [this message]
2008-09-03 14:51 ` [PATCH] update configure.ac to autoconf 2.61 Felix Zielcke
2008-09-03 23:47 ` Pavel Roskin
2008-09-04 7:55 ` Felix Zielcke
2008-09-03 23:43 ` Pavel Roskin
2008-09-04 7:45 ` Felix Zielcke
2008-09-04 16:49 ` Pavel Roskin
2008-09-04 17:32 ` Felix Zielcke
2008-09-21 17:39 ` Felix Zielcke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1220448464.4164.53.camel@fz.local \
--to=fzielcke@z-51.de \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.