From: Jim Meyering <jim@meyering.net>
To: Pete Zaitcev <zaitcev@redhat.com>
Cc: hail-devel@vger.kernel.org
Subject: Re: AC_CONFIG_MACRO_DIR([m4])
Date: Mon, 06 Dec 2010 12:12:27 +0100 [thread overview]
Message-ID: <87sjybm9yc.fsf@meyering.net> (raw)
In-Reply-To: <20101205145655.4f91e5d6@lembas.zaitcev.lan> (Pete Zaitcev's message of "Sun, 5 Dec 2010 14:56:55 -0700")
Pete Zaitcev wrote:
> Hi, Jim:
>
> Autoconf printed a warning when reconfiguting Hail, so I gave up and
> added this:
>
> diff --git a/configure.ac b/configure.ac
> index 9cfad23..d378854 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -62,6 +62,8 @@ AC_PROG_GCC_TRADITIONAL
> AM_PROG_CC_C_O
> AM_PROG_LIBTOOL
>
> +AC_CONFIG_MACRO_DIR([m4])
> +
> dnl Checks for header files.
> AC_HEADER_STDC
> dnl AC_CHECK_HEADERS(sys/ioctl.h unistd.h)
>
> Now I have a directory m4/ with symlinks... This does not seem to be
> helping any portability, unless I miss where the promised macro are
> being saved locally. What was this about, do you happen to know?
Hi Pete,
The symlinks are ok, since "make dist" dereferences them
when creating a tarball. However, if for some reason you find
a problem due to the use of symlinks (in that case, please
let us know -- who knows, might have to change the default) you
can add --copy (-c) to the libtoolize invocation in autogen.sh.
You'll also want the following patch, so that aclocal
knows where to find the .m4 files:
diff --git a/Makefile.am b/Makefile.am
index 38a1d92..e5bf438 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,8 @@
## Toplevel Makefile.am
##
+ACLOCAL_AMFLAGS = -I m4
+
SUBDIRS = doc lib include cld chunkd tools test
EXTRA_DIST = autogen.sh Doxyfile COPYING LICENSE
-
next prev parent reply other threads:[~2010-12-06 11:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-05 21:56 AC_CONFIG_MACRO_DIR([m4]) Pete Zaitcev
2010-12-06 11:12 ` Jim Meyering [this message]
2010-12-06 17:32 ` AC_CONFIG_MACRO_DIR([m4]) Jeff Garzik
2010-12-06 17:44 ` AC_CONFIG_MACRO_DIR([m4]) Pete Zaitcev
2010-12-06 18:56 ` AC_CONFIG_MACRO_DIR([m4]) Jeff Garzik
2010-12-06 19:26 ` AC_CONFIG_MACRO_DIR([m4]) Jim Meyering
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=87sjybm9yc.fsf@meyering.net \
--to=jim@meyering.net \
--cc=hail-devel@vger.kernel.org \
--cc=zaitcev@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.