OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tcl/] [win/] [configure.in] - Blame information for rev 1771

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
dnl     The file is CYGNUS LOCAL.  It is used for cygwin.
2
 
3
dnl     This file is an input file used by the GNU "autoconf" program to
4
dnl     generate the file "configure", which is run during Tcl installation
5
dnl     to configure the system for the local environment.
6
 
7
AC_PREREQ(2.5)
8
 
9
AC_INIT(../generic/tcl.h)
10
 
11
if test "${prefix}" = "NONE"; then
12
    prefix=/usr/local
13
fi
14
if test "${exec_prefix}" = "NONE"; then
15
    exec_prefix=$prefix
16
fi
17
 
18
AC_CANONICAL_HOST
19
 
20
AC_PROG_CC
21
AC_OBJEXT
22
AC_CHECK_TOOL(NM, nm, nm)
23
AC_SUBST(NM)
24
AC_CHECK_TOOL(AS, as, as)
25
AC_SUBST(AS)
26
AC_CHECK_TOOL(LD, ld, ld)
27
AC_SUBST(LD)
28
AC_PROG_RANLIB
29
AC_CHECK_TOOL(DLLTOOL, dlltool, dlltool)
30
AC_SUBST(DLLTOOL)
31
AC_CHECK_TOOL(WINDRES, windres, windres)
32
AC_SUBST(WINDRES)
33
AC_PROG_INSTALL
34
 
35
# needed for the subtle differences between cygwin and mingw32
36
case "${host}" in
37
*-*-cygwin*)
38
        TCL_ALLOC_OBJ=
39
        DLL_LDLIBS=-lcygwin
40
        DLL_LDFLAGS='-nostartfiles -Wl,--dll'
41
        ;;
42
*-*-mingw32*)
43
        TCL_ALLOC_OBJ='$(TMPDIR)/tclAlloc.o'
44
        DLL_LDLIBS=
45
        DLL_LDFLAGS='-mdll'
46
        ;;
47
esac
48
 
49
AC_SUBST(TCL_ALLOC_OBJ)
50
AC_SUBST(DLL_LDFLAGS)
51
AC_SUBST(DLL_LDLIBS)
52
 
53
# The following variables are just for tclConfig.sh, not for Makefile.
54
LIBOBJS=
55
AC_SUBST(LIBOBJS)
56
TCL_VERSION=8.0
57
TCL_MAJOR_VERSION=8
58
TCL_MINOR_VERSION=0
59
TCL_PATCH_LEVEL=p2
60
VERSION=${TCL_VERSION}
61
DL_LIBS=
62
MATH_LIBS=-lm
63
SHLIB_CFLAGS=
64
SHLIB_LD=
65
SHLIB_LD_LIBS=
66
SHLIB_SUFFIX=
67
LD_FLAGS=
68
TCL_LD_SEARCH_FLAGS=
69
TCL_BUILD_LIB_SPEC="-L`pwd` -ltcl`echo ${VERSION} | tr -d .`"
70
TCL_LIB_SPEC="-L${exec_prefix}/lib -ltcl`echo ${VERSION} | tr -d .`"
71
TCL_LIB_VERSIONS_OK=nodots
72
TCL_SHARED_LIB_SUFFIX=
73
TCL_UNSHARED_LIB_SUFFIX="`echo ${VERSION} | tr -d .`.a"
74
eval "TCL_LIB_FILE=libtcl${TCL_UNSHARED_LIB_SUFFIX}"
75
TCL_SRC_DIR=`cd $srcdir/..; pwd`
76
if test "$prefix" != "$exec_prefix"; then
77
    TCL_PACKAGE_PATH="${exec_prefix}/lib ${prefix}/lib"
78
else
79
    TCL_PACKAGE_PATH="${prefix}/lib"
80
fi
81
TCL_BIN_DIR=`pwd`
82
 
83
AC_SUBST(DL_LIBS)
84
AC_SUBST(LD_FLAGS)
85
AC_SUBST(MATH_LIBS)
86
AC_SUBST(SHLIB_CFLAGS)
87
AC_SUBST(SHLIB_LD)
88
AC_SUBST(SHLIB_LD_LIBS)
89
AC_SUBST(SHLIB_SUFFIX)
90
AC_SUBST(TCL_BUILD_LIB_SPEC)
91
AC_SUBST(TCL_LD_SEARCH_FLAGS)
92
AC_SUBST(TCL_LIB_FILE)
93
AC_SUBST(TCL_LIB_SPEC)
94
AC_SUBST(TCL_LIB_VERSIONS_OK)
95
AC_SUBST(TCL_MAJOR_VERSION)
96
AC_SUBST(TCL_MINOR_VERSION)
97
AC_SUBST(TCL_PACKAGE_PATH)
98
AC_SUBST(TCL_PATCH_LEVEL)
99
AC_SUBST(TCL_SHARED_LIB_SUFFIX)
100
AC_SUBST(TCL_SHLIB_CFLAGS)
101
AC_SUBST(TCL_SRC_DIR)
102
AC_SUBST(TCL_UNSHARED_LIB_SUFFIX)
103
AC_SUBST(TCL_VERSION)
104
AC_SUBST(TCL_BIN_DIR)
105
 
106
AC_OUTPUT(Makefile ../unix/tclConfig.sh)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.