1a850946eSmrg 2a850946eSmrgdnl Copyright 2005 Red Hat, Inc. 3a850946eSmrgdnl 4a850946eSmrgdnl Permission to use, copy, modify, distribute, and sell this software and its 5a850946eSmrgdnl documentation for any purpose is hereby granted without fee, provided that 6a850946eSmrgdnl the above copyright notice appear in all copies and that both that 7a850946eSmrgdnl copyright notice and this permission notice appear in supporting 8a850946eSmrgdnl documentation, and that the name of Red Hat not be used in 9a850946eSmrgdnl advertising or publicity pertaining to distribution of the software without 10a850946eSmrgdnl specific, written prior permission. Red Hat makes no 11a850946eSmrgdnl representations about the suitability of this software for any purpose. It 12a850946eSmrgdnl is provided "as is" without express or implied warranty. 13a850946eSmrgdnl 14a850946eSmrgdnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 15a850946eSmrgdnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 16a850946eSmrgdnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR 17a850946eSmrgdnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 18a850946eSmrgdnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 19a850946eSmrgdnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 20a850946eSmrgdnl PERFORMANCE OF THIS SOFTWARE. 21a850946eSmrgdnl 22a850946eSmrgdnl Process this file with autoconf to create configure. 23a850946eSmrg 249511053fSmrg# Initialize Autoconf 2569a1fe56SmrgAC_PREREQ([2.60]) 26da4b5163SmrgAC_INIT([xlsclients], [1.1.5], 27da4b5163Smrg [https://gitlab.freedesktop.org/xorg/app/xlsclients/-/issues], 28da4b5163Smrg [xlsclients]) 299511053fSmrgAC_CONFIG_SRCDIR([Makefile.am]) 309511053fSmrgAC_CONFIG_HEADERS([config.h]) 319511053fSmrgAC_USE_SYSTEM_EXTENSIONS 329511053fSmrg 339511053fSmrg# Initialize Automake 34da4b5163SmrgAM_INIT_AUTOMAKE([foreign dist-xz]) 35a850946eSmrg 3669a1fe56Smrg# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS 3770f7c90cSmrgm4_ifndef([XORG_MACROS_VERSION], 3869a1fe56Smrg [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) 3969a1fe56SmrgXORG_MACROS_VERSION(1.8) 409511053fSmrgXORG_DEFAULT_OPTIONS 4170f7c90cSmrg 429511053fSmrg# Use POSIX strnlen or the implementation supplied in this module 437dff02feSmrgAC_FUNC_STRNLEN 447dff02feSmrgif test "x$ac_cv_func_strnlen_working" = xyes; then 457dff02feSmrg AC_DEFINE(HAVE_STRNLEN, 1, [Define to 1 if you have a working strnlen function.]) 467dff02feSmrgfi 477dff02feSmrg 489511053fSmrg# Obtain compiler/linker options for xlsclients dependencies 498e46b049SmrgPKG_CHECK_MODULES(XLSCLIENTS, xcb >= 1.6) 50a850946eSmrg 518e46b049SmrgAC_CONFIG_FILES([ 528e46b049Smrg Makefile 538e46b049Smrg man/Makefile]) 548e46b049SmrgAC_OUTPUT 55