public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Andreas Gruenbacher <agruen@suse.de>
Cc: Christoph Hellwig <hch@infradead.org>,
	Eric Sandeen <sandeen@sandeen.net>,
	Mike Frysinger <vapier@gentoo.org>, xfs-oss <xfs@oss.sgi.com>
Subject: Re: [patch] fix parallel build failures in xfsprogs-3.0.0
Date: Wed, 4 Mar 2009 12:27:27 -0500	[thread overview]
Message-ID: <20090304172727.GA21463@infradead.org> (raw)
In-Reply-To: <200902271835.30912.agruen@suse.de>

On Fri, Feb 27, 2009 at 06:35:30PM +0100, Andreas Gruenbacher wrote:
> Okay, I've done that now in the configure Makefile target. This is an 
> improvement we definitely want, independent of whether or not we end up 
> shipping generated files.

I've tried to port the patch you checked into xfsprogs (see below for
the diff), but it fails to build for me.  Any idea what might have
gone wrong?

diff --git a/Makefile b/Makefile
index 133e496..4b61e41 100644
--- a/Makefile
+++ b/Makefile
@@ -12,8 +12,9 @@ endif
 CONFIGURE = configure include/builddefs include/platform_defs.h
 LSRCFILES = configure configure.in Makepkgs aclocal.m4 install-sh README VERSION
 
-LDIRT = config.log .dep config.status config.cache confdefs.h conftest* \
-	Logs/* built .census install.* install-dev.* *.gz
+LDIRT = config.log config.status config.cache config.guess config.sub \
+	confdefs.h ltmain.sh libtool built .census \
+	Logs/* conftest* install.* install-dev.* *.dep *.gz
 
 LIB_SUBDIRS = libxfs libxlog libxcmd libhandle libdisk
 TOOL_SUBDIRS = copy db estimate fsck fsr growfs io logprint mkfs quota \
@@ -21,7 +22,7 @@ TOOL_SUBDIRS = copy db estimate fsck fsr growfs io logprint mkfs quota \
 
 SUBDIRS = include $(LIB_SUBDIRS) $(TOOL_SUBDIRS)
 
-default: include/builddefs include/platform_defs.h
+default: configure include/builddefs include/platform_defs.h
 ifeq ($(HAVE_BUILDDEFS), no)
 	$(MAKE) -C . $@
 else
@@ -46,6 +47,8 @@ clean:	# if configure hasn't run, nothing to clean
 endif
 
 configure include/builddefs:
+	libtoolize -c -f
+	aclocal -I m4
 	autoconf
 	./configure \
 		--prefix=/ \
@@ -68,9 +71,6 @@ include/platform_defs.h: include/builddefs
 		$(MAKE) $(AM_MAKEFLAGS) include/builddefs; \
 	fi
 
-aclocal.m4::
-	aclocal --acdir=`pwd`/m4 --output=$@
-
 install: default $(addsuffix -install,$(SUBDIRS))
 	$(INSTALL) -m 755 -d $(PKG_DOC_DIR)
 	$(INSTALL) -m 644 README $(PKG_DOC_DIR)
diff --git a/configure.in b/configure.in
index 4e4e50c..531d7d0 100644
--- a/configure.in
+++ b/configure.in
@@ -1,6 +1,9 @@
 AC_INIT(include/libxfs.h)
+AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_HEADER(include/platform_defs.h)
 
+AC_PROG_LIBTOOL
+
 AC_ARG_ENABLE(shared,
 [ --enable-shared=[yes/no] Enable use of shared libraries [default=yes]],,
 	enable_shared=yes)

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

  reply	other threads:[~2009-03-04 17:27 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-24  5:10 [patch] fix parallel build failures in xfsprogs-3.0.0 Mike Frysinger
2009-02-24  5:20 ` Eric Sandeen
2009-02-24  5:22 ` Eric Sandeen
2009-02-24  7:21   ` Mike Frysinger
2009-02-24 13:15     ` Christoph Hellwig
2009-02-24 14:53       ` Mike Frysinger
2009-02-24 15:14         ` Felix Blyakher
2009-02-24 15:37           ` Mike Frysinger
2009-02-24 18:46             ` Christoph Hellwig
2009-02-24 22:22               ` Andreas Gruenbacher
2009-02-24 23:45                 ` Mike Frysinger
2009-02-26  0:26                   ` Andreas Gruenbacher
2009-02-26  1:03                     ` Mike Frysinger
2009-02-26 12:23                       ` Andreas Gruenbacher
2009-02-26 15:17                         ` Mike Frysinger
2009-02-26 17:17                           ` Andreas Gruenbacher
2009-02-26 18:08                             ` Mike Frysinger
2009-02-27  7:22                             ` Greg Banks
2009-02-27  9:55                               ` Andreas Gruenbacher
2009-03-01  1:31                                 ` Greg Banks
2009-03-01  7:58                                   ` Mike Frysinger
2009-03-03 15:53                                   ` Christoph Hellwig
2009-02-27 17:35                           ` Andreas Gruenbacher
2009-03-04 17:27                             ` Christoph Hellwig [this message]
2009-03-08 13:09                               ` Andreas Gruenbacher
2009-03-10 16:41                                 ` Andreas Gruenbacher
2009-03-16  7:05                                   ` Christoph Hellwig
2009-03-16  7:31                                     ` Mike Frysinger
2009-03-16  9:53                                       ` Andreas Gruenbacher
2009-03-16 21:02                                         ` Christoph Hellwig
2009-03-24 13:12                                           ` Christoph Hellwig
2009-03-24 18:18                                             ` Andreas Gruenbacher
2009-03-25 19:03                                               ` Christoph Hellwig
2009-03-16  6:51                                 ` Christoph Hellwig
2009-03-27 16:02                                 ` Christoph Hellwig
2009-03-27 16:30                                   ` Mike Frysinger
2009-03-27 18:31                                     ` Christoph Hellwig
2009-02-26 23:03                 ` Christoph Hellwig
2009-02-28  0:07                   ` Andreas Gruenbacher
2009-02-28 22:27                     ` Eric Sandeen
2009-03-01  1:41                       ` Greg Banks
2009-03-01 17:23                       ` Andreas Gruenbacher
2009-03-03 15:55                         ` Christoph Hellwig

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=20090304172727.GA21463@infradead.org \
    --to=hch@infradead.org \
    --cc=agruen@suse.de \
    --cc=sandeen@sandeen.net \
    --cc=vapier@gentoo.org \
    --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