os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/win/configure.in
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
#! /bin/bash -norc
sl@0
     2
# This file is an input file used by the GNU "autoconf" program to
sl@0
     3
# generate the file "configure", which is run during Tcl installation
sl@0
     4
# to configure the system for the local environment.
sl@0
     5
#
sl@0
     6
# RCS: @(#) $Id: configure.in,v 1.68.2.19 2006/10/23 17:53:28 dgp Exp $
sl@0
     7
sl@0
     8
AC_INIT(../generic/tcl.h)
sl@0
     9
AC_PREREQ(2.13)
sl@0
    10
sl@0
    11
TCL_VERSION=8.4
sl@0
    12
TCL_MAJOR_VERSION=8
sl@0
    13
TCL_MINOR_VERSION=4
sl@0
    14
TCL_PATCH_LEVEL=".15"
sl@0
    15
VER=$TCL_MAJOR_VERSION$TCL_MINOR_VERSION
sl@0
    16
sl@0
    17
TCL_DDE_VERSION=1.2
sl@0
    18
TCL_DDE_MAJOR_VERSION=1
sl@0
    19
TCL_DDE_MINOR_VERSION=2
sl@0
    20
DDEVER=$TCL_DDE_MAJOR_VERSION$TCL_DDE_MINOR_VERSION
sl@0
    21
sl@0
    22
TCL_REG_VERSION=1.1
sl@0
    23
TCL_REG_MAJOR_VERSION=1
sl@0
    24
TCL_REG_MINOR_VERSION=1
sl@0
    25
REGVER=$TCL_REG_MAJOR_VERSION$TCL_REG_MINOR_VERSION
sl@0
    26
sl@0
    27
#------------------------------------------------------------------------
sl@0
    28
# Handle the --prefix=... option
sl@0
    29
#------------------------------------------------------------------------
sl@0
    30
sl@0
    31
if test "${prefix}" = "NONE"; then
sl@0
    32
    prefix=/usr/local
sl@0
    33
fi
sl@0
    34
if test "${exec_prefix}" = "NONE"; then
sl@0
    35
    exec_prefix=$prefix
sl@0
    36
fi
sl@0
    37
# libdir must be a fully qualified path (not ${exec_prefix}/lib)
sl@0
    38
eval libdir="$libdir"
sl@0
    39
sl@0
    40
#------------------------------------------------------------------------
sl@0
    41
# Standard compiler checks
sl@0
    42
#------------------------------------------------------------------------
sl@0
    43
sl@0
    44
# If the user did not set CFLAGS, set it now to keep
sl@0
    45
# the AC_PROG_CC macro from adding "-g -O2".
sl@0
    46
if test "${CFLAGS+set}" != "set" ; then
sl@0
    47
    CFLAGS=""
sl@0
    48
fi
sl@0
    49
sl@0
    50
AC_PROG_CC
sl@0
    51
sl@0
    52
# To properly support cross-compilation, one would
sl@0
    53
# need to use these tool checks instead of
sl@0
    54
# the ones below and reconfigure with
sl@0
    55
# autoconf 2.50. You can also just set
sl@0
    56
# the CC, AR, RANLIB, and RC environment
sl@0
    57
# variables if you want to cross compile.
sl@0
    58
dnl AC_CHECK_TOOL(AR, ar)
sl@0
    59
dnl AC_CHECK_TOOL(RANLIB, ranlib)
sl@0
    60
dnl AC_CHECK_TOOL(RC, windres)
sl@0
    61
sl@0
    62
if test "${GCC}" = "yes" ; then
sl@0
    63
    AC_CHECK_PROG(AR, ar, ar)
sl@0
    64
    AC_CHECK_PROG(RANLIB, ranlib, ranlib)
sl@0
    65
    AC_CHECK_PROG(RC, windres, windres)
sl@0
    66
sl@0
    67
    if test "${AR}" = "" ; then
