[Freeipa-devel] [PATCH] autotoolize ipa-client

William Jon McCann mccann at jhu.edu
Tue Oct 16 22:21:23 UTC 2007


On 10/16/07, Rob Crittenden <rcritten at redhat.com> wrote:
> William Jon McCann wrote:
> > Hi
> >
> > On 10/16/07, Karl MacMillan <kmacmill at redhat.com> wrote:
> >> On Fri, 2007-10-12 at 15:09 -0400, William Jon McCann wrote:
> >>> Hi,
> >>>
> >>> Here is a patch to autotoolize ipa-client.
> >>>
> >> Any ideas:
> >>
> >> $ ./configure
> >> ./configure: line 1627: AM_INIT_AUTOMAKE: command not found
> >> ./configure: line 1629: AM_MAINTAINER_MODE: command not found
> >> configure: Checking for Python
> >> ./configure: line 1637: syntax error near unexpected token `2.3'
> >> ./configure: line 1637: `AM_PATH_PYTHON(2.3)'
> >
> > Did you run autogen.sh?  Strange, this looks like automake is broken
> > on your system.  Those are all standard macros.
> >
> >
>
> Along these lines, I wonder if we need separate autoconf configurations
> for each subdirectory. What do other large services do that include a
> client and a server (Samba for example, or openldap)?

It is usually based on how you package it.  There is usually one
configure script per package: ipa-client, ipa-server, ipa-python, etc.

> I've gone through the server one a bit and found a few problems, not
> necessarily with the autoconf code but with some hardcoded directories.

Like what?

> Also, make dist-clean still leaves a slew of autoconf-generated files. I
> think we should have a make target that removes everything
> auto-generated, if not dist-clean then something else. Or we can leave
> them around as most projects do, but we should decide now.

distclean is supposed to leave those files.  It should only clean up
what configure makes:
http://www.gnu.org/software/automake/manual/html_node/Clean.html

In practice, the maintainer-clean target has been extended to
additionally clean files generated by autogen.sh.

Jon




More information about the Freeipa-devel mailing list