Commit Graph

338 Commits

Author SHA1 Message Date
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
Ralf Corsépius 2d157c07f0 Tighten check for libbz2. 2007-09-20 06:53:19 +02:00
Ralf Corsépius 88b0e2c093 Cosmetics. 2007-09-19 15:02:40 +02:00
Ralf Corsépius fa1f65cef6 Rename --with-internal-db into --with-external-db.
Add AC_ARG_WITH(external_db).
2007-09-19 05:32:03 +02:00
Ralf Corsépius 211a30a615 Remove NPTL games. 2007-09-19 05:15:57 +02:00
Ralf Corsépius 6503abadc9 Add check for db_threadid_t in db.h. 2007-09-18 19:18:09 +02:00
Ralf Corsépius eacf1841db Rename BZIP2BIN->__BZIP2.
Rename GZIPBIN->__GZIP.
Rename UNZIPBIN->__UNZIP.
2007-09-18 14:55:58 +02:00
Ralf Corsépius 4f250b5c36 Remove WITH_POPT (Unused). 2007-09-18 12:44:29 +02:00
Ralf Corsépius c89c1481eb s/libary/library/ 2007-09-18 12:41:47 +02:00
Ralf Corsépius a0558abcf2 Fix ancient typo. 2007-09-18 10:49:20 +02:00
Ralf Corsépius 2607d282e7 Invert logic to setup WITH_INTERNAL_DB. 2007-09-18 08:09:43 +02:00
Ralf Corsépius f2a250702a Add preliminary --with/without-internal-db processing. 2007-09-18 05:01:45 +02:00
Ralf Corsépius 7bf56f5829 Eliminate WITH_DB_SUBDIR. 2007-09-17 17:58:29 +02:00
Ralf Corsépius ae3127c0f2 Add with_internal_db. 2007-09-17 11:33:18 +02:00
Ralf Corsépius 91a33fbdc5 Move generating rpmpopt-@VERSION@ from configure into Makefile. 2007-09-14 05:21:39 +02:00
Ralf Corsépius ede9e90272 Move generating rpm.pc from configure into Makefile. 2007-09-14 05:09:17 +02:00
Ralf Corsépius df1b72d3af Process platform in Makefile instead of configure. 2007-09-13 14:51:46 +02:00
Ralf Corsépius d974ed0136 Add __CURL. 2007-09-12 12:42:59 +02:00
Ralf Corsépius 52bc67436f Attempt to escape hg messed up the repo once more. 2007-09-12 11:42:08 +02:00
Ralf Corsépius 07c9cac938 Fix indentation of --enable-python. 2007-09-12 11:31:17 +02:00
Panu Matilainen 1180de589b Automated merge with file:/home/pmatilai/repos/rpm-ioclean 2007-09-12 12:26:15 +03:00
Ralf Corsépius fb7433b364 Merge tools/Makefile.am into Makefile.am 2007-09-12 10:56:37 +02:00
Panu Matilainen d36716c25c Remove NEON and related hacks 2007-09-12 10:55:55 +03:00
Ralf Corsépius cfe8875a0f Reduce minimum python version to 2.3. 2007-09-12 08:23:51 +02:00
Ralf Corsépius 2ff6e07f50 Reduce minimum python version to 2.4. 2007-09-12 01:21:13 +02:00
Ralf Corsépius 22bafd7430 Remove libxml. 2007-09-11 11:32:05 +02:00
Ralf Corsépius f69f0b7a8f Add subdir-objects. 2007-09-11 10:38:46 +02:00
Ralf Corsépius cf865f1327 Require python >= 2.5. 2007-09-10 22:24:25 +02:00
Ralf Corsépius c5ffd9805e Split host-python (__PYTHON), from build-python.
Abandon --with-python.
Add --enable-python.
Rework python check to use AM_PATH_PYTHON.
2007-09-10 12:49:51 +02:00
Ralf Corsépius 4d00510124 Add AC_DISABLE_STATIC. 2007-09-10 07:11:54 +02:00
Ralf Corsépius 38ec147d0b Generate scripts/macros.perl, scripts/macros.php, scripts/macros.python from inside of scripts/Makefile.am. 2007-09-05 12:09:45 +02:00
Ralf Corsépius db5db69665 Don't AC_DEFINE(RPMCONFIGDIR). 2007-09-05 09:57:12 +02:00
Ralf Corsépius 2671d4cc05 AC_DEFINE(RPMCANONVENDOR).
Remove VENDORRPMRC_FILENAME.
2007-09-04 15:19:29 +02:00
Ralf Corsépius 05f96178f1 Remove selinux autodetection.
Rely on --with/--without-selinux.
2007-09-04 14:19:18 +02:00
Ralf Corsépius 00165b6ee8 Make --with-neon more strict. 2007-09-04 12:01:54 +02:00
Panu Matilainen b9c2d89686 merge 2007-09-04 11:25:35 +03:00
Panu Matilainen f07d1abc27 Backed out changeset 842b0b8f3f8d 2007-09-04 11:25:26 +03:00
Ralf Corsépius c2f919af38 Add --with-neon. 2007-09-04 09:09:39 +02:00
Panu Matilainen ffea910c37 Read vendor macros again.
- replace VENDORRPMRC_FILENAME with VENDORCONFIGDIR
- use it to locate both vendor rpmrc and macros
2007-09-03 22:39:26 +03:00
Ralf Corsépius ba645b29c4 Remove CTAGS, CSCOPE. 2007-09-03 12:59:15 +02:00
Ralf Corsépius b2db269632 Remove LIBRPMALIAS_FILENAME. 2007-08-31 18:54:13 +02:00
Panu Matilainen 31a693a7eb Lose ancient and unused brp-redhat 2007-08-31 10:25:11 +03:00
Ralf Corsépius eac9291fde Eliminate tmpdir, varprefix. 2007-08-31 08:56:56 +02:00
Ralf Corsépius 0f5d8ca08f Don't AC_SUBST varprefix.
Generate macros from Makefile.am
2007-08-31 05:58:04 +02:00
Ralf Corsépius 0e95c12b29 Remove AC_SUBST(RPM) (Unused). 2007-08-31 04:25:22 +02:00
Ralf Corsépius 15fb330227 Remove doc/fr/Makefile doc/ja/Makefile doc/ko/Makefile doc/pl/Makefile doc/ru/Makefile doc/sk/Makefile. 2007-08-29 17:43:20 +02:00
Ralf Corsépius 29d53ac70f Reflect having removed doc/manual/Makefile.am 2007-08-29 13:06:05 +02:00
Ralf Corsépius 5b8a3cf39b Eliminate LIBRPMRC_FILENAME. 2007-08-28 18:22:11 +02:00
Ralf Corsépius 5553568c62 Remove SYSCONFIGDIR. 2007-08-28 13:20:03 +02:00
Ralf Corsépius d846415f66 Eliminate MACROFILES. 2007-08-28 11:33:07 +02:00
Ralf Corsépius 7e87026e5c Check for locale.h. 2007-08-28 10:58:48 +02:00
Ralf Corsépius 59441dc4d3 Remove LOCALEDIR. 2007-08-28 06:45:25 +02:00
Ralf Corsépius 43ae6e6f57 Remove stamp-h. 2007-08-28 06:37:49 +02:00
Ralf Corsépius d702278169 Use $GCC instead of undocumented autoconf internal $ac_cv_c_compiler_gnu 2007-08-27 16:16:12 +02:00
Ralf Corsépius 749313a946 Remove FINDREQUIRES, FINDPROVIDES (Unused). 2007-08-24 06:40:22 +02:00
Ralf Corsépius 752fea0aee Use with_dmalloc instead of withval. 2007-08-24 06:05:45 +02:00
Ralf Corsépius b6abbcf059 Use with_python instead of withval. 2007-08-24 06:04:43 +02:00
Ralf Corsépius 5696bd01a9 Eliminate localdone. 2007-08-24 05:43:59 +02:00
Ralf Corsépius ca4dd3714a Eliminate INCPATH. 2007-08-24 05:43:34 +02:00
Ralf Corsépius e0f6bee085 Eliminate rpmpopt.
Let rpmpopt-${VERSION} be generated by configure.ac directly.
2007-08-23 15:56:08 +02:00
Ralf Corsépius 2a98ab385d Remove AC_SUBST(INCPATH). 2007-08-22 16:52:25 +02:00
Ralf Corsépius 33b0675212 Add bzip'ed tarball.
Remove tests/atlocal
2007-08-21 16:29:51 +02:00
Ralf Corsépius d09e67798b Preliminary preps for autotest. 2007-08-20 12:31:28 +02:00
Ralf Corsépius c28a0694cc Remove tests/hello-test/Makefile. 2007-08-19 18:41:15 +02:00
Ralf Corsépius 00e06a335d Remove LIBMISC (Unused). 2007-08-16 06:44:52 +02:00
Ralf Corsépius a1cd8954a0 Add tests/Makefile tests/hello-test/Makefile. 2007-08-16 05:31:03 +02:00
Ralf Corsépius 81b1baab5a Replace MKDIR_P and MKDIR with RPM_MKDIR_P and RPM_MKDIR to avoid conflicts with automake's build-in MKDIR_P/MKDIR 2007-08-15 13:49:01 +02:00
Ralf Corsépius cc71f47f18 Add AM_CONDITIONAL(SELINUX). 2007-08-15 13:40:10 +02:00
Ralf Corsépius bc1d56ab7b Rename XML2 into libxml2. 2007-08-15 09:11:25 +02:00
Ralf Corsépius 13625ddb7f Add check for libxml2. 2007-08-15 09:03:35 +02:00
Ralf Corsépius 4c73047556 Fix comment on bzip2 library. 2007-08-15 09:02:34 +02:00
Ralf Corsépius c23d7b1cbe Fix broken error message. 2007-08-15 07:36:31 +02:00
Ralf Corsépius b9774ace00 Add --enable-sqlite3.
Rework WITH_SQLITE3* handling.
2007-08-14 18:29:54 +02:00
Ralf Corsépius fc0a01b5a7 Eliminate DBLIBOBJS, DBLIBSRCS. Add AM_CONDITIONAL SQLITE3. 2007-08-14 16:18:10 +02:00
Ralf Corsépius 218e5804fb Use AS_IF instead of []-if. 2007-08-14 16:16:14 +02:00
Ralf Corsépius 81b3cdd0ad Remove --with-efence (Users should use LIBS=-lefence instead. 2007-08-13 17:56:48 +02:00
Ralf Corsépius 7178c4a7ed Remove WITH_ZLIB_SUBDIR, WITH_PYTHON_SUBDIR. 2007-08-13 15:38:11 +02:00
Ralf Corsépius 8aeb0c33dd Fix bugs in previous commit. 2007-08-13 09:48:56 +02:00
Ralf Corsépius 94f8f21a94 Rework check for selinux. 2007-08-13 09:35:48 +02:00
Ralf Corsépius 25cc40bfa5 Clean up --with-lua. 2007-08-13 07:30:28 +02:00
Ralf Corsépius e0088ef075 Rework --with-apidocs handling. 2007-08-13 06:42:49 +02:00
Ralf Corsépius 6f411b4550 Remove WITH_LUA_SUBDIR. 2007-08-12 08:07:11 +02:00
Ralf Corsépius 3df1e54331 Remove support for in-source-tree sqlite3. 2007-08-11 08:02:50 +02:00
Ralf Corsépius 3ea0304ada Rework check for libmagic. 2007-08-10 17:07:17 +02:00
Ralf Corsépius 2eb2f975da Remove WITH_MAGIC_SUBDIR. 2007-08-10 16:09:25 +02:00
Ralf Corsépius 0f99662fe3 Remove WITH_RPMFILE (Unused). 2007-08-10 16:03:23 +02:00
Ralf Corsépius 7031755b82 Remove support of in-source-tree libneon. 2007-08-10 15:48:19 +02:00
Ralf Corsépius d1e0b73576 Use AC_CHECK_HEADERS(gelf.h).
Add AM_CONDITIONAL(LIBELF).
2007-08-10 15:22:25 +02:00
Ralf Corsépius 473ee0caa8 Use AC_CHECK_HEADERS to check for beecrypt headers. 2007-08-10 14:40:02 +02:00
Ralf Corsépius 8288528ead Remove WITH_LIBDWARF_INCLUDE, WITH_LIBDWARF_DEBUGEDIT.
Add AM_CONDITIONAL(LIBDWARF).
2007-08-10 14:01:36 +02:00
Ralf Corsépius fa6c15d39a Drop supporting insource-tree libelf/libdwarf. 2007-08-10 13:48:51 +02:00
Ralf Corsépius 65c3b9c4ab Depend on external libbeecrypt 2007-08-10 10:02:25 +02:00
Ralf Corsépius 5b21d43bf4 Depend on external libpopt 2007-08-10 09:43:52 +02:00
Ralf Corsépius 14d292ae94 Remove WITH_PYTHON_SUBDIR. 2007-08-08 15:03:55 +02:00
Panu Matilainen 21524dd9cf rpm is not a cross-tool...
The patch below removes AC_CANONICAL_TARGET from configure.ac and
changes $target to $host.

Background: AC_CANONICAL_TARGET is supposed to take the target of a
cross-tool, not the target of cross-compiling a package
(== a configure script's --host).

Patch from Ralf Corsepius
2007-08-06 15:46:11 +03:00
Panu Matilainen 439e3f8200 Detect and use -gnueabi instead of -gnu on ARM as necessary.
Patch from Lennert Buytenhek.
2007-08-06 14:47:10 +03:00
Panu Matilainen aab16a0274 Allow building without python-devel.
The patch below adds a check for presence of Python.h to configure.ac
and applies automake-conditionals to switch off building rpm's python
bindings if Python.h can't be found.

Patch from Ralf Corsepius.
2007-08-06 12:04:05 +03:00
Panu Matilainen 8d2b416782 Automake cleanups.
- Replace INCLUDES with AM_CPPFLAGS
  (INCLUDES has been replaced by AM_CPPFLAGS and is deprecated in
  modern automakes for several years)
- Require autoconf-2.61 and automake-1.10
  (already required by autogen.sh)
- update mkinstalldirs with the version from automake-1.10
  (The version in rpm is ancient and known to be bugged)

Patch from Ralf Corsepius
2007-08-05 11:30:55 +03:00
Panu Matilainen 345d1189ae Fixing fallout from MARK64 removal.. 2007-07-30 13:43:22 +03:00
Panu Matilainen 4bcd08549d Set libdir /usr/lib vs lib64 directly, drop MARK64 stuff 2007-07-25 17:10:57 +03:00
Panu Matilainen f922a20f90 Add initial rpm.pc pkg-config support. 2007-07-25 15:36:58 +03:00
Panu Matilainen 7b6ef059a2 More gettext cleanups.
- Use po/LINGUAS for language list instead of ALL_LINGUAS in configure.ac
- replace obsolete INTLLIB with LIBINTL, gee..
2007-07-24 14:21:32 +03:00
Panu Matilainen f763a21879 Use python distutils for determining include etc paths 2007-07-24 11:55:37 +03:00
Panu Matilainen ffa3122d58 Expect neon headers to live in neon/ directory in include path 2007-07-24 10:13:28 +03:00
Panu Matilainen 70e1c373d1 Expect beecrypt headers to live in beecrypt/ directory in include path 2007-07-24 10:07:23 +03:00
Panu Matilainen 68fc61fe08 Rip out internal libmagic, require external.
This is going to need more sorting out...
2007-07-24 09:59:33 +03:00
Panu Matilainen 5275cce57b Rip out popt. 2007-07-05 16:59:34 +03:00
Panu Matilainen 96a7eacd1c Duh, really kill the broken tests. 2007-07-04 15:34:52 +03:00
Panu Matilainen a2c38fbcaf Preparing for 4.4.2.1-rc2
- update CHANGES and version
- update translations
2007-07-04 15:18:43 +03:00
Panu Matilainen 6ea7ff5cd7 Mark as 4.4.2.1-rc1 2007-06-25 13:29:09 +03:00
Panu Matilainen b4355dfb94 Use ustar format for dist tarball.
BDB has some very long paths that start getting stripped out when our
version string is longer than just x.y.z.
2007-06-25 13:12:13 +03:00
Panu Matilainen f49c8bc304 IPv4/6 and EPSV support by Arkadiusz Miskiewicz 2007-06-25 10:40:14 +03:00
Panu Matilainen 82885665ce ARM arch update.
Adds more ARM sub-archs, and adds some bits to deal properly with the new
ARM ABI (EABI). Patch from  Lennert Buytenhek.
2007-06-21 15:13:04 +03:00
Panu Matilainen de9baf4644 Auto*foo to check if gcc supports -fno-strict-aliasing. 2007-06-20 12:06:36 +03:00
Panu Matilainen a36fe66361 Add reminder about enabling mmap() use after 4.4.2.1.
The code's been unused for years so too risky to enable right now but should
offer good performance improvement. Fix the HAVE_MMAP checks.
2007-06-20 10:58:10 +03:00
Panu Matilainen 57a53d1080 Move SELinux specifics to the section of configure.ac where SELinux is already
handled instead of mixing it into the 'static linking' section.
Patch from rpm5.org.
2007-06-20 10:26:14 +03:00
Panu Matilainen fb93d8d34f More configure.ac cleanups.
From rpm5.org
2007-06-20 10:23:38 +03:00
Panu Matilainen 54ac504634 Throw out unused stuff from configure.ac
Patch from rpm5.org
2007-06-20 10:20:15 +03:00