18 Commits

Author SHA1 Message Date
fangzhiyi18 d625f9a270 popt升级
Signed-off-by: fangzhiyi18 <fangzhiyi1@huawei.com>
2024-05-22 06:49:32 +00:00
Panu Matilainen ba3ad7225f Simplify autogen.sh
All this magic was likely necessary back in the day, these days
thankfully autoreconf is all that's needed.
2020-03-24 11:36:10 +02:00
Jeff Johnson de7ffd5a51 - repair the AutoFu (by eliminating build-aux/ subdir). 2009-08-18 22:06:22 +00:00
Jeff Johnson c4e6667914 - jbj: autogen.sh: on linux, add --libdir=/lib. 2008-02-11 16:48:11 +00:00
Ralf S. Engelschall 8c2b063b9b Fix building POPT directly from CVS sources.
The ultimate golden rule of "the content of versioned files should be
_never_ changed during a regular building from source" was horribly
broken by gettextize which assumes that if po/Makefile.in.in is still
not present (which is the case after a checkout as we do not version
such a generated file) it can feel free to update Makefile.am and
configure.am, even if it doubles entries there.

Here skipping the call to gettextize in case po/Makefile.in.in does
not exists doesn't really help _initially_ at all. It just helps on
subsequent calls. To no longer break the rule one either has to fix
gettextize upstream (it should not blindly append po/Makefile.in.in to
"AC_OUTPUT" in configure.ac and "po" to "SUBDIRS" in Makefile.am in
if it is _already present_ there) or we have to workaround locally by
explicitly reversing its results. As we do not control gettextize, we
now reverse the results. I have chosen to use perl(1) instead of sed(1)
here as perl(1) is already used by Automake (so it is available anyway)
and it allows us to revert the changes with shorter calls on the CLI.

Additionally, let's call gettextize _after_ libtoolize to prevent
gettextize from complaining about a missing config.guess and config.sub.
Also, add config.rpath to Makefile.am as this is a required file,
generated by gettextize, too. Finally, pass --no-changelog to gettextize
as we really don't need a useless generated m4/ChangeLog distributed
with POPT.

This way one can now (again) do a fresh checkout of the popt/ module
and build POPT really out-of-the-box and without having versioned files
garbled up, too.
2007-06-14 06:42:07 +00:00
Jeff Johnson 6ee617beca modernize popt autocrap. 2007-06-09 22:14:24 +00:00
Arkadiusz Miskiewicz 5f9c8255b2 Include m4 macros from m4/. 2007-06-05 20:31:17 +00:00
Arkadiusz Miskiewicz ee1bcade70 Drop autogenerated or autocopied files. Run gettextize which copies needed files. 2007-06-05 19:44:28 +00:00
Jeff Johnson ea3996df6d Spew glibtoolize which(1) failure to /dev/null. 2005-01-17 22:12:08 +00:00
Jeff Johnson 1d5bd47566 Mac OS X fiddles. 2005-01-17 17:10:32 +00:00
Jeff Johnson d8cf17bb00 - attempt to make peace with automake-1.6.1, autoconf-2.53.
- rip out two layers of dbN gook, internal Berkeley db is here to stay.
2002-05-01 22:13:24 +00:00
Jeff Johnson b93d7868dc Add intl so popt no longer requires gettext. 1999-09-29 21:12:45 +00:00
Jeff Johnson 0377d69513 Default to not build shared libraries. 1999-04-11 22:15:30 +00:00
Elliot Lee e3e0944168 autogen.sh: Fix builddir != srcdir.
*.c: Fix compilation with -ansi -pedantic-errors.
1999-03-10 02:55:24 +00:00
Jeff Johnson 6a7c1d00d4 Eliminate generated files. 1999-01-25 19:47:00 +00:00
Jeff Johnson da75525c7d Eliminate files that can be regenerated. 1999-01-24 19:40:43 +00:00
Jeff Johnson cd68123ac7 Use libtool to build libraries, but force --disable-shared for now. 1999-01-22 18:42:44 +00:00
Erik Troan f8abf67b8d *** empty log message *** 1998-10-22 18:57:04 +00:00