xfs
[Top] [All Lists]

[PATCH] xfstests: fix compile issue with gdbm and --enable-lib64 warnnin

To: xfs@xxxxxxxxxxx
Subject: [PATCH] xfstests: fix compile issue with gdbm and --enable-lib64 warnnings
From: Wenming Zhang <wezhang@xxxxxxxxxx>
Date: Fri, 9 Apr 2010 11:48:02 +0800
Cc: Wenming Zhang <wezhang@xxxxxxxxxx>
fix couldn't be compiled with gdbm lib issue
and clear warnings while configure with  --enable-lib64 

Signed-off-by: Wenming Zhang <wezhang@xxxxxxxxxx>
---
 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

<Prev in Thread] Current Thread [Next in Thread>