diff options
author | marha <marha@users.sourceforge.net> | 2009-11-06 11:37:48 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-11-06 11:37:48 +0000 |
commit | dc973fac7166624dc3aca9b32df02cc00e79ba85 (patch) | |
tree | 186af3c9707ed71a82a5502fc7b5bfae739361a6 /libXmu/configure.ac | |
parent | 3c406cef48ab3d9ae6cb490348c41c89638a1367 (diff) | |
parent | 5c97ea64d7046d0a9d654950946a0070ac1e355a (diff) | |
download | vcxsrv-dc973fac7166624dc3aca9b32df02cc00e79ba85.tar.gz vcxsrv-dc973fac7166624dc3aca9b32df02cc00e79ba85.tar.bz2 vcxsrv-dc973fac7166624dc3aca9b32df02cc00e79ba85.zip |
Added libXmu
Diffstat (limited to 'libXmu/configure.ac')
-rw-r--r-- | libXmu/configure.ac | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/libXmu/configure.ac b/libXmu/configure.ac new file mode 100644 index 000000000..f521572e4 --- /dev/null +++ b/libXmu/configure.ac @@ -0,0 +1,69 @@ + +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.57) + +AC_INIT([libXmu], + 1.0.5, + [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], + libXmu) + +AC_CONFIG_SRCDIR([Makefile.am]) +AC_CONFIG_AUX_DIR(.) +AM_INIT_AUTOMAKE([dist-bzip2]) + +AM_MAINTAINER_MODE + +# Require xorg-macros: XORG_DEFAULT_OPTIONS, XORG_WITH_LINT +m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.3 or later before running autoconf/autogen])]) +XORG_MACROS_VERSION(1.3) +AM_CONFIG_HEADER([config.h]) + + +# Checks for programs. +AC_PROG_LIBTOOL +AC_PROG_CC +XORG_DEFAULT_OPTIONS + +# Checks for pkg-config packages +PKG_CHECK_MODULES(XMU, xt xext x11 xextproto) +AC_SUBST(XMU_CFLAGS) +AC_SUBST(XMU_LIBS) + +PKG_CHECK_MODULES(XMUU, x11) +AC_SUBST(XMUU_CFLAGS) +AC_SUBST(XMUU_LIBS) + +# CvtStdSel.c needs to know which network transports to build hostname +# conversion routines for +XTRANS_CONNECTION_FLAGS + +# +# Assume that we have sprintf. If a system shows up +# that doesn't, we will deal with it at that point. +# +# The way to deal with it is: +# +# 1. Add a test for sprintf it here in configure.ac +# that sets or unsets HAS_SNPRINTF as appropriate +# +# 2. add a copy of xc/lib/misc/snprintf.c +# +# The source file in question is Lower.c +# + +AC_DEFINE(HAS_SNPRINTF, [], [Whether we have snprintf()]) +AC_SUBST(HAS_SNPRINTF) + +dnl Allow checking code with lint, sparse, etc. +XORG_WITH_LINT +XORG_LINT_LIBRARY([Xmu]) +LINTLIBUU=`echo $LINTLIB | sed s/Xmu/Xmuu/` +AC_SUBST(LINTLIBUU) + +AC_OUTPUT([Makefile + include/Makefile + src/Makefile + xmu.pc + xmuu.pc]) |