configure.ac revision 5dfecf96
15dfecf96Smrg
25dfecf96Smrgdnl  Copyright 2005 Red Hat, Inc.
35dfecf96Smrgdnl 
45dfecf96Smrgdnl  Permission to use, copy, modify, distribute, and sell this software and its
55dfecf96Smrgdnl  documentation for any purpose is hereby granted without fee, provided that
65dfecf96Smrgdnl  the above copyright notice appear in all copies and that both that
75dfecf96Smrgdnl  copyright notice and this permission notice appear in supporting
85dfecf96Smrgdnl  documentation, and that the name of Red Hat not be used in
95dfecf96Smrgdnl  advertising or publicity pertaining to distribution of the software without
105dfecf96Smrgdnl  specific, written prior permission.  Red Hat makes no
115dfecf96Smrgdnl  representations about the suitability of this software for any purpose.  It
125dfecf96Smrgdnl  is provided "as is" without express or implied warranty.
135dfecf96Smrgdnl 
145dfecf96Smrgdnl  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
155dfecf96Smrgdnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
165dfecf96Smrgdnl  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
175dfecf96Smrgdnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
185dfecf96Smrgdnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
195dfecf96Smrgdnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
205dfecf96Smrgdnl  PERFORMANCE OF THIS SOFTWARE.
215dfecf96Smrgdnl
225dfecf96Smrgdnl Process this file with autoconf to create configure.
235dfecf96Smrg
245dfecf96SmrgAC_PREREQ([2.57])
255dfecf96SmrgAC_INIT(xedit,[1.0.2], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],xedit)
265dfecf96SmrgAM_INIT_AUTOMAKE([dist-bzip2])
275dfecf96SmrgAM_MAINTAINER_MODE
285dfecf96Smrg
295dfecf96SmrgAM_CONFIG_HEADER(config.h)
305dfecf96Smrg
315dfecf96SmrgAC_PROG_CC
325dfecf96SmrgAC_PROG_INSTALL
335dfecf96SmrgAC_PROG_RANLIB
345dfecf96Smrg
355dfecf96Smrg# Checks for pkg-config packages
365dfecf96SmrgXAW_CHECK_XPRINT_SUPPORT(XEDIT)
375dfecf96Smrgif test "x$xaw_use_xprint" = "xyes" ; then
385dfecf96Smrg   PKG_CHECK_MODULES(XPRINT_UTIL, xprintutil xp)
395dfecf96Smrg
405dfecf96Smrg   XEDIT_CFLAGS="$XEDIT_CFLAGS $XPRINT_UTIL_CFLAGS"
415dfecf96Smrg   XEDIT_LIBS="$XEDIT_LIBS $XPRINT_UTIL_LIBS"
425dfecf96Smrgfi
435dfecf96Smrg
445dfecf96SmrgAC_SUBST(XEDIT_CFLAGS)
455dfecf96SmrgAC_SUBST(XEDIT_LIBS)
465dfecf96Smrg
475dfecf96SmrgPKG_CHECK_MODULES(APPDEFS, xt)
485dfecf96Smrgappdefaultdir=$(pkg-config --variable=appdefaultdir xt)
495dfecf96SmrgAC_SUBST(appdefaultdir)
505dfecf96Smrg
515dfecf96SmrgXORG_MANPAGE_SECTIONS
525dfecf96SmrgXORG_RELEASE_VERSION
535dfecf96Smrg
545dfecf96SmrgAC_OUTPUT([Makefile])
55