summaryrefslogtreecommitdiff
path: root/m4
AgeCommit message (Collapse)AuthorFilesLines
2010-05-17dpkg: On Linux use sync() instead of an fsync() per fileGuillem Jover1-0/+16
Due to the performance degradation on ext4 file systems, as a workaround on Linux, we use sync() which is synchronous, before rename() to make sure it's truly atomic. Closes: #578635
2010-03-13libdpkg: Use __attribute__ keyword depending on compiler supportGuillem Jover1-17/+0
Check for compiler support from preprocessor macros and selectively enable specific __attribute__ specifications. We avoid exposing the configure variable HAVE_C_ATTRIBUTE, which was never defined for the installed headers. Remove the now unused DPKG_C_ATTRIBUTE autoconf macro.
2010-03-12build: Allow disabling Unicode supportGuillem Jover2-8/+44
This affects only dselect ncurses support for now. Based-on-patch-by: Yuri Vasilevski <yvasilev@gentoo.org>
2010-02-26Generate manual pages for perl modules with pod2manRaphaƫl Hertzog1-0/+7
2010-02-19build: Add more warnings to --enable-compiler-warningsGuillem Jover1-3/+9
2010-01-01Add missing copyright statementsGuillem Jover6-1/+15
2009-12-31build: Refactor compression library check m4 macroGuillem Jover1-50/+37
2009-10-30build: Use pkg-config m4 macros to detect selinux libraryGuillem Jover1-7/+8
Use PKG_PROG_PKG_CONFIG to detect and allow overriding the pkg-config binary to use, for example in case of cross-compilation. Suggested-by: Tollef Fog Heen <tfheen@err.no>
2009-10-30build: If there's no libselinux.pc file fallback to hardcoded listFelipe Contreras1-3/+11
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Guillem Jover <guillem@debian.org>
2009-10-29build: Only use po4a if present and if NLS is enabledGuillem Jover1-0/+14
Use the po4a command found when doing the availability checks. Reported-by: Felipe Contreras <felipe.contreras@gmail.com>
2009-10-29build: Rename and namespace dpkg m4 filesGuillem Jover7-0/+0
This avoids possible future collisions and makes it easier to see what's coming from dpkg and what each file is for.
2009-10-26Sort order of header includesGuillem Jover1-3/+2
Place first <config.h> and <compat.h>, then all <sys/*.h> sorted by complexity, followed by the rest of the system headers, then <dpkg/*.h> and finally the local "*.h" ones. Move <dpkg/i18n.h> inclusion into libdpkg inclusion block, as the <gettext.h> compatibility header already takes care of including <locale.h> before <libintl.h> on environments were its probamatic. Removed duplicated inclusions.
2009-10-04build: Properly escape DPKG_CHECK_DECL and DPKG_CHECK_DEFINE argumentsGuillem Jover1-8/+9
Use AS_TR_SH for shell variables and AS_TR_CPP for variables used in headers or Makefiles.
2009-10-04build: Fix DPKG_CHECK_DEFINE to properly check for dpkg_cv_define_$1Guillem Jover1-1/+1
The macro was checking for the dpkg_cv_define variable, which implied always doing an AC_DEFINE to 0. As a consequence now start-stop-deaemon will use TIOCNOTTY when available.
2009-09-30build: Abort if there is no support for the required C99 extensionsGuillem Jover1-1/+2
2009-09-30build: Add more options to try to get support for C99 extensionsGuillem Jover1-1/+2
Taken from autoconf.
2009-09-30build: Check for C99 snprintf family of functionsGuillem Jover1-1/+46
We need the new semantics that allow passing NULL and 0 size to retrieve the full size of the formatted string. Add a new DPKG_FUNC_C99_SNPRINTF macro and remove the simple compat checks for snprintf and vsnprintf.
2009-09-30build: Use memcpy instead of assignment to copy va_listGuillem Jover1-10/+1
It's more portable that way. Remove now unneeded check for working assignment.
2009-09-30build: Add an explicit return type to main in DPKG_FUNC_VA_COPYGuillem Jover1-1/+2
2009-09-30build: Do not test for C99 for-loop variable declaration supportGuillem Jover1-4/+0
This extension is not going to be used in the code base anyway.
2009-09-30build: Add test for 'trailing comma in enum' C99 supportGuillem Jover1-0/+3
2009-09-26build: Update compiler-warnings flagsGuillem Jover1-1/+1
Do not use -Werror for now (at leasat until ncurses is fixed). And add -Wextra -Wno-unused-parameter -Wno-missing-field-initializers.
2009-09-26build: Refactor warning flags into a new WFLAGS variableGuillem Jover1-3/+4
2009-09-26build: Wrap perl expression in PERL_LIBDIR assignmentGuillem Jover1-1/+3
2009-09-26build: Properly escape $( inside perl regexGuillem Jover1-1/+1
Use one back slash instead of two, otherwise perl was replacing it with the $( (aka $GID). Broken due to commit 02f1f8a50af58b9d1f61dd9258cf1d26fe2f0d21.
2009-09-24build: Do not use backticks on m4 macrosGuillem Jover7-12/+12
Use single quotes for strings, angle brackets for headers, and $() for command subsitution. This should pacify syntax highlighters.
2009-09-24build: Add new DPKG_CHECK_DECL m4 macroGuillem Jover1-0/+13
Used to check if something is declared in a header.
2009-08-26Change dpkg specific m4 macros prefix from SJR_ to DPKG_Guillem Jover2-7/+7
2009-08-16Use AC_*_IFELSE instead of obsolete AC_TRY_* macrosGuillem Jover3-20/+19
2009-08-15Check for host system instead of target at build timeGuillem Jover1-9/+9
Using AC_CANONICAL_TARGET is needed when wanting to support building cross-compiling software. But there's too many assumptions in dpkg that the host system in dpkg-dev is going to match the build system.
2009-08-15Use AC_CANONICAL_TARGET instead of deprecated AC_CANONICAL_SYSTEMGuillem Jover1-1/+1
2009-04-13Detect the curses headers to use instead of hardcoding themGuillem Jover1-0/+2
Wrap the curses headers to use and select them through the config.h macros detected at configure time. This way we can also cleanly detect the path needed by mkcurkeys.pl w/o duplicating the selection logic.
2008-02-19Link dselect against libncurseswFrank Lichtenheld1-3/+4
* m4/libs.m4 (DPKG_LIB_CURSES): Use libncursesw if available. * debian/control: Change build-dependency from libncurses5-dev to libncursesw5-dev.
2008-02-04Use functions from libcompat when those are not provided by the systemGuillem Jover1-0/+14
2008-01-18Do not use backticks inside double quotes in m4 filesGuillem Jover2-4/+4
Fix portability issues with ancient shells on HP-UX. Closes: #24514
2007-10-11Use shipped perl modules when calling perl programs at build timeGuillem Jover1-1/+2
2007-09-23perl.m4: Fix PERL_LIBDIR for prefix != defaultFrank Lichtenheld1-1/+1
Replace the default prefix (vendorprefixexp) with $(prefix) in vendorlibexp. Detected by distcheck
2007-07-21Move variables automatically modified at build time to a new style perlGuillem Jover1-0/+2
module.
2007-03-28Revert revision 691 (Add support for PAM sessions in start-stop-daemon.)Nicolas FRANCOIS1-31/+0
With daemons (i.e. except when --background is used), the session is closed too early. #376165 and #406942 will be tagged wontfix. Thanks to Guillem Jover for noticing.
2007-03-25Fix a typo.Nicolas FRANCOIS1-1/+1
2007-03-25Add support for PAM sessions in start-stop-daemon.Nicolas FRANCOIS1-0/+31
2007-03-20Update svn:ignore attributes.Guillem Jover1-0/+4
2006-09-27Add a new line at the end of m4/compiler.m4 file, to cope with anGuillem Jover1-1/+2
autoreconf failure due to the new m4 1.4.7.
2006-08-08Use dpkg-architecture from the source tree to get the target DebianGuillem Jover1-7/+12
architecture, instead of duplicating the logic in the m4 files.
2006-06-17Set all svn:ignore.Guillem Jover1-0/+29
2006-02-12Remove all the generated files so we don't need to track changes in them.Frank Lichtenheld27-2576/+0
These were actually commited accidently by importing from the source package and not an arch checkout
2006-02-08Use pkg-config to get the proper flags to link against libselinux.Guillem Jover1-2/+2
Add a Build-Dependency on pkg-config, thighten libselinux1-dev to at least version 1.28-4 which provides a .pc file, and remove libsepol1-dev as libselinux1-dev is Depending on it.
2006-01-22When linking statically, explicitly add libsepol, even if its only aGuillem Jover1-1/+1
transitive library. The proper fix should come with a pkg-config file. Based on a patch by Bart Martens <bart.martens@advalvas.be>.
2005-06-12dpkg (1.13.9) unstable; urgency=lowScott James Remnant1-26/+74
The "On like Donkey Kong" Release. * Only open the log file when we first need to write to it, this avoids the need to suppress errors when not root which fakeroot defeated anyway. * Stop dpkg-source clobbering an existing .orig directory during unpacking. Closes: #21236. * Allow an alternate output directory to be specified to dpkg-source by giving a second argument to -x. Closes: #246802, #282323. * Added .arch-inventory to default diff ignore regexp. Closes: #304297. SELinux support (Manoj Srivastava): * On SELinux-enabled systems, try to set the security context when the package is unpacked. Closes: #193653, #249496, #307139. * Added build-dependancy on libselinux1-dev. Improvements to dpkg-source (Brendan O'Dea): * Support unpacking of "Wig And Pen" (Format 2.0) source packages. * Multiple pristine upstream tarballs allowed. * Native and upstream tarballs may be bzip2-compressed instead of gzip, as may the debian diff or tarball. * Unsupported format error fixed to output the unsupported format rather than the supported one. Closes: #156317. -- Scott James Remnant <scott@netsplit.com> Sun, 12 Jun 2005 15:52:43 +0100
2005-03-29dpkg (1.13.4) experimental; urgency=lowScott James Remnant1-1/+1
The "Or the Wabbit gets it" Release * Add -L option to dpkg-architecture to list architecture strings we can accept. -- Scott James Remnant <scott@netsplit.com> Tue, 29 Mar 2005 13:31:15 +0100