sl@0
    68
	AC_MSG_ERROR([Required archive tool 'ar' not found on PATH.])
sl@0
    69
    fi
sl@0
    70
    if test "${RANLIB}" = "" ; then
sl@0
    71
	AC_MSG_ERROR([Required archive index tool 'ranlib' not found on PATH.])
sl@0
    72
    fi
sl@0
    73
    if test "${RC}" = "" ; then
sl@0
    74
	AC_MSG_ERROR([Required resource tool 'windres' not found on PATH.])
sl@0
    75
    fi
sl@0
    76
fi
sl@0
    77
sl@0
    78
#--------------------------------------------------------------------
sl@0
    79
# Checks to see if the make progeam sets the $MAKE variable.
sl@0
    80
#--------------------------------------------------------------------
sl@0
    81
sl@0
    82
AC_PROG_MAKE_SET
sl@0
    83
sl@0
    84
#--------------------------------------------------------------------
sl@0
    85
# Perform additinal compiler tests.
sl@0
    86
#--------------------------------------------------------------------
sl@0
    87
sl@0
    88
AC_CYGWIN
sl@0
    89
sl@0
    90
if test "$ac_cv_cygwin" = "yes" ; then
sl@0
    91
    AC_MSG_ERROR([Compiling under Cygwin is not currently supported.
sl@0
    92
A maintainer for the Cygwin port of Tcl/Tk is needed. See the README
sl@0
    93
file for information about building with Mingw.])
sl@0
    94
fi
sl@0
    95
sl@0
    96
sl@0
    97
AC_CACHE_CHECK(for SEH support in compiler,
sl@0
    98
    tcl_cv_seh,
sl@0
    99
AC_TRY_RUN([
sl@0
   100
#define WIN32_LEAN_AND_MEAN
sl@0
   101
#include <windows.h>
sl@0
   102
#undef WIN32_LEAN_AND_MEAN
sl@0
   103
sl@0
   104
int main(int argc, char** argv) {
sl@0
   105
    int a, b = 0;
sl@0
   106
    __try {
sl@0
   107
        a = 666 / b;
sl@0
   108
    }
sl@0
   109
    __except (EXCEPTION_EXECUTE_HANDLER) {
sl@0
   110
        return 0;
sl@0
   111
    }
sl@0
   112
    return 1;
sl@0
   113
}
sl@0
   114
],
sl@0
   115
        tcl_cv_seh=yes,
sl@0
   116
        tcl_cv_seh=no,
sl@0
   117
        tcl_cv_seh=no)
sl@0
   118
)
sl@0
   119
if test "$tcl_cv_seh" = "no" ; then
sl@0
   120
    AC_DEFINE(HAVE_NO_SEH, 1,
sl@0
   121
            [Defined when mingw does not support SEH])
sl@0
   122
fi
sl@0
   123
sl@0
   124
#
sl@0
   125
# Check to see if the excpt.h include file provided contains the
sl@0
   126
# definition for EXCEPTION_DISPOSITION; if not, which is the case
sl@0
   127
# with Cygwin's version as of 2002-04-10, define it to be int, 
sl@0
   128
# sufficient for getting the current code to work.
sl@0
   129
#
sl@0
   130
AC_CACHE_CHECK(for EXCEPTION_DISPOSITION support in include files,
sl@0
   131
    tcl_cv_eh_disposition,
sl@0
   132
AC_TRY_COMPILE([
sl@0
   133
#define WIN32_LEAN_AND_MEAN
sl@0
   134
#include <windows.h>
sl@0
   135
#undef WIN32_LEAN_AND_MEAN
sl@0
   136
],
sl@0
   137
[
sl@0
   138
  EXCEPTION_DISPOSITION x;
sl@0
   139
],
sl@0
   140
        tcl_cv_eh_disposition=yes,
sl@0
   141
        tcl_cv_eh_disposition=no)
sl@0
   142
)
sl@0
   143
