configure.ac revision 43f32c10
143f32c10Smrg
243f32c10Smrgdnl  Copyright 2005 Red Hat, Inc.
343f32c10Smrgdnl 
443f32c10Smrgdnl  Permission to use, copy, modify, distribute, and sell this software and its
543f32c10Smrgdnl  documentation for any purpose is hereby granted without fee, provided that
643f32c10Smrgdnl  the above copyright notice appear in all copies and that both that
743f32c10Smrgdnl  copyright notice and this permission notice appear in supporting
843f32c10Smrgdnl  documentation, and that the name of Red Hat not be used in
943f32c10Smrgdnl  advertising or publicity pertaining to distribution of the software without
1043f32c10Smrgdnl  specific, written prior permission.  Red Hat makes no
1143f32c10Smrgdnl  representations about the suitability of this software for any purpose.  It
1243f32c10Smrgdnl  is provided "as is" without express or implied warranty.
1343f32c10Smrgdnl 
1443f32c10Smrgdnl  RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
1543f32c10Smrgdnl  INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
1643f32c10Smrgdnl  EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
1743f32c10Smrgdnl  CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
1843f32c10Smrgdnl  DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
1943f32c10Smrgdnl  TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2043f32c10Smrgdnl  PERFORMANCE OF THIS SOFTWARE.
2143f32c10Smrgdnl
2243f32c10Smrgdnl Process this file with autoconf to create configure.
2343f32c10Smrg
2443f32c10SmrgAC_PREREQ([2.57])
2543f32c10SmrgAC_INIT(fonttosfnt,[1.0.4], [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],fonttosfnt)
2643f32c10SmrgAM_INIT_AUTOMAKE([dist-bzip2])
2743f32c10SmrgAM_MAINTAINER_MODE
2843f32c10Smrg
2943f32c10SmrgAM_CONFIG_HEADER(config.h)
3043f32c10Smrg
3143f32c10SmrgAC_PROG_CC
3243f32c10SmrgAC_PROG_INSTALL
3343f32c10Smrg
3443f32c10SmrgAC_CHECK_FUNC(setenv, have_setenv=yes, have_setenv=no)
3543f32c10SmrgAC_CHECK_FUNCS([vasprintf])
3643f32c10SmrgAC_CHECK_DECLS([va_copy], [], [], [
3743f32c10Smrg	AC_INCLUDES_DEFAULT
3843f32c10Smrg	#include <stdarg.h>
3943f32c10Smrg])
4043f32c10Smrg
4143f32c10SmrgAM_CONDITIONAL(NEED_SETENV, [test x$have_setenv = xno])
4243f32c10Smrg
4343f32c10Smrg# Checks for pkg-config packages
4443f32c10SmrgPKG_CHECK_MODULES(FONTTOSFNT, xproto freetype2 fontenc)
4543f32c10SmrgAC_SUBST(FONTTOSFNT_CFLAGS)
4643f32c10SmrgAC_SUBST(FONTTOSFNT_LIBS)
4743f32c10Smrg
4843f32c10SmrgXORG_MANPAGE_SECTIONS
4943f32c10SmrgXORG_RELEASE_VERSION
5043f32c10Smrg
5143f32c10SmrgAC_OUTPUT([Makefile])
52