summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-08-09Version bump: 1.11.0HEADmasterArnaud Fontaine1-1/+1
2010-08-09Add XORG_XCB_UTIL_COMMON which defines default options for xcb-util libraries.Arnaud Fontaine1-0/+39
2010-08-08Add XORG_CHECK_GNU_M4 to check for GNU M4 as used mainly in xcb-util for nowArnaud Fontaine1-0/+32
2010-06-25Version bump: 1.10.0util-macros-1.10.0Gaetan Nadon1-1/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-06-25XORG_CHECK_SGML_DOCTOOLS: add interface for xorg stylesheetGaetan Nadon1-0/+7
Add STYLESHEET_SRCDIR for directory location and XSL_STLESHEET for the name of the xorg style sheet Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-06-25XORG_WITH_XMLTO: add HAVE_XMLTO_TEXT for text output formatGaetan Nadon1-0/+17
The xmlto program has dependencies when converting docbook XML to text format. It requires either lynx, links or w3m text web browsers. Users want to skip the text format to avoid having to install these. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-06-22Version bump: 1.9.0util-macros-1.9.0Gaetan Nadon1-1/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-06-22XORG_WITH_GROFF: add HAVE_GROFF_HTML Automake conditionalGaetan Nadon1-0/+23
Groff uses grohtml to generate html output format. This program, in turn, uses a number of pnm* commands from the netpbm package, psselect from the psutils package and the ghostscript package. These are independently installed, so they could be missing. A check is made to ensure those dependencies are installed. If not, the makefile can use the conditional to supress the target. Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-27Version bump: 1.8.0util-macros-1.8.0Gaetan Nadon1-1/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-27config: XORG_MANPAGE_SECTIONS: add AC_PROG_SEDGaetan Nadon1-0/+2
The sed command is required to create the man pages. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-27XORG_MANPAGE_SECTIONS: add MAN_SUBSTS automake variableGaetan Nadon1-0/+18
It will replace the 155 copies in package makefiles Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-27XORG_RELEASE_VERSION: remove option --with-release-version #24816Gaetan Nadon1-14/+1
The short story: - this option has never been used by OS builders as intended - the implementation changes automake internals - the implementation breaks a few makefiles (if used) - one less option for the user to be confused with on all 240 xorg modules The long story: https://bugs.freedesktop.org/show_bug.cgi?id=24816 Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-25XORG_LINT_LIBRARY: rework to match XORG_WITH_LINTGaetan Nadon1-14/+15
XORG_LINT_LIBRARY has implementations dependencies on XORG_WITH_LINT The library name can no longer be set by overloading the semantic of --enable-lint-library. If this function is required it should be added using an AC_ARG_VAR. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-25XORG_WITH_LINT: rework and extend platform coverageGaetan Nadon1-23/+54
Guess the lint program name by platform. Use ARG variable for user input values. Provide default flags per platform. Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-25XORG_DEFAULT_OPTIONS: add AC_PROG_INSTALLGaetan Nadon1-0/+1
All modules install something. This makes it clear it can removed from modules config. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-25XORG_STRICT_OPTION: remove redundant expansion of AC_PROG_CC macroGaetan Nadon1-2/+2
Calling AC_PROG_CC before AC_PROG_CC_C99 is not required. C99 is not an add-on to CC although either one will cache results than can be used by the other. This is effectively a no-op. Note that if a module configure.ac file calls AC_PROG_CC after AC_PROG_CC_C99, the compiler will be reset to ISO_C89 from ISO_C99. Currently about half the xorg modules use C89 while the other half use C99. Reviewed-by: Rémi Cardona <remi@gentoo.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-05-05doctools: accept an optional minimal versionYaakov Selkowitz1-7/+9
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>
2010-05-05linuxdoc: Use XORG_WITH_PS2PDF to check for ps2pdfYaakov Selkowitz1-2/+2
Besides reusing existing code, this allows linuxdoc PDF output to be enabled or disabled by configure. Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
2010-04-29LinuxDoc: add -f option to filter out the ^H in text outputGaetan Nadon1-1/+1
Remove backspace-overstrikes from the intermediate form generated by groff. These appear as blocks in some text editors and as ^H in vi. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-04-05Version bump: 1.7.0util-macros-1.7.0Gaetan Nadon1-1/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-04-04doc: add XORG_CHECK_SGML_DOCTOOLS to detect xorg-sgml-doctoolsYaakov Selkowitz1-21/+33
Trying to find X11/defs.ent with AC_CHECK_FILE does not work when cross-compiling, and the check assumed that xorg-sgml-doctools is installed to the same prefix which need not always be the case. xorg-sgml-doctools 1.4 provides a pkg-config file which we can use instead, fixing both those cases. This macro is provided in util-macros instead of with xorg-sgml-doctools, otherwise the latter would become a hard dependency just to run autoreconf. Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-29config: remove the xorg-macros pc.in file from EXTRA_DISTGaetan Nadon1-2/+0
Automake always includes it in the tarball. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-11Version bump: 1.6.1util-macros-1.6.1Gaetan Nadon1-1/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-10doc: fix typo in AC_MSG_CHECKING for XORG_CHECK_LINUXDOCGaetan Nadon1-6/+6
The message should start with a lowercase letter. Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-09doc: Specify minimum xmlto version to XORG_WITH_DOXYGENGaetan Nadon1-3/+17
Adds an optional parameter to XORG_WITH_DOXYGEN to enforce a minimum version needed like the asciidoc version check. Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-03-09doc: Specify minimum xmlto version to XORG_WITH_XMLTODan Nicholson1-2/+16
Adds an optional parameter to XORG_WITH_XMLTO to enforce a minimum version needed like the asciidoc version check. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-03-09doc: Specify minimum asciidoc version to XORG_WITH_ASCIIDOCDan Nicholson1-2/+16
Adds an optional parameter to XORG_WITH_ASCIIDOC to enforce a minimum version needed. Tested-by: Gaetan Nadon <memsize@videotron.ca> Tested-by: Fernando Carrijo <fcarrijo@yahoo.com.br> Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2010-02-28silent: Set AM_DEFAULT_VERBOSITY for compatibility on older automakeDan Nicholson1-1/+2
Custom silent rules will become recursive on older automake where AM_SILENT_RULES is not included. Set AM_DEFAULT_VERBOSITY in this fallback case for compatibility. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
2010-02-25AM_SILENT_RULES: move from XORG_CWARNFLAGS to XORG_DEFAULT_OPTIONSGaetan Nadon1-1/+1
This m4 statement does not belong in the macro for compiler warning flags. It is more appropriate to group it with the macro providing default options for X.Org modules. Reviewed-by: Dan Nicholson <dbn.lists@gmail.com> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-02-05Version bump: 1.6.0util-macros-1.6.0Gaetan Nadon1-1/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-02-05doc: add XORG_ENABLE_DEVEL_DOCS and XORG_ENABLE_SPECSGaetan Nadon1-0/+70
Identical to XORG_ENABLE_DOCS, this macros allows modules to classify docs per type and selectively control their building. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-02-05XORG_WITH_GROFF: add tests for -ms and -mm macro packagesGaetan Nadon1-5/+34
OS and distros often splits groff in a basic and full package, the former having the groff program and the later having devices, fonts and macros Checking for the groff executable is not enough. Use HAVE_GROFF if you do not use -ms or -mm Use HAVE_GROFF_MS and/or HAVE_GROFF_MM otherwise Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-02-05Add XORG_ENABLE_DOCS to control the building of documentationGaetan Nadon1-0/+37
This macro is intended for modules to control, in a single option, the building of the documentaion. Using --enable-docs=no, all documentation is skipped, regardless of the tool used to build it. It should be used in conjunction with other XORG_WITH_* macros which handle cases where some specific tool is not available. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-02-05Additional doc macros for GROFF, FOP and PS2PDFGaetan Nadon1-0/+153
Identical to XMLTO, DOXYGEN and ASCIIDOC. Allow platform builders to selectively turn off tools that are not present or back level. Matching documentation target will be shipped. For example, --without-fop will skip the pdf format while allowing other formats to proceed. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-02-03Add -Wformat=2 to the default CWARNFLAGSJeremy Huddleston1-1/+1
This will include -Wformat-security to catch possible security problems in formatting in printf, scanf, etc. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com> Reviewed-by: Matt Turner <mattst88@gmail.com>
2010-01-17Version bump: 1.5.0util-macros-1.5.0Gaetan Nadon1-1/+1
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-01-17Add XORG_WITH_ASCIIDOC and XORG_WITH_DOXYGENGaetan Nadon1-0/+102
Based on XORG_WITH_XMLTO Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
2010-01-17Add XORG_WITH_XMLTO to factorize xmlto tests.Matthieu Herrb1-0/+51
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 Cristau1-1/+1
2010-01-14Update Sun license notices to current X.Org standard formAlan Coopersmith2-42/+30
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-09INSTALL doesn't belong in docdir, use pkgdatadir insteadJulien Cristau3-7/+10
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 Nadon1-2/+2
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 Nadon1-1/+1
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 Watson1-1/+2
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 Jackson1-1/+1
Signed-off-by: Adam Jackson <ajax@redhat.com>
2009-12-14Don't mention libdir in the .pc fileAdam Jackson1-1/+0
Signed-off-by: Adam Jackson <ajax@redhat.com>
2009-12-14Install the .pc file in $(datadir)Adam Jackson1-1/+1
Signed-off-by: Adam Jackson <ajax@redhat.com>
2009-12-14macros 1.4.0util-macros-1.4.0Adam Jackson1-1/+1
2009-11-30Install .pc file in $libdir where it belongs (not $datadir).Carl Worth1-1/+1
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 Nadon4-3/+26
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.