aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorlecoanet2005-01-24 12:19:27 +0000
committerlecoanet2005-01-24 12:19:27 +0000
commit8f19fda4baa210eab4dd9c508b5aca253c13a0c4 (patch)
tree60b8c2ea44bc2813362a46b6f711ab731c78368a /configure
parenta56b4764d2773a957658e496b0e2863e27b0bca9 (diff)
downloadtkzinc-8f19fda4baa210eab4dd9c508b5aca253c13a0c4.zip
tkzinc-8f19fda4baa210eab4dd9c508b5aca253c13a0c4.tar.gz
tkzinc-8f19fda4baa210eab4dd9c508b5aca253c13a0c4.tar.bz2
tkzinc-8f19fda4baa210eab4dd9c508b5aca253c13a0c4.tar.xz
Suppressed the conditional compilation of the anti-overlapping
code. Added the conditional compilation of all the atc code.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure36
1 files changed, 14 insertions, 22 deletions
diff --git a/configure b/configure
index 8a28088..68d8714 100755
--- a/configure
+++ b/configure
@@ -34,7 +34,7 @@ ac_help="$ac_help
ac_help="$ac_help
--enable-gl build with openGL support (yes,no,damage) [[no]]"
ac_help="$ac_help
- --enable-om build with overlap manager support [[yes]]"
+ --enable-atc build with ATC extensions [[no]]"
# Initialize some variables set by options.
# The variables have the same names as the options, with
@@ -4268,43 +4268,35 @@ EOF
#--------------------------------------------------------------------
-# Define the OM symbol to control inclusion of the overlap manager
-# support.
+# Define the ATC symbol to control inclusion of the ATC specific code.
#--------------------------------------------------------------------
if test x"${TEA_INITED}" = x ; then
- { echo "configure: error: Must call TEA INIT before ENABLE_OM" 1>&2; exit 1; }
+ { echo "configure: error: Must call TEA INIT before ENABLE_ATC" 1>&2; exit 1; }
fi
- echo $ac_n "checking for build with the overlap manager""... $ac_c" 1>&6
-echo "configure:4281: checking for build with the overlap manager" >&5
- # Check whether --enable-om or --disable-om was given.
-if test "${enable_om+set}" = set; then
- enableval="$enable_om"
+ echo $ac_n "checking for build with the ATC extensions""... $ac_c" 1>&6
+echo "configure:4280: checking for build with the ATC extensions" >&5
+ # Check whether --enable-atc or --disable-atc was given.
+if test "${enable_atc+set}" = set; then
+ enableval="$enable_atc"
tcl_ok=$enableval
else
- tcl_ok=yes
+ tcl_ok=no
fi
if test "$tcl_ok" = "no"; then
- Om_LIB_FILE=
+ Atc_SOURCES=
echo "$ac_t""no" 1>&6
else
- if test "${TEA_PLATFORM}" = "windows" ; then
- Om_LIB_FILE=om.dll
- bin_BINARIES="\$(Om_LIB_FILE) ${bin_BINARIES}"
- else
- Om_LIB_FILE=libom${TCL_SHLIB_SUFFIX}
- aux_BINARIES="\$(Om_LIB_FILE) ${bin_BINARIES}"
- fi
cat >> confdefs.h <<\EOF
-#define OM 1
+#define ATC 1
EOF
+ Atc_SOURCES="OverlapMan.c Track.c Reticle.c Map.c MapInfo.c"
echo "$ac_t""yes" 1>&6
-# LIBS="${LIBS} -L. -lom"
fi
-
+
#--------------------------------------------------------------------
@@ -4547,7 +4539,7 @@ s%@TCLSH_PROG@%$TCLSH_PROG%g
s%@WISH_PROG@%$WISH_PROG%g
s%@GL_LIBS@%$GL_LIBS%g
s%@GL_INCLUDES@%$GL_INCLUDES%g
-s%@Om_LIB_FILE@%$Om_LIB_FILE%g
+s%@Atc_SOURCES@%$Atc_SOURCES%g
s%@aux_BINARIES@%$aux_BINARIES%g
s%@bin_BINARIES@%$bin_BINARIES%g