summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-01-17Version bump: 1.5.0util-macros-1.5.0Gaetan Nadon
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-01-17Add XORG_WITH_ASCIIDOC and XORG_WITH_DOXYGENGaetan Nadon
Based on XORG_WITH_XMLTO Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-01-17Add XORG_WITH_XMLTO to factorize xmlto tests.Matthieu Herrb
This also allow to configure with --without-xmlto to ignore a 3rd party xmlto tool on systems that normally don't have it, in order to have reproducable builds. Reviewed-by: RĂ©mi Cardona <remi@gentoo.org> Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-01-16Bump to 1.4.2util-macros-1.4.2Julien Cristau
2010-01-14Update Sun license notices to current X.Org standard formAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-09INSTALL doesn't belong in docdir, use pkgdatadir insteadJulien Cristau
docdir stays in xorg-macros.pc so we don't break the existing $(INSTALL_CMD). Tested-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Julien Cristau <jcristau@debian.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-12-15configure.ac: use single statement for file generationGaetan Nadon
Reported-by: Peter Hutterer <peter.hutterer at who-t.net> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-12-15macros.m4.in: use backticks rather than $() for cmd subsGaetan Nadon
Reviewed-by: Dan Nicholson <dbn.lists at gmail.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-12-15Use conservative default for malloc(0) when cross-compiling #24460Colin Watson
When cross-compiling, AC_RUN_IFELSE can't run test programs. MALLOC_ZERO_RETURNS_NULL=yes is a conservative default in this case. Signed-off-by: Colin Watson <cjwatson@canonical.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2009-12-14util-macros 1.4.1util-macros-1.4.1Adam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2009-12-14Don't mention libdir in the .pc fileAdam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2009-12-14Install the .pc file in $(datadir)Adam Jackson
Signed-off-by: Adam Jackson <ajax@redhat.com>
2009-12-14macros 1.4.0util-macros-1.4.0Adam Jackson
2009-11-30Install .pc file in $libdir where it belongs (not $datadir).Carl Worth
The .pc file was previously being installed in ${prefix}/share/pkgconfig but all other modules install their .pc files to ${prefix}/lib/pkgconfig
2009-11-26xorg-macros.pc.in: create a meta data file for util-macrosGaetan Nadon
This is motivated primarly by XORG_INSTALL who needs to locate the docdir when invoked from any module that may not be installed using same prefix (default or otherwise). There are other potential use for this file.
2009-11-07Add an XORG_INSTALL macro to allow comps to copy the INSTALL file #24206Gaetan Nadon
The Makefile installs INSTALL in share/doc/util-macros An INSTALL_CMD is provided in the new XORG_INSTALL macro which is added to XORG_DEFAULT_OPTIONS. Components add INSTALL target to their Makefile similar to ChangeLog
2009-11-07Add an XORG_INSTALL macro to allow comps to copy the INSTALL file #24206Gaetan Nadon
The Makefile installs INSTALL in share/doc/util-macros An INSTALL_CMD is provided in the new XORG_INSTALL macro which is added to XORG_DEFAULT_OPTIONS. Components add INSTALL target to their Makefile similar to ChangeLog
2009-11-07INSTALL file missing/incorrect #24206Gaetan Nadon
Add missing INSTALL file. Use standard GNU file on building tarball For all X.Org components.
2009-11-07.gitignore: use common defaults with custom section # 24239Gaetan Nadon
Using common defaults will reduce errors and maintenance. Only the very small or inexistent custom section need periodic maintenance when the structure of the component changes. Do not edit defaults. For all X.Org components.
2009-11-07Lower version from 2.63 to 2.60 Tinderbox failedGaetan Nadon
2009-10-12configuration: update, fix warnings, apply global maintenance #24450Gaetan Nadon
Update configure.ac using autotools utilities and wiki guidelines configure.ac: AM_MAINTAINER_MODE missing #24238 This turns off maintainer mode build rules in tarballs. For all X.Org components.
2009-10-12ChangeLog: generated file not cleaned from the dist directory #24278Gaetan Nadon
CHANGELOG_CMD was written in the wrong directory. Update cmd to generate in $(top_srcdir) Tested in regular build with git: dist, distcheck and distclean Tested in VPATH build with git: dist, distcheck and distclean Tested above scenario from tarballs with git not available
2009-09-09Version bump: 1.3.0util-macros-1.3.0Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-09-03Fix obsolete macro warnings for AC_HELP_STRING #23628Gaetan Nadon
When checking for warnings in any module using XORG_RELEASE_VERSION one or more warnings on AC_HELP_STRING appears. The macro has been replaced with AS_HELP_STRING Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-09-02Add XORG_DEFAULT_OPTIONS meta-macro.Peter Hutterer
Many modules use the same set of m4 macros. Additions to the macros require updating the configure.ac for each module affected. In the case of e.g. protos and libs this means updating every single module. This patch adds a XORG_DEFAULT_OPTIONS meta-macro that uses the other macros defined. Macros can be added to this meta-macro and modules immediately get to make use of it - without changes required to configure.ac. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-09-01Add XORG_STRICT_OPTION macro for strict compilation optionPauli Nieminen
Strict compilation option can be used to get rid of warnings that often are showing real hidden bug in code. That just waits to cause problems. CWARNFLAGS has to be added to AM_C(PP)FLAGS to use strict compilation mode in Makefile.am. Automatic addition to compiler flags would cause some configure checks fail. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2009-08-27Add AM_SILENT_RULES to default XORG_CWARNFLAGSPeter Hutterer
Automake 1.11 supports silent builds with the new AM_SILENT_RULES. http://sources.redhat.com/automake/automake.html#Options This loosely qualifies as a CWARNFLAG since it allows all the warnings to be seen and enables modules to gain support from the feature without any changes needed to configure. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: James Cloos <cloos@jhcloos.com>
2009-06-18Version bump: 1.2.2util-macros-1.2.2Alan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-06-09Use correct CWARNFLAGS when cross compilingJon TURNEY
Rather than checking the version of some random gcc which happens to be in the path to determine which warning flags are supported, we should check the gcc we are going to use for the build For example, when cross-compiling, if the host gcc is >= 3.4 but the cross-compiler gcc is not, this will cause unsupported warning flags to be used This seems to work, but I don't know enough autofoolery to be sure this is right... Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-17Use m4 for XORG_MACROS_VERSION to error during autoconfDan Nicholson
Check the needed macros version with m4 so that the proper version is determined during autoconf. This prevents a faulty configure from being generated. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2009-02-19Fix incorrect warning message in XORG_MACROS_VERSIONDan
Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2009-02-05Restore part of the XORG_MACROS_VERSION commentDan Nicholson
The 1.1 or later part is actually important since XORG_MACROS_VERSION didn't exist before then. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2009-02-05Fix comment in XORG_MACROS_VERSION on usageDan Nicholson
The comment recommending checking XORG_MACROS_VERSION with m4_ifndef was flawed for two reasons: * m4_fatal should be used if the macro is not defined. There's no use generating configure if the macro doesn't exist. Just fail during autoconf. * There's no reason to mention the version needed in the message. That check does not do version verification. That's what the actual macro is for. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2009-02-01XORG_CWARNFLAGS: += is not valid for appending in bourn scriptsJeremy Huddleston
Fixes: ./configure: line 12921: CWARNFLAGS+= -Wold-style-definition -Wdeclaration-after-statement: command not found
2008-12-16Version bump: 1.2.1util-macros-1.2.1Alan Coopersmith
2008-12-16Replace gitweb URL with cgit URL in READMEAlan Coopersmith
2008-12-16fix distcheck targetPeter Breitenlohner
Arrange that distcleancheck ignores ChangeLog left over by distclean. Don't mention ChangeLog under *CLEANFILES, can't be rebuilt from release tarball; ChangeLog is automatically distributed, no need to mention it.
2008-12-10use more CWARNFLAGS with gcc 3.4 too.Matthieu Herrb
Only gcc 3.3 and earlier version don't support them. Reported and tested by Peter Breitenlohner.
2008-12-07Fix CWARNFLAGS for gcc versions < 4Matthieu Herrb
2008-12-01Allow setting XORG_SGML_PATH to a non-default path when running configureAlan Coopersmith
2008-11-29bump to 1.2.0util-macros-1.2.0Peter Breitenlohner
2008-11-29fix XORG_PROG_RAWCPP for cygwinPeter Breitenlohner
Patch by Yaakov Selkowitz from xorg mailing list http://lists.freedesktop.org/archives/xorg/attachments/20081016/04a64242/attachment.asc
2008-11-29define XORG_CWARNFLAGS macroPeter Breitenlohner
2008-11-29define and use XORG_CHANGELOG macroPeter Breitenlohner
2008-11-29reorganize autoconf macro filesPeter Breitenlohner
append xorgversion.m4 to xorg-macros.m4.in, instead of installing it as separate file. Avoid copying some code from xorgversion.m4 to configure.ac.
2008-03-05bump to 1.1.6util-macros-1.1.6Adam Jackson
2008-02-16Support version strings like 1.2.3-blah4Jeremy Huddleston
2007-08-13Cannot use AC_CHECK_FILE when cross compiling; assume no LINUXDOC.Keith Packard
As AC_CHECK_FILE cannot be used when cross compiling, just assume linuxdoc is not present.
2006-12-24bump to 1.1.5util-macros-1.1.5Daniel Stone
2006-12-18Bug 9368: non portable sed usage in xorgversion.m4Matthieu Herrb
Bugzilla #9368 <https://bugs.freedesktop.org/show_bug.cgi?id=9368> Patch #8140 <https://bugs.freedesktop.org/attachment.cgi?id=8140>