if test "$tcl_cv_eh_disposition" = "no" ; then
sl@0
   144
    AC_DEFINE(EXCEPTION_DISPOSITION, int,
sl@0
   145
            [Defined when cygwin/mingw does not support EXCEPTION DISPOSITION])
sl@0
   146
fi
sl@0
   147
sl@0
   148
sl@0
   149
# Check to see if the winsock2.h include file provided contains
sl@0
   150
# typedefs like LPFN_ACCEPT and friends.
sl@0
   151
#
sl@0
   152
AC_CACHE_CHECK(for LPFN_ACCEPT support in winsock2.h,
sl@0
   153
    tcl_cv_lpfn_decls,
sl@0
   154
AC_TRY_COMPILE([
sl@0
   155
#define WIN32_LEAN_AND_MEAN
sl@0
   156
#include <windows.h>
sl@0
   157
#undef WIN32_LEAN_AND_MEAN
sl@0
   158
#include <winsock2.h>
sl@0
   159
],
sl@0
   160
[
sl@0
   161
  LPFN_ACCEPT accept;
sl@0
   162
],
sl@0
   163
        tcl_cv_lpfn_decls=yes,
sl@0
   164
        tcl_cv_lpfn_decls=no)
sl@0
   165
)
sl@0
   166
if test "$tcl_cv_lpfn_decls" = "no" ; then
sl@0
   167
    AC_DEFINE(HAVE_NO_LPFN_DECLS, 1,
sl@0
   168
            [Defined when cygwin/mingw does not support LPFN_ACCEPT and friends.])
sl@0
   169
fi
sl@0
   170
sl@0
   171
# Check to see if winnt.h defines CHAR, SHORT, and LONG
sl@0
   172
# even if VOID has already been #defined. The win32api
sl@0
   173
# used by mingw and cygwin is known to do this.
sl@0
   174
sl@0
   175
AC_CACHE_CHECK(for winnt.h that ignores VOID define,
sl@0
   176
    tcl_cv_winnt_ignore_void,
sl@0
   177
AC_TRY_COMPILE([
sl@0
   178
#define VOID void
sl@0
   179
#define WIN32_LEAN_AND_MEAN
sl@0
   180
#include <windows.h>
sl@0
   181
#undef WIN32_LEAN_AND_MEAN
sl@0
   182
],
sl@0
   183
[
sl@0
   184
  CHAR c;
sl@0
   185
  SHORT s;
sl@0
   186
  LONG l;
sl@0
   187
],
sl@0
   188
        tcl_cv_winnt_ignore_void=yes,
sl@0
   189
        tcl_cv_winnt_ignore_void=no)
sl@0
   190
)
sl@0
   191
if test "$tcl_cv_winnt_ignore_void" = "yes" ; then
sl@0
   192
    AC_DEFINE(HAVE_WINNT_IGNORE_VOID, 1,
sl@0
   193
            [Defined when cygwin/mingw ignores VOID define in winnt.h])
sl@0
   194
fi
sl@0
   195
sl@0
   196
# Check to see if malloc.h is missing the alloca function
sl@0
   197
# declaration. This is known to be a problem with Mingw.
sl@0
   198
# If we compiled without the function declaration, it
sl@0
   199
# would work but we would get a warning message from gcc.
sl@0
   200
# If we add the function declaration ourselves, it
sl@0
   201
# would not compile correctly because the _alloca
sl@0
   202
# function expects the argument to be passed in a
sl@0
   203
# register and not on the stack. Instead, we just
sl@0
   204
# call it from inline asm code.
sl@0
   205
sl@0
   206
