Panu Matilainen
77ecf321bf
Fix segfault on zero-length %policy file
2008-08-14 15:02:52 +03:00
Panu Matilainen
27a6edd36d
Add a new legacy compatibility header, kill rpmints.h
...
- build-time generated rpmints.h causes issues with distcheck and is
not really worth the trouble
- we have all sorts of legacy junk to deal with, sticking them all into
rpmints.h would be just wrong...
2008-07-08 18:54:28 +03:00
Panu Matilainen
7985d6afb5
Bump version to resemble library versioning
2008-07-04 16:09:47 +03:00
Panu Matilainen
90e10708f8
Fixup paths and Makefiles for rpmdb/ elimination
2008-05-12 12:28:12 +03:00
Panu Matilainen
4ad7f40395
Rip useless ROOT_GROUP checking from configure
...
- it was only used for an ancient RH-specific %_fixgroup anyway which
in turn only ever did anything when building as root - bad bad...
2008-05-08 14:37:29 +03:00
Panu Matilainen
a306a04a89
RIP alloca()
2008-04-30 14:38:09 +03:00
Panu Matilainen
811e7be604
Drop va_copy check, it's already done by C99 checks
2008-04-28 14:02:51 +03:00
Panu Matilainen
48f19e86b5
Require C99 capable compiler in configure
...
- also enable C99 mode if not on by default
2008-04-28 14:02:51 +03:00
Jindrich Novy
3d8e0ef13a
Check for lzma library in configure.ac and reference it in Makefile.am
2008-04-22 12:36:27 +02:00
Panu Matilainen
d48e6c8380
Start phasing out internal copy of Lua
...
- don't build internal copy of Lua
- move 3rd party extensions (posix and rexlib) to toplevel luaext/
directory, built by default (unless --without-lua specified)
- auto*foo checks for external Lua
- minimal tweaks to lposix.c and rpmlua.c to get them build with Lua 5.1
2008-04-16 15:37:52 +03:00
Jindrich Novy
58fdb16e75
Require mkstemp()
...
- mktemp() and tempnam() are dangerous
2008-04-16 13:01:06 +02:00
Panu Matilainen
babade1594
Enable stack protector by default if gcc supports it
2008-04-03 12:59:13 +03:00
Panu Matilainen
0c0d812b0d
Remove unused RPMUSER, GROUP etc from configure.ac
2008-03-07 12:36:22 +02:00
Panu Matilainen
61189cb868
Add super-H arch support (rhbz#432496)
...
Patch from Masaki Chikama
2008-03-04 08:16:02 +02:00
Panu Matilainen
e1ca3be052
Rip the horrible (ia64) autorelocate kludgery. RIP.
...
- we don't support relocated x86 on ppc in qemu either...
2008-02-05 10:08:44 +02:00
Panu Matilainen
924007789d
Drop internal db from dist tarballs
...
- tarball down to almost 1/4 of earlier size
- check if internal db is present in configure, point to INSTALL if not
- distcheck needs --with-external-db now to have any chance at working
- leaving to hg for now for easy reversal if getting second thoughts ;)
2008-01-09 19:07:20 +02:00
Panu Matilainen
20bfd34975
Drop duplicate locale.h check
2007-12-19 09:01:39 +02:00
Panu Matilainen
bef37587d3
Don't bother configuring db3 directory if using external db
2007-12-17 11:38:12 +02:00
Ralf Corsépius
f407b391c0
test == is a bashism.
2007-12-11 09:12:12 +01:00
Panu Matilainen
d4cc1de207
Rename apidocs to hackingdocs, only build on request
2007-12-05 11:56:33 +02:00
Ralf Corsépius
333f10c56e
Adjust comment.
2007-11-26 15:41:24 +01:00
Ralf Corsépius
8f82c7309e
s/build_os/host_os/
2007-11-26 15:38:20 +01:00
Ralf Corsépius
5831404601
Add header preinstallation.
2007-11-22 15:54:42 +01:00
Ralf Corsépius
5787b3f7c1
Eliminate egrep (Abandoned by POSIX many years ago).
2007-11-22 09:43:40 +01:00
Ralf Corsépius
d58b2666e3
Add AC_USE_SYSTEM_EXTENSIONS.
...
Remove AC_AIX, AC_MINIX.
Do not add -D_GNU_SOURCE to CFLAGS.
2007-11-21 16:51:57 +01:00
Ralf Corsépius
4990a44984
s/build_cpu/host_cpu/
2007-11-21 11:34:30 +01:00
Panu Matilainen
b359165445
Fix build without O2
...
HAVE_LOCALE_H is used by system.h, ensure it is defined properly
(the issue only occurs when compiling without __OPTIMIZE__ (ie -O2)
otherwise libintl.h do include locale.h)
Patch from Pascal Rigaux
2007-11-13 13:03:38 +02:00
Panu Matilainen
df84cabff6
Disable -Wstrict-prototypes for now due to noise from NSPR headers
2007-11-08 12:57:02 +02:00
Panu Matilainen
8afe81c214
Use NSS instead of beecrypt for encryption (Tomas Mraz)
2007-11-02 10:02:40 +02:00
Ralf Corsépius
a100133e56
Replace AC_CHECK_FUNCS by AC_REPLACE_FUNCS for basename, getcwd, getwd, putenv, realpath, setenv, stpcpy, stpncpy, strcspn, strdup, strtol, strtoul, strspn, strstr.
2007-10-30 15:51:53 +01:00
Ralf Corsépius
d255841988
Remove AM_C_PROTOTYPES.
2007-10-29 07:28:15 +01:00
Ralf Corsépius
b85e0d00ca
Abandon addlib().
...
Stop messing around with /usr/ucblib.
2007-10-27 06:38:35 +02:00
Ralf Corsépius
bfb5e17e77
Eliminate AC_TRY_COMPILE (Obsolete).
2007-10-27 06:28:06 +02:00
Ralf Corsépius
6765e53464
Remove AC_PROG_GCC_TRADITIONAL (Obsolete).
2007-10-27 06:13:03 +02:00
Ralf Corsépius
d4988efe1b
Remove AC_ISC_POSIX (Obsolete).
2007-10-27 06:10:13 +02:00
Ralf Corsépius
a468d3004d
Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER.
2007-10-27 05:48:53 +02:00
Ralf Corsépius
6d13cf177d
Check for stdarg.h.
...
Check for va_copy.
2007-10-27 04:12:19 +02:00
Ralf Corsépius
4b185fc48d
Add rpmdb/rpmints.h.in.
2007-10-24 18:38:18 +02:00
Ralf Corsépius
dd8bbe42a3
Remove AC_CHECK_FUNC(fchmod).
2007-10-24 03:11:19 +02:00
Ralf Corsépius
b9d56b6dc9
Remove WITH_APIDOCS, WITH_APIDOCS_TARGET.
...
Add AM_CONDITIONALS DOXYGEN and APIDOCS. Don't generate Doxyfile.
2007-10-18 16:04:00 +02:00
Ralf Corsépius
0a7a487724
Use DOXYGEN instead of __DOXYGEN.
2007-10-18 08:34:37 +02:00
Ralf Corsépius
a6c8f8086e
Add automake option nostdinc.
2007-10-17 16:42:21 +02:00
Panu Matilainen
38fe2fd973
Use HAVE_DB_H for both internal and external BDB
...
- rpmdb only cares whether we have BDB or no, internal vs external
doesn't matter
- makes external BDB actually work
2007-10-17 14:55:41 +03:00
Ralf Corsépius
0f22ea8830
Add __LZMA.
2007-10-08 17:12:10 +02:00
Ralf Corsépius
4f7db64d7c
Add HAVE_DOT.
2007-10-05 10:37:55 +02:00
Ralf Corsépius
9cf8f9c31a
Stop checking for machine/types.h (Private header of some OSes not supposed to be used).
2007-10-04 08:55:07 +02:00
Ralf Corsépius
249dad1475
Remove $dirs (unused).
2007-10-03 05:07:12 +02:00
Ralf Corsépius
6e4e9c7516
Remove AC_CHECK_HEADERS(thread.h).
...
Remove duplicate check for pthread.h.
2007-10-01 12:58:32 +02:00
Ralf Corsépius
e1b4af366a
Remove checks for synch.h, semaphore.h, aio.h (unused).
2007-09-20 14:57:04 +02:00
Ralf Corsépius
48f4ff6583
Make zlib conditional.
2007-09-20 14:45:40 +02:00