public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Wenming Zhang <wezhang@redhat.com>
To: xfs@oss.sgi.com
Cc: Wenming Zhang <wezhang@redhat.com>
Subject: [PATCH] xfstests: fix compile issue with gdbm and --enable-lib64 warnnings
Date: Fri,  9 Apr 2010 11:48:02 +0800	[thread overview]
Message-ID: <1270784882-8130-1-git-send-email-wezhang@redhat.com> (raw)

fix couldn't be compiled with gdbm lib issue
and clear warnings while configure with  --enable-lib64 

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

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

             reply	other threads:[~2010-04-09  3:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-09  3:48 Wenming Zhang [this message]
2010-04-20  4:57 ` [PATCH] xfstests: fix compile issue with gdbm and --enable-lib64 warnnings Dave Chinner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1270784882-8130-1-git-send-email-wezhang@redhat.com \
    --to=wezhang@redhat.com \
    --cc=xfs@oss.sgi.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox