[Top][All Lists]

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

[patch] configure.in

From: Neal H Walfield
Subject: [patch] configure.in
Date: Fri, 17 Aug 2001 00:58:16 +0200
User-agent: Mutt/1.3.18i

This patch allows us to check for libstore in the case where it might
depend on libparted and libuuid.

2001-08-17  Neal H Walfield  <address@hidden>

        * configure.in: Before checking for libstore, see if an old
        version of libparted is installed.
        When checking for libstore, include all libraries that we might
        need (and that were detected).

--- parted-1.5.4-pre1.orig/configure.in Sun Aug 12 06:38:14 2001
+++ parted-1.5.4-pre1/configure.in      Fri Aug 17 00:28:07 2001
@@ -212,15 +214,24 @@ GNU/Hurd systems.  It is a standard part
+dnl libstore may depend on libparted being present.
+dnl Aren't circular dependencies wonderful?
+       OLD_LIBS="$LIBS"
+       LIBS=
+       AC_CHECK_LIB(parted, ped_device_read)
 dnl libstore
-       AC_CHECK_LIB(store, store_open, OS_LIBS="$OS_LIBS -lstore",
+       AC_CHECK_LIB(store, store_open,
+               OS_LIBS="$OS_LIBS -lstore",
 GNU Parted requires libstore when running on GNU/Hurd
 systems.  It is a standard part of a GNU/Hurd system.
-               -lshouldbeinlibc
+               $OS_LIBS $UUID_LIBS $LIBS
+       LIBS="$OLD_LIBS"

Attachment: pgpfbgLuAo80s.pgp
Description: PGP signature

reply via email to

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