Fix libparted detection in case --as-needed flag is passed (#357679)
* configure.in: Fix libparted detection in case --as-needed flag is passed (#357679)
This commit is contained in:
parent
e9aa28fff9
commit
ecd3caee17
|
@ -1,3 +1,8 @@
|
|||
2006-09-26 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* configure.in: Fix libparted detection in case --as-needed flag is
|
||||
passed (#357679)
|
||||
|
||||
2006-09-25 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* src/jfs.cc: added support for reading of volumelabel
|
||||
|
|
|
@ -35,7 +35,8 @@ AC_CHECK_LIB(dl, dlopen, [], AC_MSG_ERROR([*** dl library (libdl) not f
|
|||
dnl libparted
|
||||
LIBPARTED_VERSION=1.7.1
|
||||
AC_MSG_CHECKING(for libparted >= $LIBPARTED_VERSION)
|
||||
LDFLAGS=-lparted
|
||||
LIBS_save="$LIBS"
|
||||
LIBS="-lparted"
|
||||
AC_TRY_RUN(
|
||||
#include <stdio.h>
|
||||
#include <parted/parted.h>
|
||||
|
@ -64,6 +65,7 @@ int main ()
|
|||
return 1 ;
|
||||
}
|
||||
,AC_MSG_RESULT(OK),AC_MSG_ERROR(*** Requires libparted >= $LIBPARTED_VERSION) )
|
||||
LIBS="$LIBS_save"
|
||||
|
||||
|
||||
dnl GTKMM
|
||||
|
|
Loading…
Reference in New Issue