diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 36 |
1 files changed, 14 insertions, 22 deletions
@@ -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 |