bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: argp spec


From: Miles Bader
Subject: Re: argp spec
Date: 13 Sep 2002 11:00:19 +0900

address@hidden (Niels Möller) writes:
> Currently I have argp in subdirectory with it's own configure.ac and
> Makefile.am.  The parent configure.ac checks for an existing and
> working argp on the system, then (unconditionally) calls
> AC_CONFIG_SUBDIR(src/argp).  So argp is always built, but the lsh
> programs will link to it (using the name "src/argp/libargp.a") only if
> the configure test indicated that the system's argp isn't good enough.
> 
> It would be nice to skip building argp if it's not needed, but except
> for that, I think this organization is just what is needed.

Sounds like it, but since I don't actively maintain any GNU packages,
I'm probably not the best judge.

> > you can basically just copy a directory into your
> > source tree for distribution, and it will contains its own configure and
> > Makefile file &c., which you can call from your configure/Makefile, and
> > it would install a static library <somewhere> in the build tree for you
> > to link against.
> 
> That's close to what I do, except that no install target is involved,
> I just link to the library file in the directory where it was built.

Seems reasonable.

It sounds like you've already done 95% of the work required...

-Miles
-- 
80% of success is just showing up.  --Woody Allen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]