From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RaxLJ-0000fP-91 for mharc-grub-devel@gnu.org; Wed, 14 Dec 2011 17:30:29 -0500 Received: from eggs.gnu.org ([140.186.70.92]:48208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaxLG-0000fI-Ln for grub-devel@gnu.org; Wed, 14 Dec 2011 17:30:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RaxLF-0008VU-Bb for grub-devel@gnu.org; Wed, 14 Dec 2011 17:30:26 -0500 Received: from ausc60pc101.us.dell.com ([143.166.85.206]:63955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RaxLF-0008V8-4S for grub-devel@gnu.org; Wed, 14 Dec 2011 17:30:25 -0500 X-Loopcount0: from 10.9.160.253 Message-ID: <4EE922B2.6060002@dell.com> Date: Wed, 14 Dec 2011 17:26:58 -0500 From: Mario Limonciello Organization: Dell Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111124 Thunderbird/8.0 MIME-Version: 1.0 To: "grub-devel@gnu.org" Subject: [PATCH] Restore test for limits.h Content-Type: multipart/mixed; boundary="------------010803040101030000020702" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 143.166.85.206 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Dec 2011 22:30:27 -0000 This is a multi-part message in MIME format. --------------010803040101030000020702 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, I've noticed that a freshly autogened checkout of bzr will not test for limits.h and consequently doesn't compile with HAVE_LIMITS_H. This was removed in bzr r2566. HAVE_LIMITS_H is still used in util/getroot.c and grub-core/kern/emu-misc.c. This patch restores that functionality: === modified file 'ChangeLog' --- ChangeLog 2011-12-14 13:20:57 +0000 +++ ChangeLog 2011-12-14 22:20:52 +0000 @@ -1,3 +1,7 @@ +2011-12-14 Mario Limonciello + + * configure.ac: Add back in test for limits.h. + 2011-12-14 Vladimir Serbinenko * grub-core/gfxmenu/widget-box.c (get_left_pad): Take corners into === modified file 'configure.ac' --- configure.ac 2011-11-12 18:18:42 +0000 +++ configure.ac 2011-12-14 22:19:35 +0000 @@ -298,7 +298,7 @@ # Check for functions and headers. AC_CHECK_FUNCS(posix_memalign memalign asprintf vasprintf getextmntent) -AC_CHECK_HEADERS(libzfs.h libnvpair.h sys/param.h sys/mount.h sys/mnttab.h sys/mkdev.h) +AC_CHECK_HEADERS(libzfs.h libnvpair.h sys/param.h sys/mount.h sys/mnttab.h sys/mkdev.h limits.h) AC_CHECK_MEMBERS([struct statfs.f_fstypename],,,[$ac_includes_default #include --------------010803040101030000020702 Content-Type: text/x-diff; name="limits_test.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="limits_test.patch" === modified file 'ChangeLog' --- ChangeLog 2011-12-14 13:20:57 +0000 +++ ChangeLog 2011-12-14 22:20:52 +0000 @@ -1,3 +1,7 @@ +2011-12-14 Mario Limonciello + + * configure.ac: Add back in test for limits.h. + 2011-12-14 Vladimir Serbinenko * grub-core/gfxmenu/widget-box.c (get_left_pad): Take corners into === modified file 'configure.ac' --- configure.ac 2011-11-12 18:18:42 +0000 +++ configure.ac 2011-12-14 22:19:35 +0000 @@ -298,7 +298,7 @@ # Check for functions and headers. AC_CHECK_FUNCS(posix_memalign memalign asprintf vasprintf getextmntent) -AC_CHECK_HEADERS(libzfs.h libnvpair.h sys/param.h sys/mount.h sys/mnttab.h sys/mkdev.h) +AC_CHECK_HEADERS(libzfs.h libnvpair.h sys/param.h sys/mount.h sys/mnttab.h sys/mkdev.h limits.h) AC_CHECK_MEMBERS([struct statfs.f_fstypename],,,[$ac_includes_default #include --------------010803040101030000020702--