summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* libXt 1.3.0HEADlibXt-1.3.0masterAlan Coopersmith2023-04-091-2/+2
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Add XtReallocArray() for overflow checking of multiplied argsAlan Coopersmith2023-03-071-1/+9
| | | | | | | | | | Uses reallocarray() if available, otherwise checks for overflow itself, if overflow is possible (i.e. in ILP32 & ILP64 environments, but not LP64 with 32-bit ints). Includes unit tests and XtMallocArray() helper macro. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* test: Add unit tests for XtMalloc, XtCalloc, & XtReallocAlan Coopersmith2023-03-071-0/+4
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOLAlan Coopersmith2023-03-041-1/+1
| | | | | | | | | | | | | AC_PROG_LIBTOOL was replaced by LT_INIT in libtool 2 in 2008, so it's time to rely on it. Clears autoconf warnings: configure.ac:36: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:36: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:36: the top level Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* configure.ac: Replace HAVE_LIBRARY with AC_CHECK_LIBAlan Coopersmith2023-02-061-1/+1
| | | | | | | | | | | | | AC_CHECK_LIB was introduced in autoconf 2.0 (1994) to replace HAVE_LIBRARY Clears autoconf warnings of: configure.ac:108: warning: The macro `AC_HAVE_LIBRARY' is obsolete. configure.ac:108: You should run autoupdate. ./lib/autoconf/libs.m4:138: AC_HAVE_LIBRARY is expanded from... configure.ac:108: the top level Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* tests: Replace g_assert() calls with g_assert_*() callsAlan Coopersmith2022-12-171-1/+1
| | | | | | | | | | | | https://docs.gtk.org/glib/testing.html warns against using g_assert() in test cases, since it is a no-op when compiling with G_DISABLE_ASSERT. The replacement calls also give more detailed messages on failures. Raises the minimum required glib version for building unit tests from 2.16 (released March 2008) to 2.40 (released March 2014) to get support for g_assert_nonnull(). Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* tests: Use XORG_MEMORY_CHECK_FLAGS from xorg-macros 1.16Alan Coopersmith2022-12-171-21/+4
| | | | | | | | Replaces previous local copy which had gotten out of date. Raises xorg-macros minimum version from 1.13 (released March 2011) to 1.16 (Dec. 2011). Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Build xz tarballs instead of bzip2Alan Coopersmith2022-07-171-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* codespell-fixesThomas E. Dickey2022-06-141-1/+1
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* libXt 1.2.1libXt-1.2.1Matt Turner2021-01-241-1/+1
| | | | Signed-off-by: Matt Turner <mattst88@gmail.com>
* new buildThomas E. Dickey2019-11-091-1/+1
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* bump minor version to reflect code-cleanupThomas E. Dickey2019-07-141-1/+1
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* update for proposed release as 1.2.0Thomas E. Dickey2019-06-171-1/+1
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* update to 1.1.5.3 to reflect documentation updates/reviewThomas E. Dickey2019-06-171-1/+1
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* bump to 1.1.5.2 to reflect noreturn-changesThomas E. Dickey2019-05-191-1/+1
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* Add related fix fromThomas E. Dickey2019-05-061-2/+4
| | | | | | | https://gitlab.freedesktop.org/xorg/lib/libxt/issues/6 https://bugs.chromium.org/p/chromium/issues/detail?id=284595 Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* adapt change from libXaw for inserting the package version into the specThomas E. Dickey2019-04-211-0/+1
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* bump to 1.1.5.1 (actually 1.2.0 should be the target)Thomas E. Dickey2019-04-211-1/+1
| | | | Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* fix cut/paste error in description of --enable-geo-tattler configure optionThomas E. Dickey2019-04-171-1/+1
| | | | | | (reported by Alan Coopersmith) Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* Add --disable-const and --enable-geo-tattler options for new/updated features.Thomas E. Dickey2019-04-161-15/+42
| | | | | | Also, show configure choices for build-logs. Signed-off-by: Thomas E. Dickey <dickey@invisible-island.net>
* Update configure.ac bug URL for gitlab migrationAlan Coopersmith2018-12-071-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* darwin: Don't build libXt with -flat_namespaceJeremy Huddleston Sequoia2016-09-081-11/+0
| | | | | | | | | | | Force clients to be well-behaved. libXaw and libXaw3d were updated to not depend on the flat_namespace hack, so be sure to also update to newer versions of those libraries as well. cf-libXaw: b3049d9b13333c0e67f1f23959227020741f486b cf-libXaw3d: b8891dae09e107be01520c41ca8d903fe74cf6a0 Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
* libXt 1.1.5libXt-1.1.5Alan Coopersmith2015-04-301-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* asprintf needs _GNU_SOURCE on some platformsRob Clark2015-01-261-1/+1
| | | | | | | | | | Fixes a build break noticed on fedora 21 on arm (although I doubt that is in any way arch specific). http://tinderbox.x.org/builds/2015-01-26-0012/logs/libXt/#build Signed-off-by: Rob Clark <robdclark@gmail.com> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* makestrs: Use asprintf() if availableAlan Coopersmith2015-01-251-1/+4
| | | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
* If CFLAGS_FOR_BUILD is not set, include CWARNFLAGS in default valueAlan Coopersmith2015-01-251-1/+2
| | | | | | | Help catch errors like missing prototypes in makestrs sooner. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
* Fix cross-compilationThierry Reding2013-06-071-0/+2
| | | | | | | | | | | | | | When cross-compiling against a sysroot for instance, a --sysroot option is typically passed via the CPPFLAGS variable. This can cause the build to break in the util subdirectory which requires the CPPFLAGS to be set for the build system. Solve this by using the value of CPPFLAGS_FOR_BUILD for CPPFLAGS in the util subdirectory. Cross-compile setups can override the variable when calling the configure script. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* libXt 1.1.4libXt-1.1.4Alan Coopersmith2013-05-301-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* configure: Remove AM_MAINTAINER_MODEAdam Jackson2013-01-151-1/+0
| | | | Signed-off-by: Adam Jackson <ajax@redhat.com>
* Install ErrorDB into a $datarootdir-path, not $libdir.Egbert Eich2012-11-301-0/+3
| | | | | | | | | | | | | | | | This lets Xt search for it's ErrorDB in the same location as Xlib. These error databases are architecture independent data files. The XtErrorDB file neither exists in libXt nor has it ever been supplied by any '3rd party' (at least Google didn't turn up any results). Therefore changing the location of this file (again) should have no side effects on backward compatibility. Signed-off-by: Egbert Eich <eich@freedesktop.org> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> Tested-by: Gaetan Nadon <memsize@videotron.ca>
* libXt 1.1.3libXt-1.1.3Alan Coopersmith2012-03-151-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* libXt 1.1.2libXt-1.1.2Alan Coopersmith2012-03-071-1/+1
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Initial docbook conversion.Matt Dew2011-12-281-0/+8
|
* Only link with ws2_32 for mingw targetJon TURNEY2011-06-201-1/+8
| | | | | | | | | | For the Cygwin target, we will be using the socket functions provided by the Cygwin DLL, so linking with ws2_32 is unnecessary, even though it may be present. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Cyril Brulebois <kibi@debian.org Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Add test framework similar to xserver and use it to test XtAsprintfAlan Coopersmith2011-03-181-3/+24
| | | | | | | | | | | | | | | | | Only two simple test cases to start with: - compares the results of snprintf of a short string to a static buffer with the new buffer returned by XtAsprintf. - compare the results of using XtAsprintf to replicate a portion of a very long string with the original string. Uses malloc debugging flags for various platforms to try to catch errors with uninitialized memory (such as the recently fixed failure to terminate the string). Requires xorg-macros 1.13 for XORG_ENABLE_UNIT_TESTS and XORG_WITH_GLIB. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
* Bump to 1.1.1libXt-1.1.1Julien Cristau2011-03-101-1/+1
| | | | Signed-off-by: Julien Cristau <jcristau@debian.org>
* Don't need to use target-specific CFLAGS for makestrsAlan Coopersmith2011-03-061-3/+0
| | | | | | | | | It's the only thing built in that directory, so we can use AM_CFLAGS and drop the requirement for AM_PROG_CC_C_O in configure.ac Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Gaetan Nadon <memsize@videotron.ca> Tested-by: Gaetan Nadon <memsize@videotron.ca>
* configure: Bump version to 1.1.0 for releaselibXt-1.1.0Jeremy Huddleston2011-03-041-1/+1
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* darwin: Don't use poll() when expected to run on darwin10 and priorJeremy Huddleston2011-03-041-4/+18
| | | | Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
* config: comment, minor upgrade, quote and layout configure.acGaetan Nadon2011-02-031-39/+42
| | | | | | | | | | | | Group statements per section as per Autoconf standard layout Quote statements where appropriate. Autoconf recommends not using dnl instead of # for comments Use AC_CONFIG_FILES to replace the deprecated AC_OUTPUT with parameters. Add AC_CONFIG_SRCDIR([Makefile.am]) This helps automated maintenance and release activities. Details can be found in http://wiki.x.org/wiki/NewModuleGuidelines
* config: replace deprecated AC_HELP_STRING with AS_HELP_STRINGGaetan Nadon2011-01-281-3/+3
| | | | | | This silences an Automake warning. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Add XtAsprintf() as a new exported APIAlan Coopersmith2011-01-121-1/+1
| | | | | | | | | | Like asprintf() but using XtMalloc() to tie into the Xt memory allocation and error handling subsystems. Bumps libXt version to 1.0.99.1 so that modules can set their pkg-config dependency to libXt >= 1.0.99.1 to require XtAsprintf(). Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* config: AC_PROG_CC is provided by XORG_DEFAULT_OPTIONS nowAlan Coopersmith2010-12-051-1/+0
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* config: replace deprecated AM_CONFIG_HEADER with AC_CONFIG_HEADERSAlan Coopersmith2010-12-051-4/+5
| | | | | | | | Regroup AC statements under the Autoconf initialization section. Regroup AM statements under the Automake initialization section. Add missing AC_CONFIG_SRCDIR Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* Remove non-USE_SNPRINTF case from src/Error.cAlan Coopersmith2010-12-051-2/+0
| | | | | | | | unifdef -DUSE_SNPRINTF src/Error.c Plus manual removal of old #ifdef notyet section that said not enough platforms had snprintf support yet. Welcome to the new millenium! Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* libXt 1.0.9libXt-1.0.9Alan Coopersmith2010-10-281-1/+2
| | | | Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* man: using the C preprocessor is not required for man pages.Gaetan Nadon2010-08-061-6/+3
| | | | | | | There were no special symbols needing cpp. Everything can be handled by the default MAN_SUBSTS in util-macros. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* Move Xt specs from xorg-docs moduleAlan Coopersmith2010-06-081-0/+1
| | | | | | | For now, just checked in and included in dist tarballs, not processed into a usable format - same as it was in xorg-docs Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
* config: update and relocate AX_DEFINE_DIR macroGaetan Nadon2010-04-051-0/+1
| | | | | | | | Remove deprecated acinclude.m4 macro container file Use separate macro files as per autoconf recommendation Use the latest macro from GNU Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
* config: update AC_PREREQ statement to 2.60Gaetan Nadon2010-03-291-1/+1
| | | | | | | | | | Unrelated to the previous patches, the new value simply reflects the reality that the minimum level for autoconf to configure all x.org modules is 2.60 dated June 2006. ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.60.tar.gz Signed-off-by: Gaetan Nadon <memsize@videotron.ca>