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, address@hidden) -AC_PREREQ(2.53) +AC_INIT([GRUB],[1.96],address@hidden) +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