[PATCH] xfstests: fix compile issue with gdbm and --enable-lib64 warnnings
Wenming Zhang
wezhang at redhat.com
Thu Apr 8 22:48:02 CDT 2010
fix couldn't be compiled with gdbm lib issue
and clear warnings while configure with --enable-lib64
Signed-off-by: Wenming Zhang <wezhang at redhat.com>
---
configure.in | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/configure.in b/configure.in
index 45b7fd1..92e2711 100644
--- a/configure.in
+++ b/configure.in
@@ -10,6 +10,7 @@ AC_HEADER_STDC
errno.h \
malloc.h \
uuid.h \
+ gdbm.h \
uuid/uuid.h \
sys/uuid.h \
sys/file.h \
@@ -44,6 +45,12 @@ in
;;
*)
AC_MULTILIB($enable_lib64)
+ AC_ARG_ENABLE([lib64], [AS_HELP_STRING([--enable-lib64],
+ [enable lib64 support (default is no)])],
+ [enable_lib64=$withval],
+ [enable_lib64=no]
+ )
+
AC_PACKAGE_NEED_XFS_XFS_H
AC_PACKAGE_WANT_LIBXFS_H
AC_PACKAGE_WANT_XLOG_ASSIGN_LSN
--
1.6.2.5
More information about the xfs
mailing list