AC_CACHE_CHECK(for alloca declaration in malloc.h,
sl@0
   207
    tcl_cv_malloc_decl_alloca,
sl@0
   208
AC_TRY_COMPILE([
sl@0
   209
#include <malloc.h>
sl@0
   210
],
sl@0
   211
[
sl@0
   212
  size_t arg = 0;
sl@0
   213
  void* ptr;
sl@0
   214
  ptr = alloca;
sl@0
   215
  ptr = alloca(arg);
sl@0
   216
],
sl@0
   217
        tcl_cv_malloc_decl_alloca=yes,
sl@0
   218
        tcl_cv_malloc_decl_alloca=no)
sl@0
   219
)
sl@0
   220
if test "$tcl_cv_malloc_decl_alloca" = "no" &&
sl@0
   221
   test "${GCC}" = "yes" ; then
sl@0
   222
    AC_DEFINE(HAVE_ALLOCA_GCC_INLINE, 1,
sl@0
   223
            [Defined when gcc should use inline ASM to call alloca.])
sl@0
   224
fi
sl@0
   225
sl@0
   226
# See if the compiler supports casting to a union type.
sl@0
   227
# This is used to stop gcc from printing a compiler
sl@0
   228
# warning when initializing a union member.
sl@0
   229
sl@0
   230
AC_CACHE_CHECK(for cast to union support,
sl@0
   231
    tcl_cv_cast_to_union,
sl@0
   232
AC_TRY_COMPILE([],
sl@0
   233
[
sl@0
   234
  union foo { int i; double d; };
sl@0
   235
  union foo f = (union foo) (int) 0;
sl@0
   236
],
sl@0
   237
        tcl_cv_cast_to_union=yes,
sl@0
   238
        tcl_cv_cast_to_union=no)
sl@0
   239
)
sl@0
   240
if test "$tcl_cv_cast_to_union" = "yes"; then
sl@0
   241
    AC_DEFINE(HAVE_CAST_TO_UNION, 1,
sl@0
   242
            [Defined when compiler supports casting to union type.])
sl@0
   243
fi
sl@0
   244
sl@0
   245
sl@0
   246
#--------------------------------------------------------------------
sl@0
   247
# Determines the correct binary file extension (.o, .obj, .exe etc.)
sl@0
   248
#--------------------------------------------------------------------
sl@0
   249
sl@0
   250
AC_OBJEXT
sl@0
   251
AC_EXEEXT
sl@0
   252
sl@0
   253
#--------------------------------------------------------------------
sl@0
   254
# Check whether --enable-threads or --disable-threads was given.
sl@0
   255
#--------------------------------------------------------------------
sl@0
   256
sl@0
   257
SC_ENABLE_THREADS
sl@0
   258
sl@0
   259
#--------------------------------------------------------------------
sl@0
   260
# The statements below define a collection of symbols related to
sl@0
   261
# building libtcl as a shared library instead of a static library.
sl@0
   262
#--------------------------------------------------------------------
sl@0
   263
sl@0
   264
SC_ENABLE_SHARED
sl@0
   265
sl@0
   266
#--------------------------------------------------------------------
sl@0
   267
# The statements below define a collection of compile flags.  This 
sl@0
   268
# macro depends on the value of SHARED_BUILD, and should be called
sl@0
   269
# after SC_ENABLE_SHARED checks the configure switches.
sl@0
   270
#--------------------------------------------------------------------
sl@0
   271
sl@0
   272
SC_CONFIG_CFLAGS
sl@0
   273
sl@0
   274
#--------------------------------------------------------------------
sl@0
   275
# Set the default compiler switches based on the --enable-symbols 
sl@0
   276
# option.  This macro depends on C flags, and should be called
sl@0
   277
# after SC_CONFIG_CFLAGS macro is called.
sl@0
   278
#--------------------------------------------------------------------
sl@0
   279
sl@0
   280
SC_ENABLE_SYMBOLS
sl@0
   281
sl@0
   282
TCL_DBGX=${DBGX}
sl@0
   283
sl@0
   284
#--------------------------------------------------------------------
sl@0
   285
# man2tcl needs this so that it can use errno.h
sl@0
   286
#--------------------------------------------------------------------
sl@0
   287
sl@0
   288
AC_CHECK_HEADER(errno.h, , MAN2TCLFLAGS="-DNO_ERRNO_H")
sl@0
   289
AC_SUBST(MAN2TCLFLAGS)
sl@0
   290
sl@0
   291
#------------------------------------------------------------------------
sl@0
   292
# tclConfig.sh refers to this by a different name
sl@0
   293
#------------------------------------------------------------------------
sl@0
   294
sl@0
   295
TCL_SHARED_BUILD=${SHARED_BUILD}
sl@0
   296
sl@0
   297
#--------------------------------------------------------------------
sl@0
   298
# Perform final evaluations of variables with possible substitutions.
sl@0
   299
#--------------------------------------------------------------------
sl@0
   300
sl@0
   301
TCL_SHARED_LIB_SUFFIX="\${NODOT_VERSION}${DLLSUFFIX}"
sl@0
   302
TCL_UNSHARED_LIB_SUFFIX="\${NODOT_VERSION}${LIBSUFFIX}"
sl@0
   303
TCL_EXPORT_FILE_SUFFIX="\${NODOT_VERSION}${LIBSUFFIX}"
sl@0
   304
sl@0
   305
eval "TCL_SRC_DIR=\"`cd $srcdir/..; pwd`\""
sl@0
   306
sl@0
   307
eval "TCL_DLL_FILE=tcl${VER}${DLLSUFFIX}"
sl@0
   308
sl@0
   309
eval "TCL_LIB_FILE=${LIBPREFIX}tcl$VER${LIBSUFFIX}"
sl@0
   310
sl@0
   311
eval "TCL_LIB_FLAG=\"-ltcl${VER}${LIBFLAGSUFFIX}\""
sl@0
   312
eval "TCL_BUILD_LIB_SPEC=\"-L`pwd` ${TCL_LIB_FLAG}\""
sl@0
   313
eval "TCL_LIB_SPEC=\"-L${libdir} ${TCL_LIB_FLAG}\""
sl@0
   314
sl@0
   315
eval "TCL_STUB_LIB_FILE=\"${LIBPREFIX}tclstub${VER}${LIBSUFFIX}\""
sl@0
   316
eval "TCL_STUB_LIB_FLAG=\"-ltclstub${VER}${LIBFLAGSUFFIX}\""
sl@0
   317
eval "TCL_BUILD_STUB_LIB_SPEC=\"-L`pwd` ${TCL_STUB_LIB_FLAG}\""
sl@0
   318
eval "TCL_STUB_LIB_SPEC=\"-L${libdir} ${TCL_STUB_LIB_FLAG}\""
sl@0
   319
eval "TCL_BUILD_STUB_LIB_PATH=\"`pwd`/${TCL_STUB_LIB_FILE}\""
sl@0
   320
eval "TCL_STUB_LIB_PATH=\"${libdir}/${TCL_STUB_LIB_FILE}\""
sl@0
   321
sl@0
   322
# Install time header dir can be set via --includedir
sl@0
   323
eval "TCL_INCLUDE_SPEC=\"-I${includedir}\""
sl@0
   324
sl@0
   325
sl@0
   326
eval "DLLSUFFIX=${DLLSUFFIX}"
sl@0
   327
eval "LIBPREFIX=${LIBPREFIX}"
sl@0
   328
eval "LIBSUFFIX=${LIBSUFFIX}"
sl@0
   329
eval "EXESUFFIX=${EXESUFFIX}"
sl@0
   330
sl@0
   331
CFG_TCL_SHARED_LIB_SUFFIX=${TCL_SHARED_LIB_SUFFIX}
sl@0
   332
CFG_TCL_UNSHARED_LIB_SUFFIX=${TCL_UNSHARED_LIB_SUFFIX}
sl@0
   333
CFG_TCL_EXPORT_FILE_SUFFIX=${TCL_EXPORT_FILE_SUFFIX}
sl@0
   334
sl@0
   335
#--------------------------------------------------------------------
sl@0
   336
# Adjust the defines for how the resources are built depending
sl@0
   337
# on symbols and static vs. shared.
sl@0
   338
#--------------------------------------------------------------------
sl@0
   339
sl@0
   340
if test ${SHARED_BUILD} = 0 ; then
sl@0
   341
    if test "${DBGX}" = "g"; then
sl@0
   342
        RC_DEFINES="${RC_DEFINE} STATIC_BUILD ${RC_DEFINE} DEBUG"
sl@0
   343
    else
sl@0
   344
        RC_DEFINES="${RC_DEFINE} STATIC_BUILD"
sl@0
   345
    fi
sl@0
   346
else
sl@0
   347
    if test "${DBGX}" = "g"; then
sl@0
   348
        RC_DEFINES="${RC_DEFINE} DEBUG"
sl@0
   349
    else
sl@0
   350
        RC_DEFINES=""
sl@0
   351
    fi
sl@0
   352
fi
sl@0
   353
sl@0
   354
#--------------------------------------------------------------------
sl@0
   355
#	The statements below define the symbol TCL_PACKAGE_PATH, which
sl@0
   356
#	gives a list of directories that may contain packages.  The list
sl@0
   357
#	consists of one directory for machine-dependent binaries and
sl@0
   358
#	another for platform-independent scripts.
sl@0
   359
#--------------------------------------------------------------------
sl@0
   360
sl@0
   361
if test "$prefix" != "$exec_prefix"; then
sl@0
   362
    TCL_PACKAGE_PATH="${libdir} ${prefix}/lib"
sl@0
   363
else
sl@0
   364
    TCL_PACKAGE_PATH="${prefix}/lib"
sl@0
   365
fi
sl@0
   366
sl@0
   367
AC_SUBST(TCL_VERSION)
sl@0
   368
AC_SUBST(TCL_MAJOR_VERSION)
sl@0
   369
AC_SUBST(TCL_MINOR_VERSION)
sl@0
   370
AC_SUBST(TCL_PATCH_LEVEL)
sl@0
   371
sl@0
   372
AC_SUBST(TCL_LIB_FILE)
sl@0
   373
AC_SUBST(TCL_LIB_FLAG)
sl@0
   374
# empty on win
sl@0
   375
AC_SUBST(TCL_LIB_SPEC)
sl@0
   376
AC_SUBST(TCL_STUB_LIB_FILE)
sl@0
   377
AC_SUBST(TCL_STUB_LIB_FLAG)
sl@0
   378
AC_SUBST(TCL_STUB_LIB_SPEC)
sl@0
   379
AC_SUBST(TCL_STUB_LIB_PATH)
sl@0
   380
AC_SUBST(TCL_INCLUDE_SPEC)
sl@0
   381
AC_SUBST(TCL_BUILD_STUB_LIB_SPEC)
sl@0
   382
AC_SUBST(TCL_BUILD_STUB_LIB_PATH)
sl@0
   383
AC_SUBST(TCL_DLL_FILE)
sl@0
   384
sl@0
   385
AC_SUBST(TCL_SRC_DIR)
sl@0
   386
AC_SUBST(TCL_BIN_DIR)
sl@0
   387
AC_SUBST(TCL_DBGX)
sl@0
   388
AC_SUBST(CFG_TCL_SHARED_LIB_SUFFIX)
sl@0
   389
AC_SUBST(CFG_TCL_UNSHARED_LIB_SUFFIX)
sl@0
   390
AC_SUBST(CFG_TCL_EXPORT_FILE_SUFFIX)
sl@0
   391
sl@0
   392
# win/tcl.m4 doesn't set (CFLAGS)
sl@0
   393
AC_SUBST(CFLAGS_DEFAULT)
sl@0
   394
AC_SUBST(EXTRA_CFLAGS)
sl@0
   395
AC_SUBST(CYGPATH)
sl@0
   396
AC_SUBST(DEPARG)
sl@0
   397
AC_SUBST(CC_OBJNAME)
sl@0
   398
AC_SUBST(CC_EXENAME)
sl@0
   399
sl@0
   400
# win/tcl.m4 doesn't set (LDFLAGS)
sl@0
   401
AC_SUBST(LDFLAGS_DEFAULT)
sl@0
   402
AC_SUBST(LDFLAGS_DEBUG)
sl@0
   403
AC_SUBST(LDFLAGS_OPTIMIZE)
sl@0
   404
AC_SUBST(LDFLAGS_CONSOLE)
sl@0
   405
AC_SUBST(LDFLAGS_WINDOW)
sl@0
   406
AC_SUBST(AR)
sl@0
   407
AC_SUBST(RANLIB)
sl@0
   408
sl@0
   409
AC_SUBST(STLIB_LD)
sl@0
   410
AC_SUBST(SHLIB_LD)
sl@0
   411
AC_SUBST(SHLIB_LD_LIBS)
sl@0
   412
AC_SUBST(SHLIB_CFLAGS)
sl@0
   413
AC_SUBST(SHLIB_SUFFIX)
sl@0
   414
AC_SUBST(TCL_SHARED_BUILD)
sl@0
   415
sl@0
   416
AC_SUBST(LIBS)
sl@0
   417
AC_SUBST(LIBS_GUI)
sl@0
   418
AC_SUBST(DLLSUFFIX)
sl@0
   419
AC_SUBST(LIBPREFIX)
sl@0
   420
AC_SUBST(LIBSUFFIX)
sl@0
   421
AC_SUBST(EXESUFFIX)
sl@0
   422
AC_SUBST(LIBRARIES)
sl@0
   423
AC_SUBST(MAKE_LIB)
sl@0
   424
AC_SUBST(POST_MAKE_LIB)
sl@0
   425
AC_SUBST(MAKE_DLL)
sl@0
   426
AC_SUBST(MAKE_EXE)
sl@0
   427
sl@0
   428
# empty on win, but needs sub'ing
sl@0
   429
AC_SUBST(TCL_BUILD_LIB_SPEC)
sl@0
   430
AC_SUBST(TCL_LD_SEARCH_FLAGS)
sl@0
   431
AC_SUBST(TCL_NEEDS_EXP_FILE)
sl@0
   432
AC_SUBST(TCL_BUILD_EXP_FILE)
sl@0
   433
AC_SUBST(TCL_EXP_FILE)
sl@0
   434
AC_SUBST(DL_LIBS)
sl@0
   435
AC_SUBST(LIBOBJS)
sl@0
   436
AC_SUBST(TCL_LIB_VERSIONS_OK)
sl@0
   437
AC_SUBST(TCL_PACKAGE_PATH)
sl@0
   438
sl@0
   439
# win only
sl@0
   440
AC_SUBST(TCL_DDE_VERSION)
sl@0
   441
AC_SUBST(TCL_DDE_MAJOR_VERSION)
sl@0
   442
AC_SUBST(TCL_DDE_MINOR_VERSION)
sl@0
   443
AC_SUBST(TCL_REG_VERSION)
sl@0
   444
AC_SUBST(TCL_REG_MAJOR_VERSION)
sl@0
   445
AC_SUBST(TCL_REG_MINOR_VERSION)
sl@0
   446
sl@0
   447
AC_SUBST(RC)
sl@0
   448
AC_SUBST(RC_OUT)
sl@0
   449
AC_SUBST(RC_TYPE)
sl@0
   450
AC_SUBST(RC_INCLUDE)
sl@0
   451
AC_SUBST(RC_DEFINE)
sl@0
   452
AC_SUBST(RC_DEFINES)
sl@0
   453
AC_SUBST(RES)
sl@0
   454
sl@0
   455
AC_OUTPUT(Makefile tclConfig.sh tcl.hpj)