1
2
3
4
5
6
7
8
9
10
11
12
13
|
#! /bin/bash -norc
dnl This file is an input file used by the GNU "autoconf" program to
dnl generate the file "configure", which is run during Tcl installation
dnl to configure the system for the local environment.
#
# RCS: @(#) $Id: configure.in,v 1.192 2008/12/11 14:42:44 dkf Exp $
AC_INIT([tcl],[8.6])
AC_PREREQ(2.59)
dnl This is only used when included from macosx/configure.ac
m4_ifdef([SC_USE_CONFIG_HEADERS], [
AC_CONFIG_HEADERS([tclConfig.h:../unix/tclConfig.h.in])
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#! /bin/bash -norc
dnl This file is an input file used by the GNU "autoconf" program to
dnl generate the file "configure", which is run during Tcl installation
dnl to configure the system for the local environment.
#
# RCS: @(#) $Id: configure.in,v 1.193 2008/12/12 16:18:09 dkf Exp $
AC_INIT([tcl],[8.6])
AC_PREREQ(2.59)
dnl This is only used when included from macosx/configure.ac
m4_ifdef([SC_USE_CONFIG_HEADERS], [
AC_CONFIG_HEADERS([tclConfig.h:../unix/tclConfig.h.in])
|
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
SC_ENABLE_SHARED
#------------------------------------------------------------------------
# Add stuff for zlib
#------------------------------------------------------------------------
zlib_ok=yes
AC_CHECK_HEADER([zlib.h],[],[
zlib_ok=no
echo TODO: Add -I$srcdir/compat/zlib/include to compile lines...
])
AC_SEARCH_LIBS([adler32],[z],[],[
zlib_ok=no
])
if test $zlib_ok = yes; then
AC_DEFINE(HAVE_ZLIB, 1, [Is there an installed zlib?])
fi
#--------------------------------------------------------------------
# The statements below define a collection of compile flags. This
|
|
>
|
>
>
>
|
|
>
|
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
SC_ENABLE_SHARED
#------------------------------------------------------------------------
# Add stuff for zlib
#------------------------------------------------------------------------
zlib_ok=yes
AC_CHECK_HEADER([zlib.h],[
AC_CHECK_TYPE([gz_header],[],[
zlib_ok=no
AC_DIAGNOSE([],[TODO: Add -I$srcdir/compat/zlib/include to compile lines])
],[#include <zlib.h>])],[
zlib_ok=no
AC_DIAGNOSE([],[TODO: Add -I$srcdir/compat/zlib/include to compile lines])
])
AC_SEARCH_LIBS([deflateSetHeader],[z],[],[
zlib_ok=no
AC_DIAGNOSE([],[TODO: Add $srcdir/compat/zlib to list of things to build])
])
if test $zlib_ok = yes; then
AC_DEFINE(HAVE_ZLIB, 1, [Is there an installed zlib?])
fi
#--------------------------------------------------------------------
# The statements below define a collection of compile flags. This
|