OSDN Git Service

Initial revision
authorjsm <jsm>
Wed, 17 Nov 1999 02:20:44 +0000 (02:20 +0000)
committerjsm <jsm>
Wed, 17 Nov 1999 02:20:44 +0000 (02:20 +0000)
tcl/cygwin/Makefile.am [new file with mode: 0644]
tcl/cygwin/aclocal.m4 [new file with mode: 0644]
tcl/cygwin/cygwin-cache [new file with mode: 0644]

diff --git a/tcl/cygwin/Makefile.am b/tcl/cygwin/Makefile.am
new file mode 100644 (file)
index 0000000..29f3e74
--- /dev/null
@@ -0,0 +1,88 @@
+## Process this file with automake to produce Makefile.in.
+
+AUTOMAKE_OPTIONS = cygnus
+
+updir=$(srcdir)/..
+vpath % $(updir)/generic:$(updir)/unix
+
+noinst_LIBRARIES = libtcl_cygwin.a
+
+libtcl_cygwin_a_SOURCES = \
+       panic.c \
+       regexp.c \
+       tclAsync.c \
+       tclBasic.c \
+       tclBinary.c \
+       tclCkalloc.c \
+       tclClock.c \
+       tclCmdAH.c \
+       tclCmdIL.c \
+       tclCmdMZ.c \
+       tclCompExpr.c \
+       tclCompile.c \
+       tclDate.c \
+       tclEnv.c \
+       tclEvent.c \
+       tclExecute.c \
+       tclFCmd.c \
+       tclFileName.c \
+       tclGet.c \
+       tclHash.c \
+       tclHistory.c \
+       tclIndexObj.c \
+       tclInterp.c \
+       tclIO.c \
+       tclIOCmd.c \
+       tclIOSock.c \
+       tclIOUtil.c \
+       tclLink.c \
+       tclListObj.c \
+       tclLoad.c \
+       tclLoadNone.c \
+       tclMain.c \
+       tclNamesp.c \
+       tclNotify.c \
+       tclObj.c \
+        tclParse.c \
+       tclPipe.c \
+       tclPkg.c \
+       tclPosixStr.c \
+       tclPreserve.c \
+       tclProc.c \
+        tclTestProcBodyObj.c \
+       tclResolve.c \
+       tclStringObj.c \
+       tclTest.c \
+       tclTestObj.c \
+       tclTimer.c \
+       tclUtil.c \
+       tclVar.c \
+       tclAppInit.c \
+       tclMtherr.c \
+       tclUnixChan.c \
+       tclUnixEvent.c \
+       tclUnixFCmd.c \
+       tclUnixFile.c \
+       tclUnixNotfy.c \
+       tclUnixPipe.c \
+       tclUnixSock.c \
+       tclUnixTest.c \
+       tclUnixTime.c \
+       tclUnixInit.c
+
+# tooldir = $(exec_prefix)/$(host_alias)
+
+TCL_LIBRARY =  @datadir@/tcl$(VERSION)
+TCL_PACKAGE_PATH = @TCL_PACKAGE_PATH@
+
+INCLUDES = -I$(updir)/generic
+AM_CFLAGS = -D__TCL_UNIX_VARIANT -DTCL_LIBRARY='"$(TCL_LIBRARY)"' -DTCL_PACKAGE_PATH='"$(TCL_PACKAGE_PATH)"'
+
+# $(OBJECTS): termcap.h pathnames.h
+
+# install-data-local:
+#      $(INSTALL_DATA) $(srcdir)/termcap $(sysconfdir)/termcap
+#      $(INSTALL_DATA) $(srcdir)/termcap.h $(tooldir)/include/termcap.h
+
+# install-exec-local: $(noinst_LIBRARIES)
+#      $(INSTALL) libtermcap.a $(tooldir)/lib/libtermcap.a
diff --git a/tcl/cygwin/aclocal.m4 b/tcl/cygwin/aclocal.m4
new file mode 100644 (file)
index 0000000..f5379a5
--- /dev/null
@@ -0,0 +1,137 @@
+dnl aclocal.m4 generated automatically by aclocal 1.4
+
+dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
+dnl This file is free software; the Free Software Foundation
+dnl gives unlimited permission to copy and/or distribute it,
+dnl with or without modifications, as long as this notice is preserved.
+
+dnl This program is distributed in the hope that it will be useful,
+dnl but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+dnl PARTICULAR PURPOSE.
+
+# Do all the work for Automake.  This macro actually does too much --
+# some checks are only needed if your package does certain things.
+# But this isn't really a big deal.
+
+# serial 1
+
+dnl Usage:
+dnl AM_INIT_AUTOMAKE(package,version, [no-define])
+
+AC_DEFUN(AM_INIT_AUTOMAKE,
+[AC_REQUIRE([AC_PROG_INSTALL])
+PACKAGE=[$1]
+AC_SUBST(PACKAGE)
+VERSION=[$2]
+AC_SUBST(VERSION)
+dnl test to see if srcdir already configured
+if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
+  AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
+fi
+ifelse([$3],,
+AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
+AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package]))
+AC_REQUIRE([AM_SANITY_CHECK])
+AC_REQUIRE([AC_ARG_PROGRAM])
+dnl FIXME This is truly gross.
+missing_dir=`cd $ac_aux_dir && pwd`
+AM_MISSING_PROG(ACLOCAL, aclocal, $missing_dir)
+AM_MISSING_PROG(AUTOCONF, autoconf, $missing_dir)
+AM_MISSING_PROG(AUTOMAKE, automake, $missing_dir)
+AM_MISSING_PROG(AUTOHEADER, autoheader, $missing_dir)
+AM_MISSING_PROG(MAKEINFO, makeinfo, $missing_dir)
+AC_REQUIRE([AC_PROG_MAKE_SET])])
+
+#
+# Check to make sure that the build environment is sane.
+#
+
+AC_DEFUN(AM_SANITY_CHECK,
+[AC_MSG_CHECKING([whether build environment is sane])
+# Just in case
+sleep 1
+echo timestamp > conftestfile
+# Do `set' in a subshell so we don't clobber the current shell's
+# arguments.  Must try -L first in case configure is actually a
+# symlink; some systems play weird games with the mod time of symlinks
+# (eg FreeBSD returns the mod time of the symlink's containing
+# directory).
+if (
+   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
+   if test "[$]*" = "X"; then
+      # -L didn't work.
+      set X `ls -t $srcdir/configure conftestfile`
+   fi
+   if test "[$]*" != "X $srcdir/configure conftestfile" \
+      && test "[$]*" != "X conftestfile $srcdir/configure"; then
+
+      # If neither matched, then we have a broken ls.  This can happen
+      # if, for instance, CONFIG_SHELL is bash and it inherits a
+      # broken ls alias from the environment.  This has actually
+      # happened.  Such a system could not be considered "sane".
+      AC_MSG_ERROR([ls -t appears to fail.  Make sure there is not a broken
+alias in your environment])
+   fi
+
+   test "[$]2" = conftestfile
+   )
+then
+   # Ok.
+   :
+else
+   AC_MSG_ERROR([newly created file is older than distributed files!
+Check your system clock])
+fi
+rm -f conftest*
+AC_MSG_RESULT(yes)])
+
+dnl AM_MISSING_PROG(NAME, PROGRAM, DIRECTORY)
+dnl The program must properly implement --version.
+AC_DEFUN(AM_MISSING_PROG,
+[AC_MSG_CHECKING(for working $2)
+# Run test in a subshell; some versions of sh will print an error if
+# an executable is not found, even if stderr is redirected.
+# Redirect stdin to placate older versions of autoconf.  Sigh.
+if ($2 --version) < /dev/null > /dev/null 2>&1; then
+   $1=$2
+   AC_MSG_RESULT(found)
+else
+   $1="$3/missing $2"
+   AC_MSG_RESULT(missing)
+fi
+AC_SUBST($1)])
+
+# Add --enable-maintainer-mode option to configure.
+# From Jim Meyering
+
+# serial 1
+
+AC_DEFUN(AM_MAINTAINER_MODE,
+[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+  dnl maintainer-mode is disabled by default
+  AC_ARG_ENABLE(maintainer-mode,
+[  --enable-maintainer-mode enable make rules and dependencies not useful
+                          (and sometimes confusing) to the casual installer],
+      USE_MAINTAINER_MODE=$enableval,
+      USE_MAINTAINER_MODE=no)
+  AC_MSG_RESULT($USE_MAINTAINER_MODE)
+  AM_CONDITIONAL(MAINTAINER_MODE, test $USE_MAINTAINER_MODE = yes)
+  MAINT=$MAINTAINER_MODE_TRUE
+  AC_SUBST(MAINT)dnl
+]
+)
+
+# Define a conditional.
+
+AC_DEFUN(AM_CONDITIONAL,
+[AC_SUBST($1_TRUE)
+AC_SUBST($1_FALSE)
+if $2; then
+  $1_TRUE=
+  $1_FALSE='#'
+else
+  $1_TRUE='#'
+  $1_FALSE=
+fi])
+
diff --git a/tcl/cygwin/cygwin-cache b/tcl/cygwin/cygwin-cache
new file mode 100644 (file)
index 0000000..aaf5fd4
--- /dev/null
@@ -0,0 +1,67 @@
+ac_cv_type_size_t=${ac_cv_type_size_t='yes'}
+ac_cv_func_waitpid=${ac_cv_func_waitpid='yes'}
+ac_cv_header_stdlib_h=${ac_cv_header_stdlib_h='yes'}
+ac_cv_func_BSDgettimeofday=${ac_cv_func_BSDgettimeofday='no'}
+ac_cv_func_strncasecmp=${ac_cv_func_strncasecmp='yes'}
+ac_cv_func_strtoul=${ac_cv_func_strtoul='yes'}
+ac_cv_header_sys_time_h=${ac_cv_header_sys_time_h='yes'}
+ac_cv_func_strtol=${ac_cv_func_strtol='yes'}
+ac_cv_func_sin=${ac_cv_func_sin='yes'}
+ac_cv_func_wait3=${ac_cv_func_wait3='yes'}
+ac_cv_header_sys_wait_h=${ac_cv_header_sys_wait_h='yes'}
+tcl_cv_lib_sockets=${tcl_cv_lib_sockets=''}
+ac_cv_header_float_h=${ac_cv_header_float_h='yes'}
+ac_cv_c_char_unsigned=${ac_cv_c_char_unsigned='no'}
+ac_cv_lib_ieee_main=${ac_cv_lib_ieee_main='no'}
+ac_cv_func_uname=${ac_cv_func_uname='yes'}
+ac_cv_func_strstr=${ac_cv_func_strstr='yes'}
+ac_cv_func_tmpnam=${ac_cv_func_tmpnam='yes'}
+ac_cv_type_mode_t=${ac_cv_type_mode_t='yes'}
+ac_cv_header_values_h=${ac_cv_header_values_h='no'}
+ac_cv_header_limits_h=${ac_cv_header_limits_h='yes'}
+ac_cv_func_getwd=${ac_cv_func_getwd='yes'}
+ac_cv_header_net_errno_h=${ac_cv_header_net_errno_h='no'}
+ac_cv_func_gettimeofday=${ac_cv_func_gettimeofday='yes'}
+ac_cv_header_stdc=${ac_cv_header_stdc='yes'}
+ac_cv_header_time=${ac_cv_header_time='yes'}
+ac_cv_type_signal=${ac_cv_type_signal='void'}
+ac_cv_header_unistd_h=${ac_cv_header_unistd_h='yes'}
+ac_cv_header_string_h=${ac_cv_header_string_h='yes'}
+ac_cv_struct_tm_zone=${ac_cv_struct_tm_zone='no'}
+ac_cv_header_sys_filio_h=${ac_cv_header_sys_filio_h='no'}
+ac_cv_header_errno_h=${ac_cv_header_errno_h='yes'}
+ac_cv_func_strerror=${ac_cv_func_strerror='yes'}
+ac_cv_type_pid_t=${ac_cv_type_pid_t='yes'}
+ac_cv_func_connect=${ac_cv_func_connect='yes'}
+ac_cv_struct_st_blksize=${ac_cv_struct_st_blksize='yes'}
+ac_cv_func_vfork=${ac_cv_func_vfork='yes'}
+ac_cv_struct_tm=${ac_cv_struct_tm='time.h'}
+ac_cv_header_sys_ioctl_h=${ac_cv_header_sys_ioctl_h='yes'}
+ac_cv_lib_dl_dlopen=${ac_cv_lib_dl_dlopen='no'}
+ac_cv_type_uid_t=${ac_cv_type_uid_t='yes'}
+ac_cv_func_strtod=${ac_cv_func_strtod='yes'}
+ac_cv_var_tzname=${ac_cv_var_tzname='no'}
+ac_cv_header_dlfcn_h=${ac_cv_header_dlfcn_h='yes'}
+ac_cv_lib_inet_main=${ac_cv_lib_inet_main='no'}
+ac_cv_func_opendir=${ac_cv_func_opendir='yes'}
+ac_cv_objext=${ac_cv_objext='o'}
+cat <<'EOF' >> confdefs.h
+#define HAVE_GETCWD 1
+#define HAVE_OPENDIR 1
+#define HAVE_STRSTR 1
+#define HAVE_STRTOL 1
+#define HAVE_TMPNAM 1
+#define HAVE_WAITPID 1
+#define NO_VALUES_H 1
+#define HAVE_UNISTD_H 1
+#define USE_TERMIOS 1
+#define HAVE_SYS_TIME_H 1
+#define TIME_WITH_SYS_TIME 1
+#define HAVE_ST_BLKSIZE 1
+#define STDC_HEADERS 1
+#define NO_UNION_WAIT 1
+#define NEED_MATHERR 1
+#define RETSIGTYPE void
+#define HAVE_SIGNED_CHAR 1
+#define HAVE_SYS_IOCTL_H 1
+EOF