From 7a621a43d62a7fb333f38404789151259f09457a Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Fri, 12 Oct 2001 00:04:58 +0000 Subject: 2001-10-12 Marcus Brinkmann * configure.in: If parted/parted.h is found, define HAVE_PARTED_PARTED_H explicitely. --- ChangeLog | 5 +++++ configure.in | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4e8e3d1f..def82146 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-10-12 Marcus Brinkmann + + * configure.in: If parted/parted.h is found, define + HAVE_PARTED_PARTED_H explicitely. + 2001-08-25 Roland McGrath * configure.in: Add a check for Parted's libraries. diff --git a/configure.in b/configure.in index 93947bbb..3299af40 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_REVISION([$Id: configure.in,v 1.21 2001/08/26 00:10:50 roland Exp $]) +AC_REVISION([$Id: configure.in,v 1.22 2001/10/12 00:04:58 marcus Exp $]) AC_PREREQ(2.12) dnl Minimum Autoconf version required. AC_INIT(hurd/hurd_types.h) dnl A distinctive file to look for in srcdir. @@ -128,7 +128,9 @@ parted=$with_parted save_LIBS= LIBS= test $parted = no || { - AC_CHECK_HEADER(parted/parted.h, , parted=no) + AC_CHECK_HEADER(parted/parted.h, + [AC_DEFINE(HAVE_PARTED_PARTED_H)], + parted=no) } test $parted = no || { AC_CHECK_LIB(uuid, uuid_generate, , parted=no) -- cgit v1.2.3