[Top][All Lists]

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

PATCH: parted-1.4.8/configure.in misused AC_CHECK_TYPE

From: Adam J. Richter
Subject: PATCH: parted-1.4.8/configure.in misused AC_CHECK_TYPE
Date: Wed, 7 Feb 2001 12:33:59 -0800
User-agent: Mutt/1.2i

        AC_CHECK_TYPE, unlike most autoconf tests, takes two arguments,
not three.  It is AC_CHECK_TYPE(type,default), rather than
AC_CHECK_TYPE(type,success_case, failure_case).  parted incorrectly
expects the latter behavior.  The result is that the config.h that
it generates defines __u32, __u16, etc. to nothing if those symbols
are not already defined.  I have also fixed a complain where autoconf
objected to AC_CHECK_SIZEOF being called before AC_ISC_POSIX (I guess
it needs this to run test programs).  Anyhow, I have attached the
patch below.  I hope this is helpful.

        Thanks for writing such a useful piece of software as parted.
Linux has needed repartitioning tools for a long time.

Adam J. Richter     __     ______________   4880 Stevens Creek Blvd, Suite 104
address@hidden     \ /                  San Jose, California 95129-1034
+1 408 261-6630         | g g d r a s i l   United States of America
fax +1 408 261-6631      "Free Software For The Rest Of Us."

Attachment: parted.diffs
Description: Text document

reply via email to

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