bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

writing my-program.m4


From: Andrew Clausen
Subject: writing my-program.m4
Date: Tue, 14 Aug 2001 23:52:13 +1000
User-agent: Mutt/1.2.5i

Hi,

libparted always needs -luuid, and sometimes -lstore and
-lshouldbeinlibc (and possibly various versions).  These things depend
on the OS, and in future, compile-time options.

Users of libparted (eg: kparted) need to figure out if there
is a new enough version of libparted, and what other things it
needs to link to.  So, the parted package sould include a parted.m4,
right?

How should all of this interface?

AC_CHECK_PARTED(required-version)

which sets the appropriate LIBS?  What about handling errors?
("You need -luuid... you can download this from URL")

AFAICT, parted.m4 would need to be rather intelligent...

Andrew




reply via email to

[Prev in Thread] Current Thread [Next in Thread]