aboutsummaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m4171
1 files changed, 0 insertions, 171 deletions
diff --git a/aclocal.m4 b/aclocal.m4
deleted file mode 100644
index 2cc42b6..0000000
--- a/aclocal.m4
+++ /dev/null
@@ -1,171 +0,0 @@
-# generated automatically by aclocal 1.7.4 -*- Autoconf -*-
-
-# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
-# Free Software Foundation, Inc.
-# This file is free software; the Free Software Foundation
-# gives unlimited permission to copy and/or distribute it,
-# with or without modifications, as long as this notice is preserved.
-
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
-# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
-# PARTICULAR PURPOSE.
-
-#
-# Include the TEA standard macro set
-#
-
-builtin(include,tclconfig/tcl.m4)
-
-#
-# Zinc specific macros below.
-#
-#
-# ALL the new macros here need to be modified to
-# detect the various packages needed and to get their paths.
-# Right now all this is statically defined in the macros.
-#
-#------------------------------------------------------------------------
-# ZINC_ENABLE_GL --
-#
-# Specify if openGL support should be used.
-# Code for managing a damage area can also be enabled.
-#
-# Arguments:
-# none
-#
-# Results:
-#
-# Adds the following arguments to configure:
-# --enable-gl=[yes,no,damage]
-#
-# Defines the following vars:
-# GL_INCLUDES OpenGL include files path
-# GL_LIBS additional libraries needed for GL
-# LIBS Modified to reflect the need of new
-# libraries
-# GL Defined if GL support is enabled
-# GL_DAMAGE Defined if damage support has been
-# requested
-#
-#------------------------------------------------------------------------
-
-AC_DEFUN(ZINC_ENABLE_GL, [
- if test x"${TEA_INITED}" = x ; then
- AC_MSG_ERROR([Must call TEA INIT before ENABLE_GL])
- fi
-
- AC_MSG_CHECKING([for build with GL])
- AC_ARG_ENABLE(gl,
- [ --enable-gl build with openGL support (yes,no,damage) [[no]]],
- [tcl_ok=$enableval], [tcl_ok=no])
-
- if test "$tcl_ok" = "no"; then
- GL_LIBS=
- GL_INCLUDES=
- AC_MSG_RESULT([no])
- else
- if test "${TEA_PLATFORM}" = "windows" ; then
- GL_LIBS=-lopengl32
- else
- GL_LIBS="-lGL"
- GL_INCLUDES='-I/usr/include'
- fi
-
- AC_DEFINE(GL)
- if test "$tcl_ok" = "damage"; then
- AC_DEFINE(GL_DAMAGE)
- fi
-
- LIBS="$LIBS $GL_LIBS"
-
- if test "$tcl_ok" = "yes"; then
- AC_MSG_RESULT([yes (standard)])
- else
- AC_MSG_RESULT([yes (with damage support)])
- fi
- fi
-
- AC_SUBST(GL_LIBS)
- AC_SUBST(GL_INCLUDES)
-])
-
-#------------------------------------------------------------------------
-# ZINC_ENABLE_ATC --
-#
-# Specify if the Atc code should be included.
-#
-# Arguments:
-# none
-#
-# Results:
-#
-# Adds the following arguments to configure:
-# --enable-atc=[yes,no]
-#
-# Defines the following vars:
-# ATC Defined if ATC support is enabled
-#
-#------------------------------------------------------------------------
-
- AC_DEFUN(ZINC_ENABLE_ATC, [
- if test x"${TEA_INITED}" = x ; then
- AC_MSG_ERROR([Must call TEA INIT before ENABLE_ATC])
- fi
-
- AC_MSG_CHECKING([for build with the ATC extensions])
- AC_ARG_ENABLE(atc,
- [ --enable-atc build with ATC extensions [[yes]]],
- [tcl_ok=$enableval], [tcl_ok=yes])
- if test "$tcl_ok" = "no"; then
- Atc_SOURCES=
- AC_MSG_RESULT([no])
- else
- AC_DEFINE(ATC)
- Atc_SOURCES="OverlapMan.c Track.c Reticle.c Map.c MapInfo.c"
- AC_MSG_RESULT([yes])
- fi
- AC_SUBST(Atc_SOURCES)
-])
-
-#------------------------------------------------------------------------
-# ZINC_ENABLE_SHAPE --
-#
-# Specify if the X shape extension support should be included.
-#
-# Arguments:
-# none
-#
-# Results:
-#
-# Adds the following arguments to configure:
-# --enable-shape=[yes,no]
-#
-# Defines the following vars:
-# SHAPE Defined if shape support is enabled
-#
-# Adjust LIBS to include the X extension library
-#
-#------------------------------------------------------------------------
-
-AC_DEFUN(ZINC_ENABLE_SHAPE, [
- if test x"${TEA_INITED}" = x ; then
- AC_MSG_ERROR([Must call TEA INIT before ENABLE_SHAPE])
- fi
- AC_MSG_CHECKING([for build with X shape support])
- AC_ARG_ENABLE(shape,
- [ --enable-shape build with X shape support (if applicable) [[yes]]],
- [tcl_ok=$enableval], [tcl_ok=yes])
- if test "$tcl_ok" = "no"; then
- AC_MSG_RESULT([no])
- else
- if test "${TEA_PLATFORM}" = "windows" ; then
- AC_MSG_RESULT([no (not available on windows)])
- else
- AC_DEFINE(SHAPE)
- AC_MSG_RESULT([yes])
- LIBS="${LIBS} -lXext"
- fi
- fi
-])
-