[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch] parted.m4
From: |
Neal H Walfield |
Subject: |
Re: [patch] parted.m4 |
Date: |
Tue, 21 Aug 2001 01:38:24 +0200 |
User-agent: |
Mutt/1.3.18i |
On Fri, Aug 17, 2001 at 12:54:37AM +0200, Neal H Walfield wrote:
> This updates the parted.m4 file. It fixes a few bugs (quoting), checks
> for all libraries required and changes the name of the function to
> something more standard.
A couple small problems with that. One more time:
2001-08-21 Neal H Walfield <address@hidden>
* parted.m4 (GNU_CHECK_PARTED): Renamed from GNU_CHECK_PARTED.
There are only two resevered autoconf namespaces: AC_* and AM_*;
avoid them.
Be more verbose when printing error messages.
diff -uprN parted-1.5.4-pre2.orig/parted.m4 parted-1.5.4-pre2/parted.m4
--- parted-1.5.4-pre2.orig/parted.m4 Mon Aug 20 08:41:38 2001
+++ parted-1.5.4-pre2/parted.m4 Tue Aug 21 00:04:48 2001
@@ -6,14 +6,14 @@ dnl AC_CHECK_LIBPARTED([MINIMUM-VERSION,
dnl where MINIMUM-VERSION must be >= 1.2.8 and != 1.3.0
dnl
dnl Example:
-dnl AC_CHECK_PARTED(1.2.8, , [AC_MSG_ERROR([*** libparted >= 1.2.8 not
installed - please install first ***])])
+dnl GNU_CHECK_PARTED(1.2.8, , [AC_MSG_ERROR([*** libparted >= 1.2.8 not
installed - please install first ***])])
dnl
dnl Adds the required libraries to $PARTED_LIBS and does an
dnl AC_SUBST(PARTED_LIBS)
dnl
-AC_DEFUN(AC_CHECK_LIBPARTED,
+AC_DEFUN(GNU_CHECK_LIBPARTED,
[
dnl save LIBS
@@ -24,10 +24,10 @@ AC_CHECK_HEADER(parted/parted.h, ,
[AC_MSG_ERROR([<parted/parted.h> not found; install
GNU/Parted])]
$3)
AC_CHECK_LIB(uuid, uuid_generate, ,
- [AC_MSG_ERROR([libuuid not found; install e2fsprogs])]
+ [AC_MSG_ERROR([libuuid not found; install e2fsprogs available at
http://web.mit.edu/tytso/www/linux/e2fsprogs.html])]
$3)
AC_CHECK_LIB(parted,ped_device_read, ,
- [AC_MSG_ERROR([libparted not found; install GNU/Parted])]
+ [AC_MSG_ERROR([libparted not found; install GNU/Parted available
at http://www.gnu.org/software/parted/parted.html])]
$3)
AC_CANONICAL_HOST
@@ -37,11 +37,11 @@ case "$host_os" in
# case these tests.
AC_CHECK_LIB(shouldbeinlibc,lcm, ,
- [AC_MSG_ERROR([libshouldbeinlibc not found; Is this
really the Hurd?])]
+ [AC_MSG_ERROR([libshouldbeinlibc not found; install the
Hurd development libraries.])]
$3)
AC_CHECK_LIB(store,store_open, ,
- [AC_MSG_ERROR([libstore not found; Is this really the
Hurd?])]
+ [AC_MSG_ERROR([libstore not found; install the Hurd
development libraries.])]
$3)
;;
*) ;;
pgpxtL0ErksaG.pgp
Description: PGP signature
- [patch] parted.m4, Neal H Walfield, 2001/08/16
- Re: [patch] parted.m4,
Neal H Walfield <=