Debian Codegraph @

unix/configure.in

raw
1 #! /bin/bash -norc
2 dnl This file is an input file used by the GNU "autoconf" program to
3 dnl generate the file "configure", which is run during Tcl installation
4 dnl to configure the system for the local environment.
5
6 AC_INIT([tcl],[8.6])
7 AC_PREREQ([2.59])
8
9 dnl This is only used when included from macosx/configure.ac
10 m4_ifdef([SC_USE_CONFIG_HEADERS], [
11 AC_CONFIG_HEADERS([tclConfig.h:../unix/tclConfig.h.in])
12 AC_CONFIG_COMMANDS_PRE([DEFS="-DHAVE_TCL_CONFIG_H -imacros tclConfig.h"])
13 AH_TOP([
14 #ifndef _TCLCONFIG
15 #define _TCLCONFIG])
16 AH_BOTTOM([
17 /* Undef unused package specific autoheader defines so that we can
18 * include both tclConfig.h and tkConfig.h at the same time: */
19 /* override */ #undef PACKAGE_NAME
20 /* override */ #undef PACKAGE_TARNAME
21 /* override */ #undef PACKAGE_VERSION
22 /* override */ #undef PACKAGE_STRING
23 #endif /* _TCLCONFIG */])
24 ])
25
26 TCL_VERSION=8.6
27 TCL_MAJOR_VERSION=8
28 TCL_MINOR_VERSION=6
29 TCL_PATCH_LEVEL=".18"
30 VERSION=${TCL_VERSION}
31
32 EXTRA_INSTALL_BINARIES=${EXTRA_INSTALL_BINARIES:-"@:"}
33 EXTRA_BUILD_HTML=${EXTRA_BUILD_HTML:-"@:"}
34
35 #------------------------------------------------------------------------
36 # Setup configure arguments for bundled packages
37 #------------------------------------------------------------------------
38
39 PKG_CFG_ARGS="$ac_configure_args ${PKG_CFG_ARGS}"
40
41 if test -r "$cache_file" -a -f "$cache_file"; then
42 case $cache_file in
43 [[\\/]]* | ?:[[\\/]]* ) pkg_cache_file=$cache_file ;;
44 *) pkg_cache_file=../../$cache_file ;;
45 esac
46 PKG_CFG_ARGS="${PKG_CFG_ARGS} --cache-file=$pkg_cache_file"
47 fi
48
49 #------------------------------------------------------------------------
50 # Empty slate for bundled packages, to avoid stale configuration
51 #------------------------------------------------------------------------
52 #rm -Rf pkgs
53 if test -f Makefile; then
54 make distclean-packages
55 fi
56
57 #------------------------------------------------------------------------
58 # Handle the --prefix=... option
59 #------------------------------------------------------------------------
60
61 if test "${prefix}" = "NONE"; then
62 prefix=/usr/local
63 fi
64 if test "${exec_prefix}" = "NONE"; then
65 exec_prefix=$prefix
66 fi
67 # Make sure srcdir is fully qualified!
68 srcdir="`cd "$srcdir" ; pwd`"
69 TCL_SRC_DIR="`cd "$srcdir"/..; pwd`"
70
71 #------------------------------------------------------------------------
72 # Compress and/or soft link the manpages?
73 #------------------------------------------------------------------------
74
75 SC_CONFIG_MANPAGES
76
77 #------------------------------------------------------------------------
78 # Standard compiler checks
79 #------------------------------------------------------------------------
80
81 # If the user did not set CFLAGS, set it now to keep
82 # the AC_PROG_CC macro from adding "-g -O2".
83 if test "${CFLAGS+set}" != "set" ; then
84 CFLAGS=""
85 fi
86
87 AC_PROG_CC
88 AC_C_INLINE
89
90 #--------------------------------------------------------------------
91 # Supply substitutes for missing POSIX header files. Special notes:
92 # - stdlib.h doesn't define strtol, strtoul, or
93 # strtod in some versions of SunOS
94 # - some versions of string.h don't declare procedures such
95 # as strstr
96 # Do this early, otherwise an autoconf bug throws errors on configure
97 #--------------------------------------------------------------------
98
99 SC_MISSING_POSIX_HEADERS
100
101 #--------------------------------------------------------------------
102 # Determines the correct executable file extension (.exe)
103 #--------------------------------------------------------------------
104
105 AC_EXEEXT
106
107 #------------------------------------------------------------------------
108 # If we're using GCC, see if the compiler understands -pipe. If so, use it.
109 # It makes compiling go faster. (This is only a performance feature.)
110 #------------------------------------------------------------------------
111
112 if test -z "$no_pipe" && test -n "$GCC"; then
113 AC_CACHE_CHECK([if the compiler understands -pipe],
114 tcl_cv_cc_pipe, [
115 hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -pipe"
116 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[]])],[tcl_cv_cc_pipe=yes],[tcl_cv_cc_pipe=no])
117 CFLAGS=$hold_cflags])
118 if test $tcl_cv_cc_pipe = yes; then
119 CFLAGS="$CFLAGS -pipe"
120 fi
121 fi
122
123 #------------------------------------------------------------------------
124 # Threads support
125 #------------------------------------------------------------------------
126
127 SC_ENABLE_THREADS
128
129 #------------------------------------------------------------------------
130 # Embedded configuration information, encoding to use for the values, TIP #59
131 #------------------------------------------------------------------------
132
133 SC_TCL_CFG_ENCODING
134
135 #--------------------------------------------------------------------
136 # Look for libraries that we will need when compiling the Tcl shell
137 #--------------------------------------------------------------------
138
139 SC_TCL_LINK_LIBS
140
141 # Add the threads support libraries
142 LIBS="$LIBS$THREADS_LIBS"
143
144 SC_ENABLE_SHARED
145
146 #--------------------------------------------------------------------
147 # Look for a native installed tclsh binary (if available)
148 # If one cannot be found then use the binary we build (fails for
149 # cross compiling). This is used for NATIVE_TCLSH in Makefile.
150 #--------------------------------------------------------------------
151
152 SC_PROG_TCLSH
153 if test "$TCLSH_PROG" = ""; then
154 TCLSH_PROG='./${TCL_EXE}'
155 fi
156
157 #------------------------------------------------------------------------
158 # Add stuff for zlib
159 #------------------------------------------------------------------------
160
161 zlib_ok=yes
162 AC_CHECK_HEADER([zlib.h],[
163 AC_CHECK_TYPE([gz_header],[],[zlib_ok=no],[#include <zlib.h>])],[
164 zlib_ok=no])
165 AS_IF([test $zlib_ok = yes], [
166 AC_SEARCH_LIBS([deflateSetHeader],[z],[],[
167 zlib_ok=no
168 ])])
169 AS_IF([test $zlib_ok = no], [
170 AC_SUBST(ZLIB_OBJS,[\${ZLIB_OBJS}])
171 AC_SUBST(ZLIB_SRCS,[\${ZLIB_SRCS}])
172 AC_SUBST(ZLIB_INCLUDE,[-I\${ZLIB_DIR}])
173 ])
174 AC_DEFINE(HAVE_ZLIB, 1, [Is there an installed zlib?])
175
176 #--------------------------------------------------------------------
177 # The statements below define a collection of compile flags. This
178 # macro depends on the value of SHARED_BUILD, and should be called
179 # after SC_ENABLE_SHARED checks the configure switches.
180 #--------------------------------------------------------------------
181
182 SC_CONFIG_CFLAGS
183
184 SC_ENABLE_SYMBOLS(bccdebug)
185
186 AC_DEFINE(MP_PREC, 4, [Default libtommath precision.])
187
188 #--------------------------------------------------------------------
189 # Detect what compiler flags to set for 64-bit support.
190 #--------------------------------------------------------------------
191
192 SC_TCL_EARLY_FLAGS
193
194 SC_TCL_64BIT_FLAGS
195
196 #--------------------------------------------------------------------
197 # Check endianness because we can optimize comparisons of
198 # Tcl_UniChar strings to memcmp on big-endian systems.
199 #--------------------------------------------------------------------
200
201 AC_C_BIGENDIAN(,,,[#])
202
203 #--------------------------------------------------------------------
204 # Supply substitutes for missing POSIX library procedures, or
205 # set flags so Tcl uses alternate procedures.
206 #--------------------------------------------------------------------
207
208 # Check if Posix compliant getcwd exists, if not we'll use getwd.
209 AC_CHECK_FUNCS(getcwd, , [AC_DEFINE(USEGETWD, 1, [Is getcwd Posix-compliant?])])
210 # Nb: if getcwd uses popen and pwd(1) (like SunOS 4) we should really
211 # define USEGETWD even if the Posix getcwd exists. Add a test ?
212
213 AC_REPLACE_FUNCS(mkstemp opendir strtol waitpid)
214 AC_CHECK_FUNC(strerror, , [AC_DEFINE(NO_STRERROR, 1, [Do we have strerror()])])
215 AC_CHECK_FUNC(getwd, , [AC_DEFINE(NO_GETWD, 1, [Do we have getwd()])])
216 AC_CHECK_FUNC(wait3, , [AC_DEFINE(NO_WAIT3, 1, [Do we have wait3()])])
217 AC_CHECK_FUNC(fork, , [AC_DEFINE(NO_FORK, 1, [Do we have fork()])])
218 AC_CHECK_FUNC(mknod, , [AC_DEFINE(NO_MKNOD, 1, [Do we have mknod()])])
219 AC_CHECK_FUNC(tcdrain, , [AC_DEFINE(NO_TCDRAIN, 1, [Do we have tcdrain()])])
220 AC_CHECK_FUNC(uname, , [AC_DEFINE(NO_UNAME, 1, [Do we have uname()])])
221
222 if test "`uname -s`" = "Darwin" && test "${TCL_THREADS}" = 1 && \
223 test "`uname -r | awk -F. '{print [$]1}'`" -lt 7; then
224 # prior to Darwin 7, realpath is not threadsafe, so don't
225 # use it when threads are enabled, c.f. bug # 711232
226 ac_cv_func_realpath=no
227 fi
228 AC_CHECK_FUNC(realpath, , [AC_DEFINE(NO_REALPATH, 1, [Do we have realpath()])])
229
230 SC_TCL_IPV6
231
232 #--------------------------------------------------------------------
233 # Look for thread-safe variants of some library functions.
234 #--------------------------------------------------------------------
235
236 if test "${TCL_THREADS}" = 1; then
237 SC_TCL_GETPWUID_R
238 SC_TCL_GETPWNAM_R
239 SC_TCL_GETGRGID_R
240 SC_TCL_GETGRNAM_R
241 if test "`uname -s`" = "Darwin" && \
242 test "`uname -r | awk -F. '{print [$]1}'`" -gt 5; then
243 # Starting with Darwin 6 (Mac OSX 10.2), gethostbyX
244 # are actually MT-safe as they always return pointers
245 # from TSD instead of static storage.
246 AC_DEFINE(HAVE_MTSAFE_GETHOSTBYNAME, 1,
247 [Do we have MT-safe gethostbyname() ?])
248 AC_DEFINE(HAVE_MTSAFE_GETHOSTBYADDR, 1,
249 [Do we have MT-safe gethostbyaddr() ?])
250
251 elif test "`uname -s`" = "HP-UX" && \
252 test "`uname -r|sed -e 's|B\.||' -e 's|\..*$||'`" -gt 10; then
253 # Starting with HPUX 11.00 (we believe), gethostbyX
254 # are actually MT-safe as they always return pointers
255 # from TSD instead of static storage.
256 AC_DEFINE(HAVE_MTSAFE_GETHOSTBYNAME, 1,
257 [Do we have MT-safe gethostbyname() ?])
258 AC_DEFINE(HAVE_MTSAFE_GETHOSTBYADDR, 1,
259 [Do we have MT-safe gethostbyaddr() ?])
260
261 else
262 SC_TCL_GETHOSTBYNAME_R
263 SC_TCL_GETHOSTBYADDR_R
264 fi
265 fi
266
267 #---------------------------------------------------------------------------
268 # Check for serial port interface.
269 #
270 # termios.h is present on all POSIX systems.
271 # sys/ioctl.h is almost always present, though what it contains
272 # is system-specific.
273 # sys/modem.h is needed on HP-UX.
274 #---------------------------------------------------------------------------
275
276 AC_CHECK_HEADERS(termios.h)
277 AC_CHECK_HEADERS(sys/ioctl.h)
278 AC_CHECK_HEADERS(sys/modem.h)
279
280 #--------------------------------------------------------------------
281 # Include sys/select.h if it exists and if it supplies things
282 # that appear to be useful and aren't already in sys/types.h.
283 # This appears to be true only on the RS/6000 under AIX. Some
284 # systems like OSF/1 have a sys/select.h that's of no use, and
285 # other systems like SCO UNIX have a sys/select.h that's
286 # pernicious. If "fd_set" isn't defined anywhere then set a
287 # special flag.
288 #--------------------------------------------------------------------
289
290 AC_CACHE_CHECK([for fd_set in sys/types], tcl_cv_type_fd_set, [
291 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>]], [[fd_set readMask, writeMask;]])],
292 [tcl_cv_type_fd_set=yes],[tcl_cv_type_fd_set=no])])
293 tcl_ok=$tcl_cv_type_fd_set
294 if test $tcl_ok = no; then
295 AC_CACHE_CHECK([for fd_mask in sys/select], tcl_cv_grep_fd_mask, [
296 AC_EGREP_HEADER(fd_mask, sys/select.h,
297 tcl_cv_grep_fd_mask=present, tcl_cv_grep_fd_mask=missing)])
298 if test $tcl_cv_grep_fd_mask = present; then
299 AC_DEFINE(HAVE_SYS_SELECT_H, 1, [Should we include <sys/select.h>?])
300 tcl_ok=yes
301 fi
302 fi
303 if test $tcl_ok = no; then
304 AC_DEFINE(NO_FD_SET, 1, [Do we have fd_set?])
305 fi
306
307 #------------------------------------------------------------------------------
308 # Find out all about time handling differences.
309 #------------------------------------------------------------------------------
310
311 SC_TIME_HANDLER
312
313 #--------------------------------------------------------------------
314 # Some systems (e.g., IRIX 4.0.5) lack some fields in struct stat. But
315 # we might be able to use fstatfs instead. Some systems (OpenBSD?) also
316 # lack blkcnt_t.
317 #--------------------------------------------------------------------
318
319 if test "$ac_cv_cygwin" != "yes"; then
320 AC_CHECK_MEMBERS([struct stat.st_blocks, struct stat.st_blksize])
321 fi
322 AC_CHECK_TYPES([blkcnt_t])
323 AC_CHECK_FUNC(fstatfs, , [AC_DEFINE(NO_FSTATFS, 1, [Do we have fstatfs()?])])
324
325 #--------------------------------------------------------------------
326 # Some system have no memcmp or it does not work with 8 bit data, this
327 # checks it and add memcmp.o to LIBOBJS if needed
328 #--------------------------------------------------------------------
329
330 AC_FUNC_MEMCMP
331
332 #--------------------------------------------------------------------
333 # Some system like SunOS 4 and other BSD like systems have no memmove
334 # (we assume they have bcopy instead). {The replacement define is in
335 # compat/string.h}
336 #--------------------------------------------------------------------
337
338 AC_CHECK_FUNC(memmove, , [
339 AC_DEFINE(NO_MEMMOVE, 1, [Do we have memmove()?])
340 AC_DEFINE(NO_STRING_H, 1, [Do we have <string.h>?]) ])
341
342 #--------------------------------------------------------------------
343 # On some systems strstr is broken: it returns a pointer even if
344 # the original string is empty.
345 #--------------------------------------------------------------------
346
347 SC_TCL_CHECK_BROKEN_FUNC(strstr, [
348 exit(strstr("\0test", "test") ? 1 : 0);
349 ])
350
351 #--------------------------------------------------------------------
352 # Check for strtoul function. This is tricky because under some
353 # versions of AIX strtoul returns an incorrect terminator
354 # pointer for the string "0".
355 #--------------------------------------------------------------------
356
357 SC_TCL_CHECK_BROKEN_FUNC(strtoul, [
358 char *term, *string = "0";
359 exit(strtoul(string,&term,0) != 0 || term != string+1);
360 ])
361
362 #--------------------------------------------------------------------
363 # Check for various typedefs and provide substitutes if
364 # they don't exist.
365 #--------------------------------------------------------------------
366
367 AC_TYPE_MODE_T
368 AC_TYPE_PID_T
369 AC_TYPE_SIZE_T
370 AC_TYPE_UID_T
371
372 AC_CACHE_CHECK([for socklen_t], tcl_cv_type_socklen_t, [
373 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
374 #include <sys/types.h>
375 #include <sys/socket.h>
376 ]], [[
377 socklen_t foo;
378 ]])],[tcl_cv_type_socklen_t=yes],[tcl_cv_type_socklen_t=no])])
379 if test $tcl_cv_type_socklen_t = no; then
380 AC_DEFINE(socklen_t, int, [Define as int if socklen_t is not available])
381 fi
382
383 AC_CHECK_TYPE([intptr_t], [
384 AC_DEFINE([HAVE_INTPTR_T], 1, [Do we have the intptr_t type?])], [
385 AC_CACHE_CHECK([for pointer-size signed integer type], tcl_cv_intptr_t, [
386 for tcl_cv_intptr_t in "int" "long" "long long" none; do
387 if test "$tcl_cv_intptr_t" != none; then
388 AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([AC_INCLUDES_DEFAULT],
389 [[sizeof (void *) <= sizeof ($tcl_cv_intptr_t)]])],
390 [tcl_ok=yes], [tcl_ok=no])
391 test "$tcl_ok" = yes && break; fi
392 done])
393 if test "$tcl_cv_intptr_t" != none; then
394 AC_DEFINE_UNQUOTED([intptr_t], [$tcl_cv_intptr_t], [Signed integer
395 type wide enough to hold a pointer.])
396 fi
397 ])
398 AC_CHECK_TYPE([uintptr_t], [
399 AC_DEFINE([HAVE_UINTPTR_T], 1, [Do we have the uintptr_t type?])], [
400 AC_CACHE_CHECK([for pointer-size unsigned integer type], tcl_cv_uintptr_t, [
401 for tcl_cv_uintptr_t in "unsigned int" "unsigned long" "unsigned long long" \
402 none; do
403 if test "$tcl_cv_uintptr_t" != none; then
404 AC_COMPILE_IFELSE([AC_LANG_BOOL_COMPILE_TRY([AC_INCLUDES_DEFAULT],
405 [[sizeof (void *) <= sizeof ($tcl_cv_uintptr_t)]])],
406 [tcl_ok=yes], [tcl_ok=no])
407 test "$tcl_ok" = yes && break; fi
408 done])
409 if test "$tcl_cv_uintptr_t" != none; then
410 AC_DEFINE_UNQUOTED([uintptr_t], [$tcl_cv_uintptr_t], [Unsigned integer
411 type wide enough to hold a pointer.])
412 fi
413 ])
414
415 #--------------------------------------------------------------------
416 # If a system doesn't have an opendir function (man, that's old!)
417 # then we have to supply a different version of dirent.h which
418 # is compatible with the substitute version of opendir that's
419 # provided. This version only works with V7-style directories.
420 #--------------------------------------------------------------------
421
422 AC_CHECK_FUNC(opendir, , [AC_DEFINE(USE_DIRENT2_H, 1, [May we include <dirent2.h>?])])
423
424 #--------------------------------------------------------------------
425 # The check below checks whether <sys/wait.h> defines the type
426 # "union wait" correctly. It's needed because of weirdness in
427 # HP-UX where "union wait" is defined in both the BSD and SYS-V
428 # environments. Checking the usability of WIFEXITED seems to do
429 # the trick.
430 #--------------------------------------------------------------------
431
432 AC_CACHE_CHECK([union wait], tcl_cv_union_wait, [
433 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>
434 #include <sys/wait.h>]], [[
435 union wait x;
436 WIFEXITED(x); /* Generates compiler error if WIFEXITED
437 * uses an int. */
438 ]])],[tcl_cv_union_wait=yes],[tcl_cv_union_wait=no])])
439 if test $tcl_cv_union_wait = no; then
440 AC_DEFINE(NO_UNION_WAIT, 1, [Do we have a usable 'union wait'?])
441 fi
442
443 #--------------------------------------------------------------------
444 # Check whether there is an strncasecmp function on this system.
445 # This is a bit tricky because under SCO it's in -lsocket and
446 # under Sequent Dynix it's in -linet.
447 #--------------------------------------------------------------------
448
449 AC_CHECK_FUNC(strncasecmp, tcl_ok=1, tcl_ok=0)
450 if test "$tcl_ok" = 0; then
451 AC_CHECK_LIB(socket, strncasecmp, tcl_ok=1, tcl_ok=0)
452 fi
453 if test "$tcl_ok" = 0; then
454 AC_CHECK_LIB(inet, strncasecmp, tcl_ok=1, tcl_ok=0)
455 fi
456 if test "$tcl_ok" = 0; then
457 AC_LIBOBJ([strncasecmp])
458 USE_COMPAT=1
459 fi
460
461 #--------------------------------------------------------------------
462 # The code below deals with several issues related to gettimeofday:
463 # 1. Some systems don't provide a gettimeofday function at all
464 # (set NO_GETTOD if this is the case).
465 # 2. See if gettimeofday is declared in the <sys/time.h> header file.
466 # if not, set the GETTOD_NOT_DECLARED flag so that tclPort.h can
467 # declare it.
468 #--------------------------------------------------------------------
469
470 AC_CHECK_FUNC(gettimeofday,[],[
471 AC_DEFINE(NO_GETTOD, 1, [Do we have gettimeofday()?])
472 ])
473 AC_CACHE_CHECK([for gettimeofday declaration], tcl_cv_grep_gettimeofday, [
474 AC_EGREP_HEADER(gettimeofday, sys/time.h,
475 tcl_cv_grep_gettimeofday=present, tcl_cv_grep_gettimeofday=missing)])
476 if test $tcl_cv_grep_gettimeofday = missing ; then
477 AC_DEFINE(GETTOD_NOT_DECLARED, 1, [Is gettimeofday() actually declared in <sys/time.h>?])
478 fi
479
480 #--------------------------------------------------------------------
481 # The following code checks to see whether it is possible to get
482 # signed chars on this platform. This is needed in order to
483 # properly generate sign-extended ints from character values.
484 #--------------------------------------------------------------------
485
486 AC_C_CHAR_UNSIGNED
487 AC_CACHE_CHECK([signed char declarations], tcl_cv_char_signed, [
488 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[
489 signed char *p;
490 p = 0;
491 ]])],[tcl_cv_char_signed=yes],[tcl_cv_char_signed=no])])
492 if test $tcl_cv_char_signed = yes; then
493 AC_DEFINE(HAVE_SIGNED_CHAR, 1, [Are characters signed?])
494 fi
495
496 #--------------------------------------------------------------------
497 # Does putenv() copy or not? We need to know to avoid memory leaks.
498 #--------------------------------------------------------------------
499
500 AC_CACHE_CHECK([for a putenv() that copies the buffer], tcl_cv_putenv_copy, [
501 AC_RUN_IFELSE([AC_LANG_SOURCE([[
502 #include <stdlib.h>
503 #include <string.h>
504 #define OURVAR "havecopy=yes"
505 int main (int argc, char *argv[])
506 {
507 char *foo, *bar;
508 foo = (char *)strdup(OURVAR);
509 putenv(foo);
510 strcpy((char *)(strchr(foo, '=') + 1), "no");
511 bar = getenv("havecopy");
512 if (!strcmp(bar, "no")) {
513 /* doesnt copy */
514 return 0;
515 } else {
516 /* does copy */
517 return 1;
518 }
519 }
520 ]])],
521 [tcl_cv_putenv_copy=no],
522 [tcl_cv_putenv_copy=yes],
523 [tcl_cv_putenv_copy=no])])
524 if test $tcl_cv_putenv_copy = yes; then
525 AC_DEFINE(HAVE_PUTENV_THAT_COPIES, 1,
526 [Does putenv() copy strings or incorporate them by reference?])
527 fi
528
529 #--------------------------------------------------------------------
530 # Check for support of nl_langinfo function
531 #--------------------------------------------------------------------
532
533 SC_ENABLE_LANGINFO
534
535 #--------------------------------------------------------------------
536 # Check for support of chflags and mkstemps functions
537 #--------------------------------------------------------------------
538
539 AC_CHECK_FUNCS(chflags mkstemps)
540
541 #--------------------------------------------------------------------
542 # Check for support of isnan() function or macro
543 #--------------------------------------------------------------------
544
545 AC_CACHE_CHECK([isnan], tcl_cv_isnan, [
546 AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <math.h>]], [[
547 isnan(0.0); /* Generates an error if isnan is missing */
548 ]])],[tcl_cv_isnan=yes],[tcl_cv_isnan=no])])
549 if test $tcl_cv_isnan = no; then
550 AC_DEFINE(NO_ISNAN, 1, [Do we have a usable 'isnan'?])
551 fi
552
553 #--------------------------------------------------------------------
554 # Darwin specific API checks and defines
555 #--------------------------------------------------------------------
556
557 if test "`uname -s`" = "Darwin" ; then
558 AC_CHECK_FUNCS(getattrlist)
559 AC_CHECK_HEADERS(copyfile.h)
560 AC_CHECK_FUNCS(copyfile)
561 if test $tcl_corefoundation = yes; then
562 AC_CHECK_HEADERS(libkern/OSAtomic.h)
563 AC_CHECK_FUNCS(OSSpinLockLock)
564 fi
565 AC_DEFINE(TCL_DEFAULT_ENCODING, "utf-8",
566 [Are we to override what our default encoding is?])
567 AC_DEFINE(TCL_LOAD_FROM_MEMORY, 1,
568 [Can this platform load code from memory?])
569 AC_DEFINE(TCL_WIDE_CLICKS, 1,
570 [Does this platform have wide high-resolution clicks?])
571 AC_CHECK_HEADERS(AvailabilityMacros.h)
572 if test "$ac_cv_header_AvailabilityMacros_h" = yes; then
573 AC_CACHE_CHECK([if weak import is available], tcl_cv_cc_weak_import, [
574 hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -Werror"
575 AC_LINK_IFELSE([AC_LANG_PROGRAM([[
576 #ifdef __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
577 #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1020
578 #error __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1020
579 #endif
580 #elif MAC_OS_X_VERSION_MIN_REQUIRED < 1020
581 #error MAC_OS_X_VERSION_MIN_REQUIRED < 1020
582 #endif
583 int rand(void) __attribute__((weak_import));
584 ]], [[rand();]])],
585 [tcl_cv_cc_weak_import=yes],[tcl_cv_cc_weak_import=no])
586 CFLAGS=$hold_cflags])
587 if test $tcl_cv_cc_weak_import = yes; then
588 AC_DEFINE(HAVE_WEAK_IMPORT, 1, [Is weak import available?])
589 fi
590 AC_CACHE_CHECK([if Darwin SUSv3 extensions are available],
591 tcl_cv_cc_darwin_c_source, [
592 hold_cflags=$CFLAGS; CFLAGS="$CFLAGS -Werror"
593 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
594 #ifdef __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__
595 #if __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1050
596 #error __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1050
597 #endif
598 #elif MAC_OS_X_VERSION_MIN_REQUIRED < 1050
599 #error MAC_OS_X_VERSION_MIN_REQUIRED < 1050
600 #endif
601 #define _DARWIN_C_SOURCE 1
602 #include <sys/cdefs.h>
603 ]], [[]])],[tcl_cv_cc_darwin_c_source=yes],[tcl_cv_cc_darwin_c_source=no])
604 CFLAGS=$hold_cflags])
605 if test $tcl_cv_cc_darwin_c_source = yes; then
606 AC_DEFINE(_DARWIN_C_SOURCE, 1,
607 [Are Darwin SUSv3 extensions available?])
608 fi
609 fi
610 # Build .bundle dltest binaries in addition to .dylib
611 DLTEST_LD='${CC} -bundle -Wl,-w ${CFLAGS} ${LDFLAGS}'
612 DLTEST_SUFFIX=".bundle"
613 else
614 DLTEST_LD='${SHLIB_LD}'
615 DLTEST_SUFFIX=""
616 fi
617
618 #--------------------------------------------------------------------
619 # Check for support of fts functions (readdir replacement)
620 #--------------------------------------------------------------------
621
622 AC_CACHE_CHECK([for fts], tcl_cv_api_fts, [
623 AC_LINK_IFELSE([AC_LANG_PROGRAM([[
624 #include <sys/param.h>
625 #include <sys/stat.h>
626 #include <fts.h>
627 ]], [[
628 char*const p[2] = {"/", NULL};
629 FTS *f = fts_open(p, FTS_PHYSICAL|FTS_NOCHDIR|FTS_NOSTAT, NULL);
630 FTSENT *e = fts_read(f); fts_close(f);
631 ]])],[tcl_cv_api_fts=yes],[tcl_cv_api_fts=no])])
632 if test $tcl_cv_api_fts = yes; then
633 AC_DEFINE(HAVE_FTS, 1, [Do we have fts functions?])
634 fi
635
636 #--------------------------------------------------------------------
637 # The statements below check for systems where POSIX-style non-blocking
638 # I/O (O_NONBLOCK) doesn't work or is unimplemented. On these systems
639 # (mostly older ones), use the old BSD-style FIONBIO approach instead.
640 #--------------------------------------------------------------------
641
642 SC_BLOCKING_STYLE
643
644 #------------------------------------------------------------------------
645
646 AC_MSG_CHECKING([whether to use dll unloading])
647 AC_ARG_ENABLE(dll-unloading,
648 AS_HELP_STRING([--enable-dll-unloading],
649 [enable the 'unload' command (default: on)]),
650 [tcl_ok=$enableval], [tcl_ok=yes])
651 if test $tcl_ok = yes; then
652 AC_DEFINE(TCL_UNLOAD_DLLS, 1, [Do we allow unloading of shared libraries?])
653 fi
654 AC_MSG_RESULT([$tcl_ok])
655
656 #------------------------------------------------------------------------
657 # Check whether the timezone data is supplied by the OS or has
658 # to be installed by Tcl. The default is autodetection, but can
659 # be overridden on the configure command line either way.
660 #------------------------------------------------------------------------
661
662 AC_MSG_CHECKING([for timezone data])
663 AC_ARG_WITH(tzdata,
664 AS_HELP_STRING([--with-tzdata],
665 [install timezone data (default: autodetect)]),
666 [tcl_ok=$withval], [tcl_ok=auto])
667 #
668 # Any directories that get added here must also be added to the
669 # search path in ::tcl::clock::Initialize (library/clock.tcl).
670 #
671 case $tcl_ok in
672 no)
673 AC_MSG_RESULT([supplied by OS vendor])
674 ;;
675 yes)
676 # nothing to do here
677 ;;
678 auto*)
679 AC_CACHE_VAL([tcl_cv_dir_zoneinfo], [
680 for dir in /usr/share/zoneinfo \
681 /usr/share/lib/zoneinfo \
682 /usr/lib/zoneinfo
683 do
684 if test -f $dir/UTC -o -f $dir/GMT
685 then
686 tcl_cv_dir_zoneinfo="$dir"
687 break
688 fi
689 done])
690 if test -n "$tcl_cv_dir_zoneinfo"; then
691 tcl_ok=no
692 AC_MSG_RESULT([$dir])
693 else
694 tcl_ok=yes
695 fi
696 ;;
697 *)
698 AC_MSG_ERROR([invalid argument: $tcl_ok])
699 ;;
700 esac
701 if test $tcl_ok = yes
702 then
703 AC_MSG_RESULT([supplied by Tcl])
704 INSTALL_TZDATA=install-tzdata
705 fi
706
707 #--------------------------------------------------------------------
708 # DTrace support
709 #--------------------------------------------------------------------
710
711 AC_ARG_ENABLE(dtrace,
712 AS_HELP_STRING([--enable-dtrace],
713 [build with DTrace support (default: off)]),
714 [tcl_ok=$enableval], [tcl_ok=no])
715 if test $tcl_ok = yes; then
716 AC_CHECK_HEADER(sys/sdt.h, [tcl_ok=yes], [tcl_ok=no])
717 fi
718 if test $tcl_ok = yes; then
719 AC_PATH_PROG(DTRACE, dtrace,, [$PATH:/usr/sbin])
720 test -z "$ac_cv_path_DTRACE" && tcl_ok=no
721 fi
722 AC_MSG_CHECKING([whether to enable DTrace support])
723 MAKEFILE_SHELL='/bin/sh'
724 if test $tcl_ok = yes; then
725 AC_DEFINE(USE_DTRACE, 1, [Are we building with DTrace support?])
726 DTRACE_SRC="\${DTRACE_SRC}"
727 DTRACE_HDR="\${DTRACE_HDR}"
728 if test "`uname -s`" != "Darwin" ; then
729 DTRACE_OBJ="\${DTRACE_OBJ}"
730 if test "`uname -s`" = "SunOS" -a "$SHARED_BUILD" = "0" ; then
731 # Need to create an intermediate object file to ensure tclDTrace.o
732 # gets included when linking against the static tcl library.
733 STLIB_LD='stlib_ld () { /usr/ccs/bin/ld -r -o $${1%.a}.o "$${@:2}" && '"${STLIB_LD}"' $${1} $${1%.a}.o ; } && stlib_ld'
734 MAKEFILE_SHELL='/bin/bash'
735 # Force use of Sun ar and ranlib, the GNU versions choke on
736 # tclDTrace.o and the combined object file above.
737 AR='/usr/ccs/bin/ar'
738 RANLIB='/usr/ccs/bin/ranlib'
739 fi
740 fi
741 fi
742 AC_MSG_RESULT([$tcl_ok])
743
744 #--------------------------------------------------------------------
745 # The check below checks whether the cpuid instruction is usable.
746 #--------------------------------------------------------------------
747
748 AC_CACHE_CHECK([whether the cpuid instruction is usable], tcl_cv_cpuid, [
749 AC_LINK_IFELSE([AC_LANG_PROGRAM([[]], [[
750 int index,regsPtr[4];
751 __asm__ __volatile__("mov %%ebx, %%edi \n\t"
752 "cpuid \n\t"
753 "mov %%ebx, %%esi \n\t"
754 "mov %%edi, %%ebx \n\t"
755 : "=a"(regsPtr[0]), "=S"(regsPtr[1]), "=c"(regsPtr[2]), "=d"(regsPtr[3])
756 : "a"(index) : "edi");
757 ]])],[tcl_cv_cpuid=yes],[tcl_cv_cpuid=no])])
758 if test $tcl_cv_cpuid = yes; then
759 AC_DEFINE(HAVE_CPUID, 1, [Is the cpuid instruction usable?])
760 fi
761
762 #--------------------------------------------------------------------
763 # The statements below define a collection of symbols related to
764 # building libtcl as a shared library instead of a static library.
765 #--------------------------------------------------------------------
766
767 TCL_UNSHARED_LIB_SUFFIX=${UNSHARED_LIB_SUFFIX}
768 TCL_SHARED_LIB_SUFFIX=${SHARED_LIB_SUFFIX}
769 eval "TCL_LIB_FILE=libtcl${LIB_SUFFIX}"
770
771 # tclConfig.sh needs a version of the _LIB_SUFFIX that has been eval'ed
772 # since on some platforms TCL_LIB_FILE contains shell escapes.
773 # (See also: TCL_TRIM_DOTS).
774
775 eval "TCL_LIB_FILE=${TCL_LIB_FILE}"
776
777 test -z "$TCL_LIBRARY" && TCL_LIBRARY='$(prefix)/lib/tcl$(VERSION)'
778 PRIVATE_INCLUDE_DIR='$(includedir)'
779 HTML_DIR='$(DISTDIR)/html'
780
781 # Note: in the following variable, it's important to use the absolute
782 # path name of the Tcl directory rather than "..": this is because
783 # AIX remembers this path and will attempt to use it at run-time to look
784 # up the Tcl library.
785
786 if test "`uname -s`" = "Darwin" ; then
787 SC_ENABLE_FRAMEWORK
788 TCL_SHLIB_LD_EXTRAS="-compatibility_version ${TCL_VERSION} -current_version ${TCL_VERSION}`echo ${TCL_PATCH_LEVEL} | awk ['{match($0, "\\\.[0-9]+"); print substr($0,RSTART,RLENGTH)}']`"
789 TCL_SHLIB_LD_EXTRAS="${TCL_SHLIB_LD_EXTRAS}"' -install_name "${DYLIB_INSTALL_DIR}"/${TCL_LIB_FILE}'
790 echo "$LDFLAGS " | grep -q -- '-prebind ' && TCL_SHLIB_LD_EXTRAS="${TCL_SHLIB_LD_EXTRAS}"' -seg1addr 0xA000000'
791 TCL_SHLIB_LD_EXTRAS="${TCL_SHLIB_LD_EXTRAS}"' -sectcreate __TEXT __info_plist Tcl-Info.plist'
792 EXTRA_TCLSH_LIBS='-sectcreate __TEXT __info_plist Tclsh-Info.plist'
793 EXTRA_APP_CC_SWITCHES='-mdynamic-no-pic'
794 AC_CONFIG_FILES([Tcl-Info.plist:../macosx/Tcl-Info.plist.in Tclsh-Info.plist:../macosx/Tclsh-Info.plist.in])
795 TCL_YEAR="`date +%Y`"
796 fi
797
798 if test "$FRAMEWORK_BUILD" = "1" ; then
799 AC_DEFINE(TCL_FRAMEWORK, 1, [Is Tcl built as a framework?])
800 # Construct a fake local framework structure to make linking with
801 # '-framework Tcl' and running of tcltest work
802 AC_CONFIG_COMMANDS([Tcl.framework], [n=Tcl &&
803 f=$n.framework && v=Versions/$VERSION &&
804 rm -rf $f && mkdir -p $f/$v/Resources &&
805 ln -s $v/$n $v/Resources $f && ln -s ../../../$n $f/$v &&
806 ln -s ../../../../$n-Info.plist $f/$v/Resources/Info.plist &&
807 unset n f v
808 ], VERSION=${TCL_VERSION})
809 LD_LIBRARY_PATH_VAR="DYLD_FRAMEWORK_PATH"
810 # default install directory for bundled packages
811 if test "${libdir}" = '${exec_prefix}/lib' -o "`basename ${libdir}`" = 'Frameworks'; then
812 PACKAGE_DIR="/Library/Tcl"
813 else
814 PACKAGE_DIR="$libdir"
815 fi
816 if test "${libdir}" = '${exec_prefix}/lib'; then
817 # override libdir default
818 libdir="/Library/Frameworks"
819 fi
820 TCL_LIB_FILE="Tcl"
821 TCL_LIB_FLAG="-framework Tcl"
822 TCL_BUILD_LIB_SPEC="-F`pwd | sed -e 's/ /\\\\ /g'` -framework Tcl"
823 TCL_LIB_SPEC="-F${libdir} -framework Tcl"
824 libdir="${libdir}/Tcl.framework/Versions/\${VERSION}"
825 TCL_LIBRARY="${libdir}/Resources/Scripts"
826 includedir="${libdir}/Headers"
827 PRIVATE_INCLUDE_DIR="${libdir}/PrivateHeaders"
828 HTML_DIR="${libdir}/Resources/Documentation/Reference/Tcl"
829 EXTRA_INSTALL="install-private-headers html-tcl"
830 EXTRA_BUILD_HTML='@ln -fs contents.htm "$(HTML_INSTALL_DIR)/TclTOC.html"'
831 EXTRA_INSTALL_BINARIES='@echo "Installing Info.plist to $(LIB_INSTALL_DIR)/Resources/" && $(INSTALL_DATA_DIR) "$(LIB_INSTALL_DIR)/Resources" && $(INSTALL_DATA) Tcl-Info.plist "$(LIB_INSTALL_DIR)/Resources/Info.plist"'
832 EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Installing license.terms to $(LIB_INSTALL_DIR)/Resources/" && $(INSTALL_DATA) "$(TOP_DIR)/license.terms" "$(LIB_INSTALL_DIR)/Resources"'
833 EXTRA_INSTALL_BINARIES="$EXTRA_INSTALL_BINARIES"' && echo "Finalizing Tcl.framework" && rm -f "$(LIB_INSTALL_DIR)/../Current" && ln -s "$(VERSION)" "$(LIB_INSTALL_DIR)/../Current" && for f in "$(LIB_FILE)" tclConfig.sh Resources Headers PrivateHeaders; do rm -f "$(LIB_INSTALL_DIR)/../../$$f" && ln -s "Versions/Current/$$f" "$(LIB_INSTALL_DIR)/../.."; done && f="$(STUB_LIB_FILE)" && rm -f "$(LIB_INSTALL_DIR)/../../$$f" && ln -s "Versions/$(VERSION)/$$f" "$(LIB_INSTALL_DIR)/../.."'
834 # Don't use AC_DEFINE for the following as the framework version define
835 # needs to go into the Makefile even when using autoheader, so that we
836 # can pick up a potential make override of VERSION. Also, don't put this
837 # into CFLAGS as it should not go into tclConfig.sh
838 EXTRA_CC_SWITCHES='-DTCL_FRAMEWORK_VERSION=\"$(VERSION)\"'
839 else
840 # libdir must be a fully qualified path and not ${exec_prefix}/lib
841 eval libdir="$libdir"
842 # default install directory for bundled packages
843 PACKAGE_DIR="$libdir"
844 if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
845 TCL_LIB_FLAG="-ltcl${TCL_VERSION}"
846 else
847 TCL_LIB_FLAG="-ltcl`echo ${TCL_VERSION} | tr -d .`"
848 fi
849 TCL_BUILD_LIB_SPEC="-L`pwd | sed -e 's/ /\\\\ /g'` ${TCL_LIB_FLAG}"
850 TCL_LIB_SPEC="-L${libdir} ${TCL_LIB_FLAG}"
851 fi
852 VERSION='${VERSION}'
853 eval "CFG_TCL_SHARED_LIB_SUFFIX=${TCL_SHARED_LIB_SUFFIX}"
854 eval "CFG_TCL_UNSHARED_LIB_SUFFIX=${TCL_UNSHARED_LIB_SUFFIX}"
855 VERSION=${TCL_VERSION}
856
857 #--------------------------------------------------------------------
858 # The statements below define the symbol TCL_PACKAGE_PATH, which
859 # gives a list of directories that may contain packages. The list
860 # consists of one directory for machine-dependent binaries and
861 # another for platform-independent scripts.
862 #--------------------------------------------------------------------
863
864 if test "$FRAMEWORK_BUILD" = "1" ; then
865 test -z "$TCL_PACKAGE_PATH" && \
866 TCL_PACKAGE_PATH="~/Library/Tcl:/Library/Tcl:~/Library/Frameworks:/Library/Frameworks"
867 test -z "$TCL_MODULE_PATH" && \
868 TCL_MODULE_PATH="~/Library/Tcl /Library/Tcl"
869 elif test "$prefix/lib" != "$libdir"; then
870 test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="${libdir}:${prefix}/lib"
871 else
872 test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="${prefix}/lib"
873 fi
874
875 #--------------------------------------------------------------------
876 # The statements below define various symbols relating to Tcl
877 # stub support.
878 #--------------------------------------------------------------------
879
880 # Replace ${VERSION} with contents of ${TCL_VERSION}
881 # double-eval to account for TCL_TRIM_DOTS.
882 #
883 eval "TCL_STUB_LIB_FILE=libtclstub${TCL_UNSHARED_LIB_SUFFIX}"
884 eval "TCL_STUB_LIB_FILE=\"${TCL_STUB_LIB_FILE}\""
885 eval "TCL_STUB_LIB_DIR=\"${libdir}\""
886
887 if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then
888 TCL_STUB_LIB_FLAG="-ltclstub${TCL_VERSION}"
889 else
890 TCL_STUB_LIB_FLAG="-ltclstub`echo ${TCL_VERSION} | tr -d .`"
891 fi
892
893 TCL_BUILD_STUB_LIB_SPEC="-L`pwd | sed -e 's/ /\\\\ /g'` ${TCL_STUB_LIB_FLAG}"
894 TCL_STUB_LIB_SPEC="-L${TCL_STUB_LIB_DIR} ${TCL_STUB_LIB_FLAG}"
895 TCL_BUILD_STUB_LIB_PATH="`pwd`/${TCL_STUB_LIB_FILE}"
896 TCL_STUB_LIB_PATH="${TCL_STUB_LIB_DIR}/${TCL_STUB_LIB_FILE}"
897
898 # Install time header dir can be set via --includedir
899 eval "TCL_INCLUDE_SPEC=\"-I${includedir}\""
900
901 #------------------------------------------------------------------------
902 # tclConfig.sh refers to this by a different name
903 #------------------------------------------------------------------------
904
905 TCL_SHARED_BUILD=${SHARED_BUILD}
906
907 AC_SUBST(TCL_VERSION)
908 AC_SUBST(TCL_MAJOR_VERSION)
909 AC_SUBST(TCL_MINOR_VERSION)
910 AC_SUBST(TCL_PATCH_LEVEL)
911 AC_SUBST(TCL_YEAR)
912 AC_SUBST(PKG_CFG_ARGS)
913
914 AC_SUBST(TCL_LIB_FILE)
915 AC_SUBST(TCL_LIB_FLAG)
916 AC_SUBST(TCL_LIB_SPEC)
917 AC_SUBST(TCL_STUB_LIB_FILE)
918 AC_SUBST(TCL_STUB_LIB_FLAG)
919 AC_SUBST(TCL_STUB_LIB_SPEC)
920 AC_SUBST(TCL_STUB_LIB_PATH)
921 AC_SUBST(TCL_INCLUDE_SPEC)
922 AC_SUBST(TCL_BUILD_STUB_LIB_SPEC)
923 AC_SUBST(TCL_BUILD_STUB_LIB_PATH)
924
925 AC_SUBST(TCL_SRC_DIR)
926 AC_SUBST(CFG_TCL_SHARED_LIB_SUFFIX)
927 AC_SUBST(CFG_TCL_UNSHARED_LIB_SUFFIX)
928
929 AC_SUBST(TCL_SHARED_BUILD)
930 AC_SUBST(LD_LIBRARY_PATH_VAR)
931
932 AC_SUBST(TCL_BUILD_LIB_SPEC)
933
934 AC_SUBST(TCL_LIB_VERSIONS_OK)
935 AC_SUBST(TCL_SHARED_LIB_SUFFIX)
936 AC_SUBST(TCL_UNSHARED_LIB_SUFFIX)
937
938 AC_SUBST(TCL_HAS_LONGLONG)
939
940 AC_SUBST(INSTALL_TZDATA)
941
942 AC_SUBST(DTRACE_SRC)
943 AC_SUBST(DTRACE_HDR)
944 AC_SUBST(DTRACE_OBJ)
945 AC_SUBST(MAKEFILE_SHELL)
946
947 AC_SUBST(BUILD_DLTEST)
948 AC_SUBST(TCL_PACKAGE_PATH)
949 AC_SUBST(TCL_MODULE_PATH)
950
951 AC_SUBST(TCL_LIBRARY)
952 AC_SUBST(PRIVATE_INCLUDE_DIR)
953 AC_SUBST(HTML_DIR)
954 AC_SUBST(PACKAGE_DIR)
955
956 AC_SUBST(EXTRA_CC_SWITCHES)
957 AC_SUBST(EXTRA_APP_CC_SWITCHES)
958 AC_SUBST(EXTRA_INSTALL)
959 AC_SUBST(EXTRA_INSTALL_BINARIES)
960 AC_SUBST(EXTRA_BUILD_HTML)
961 AC_SUBST(EXTRA_TCLSH_LIBS)
962
963 AC_SUBST(DLTEST_LD)
964 AC_SUBST(DLTEST_SUFFIX)
965
966 dnl Disable the automake-friendly normalization of LIBOBJS
967 dnl performed by autoconf 2.53 and later. It's not correct for us.
968 define([_AC_LIBOBJS_NORMALIZE],[])
969 AC_CONFIG_FILES([
970 Makefile:../unix/Makefile.in
971 dltest/Makefile:../unix/dltest/Makefile.in
972 tclConfig.sh:../unix/tclConfig.sh.in
973 tcl.pc:../unix/tcl.pc.in
974 ])
975 AC_OUTPUT
976
977 dnl Local Variables:
978 dnl mode: autoconf
979 dnl End: