summaryrefslogtreecommitdiff
path: root/m4macros
Commit message (Collapse)AuthorAgeFilesLines
* Use pkg-config macro for detection (bug #7787).Nick Schermer2011-07-031-24/+18
| | | | | Use the macro shipped with pkg-config for detection of $PKG_CONFIG. This to fix cross-build compatibility.
* Disable --as-needed on OpenBSD (bug #7546).Landry Breuil2011-04-281-10/+12
|
* Skip -Wredundant-decls on OpenBSD.Nick Schermer2011-04-251-1/+6
| | | | signal.h has an inline that redeclares __errno.
* Support xldscope for Sun Studio.Nick Schermer2011-03-221-1/+5
|
* Don't use -g3 for full debuggin.Nick Schermer2011-03-221-1/+1
| | | | | This breaks the sun studio compiler and since -g defaults to level 2, it provides enough backtrace information.
* Only use -fstack-protector on Linux systems.Nick Schermer2011-03-071-3/+6
| | | | | The FreeBSD bot has some problems with this flag. Disable it on non-linux systems, since it's not that important.
* Fix FSF address and add missing licenses.Nick Schermer2011-03-065-60/+60
|
* Revert "Don't set the default visibility in XDT_FEATURE_VISIBILITY."Nick Schermer2009-10-231-0/+2
| | | | This reverts commit 77d9703dccee853d007c3b7133bc14accff66203.
* Don't set the default visibility in XDT_FEATURE_VISIBILITY.Nick Schermer2009-10-221-2/+0
| | | | | | | Only use XDT_FEATURE_VISIBILITY to detect if visibility is supported by the compiler. Setting the default visibility to hidden will break libraries and modules that don't set the visibility of their public function to "default".
* fix typo that breaks XDT_FEATURE_LINKER_OPTSBrian J. Tarricone2009-09-201-1/+1
|
* put --disable-debug back and fix defaults for visibility and linker optsBrian J. Tarricone2009-09-191-5/+5
| | | | | | also make the non-defaults explicit and therefore less confusing (it worked before due to default autoconf shell-ification of the first arg, but that's not immediately clear)
* Revert "Fix XDT_FEATURE_LINKER_OPTS and XDT_FEATURE_VISIBILITY."Brian J. Tarricone2009-09-191-2/+4
| | | | This reverts commit 90d686411e994a0adfe822e917b1954538d95b74.
* Fix XDT_FEATURE_LINKER_OPTS and XDT_FEATURE_VISIBILITY.Jannis Pohlmann2009-09-191-4/+2
| | | | | | | | | | AC_ARG_ENABLE executes the code its last parameter if the --enable flag is not provided, not if the --disable flag is not provided. That's why we need to set the value to "no", not to "yes". Also don't show the --disable-debug option (with weird indentation) because the help message already explains that there are --disable variants for all --enable options.
* Fix default detection and $enable_debug value in XDT_FEATURE_DEBUG().Jannis Pohlmann2009-09-191-5/+3
| | | | | | | | | This uses the m4_default() macro instead of the custom code to check which debug level should be used as the default. $default_level was not set when running configure with --help before. It seems we also need to use [enable_debug=$enableval] in AC_ARG_ENABLE() for enable_debug to be set. Tested it and it works fine.
* beef up the XDT_FEATURE_DEBUG macro a bitBrian J. Tarricone2009-09-181-8/+21
|
* add XDT_FEATURE_LINKER_OPTSBrian J. Tarricone2009-09-181-1/+35
|
* add XDT_FEATURE_VISIBILITYBrian J. Tarricone2009-09-181-0/+51
|
* * m4macros/xdt-features.m4: Add a bunch more compiler warningBrian Tarricone2009-05-041-12/+50
| | | | | | options when --enable-debug={yes,full} is specified. (Old svn revision: 29924)
* 2007-01-15 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2007-01-151-2/+2
| | | | | | | | | | | | | * scripts/xdt-autogen.in: Apply patch from Olivier Fourdan <fourdan@xfce.org> to update xdt-autogen to use the latest GNU autotools if available. Bug #2755. * m4macros/xdt-i18n.m4(XDT_I18N): Make sure xgettext treats source code as UTF-8. (Old svn revision: 24486)
* 2006-09-02 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2006-09-021-4/+10
| | | | | | | | | | * m4macros/xdt-features.m4: Set gcc specific compiler flags only if gcc is being used. Bug #2251. (Old svn revision: 22990)
* 2006-05-08 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2006-05-085-5/+75
| | | | | | | | | * m4macros/, scripts/: Add GPL boilerplate. Bug #1786. (Old svn revision: 21591)
* 2006-03-09 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2006-03-091-1/+1
| | | | | | | | | | * m4macros/xdt-depends.m4: Apply Brian's patch to fix stupid typo in a variable name. Bug #1558. (Old svn revision: 20306)
* 2006-03-05 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2006-03-051-1/+0
| | | | | | | | | | * m4macros/xdt-features.m4(XDT_FEATURE_DEBUG): Do not add G_DISABLE_DEPRECATED to CFLAGS. (Old svn revision: 20238)
* remove .cvsignore cruftJens Luedicke2005-04-061-3/+0
| | | | (Old svn revision: 13312)
* 2005-03-19 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2005-03-191-1/+1
| | | | | | | * m4macros/xdt-features.m4: Fix typo. (Old svn revision: 2282)
* 2005-03-19 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2005-03-191-9/+15
| | | | | | | | | * m4macros/xdt-features.m4: --enable-final is now on by default again. The glib assertions are now toggled by --disable-asserts, as suggested by Olivier. (Old svn revision: 2281)
* 2005-03-17 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2005-03-171-3/+9
| | | | | | | | | * m4macros/xdt-features.m4: --enable-final is now disabled by default and glib assertions will only be disabled if --enable-final is specified and debugging is disabled. (Old svn revision: 2280)
* 2005-03-08 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2005-03-081-2/+2
| | | | | | | * m4macros/xdt-i18n.m4: Fix typo, its Q_() not O_(). (Old svn revision: 2278)
* 2005-03-08 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2005-03-081-0/+10
| | | | | | | | | * scripts/xdt-autogen.in, m4macros/xdt-i18n.m4: Add better handling of XGETTEXT_ARGS to automatically support the O_() translation keyword. (Old svn revision: 2277)
* 2005-02-19 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2005-02-192-0/+69
| | | | | | | | | * m4macros/xdt-python.m4, m4macros/Makefile.am: Add M4 file for Python related checks, currently contains an autoconf check to find header files required to build Python extensions on the target system. (Old svn revision: 2274)
* 2005-01-31 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2005-01-312-0/+3
| | | | | | | | * m4macros/xdt-depends.m4: XDT_CHECK_OPTIONAL_PACKAGE() also sets an automake conditional for HAVE_VARNAME now. (Old svn revision: 2273)
* 2005-01-27 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2005-01-271-17/+17
| | | | | | | | * m4macros/xdt-depends.m4: AC_REQUIRE() doesn't work properly with conditional shell code. (Old svn revision: 2272)
* 2005-01-27 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2005-01-271-348/+6
| | | | | | | | | | | | | * scripts/xdt-autogen.in: Added commands to clean all autogenerated files from the current source directory. Just run "xdt-autogen clean". * m4macros/xdt-i18n.m4: Use the macros provided by glib-gettext.m4 instead of our own replacements, in order to make sure that they play well with the Makefile.in.in generated by glib-gettextize. * m4macros/xdt-i18n.m4: Fix typos in localedir substitution. * scripts/xdt-autogen.in: Added support for intltool. (Old svn revision: 2268)
* 2005-01-26 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2005-01-261-1/+1
| | | | | | | | * m4macros/xdt-i18n.m4: Need to use AC_DEFINE_UNQUOTED() when using shell variables. (Old svn revision: 2266)
* 2005-01-26 Benedikt Meurer <benny@xfce.org>Benedikt Meurer2005-01-262-0/+3
| | | | | | | | | | | * autogen.sh: Be sure to pass command line parameters to xdt-autogen and configure. * m4macros/xdt-i18n.m4: Add missing fi, so now XDT_I18N() works properly. * .cvsignore, m4macros/.cvsignore, scripts/.cvsignore: Shut up CVS. (Old svn revision: 2265)
* Initial revisionBMEURER_20050126Benedikt Meurer2005-01-265-0/+1070
(Old svn revision: 2260)