summaryrefslogtreecommitdiff
path: root/m4macros
Commit message (Collapse)AuthorAgeFilesLines
* Separate CFLAGS from CXXFLAGSJan Ziak2021-07-261-25/+20
| | | | Signed-off-by: Jan Ziak <0xe2.0x9a.0x9b@xfce.org>
* xdt-features.m4: Always enable compilation warningsGaƫl Bonithon2021-04-221-32/+29
| | | | Fixes #44.
* Get rid of glib-gettextize usage and XGETTEXT_ARGS custom argsRomain Bouvier2021-01-121-10/+0
| | | | | | | - intltoolize already do all the job that glib-gettextize do (maybe since 10 years) - Remove the XGETTEXT_ARGS custom feature, I can't find any projec using this in xfce
* Remove obsolete AM_GLIB_GNU_GETTEXTRomain Bouvier2021-01-121-1/+0
| | | | - This should no be used anymore since last century
* Update obsolete m4 macrosRomain Bouvier2021-01-084-13/+10
| | | | | | - They are obsolete since 2.69, and 2.70 now warn about it - Bump minimal autoconf to 2.69 (available since 2012) - AC_HEADER_STDC is not needed anymore: https://www.gnu.org/software/autoconf/manual/autoconf-2.70/html_node/Particular-Headers.html
* Use datarootdir instead of datadirNatanael Copa2020-06-242-2/+2
| | | | | | datarootdir should be used instead of datadir. https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Changed-Directory-Variables.html
* Install m4 macros into default $datadir/aclocalNatanael Copa2020-06-111-1/+1
| | | | | | | | Install the m4 macros in location where autoconf will find them by default. Adjust xdt-autogen to depend on the default location while still respect any set ACLOCAL_FLAGS or XDT_ACLOCAL_FLAGS.
* Let XDT_I18N automatically find the po/*.po as defaultNatanael Copa2020-06-041-2/+8
| | | | | Make the LINGUAS argument optional and let it be auto generated from po/*.po if is not specified.
* Implement XDT_VERSION_INITNatanael Copa2020-06-042-1/+104
| | | | | | | | | | | | | | | | | | | | | | Add an XDT_VERSION_INIT help macro that will define a set of version macros using esyscmd so we no lnger need to use configure.ac.in to perpare the version string for AC_INIT. XDT_VERSION_INIT(SEMVER, [TAG] will set the following macros: - xdt_version - xdt_version_major - xdt_version_minor - xdt_version_micro - xdt_version_tag - xdt_version_build - xdt_debug_default Example usage: XDT_VERSION_INIT([4.15.3],[git]) AC_INIT([xfce4-someproject], [xdt_version()]) ... XDT_FEATURE_DEBUG([xdt_debug_default])
* Cleanup xfce4-dev-toolsRomain Bouvier2019-05-234-146/+3
| | | | | | | | - Remove useless macros: m4macros/xdt-python.m4 and m4macros/xdt-xfce.m4 are not used - Update URLs - Remove xdt-commit, used to generate Changelog, now done via make distcheck
* No -Wshadow flag for enable_debug=full (bug #11637)xfce-4.12Matt Thirtytwo2015-03-131-2/+2
| | | | Use it only for enable_debug=yes.
* Require xfce4-panel-4.11 for panel pluginsHarald Judt2015-02-281-1/+1
| | | | GTK-3 API changes
* Remove definitions related to the obsolete xfce-mcs-managerHarald Judt2015-02-171-43/+0
| | | | xfce-mcs-manager has long been archived and replaced by xfconf.
* Remove check for threaded panelsHarald Judt2015-02-171-19/+0
| | | | This check is only for old panels (<=4.1.90) and useless today.
* Bump dependencies for xfce4-dev-tools and m4macrosHarald Judt2015-02-173-5/+5
| | | | | | | | * automake-1.11 * autoconf-2.60 * libtool-2.4 * glib-2.30 * xfce4-panel-4.9
* Cleanup files and update .gitignoreHarald Judt2015-02-176-18/+6
| | | | Update copyright dates, remove subversion $id strings, update .gitignore.
* Avoid gnu_printf warnings in debugging in gcc 4.8.Nick Schermer2013-04-291-2/+2
|
* Correctly quote macro.Nick Schermer2013-01-061-3/+3
|
* Some build improvements.Nick Schermer2013-01-061-1/+1
|
* Remove FORTIFY_SOURCE=2.Nick Schermer2012-07-231-1/+1
| | | | This gives warnings with full debug builds on recent gcc versions.
* Never disable checks.Nick Schermer2012-04-131-1/+1
| | | | | | This disables the g_return_ macros, and quite often we rely on that. So for the sake of stability, disable those.
* Remove the old BM_ macros.Nick Schermer2012-04-133-175/+0
|
* 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)