Commit c60ee5e7 authored by Juanma Barranquero's avatar Juanma Barranquero

Cygwin support patch.

parent 2454c12d
2003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
* Makefile.in: Use @EXEEXT@ for Cygwin.
Use USERNAME if LOGNAME is not set (for Cygwin).
* configure.in:
* configure: Add opsys=cygwin.
2003-01-29 Kim F. Storm <storm@cua.dk>
* AUTHORS: Regenerated using new format (after fixing numerous
......
......@@ -215,8 +215,8 @@ INSTALL_STRIP =
TRANSFORM = @program_transform_name@
# What emacs should be called when installed.
EMACS = `echo emacs | sed '$(TRANSFORM)'`
EMACSFULL = `echo emacs-${version} | sed '$(TRANSFORM)'`
EMACS = `echo emacs@EXEEXT@ | sed '$(TRANSFORM)'`
EMACSFULL = `echo emacs-${version}@EXEEXT@ | sed '$(TRANSFORM)'`
# Subdirectories to make recursively. `lisp' is not included
# because the compiled lisp files are part of the distribution.
......@@ -358,7 +358,7 @@ install-arch-dep: mkdir
exec_prefix=${exec_prefix} bindir=${bindir} \
libexecdir=${libexecdir} archlibdir=${archlibdir} \
INSTALL_STRIP=${INSTALL_STRIP})
${INSTALL_PROGRAM} $(INSTALL_STRIP) src/emacs ${bindir}/$(EMACSFULL)
${INSTALL_PROGRAM} $(INSTALL_STRIP) src/emacs@EXEEXT@ ${bindir}/$(EMACSFULL)
-chmod 1755 ${bindir}/$(EMACSFULL)
rm -f ${bindir}/$(EMACS)
-ln ${bindir}/$(EMACSFULL) ${bindir}/$(EMACS)
......@@ -406,7 +406,7 @@ install-arch-indep: mkdir info
(cd $${dir}; tar -chf - . ) \
| (cd $${dest}; umask 022; \
tar -xvf - && cat > /dev/null) || exit 1; \
find $${dest} -exec chown $$LOGNAME {} ';' ;\
find $${dest} -exec chown $${LOGNAME:-$$USERNAME} {} ';' ;\
for subdir in `find $${dest} -type d ! -name RCS ! -name CVS -print` ; do \
chmod a+rx $${subdir} ; \
rm -rf $${subdir}/RCS ; \
......@@ -445,7 +445,7 @@ install-arch-indep: mkdir info
echo "Copying etc/DOC-* to ${docdir} ..." ; \
(cd ./etc; tar -chf - DOC*) \
|(cd ${docdir}; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \
(cd $(docdir); chown $${LOGNAME} DOC*; chmod a+r DOC*; \
(cd $(docdir); chown $${LOGNAME:-$$USERNAME} DOC*; chmod a+r DOC*; \
if test "`echo DOC-*`" != "DOC-*"; then rm DOC; fi); \
else true; fi
-unset CDPATH; \
......@@ -457,7 +457,7 @@ install-arch-indep: mkdir info
echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \
(cd lisp; tar -chf - *.el *.elc) \
|(cd ${lispdir}; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \
(cd ${lispdir}; find . -exec chown $${LOGNAME} {} ';') ; \
(cd ${lispdir}; find . -exec chown $${LOGNAME:-$$USERNAME} {} ';') ; \
else true; fi
-unset CDPATH; \
thisdir=`/bin/pwd`; \
......@@ -735,7 +735,7 @@ maybe_bootstrap:
bootstrap: bootstrap-clean-before info FRC
(cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean)
(cd src; $(MAKE) $(MFLAGS) bootstrap)
(cd lisp; $(MAKE) $(MFLAGS) bootstrap EMACS=../src/bootstrap-emacs)
(cd lisp; $(MAKE) $(MFLAGS) bootstrap EMACS=../src/bootstrap-emacs@EXEEXT@)
(cd src; $(MAKE) $(MFLAGS) mostlyclean)
$(MAKE) $(MFLAGS) all
(cd lisp; $(MAKE) $(MFLAGS) bootstrap-after)
......
......@@ -2493,6 +2493,7 @@ case "${canonical}" in
i[3456]86-*-* )
machine=intel386
case "${canonical}" in
*-cygwin ) opsys=cygwin ;;
*-lynxos* ) opsys=lynxos ;;
*-isc1.* | *-isc2.[01]* ) opsys=386-ix ;;
*-isc2.2* ) opsys=isc2-2 ;;
......
......@@ -1053,6 +1053,7 @@ case "${canonical}" in
i[3456]86-*-* )
machine=intel386
case "${canonical}" in
*-cygwin ) opsys=cygwin ;;
*-lynxos* ) opsys=lynxos ;;
*-isc1.* | *-isc2.[01]* ) opsys=386-ix ;;
*-isc2.2* ) opsys=isc2-2 ;;
......
2003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
* MACHINES: Added Cygwin.
2003-01-27 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* DEBUG: Added note about xmon.
......
......@@ -109,7 +109,7 @@ Amdahl UTS (580-amdahl-sysv)
Apple Macintosh running Mac OS X
For installtion on all versions of the Mac OS platform, see the file
For installtion on all versions of the Mac OS platform, see the file
mac/INSTALL.
Apple PowerPC Macintosh running GNU/Linux
......@@ -163,8 +163,8 @@ Apollo running X Windows (m68k-apollo-bsd)
relocation." This means you are linking with some code that has compressed
data sections. In some cases this comes from linking with X libraries. Try
using shared X libraries instead. With some versions of Domain/OS this is
as simple as removing the "-lX11" from the LIBX line in src/Makefile.
as simple as removing the "-lX11" from the LIBX line in src/Makefile.
When running the configure script, use the configuration name
"m68k-apollo-bsd". You will also need to use the "-with-gcc=no" and
"-with-x" options. Depending upon your site configuration, you may have to
......@@ -180,9 +180,9 @@ Apollo running X Windows (m68k-apollo-bsd)
AT&T 3b2, 3b5, 3b15, 3b20 (we32k-att-sysv)
Emacs will probably not work with certain kernel constants too small.
Emacs will probably not work with certain kernel constants too small.
In param.h CDLIMIT should be at least (1L << 12) in order to allow
In param.h CDLIMIT should be at least (1L << 12) in order to allow
processes to write up to 2 Mbyte files. This parameter is configurable
by normal means in /etc/master.d/kernel; examine that file for the
symbol CDLIMIT or ULIMIT, and raise it by several powers of 2. Then
......@@ -220,7 +220,7 @@ Bull DPX/2 models 2nn or 3nn (m68k-bull-sysv3)
_POSIX_SOURCE, _XOPEN_SOURCE and _BULL_SOURCE.
On bos2.00.45 there is a bug that makes the F_SETOWN fcntl
call enters in an infinite loop. F_SETOWN_BUG has been defined to avoid
call enters in an infinite loop. F_SETOWN_BUG has been defined to avoid
calling it.
Bull DPX/20 (rs6000-bull-bosx)
......@@ -274,7 +274,7 @@ Data General Aviion (m88k-dg-dgux)
System versions other than DGUX 5.4R3.00 have not been tested.
DGUX 5.4R3.10 works with 19.29 and 19.30.
DGUX R4.11 contains changes to the stdio internals and it doesn't work
with versions before 20.2 without patches. 20.2 works in interactive
mode but usually fails in batch mode. The problem is that using
......@@ -324,7 +324,7 @@ Motorola Delta 187 (m88k-motorola-sysv,
One fix is to edit those files to protect against multiple inclusion.
As of version 19.13, Emacs was reported to run under SYSVr3 and SYSVr4.
Dual running System V (m68k-dual-sysv)
As of 17.46, this worked except for a few changes
......@@ -373,7 +373,7 @@ Gould Power Node (pn-gould-bsd4.2 or pn-gould-bsd4.3)
compiling `lib-src/sorted-doc' tickles a compiler bug: remove the -g
flag to cc in the makefile.
UTX/32 1.3 has a bug in the bcopy library routine. Fix it by
UTX/32 1.3 has a bug in the bcopy library routine. Fix it by
#undef BSTRING in `src/m/gould.h'.
Version 19 incorporates support for releases 2.1 and later of UTX/32.
......@@ -421,7 +421,7 @@ Hewlett-Packard 9000 series 200 or 300 (m68k-hp-bsd or m68k-hp-hpux
some problems on 10.10 which have not been resolved. Emacs 19.34
works on HPUX 10.20 provided you compile with GCC; with the HP C
compiler, subprocess commands do not work.
On HPUX 9, Emacs sometimes crashes with SIGBUS or SIGSEGV after you
delete a frame. We think this is due to a bug in the X libraries
provided by HP. With the alternative X libraries in
......@@ -488,7 +488,7 @@ HP 9000 series 700 or 800 (Spectrum) (hppa1.0-hp-hpux or hppa1.1-hp-hpux
Some people report trouble using the GNU memory allocator under
HP/UX version 9. The problems often manifest as lots of ^@'s in the
buffer.
We are told that these problems go away if you obtain the latest
patches for the HP/UX C compiler. James J Dempsey
<jjd@spserv.bbn.com> says that this set of versions works for him:
......@@ -544,17 +544,17 @@ HITACHI SR2001/SR2201 series (hppa1.1-hitachi-hiuxwe2)
These machines are based on PA architecture running HI-UX/MPP
(based on OSF1. `MPP' stands for `Massively Parallel Processor').
Emacs 19.34 is believed to work; its pretest was tested
both on SR2001 (output of `uname -rv' is `00-01-BB 0') and
both on SR2001 (output of `uname -rv' is `00-01-BB 0') and
SR2201 (`02-00 0').
Emacs 20.7 was reported to build on a system whose `uname -rs'
output is `HI-UX/MPP 03-04'.
The machine description file is `src/m/sr2k.h' is based on
The machine description file is `src/m/sr2k.h' is based on
`src/m/hp800.h'. The system description file is `src/s/hiuxwe2.h'
based on `src/s/osf1.h'. Note that this system doesn't use COFF.
based on `src/s/osf1.h'. Note that this system doesn't use COFF.
IBM PS/2 (i386-ibm-aix1.1 or i386-ibm-aix1.2)
......@@ -624,7 +624,7 @@ Integrated Solutions `Optimum V' (m68k-isi-bsd4.2 or -bsd4.3)
BSD 4.2 (3.05e) system). 18.42 is reported to work on
a Qbus 68010 system. Has not been tried on `WorkStation' `Cluster
Compute Node' `Cluster WorkStation' or `Server Node' (Love the
StudLYCaps)
StudLYCaps)
Compilation with -O is rumored to break something.
......@@ -637,7 +637,7 @@ Intel 386 (i386-*-isc, i386-*-esix, i386-*-bsdi2,
i386-*-xenix, i386-*-freebsd, i386-*-linux-gnu,
i386-*-sol2.4, i386-*-sysv3, i386-intsys-sysv,
i386-*-sysv4, i386-*-sysv4.2,
i386-*-sysv5.3, i386-*-bsd4.2,
i386-*-sysv5.3, i386-*-bsd4.2, i386-*-cygwin,
i386-*-sco3.2v4, i386-*-bsd386, i386-*-386bsd,
i386-*-msdos, i386-*-windowsnt.
i386... can be replaced with i486... or i586...)
......@@ -651,6 +651,8 @@ Intel 386 (i386-*-isc, i386-*-esix, i386-*-bsdi2,
i386-unknown-isc3.0 as your configuration name.
Use i386-*-esix for Esix; Emacs runs as of version 19.6.
Use i386-*-linux-gnu for GNU/Linux systems; Emacs runs as of version 19.26.
Use i386-*-cygwin for Cygwin; Emacs builds as of version 21.4, in both X11
and non-X11 modes. (The Cygwin site has source and binaries for 21.2.)
Use i386-intsys-sysv for Integrated Solutions 386 machines.
It may also be correct for Microport systems.
Use i386-*-sco3.2v4 for SCO 3.2v4; Emacs runs as of version 19.26.
......@@ -698,7 +700,7 @@ Intel 386 (i386-*-isc, i386-*-esix, i386-*-bsdi2,
puts spurious spaces in `src/xmakefile'. If that happens,
specify CPP=/lib/cpp as an option when you run make.
There is no problem if you compile with GCC.
Note that use of Linux with GCC 2.4 and the DLL 4.4 libraries
requires the experimental "net 2" network patches (no relation to
Berkeley Net 2). There is a report that (some version of) Linux
......@@ -803,7 +805,7 @@ Masscomp (m68k-masscomp-rtu)
was reported for 18.36 on a Masscomp (model and version unknown but probably
a 68020 system). The report sounds like a compiler bug.
A compiler bug affecting statements like
A compiler bug affecting statements like
unsigned char k; unsigned char *p;... x = p[k];
has been reported for "C version 1.2 under RTU 3.1". We do not wish
to take the time to install the numerous workarounds required to
......@@ -941,7 +943,7 @@ Pyramid (pyramid-pyramid-bsd)
You need to build Emacs in the Berkeley universe with
the `ucb' command, as in `ucb make' or `ucb build-install'.
In OSx 4.0, it seems necessary to add the following two lines
to `src/m/pyramid.h':
#define _longjmp longjmp
......@@ -1079,8 +1081,8 @@ Sun 3, Sun 4 (sparc), Sun 386 (m68k-sun-sunos, sparc-sun-sunos, i386-sun-sunos,
19.32 works on Solaris 2.4 and 2.5. On Solaris 2.5
you may need one of these patches to prevent Emacs from crashing
when it starts up:
103093-03: [README] SunOS 5.5: kernel patch (2140557 bytes)
102832-01: [README] OpenWindows 3.5: Xview Jumbo Patch (4181613 bytes)
103093-03: [README] SunOS 5.5: kernel patch (2140557 bytes)
102832-01: [README] OpenWindows 3.5: Xview Jumbo Patch (4181613 bytes)
103242-04: [README] SunOS 5.5: linker patch (595363 bytes)
There are reports that using SunSoft cc with -xO4 -xdepend produces
......@@ -1107,7 +1109,7 @@ Sun 3, Sun 4 (sparc), Sun 386 (m68k-sun-sunos, sparc-sun-sunos, i386-sun-sunos,
`sparc-sun-sunos4.1'. For SunOS release 4.1.3 on a Sparc, use
`sparc-sun-sunos4.1.3'. Note that shared libraries are now
used by default on SunOS 4.1.
A user reported irreproducible segmentation faults when using 19.29
on Solaris 2.3 and 2.4 after compiling it with the Sun compiler.
The problem went away when GCC 2.7.0 was used instead. We do not know
......
......@@ -58,6 +58,8 @@ together with the Emacs User Manual, into the Info directory. A menu
item was added to the menu bar that makes it easy accessible
(Help->More Manuals->Introduction to Emacs Lisp).
** Support for Cygwin was added.
---
** Support for AIX 5.1 was added.
......@@ -686,7 +688,7 @@ appears in.
** The variable `cursor-in-non-selected-windows' can now be set to any
of the recognized cursor types.
+++
** The default values of `tooltip-delay' and `tooltip-hide-delay'
were changed.
......@@ -1189,7 +1191,7 @@ second case, using `foo' as a variable won't produce a warning if it's
unbound. The test must be in exactly one of the above forms (after
macro expansion), but such tests may be nested. Note that `when' and
`unless' expand to `if', but `cond' doesn't.
** New translation table `translation-table-for-input'.
+++
......@@ -1308,7 +1310,7 @@ write-file-hooks to write-file-functions,
write-contents-hooks to write-contents-functions.
Marked local-write-file-hooks as obsolete (use the LOCAL arg of `add-hook').
** The new variable `delete-frame-functions' replaces `delete-frame-hook'.
** The new variable `delete-frame-functions' replaces `delete-frame-hook'.
It was renamed to follow the naming conventions for abnormal hooks. The old
name remains available as an alias, but has been marked obsolete.
......@@ -1533,7 +1535,7 @@ responsible for removing those properties. This may be necessary
if FUNCTION adjusts point before or after inserting the object.
If UNDO is present and non-nil, it is a function that will be called
by `yank-pop' to undo the insertion of the current object. It is
called with two arguments, the start and end of the current region.
called with two arguments, the start and end of the current region.
FUNCTION may set `yank-undo-function' to override the UNDO value.
*** The functions kill-new, kill-append, and kill-region now has an
......@@ -1573,7 +1575,7 @@ supported, but new code should use the new functions.
name in addition to a process id to identify the signalled process.
*** Processes now have an associated property list where programs can
maintain process state and other per-process related information.
maintain process state and other per-process related information.
The new functions process-get and process-put are used to access, add,
and modify elements on this property list.
......
2003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
* Makefile.in: Use @EXEEXT@ for Cygwin.
2003-01-21 Dave Love <fx@gnu.org>
* etags.c (Cplusplus_help, Cjava_help): Re-phrase and avoid
......@@ -43,7 +47,7 @@
* getopt.c (const): Move outside !HAVE_CONFIG_H conditional.
(libintl.h): Include this if _LIBC. Otherwise include gettext.h.
(wchar.h): Include, maybe.
(wchar.h): Include, maybe.
(attribute_hidden): Define if not defind.
(__getopt_initialized): Use attribute_hidden.
(__libc_argc, __libc_argv): Renamed from original_argc, etc.
......@@ -204,7 +208,7 @@
* make-docfile.c (scan_c_file): Warn about missing `usage' info.
2002-07-05 Jonathan Kamens <jik@kamens.brookline.ma.us>
2002-07-05 Jonathan Kamens <jik@kamens.brookline.ma.us>
* b2m.pl: Obey the rmail file and use the unpruned header properly.
......@@ -1341,7 +1345,7 @@
* movemail.c (main): Improve error message if can't create lock file.
2000-01-28 Eric Hanchrow <offby1@blarg.net>
2000-01-28 Eric Hanchrow <offby1@blarg.net>
* emacsclient.c (socket_status): New function.
(main): If $LOGNAME or $USER exist and differ from our euid, look
......@@ -1352,7 +1356,7 @@
* emacsclient.c: Add option -a EDITOR and environment variable
ALTERNATE_EDITOR. Exec this editor if we fail to contact Emacs.
1999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
1999-12-10 Jonathan Kamens <jik@kamens.brookline.ma.us>
* movemail.c (popmail): Allow mailbox specifications of the
form `po:username:hostname'.
......@@ -1704,7 +1708,7 @@
* makefile.nt: Do string comparision of _NMAKE_VER.
1998-11-03 Theodore Jump <tjump@cais.com>
1998-11-03 Theodore Jump <tjump@cais.com>
* makefile.nt: Compile multiple source files when possible.
......@@ -2411,7 +2415,7 @@ Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
* cvtmail.c, sorted-doc.c, yow.c, emacsserver.c: Undo previous change.
1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
1996-07-15 David Mosberger-Tang <davidm@AZStarNet.com>
* cvtmail.c, sorted-doc.c, yow.c: [__GNU_LIBRARY__]: Use <string.h>.
* emacsserver.c (main) [__GNU_LIBRARY__]: Use size_t for fromlen.
......@@ -2468,11 +2472,11 @@ Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
(Pascal_functions): Increase linecharno by the correct number of
chars, inline the GET_NEW_LINE macro and delete its definition.
1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
* makefile.nt (OBJDIR, BLD): Remove macro definitions.
1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
1996-05-03 Andrew Innes <andrewi@harlequin.co.uk>
* makefile.nt (LOCAL_FLAGS): Include path to NT shadow includes.
(movemail.exe, fakemail.exe): Now built under Win32.o
......@@ -2706,7 +2710,7 @@ Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
(C_entries): Consider // as a comment start even in plain C for
the sake of Objective C parsing.
1995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
1995-12-04 Francesco Potorti` <pot@cnuce.cnr.it>
* Makefile.in (ctags): depend on etags only for simplicity;
compile with regexp support enabled.
......@@ -3423,7 +3427,7 @@ Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
defined, use simple 32-bit versions of these macros.
(main) [HAVE_SOCKETS & !HAVE_SYSVIPC]: Use these macros.
1994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1994-09-16 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* etags.c (etags_getcwd): Use getcwd if available.
......@@ -3804,9 +3808,9 @@ Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
* profile.c: New file.
1994-01-16 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
* make-docfile.c: Make the argument list output look more like the
Lisp docstrings do.
Lisp docstrings do.
(write_c_args): Take new arg FUNC. Make output
look like lisp call prototypes: (function ARG1 ARG2), upcasing args.
(scan_c_file): Pass BUF to write_c_args for FUNC arg.
......
......@@ -100,15 +100,15 @@ INSTALL_STRIP =
# Things that a user might actually run,
# which should be installed in bindir.
INSTALLABLES = etags ctags emacsclient b2m ebrowse
INSTALLABLES = etags@EXEEXT@ ctags@EXEEXT@ emacsclient@EXEEXT@ b2m@EXEEXT@ ebrowse@EXEEXT@
INSTALLABLE_SCRIPTS = rcs-checkin grep-changelog
# Things that Emacs runs internally, or during the build process,
# which should not be installed in bindir.
UTILITIES= profile digest-doc sorted-doc movemail cvtmail fakemail \
yow hexl update-game-score
UTILITIES= profile@EXEEXT@ digest-doc@EXEEXT@ sorted-doc@EXEEXT@ movemail@EXEEXT@ cvtmail@EXEEXT@ fakemail@EXEEXT@ \
yow@EXEEXT@ hexl@EXEEXT@ update-game-score@EXEEXT@
DONT_INSTALL= test-distrib make-docfile
DONT_INSTALL= test-distrib@EXEEXT@ make-docfile@EXEEXT@
# Like UTILITIES, but they're not system-dependent, and should not be
# deleted by the distclean target.
......@@ -286,12 +286,12 @@ blessmail:
maybe-blessmail: BLESSMAIL
#ifdef MOVEMAIL_NEEDS_BLESSING
/* Don\'t charge ahead and do it! Let the installer decide.
./blessmail ${archlibdir}/movemail */
./blessmail ${archlibdir}/movemail@EXEEXT@ */
@if [ `wc -l <blessmail` != 2 ] ; then \
dir=`sed -n -e 's/echo mail directory = \(.*\)/\1/p' blessmail`; \
echo Assuming $$dir is really the mail spool directory, you should; \
echo run lib-src/blessmail ${archlibdir}/movemail; \
echo as root, to give movemail appropriate permissions.; \
echo run lib-src/blessmail ${archlibdir}/movemail@EXEEXT@; \
echo as root, to give movemail@EXEEXT@ appropriate permissions.; \
echo Do that after running make install.; \
fi
#endif
......@@ -372,14 +372,14 @@ check:
@echo "We don't have any tests for GNU Emacs yet."
tags: TAGS
TAGS: etags
TAGS: etags@EXEEXT@
etags *.[ch]
/* This verifies that the non-ASCII characters in the file \`testfile\'
have not been clobbered by whatever means were used to copy and
distribute Emacs. If they were clobbered, all the .elc files were
clobbered too. */
test-distrib: ${srcdir}/test-distrib.c
test-distrib@EXEEXT@: ${srcdir}/test-distrib.c
$(CC) ${ALL_CFLAGS} -o test-distrib ${srcdir}/test-distrib.c
./test-distrib ${srcdir}/testfile
......@@ -403,34 +403,34 @@ REGEXPDEPS = $(REGEXPOBJ) $(srcdir)/../src/regex.h
regex.o: $(srcdir)/../src/regex.c $(srcdir)/../src/regex.h ../src/config.h
${CC} -c ${BASE_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c
etags: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h
etags@EXEEXT@: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h
$(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o etags
ebrowse: ${srcdir}/ebrowse.c $(GETOPTDEPS) ../src/config.h
ebrowse@EXEEXT@: ${srcdir}/ebrowse.c $(GETOPTDEPS) ../src/config.h
$(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/ebrowse.c $(GETOPTOBJS) $(LOADLIBES) -o ebrowse
/* We depend on etags to assure that parallel makes don\'t write two
etags.o files on top of each other. */
ctags: etags
ctags@EXEEXT@: etags@EXEEXT@
$(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o ctags
profile: ${srcdir}/profile.c ../src/config.h
profile@EXEEXT@: ${srcdir}/profile.c ../src/config.h
$(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile
make-docfile: ${srcdir}/make-docfile.c ../src/config.h
make-docfile@EXEEXT@: ${srcdir}/make-docfile.c ../src/config.h
$(CC) ${ALL_CFLAGS} ${srcdir}/make-docfile.c $(LOADLIBES) -o make-docfile
digest-doc: ${srcdir}/digest-doc.c
$(CC) ${ALL_CFLAGS} ${srcdir}/digest-doc.c $(LOADLIBES) -o digest-doc
digest-doc@EXEEXT@: ${srcdir}/digest-doc.c
$(CC) ${ALL_CFLAGS} ${srcdir}/digest-doc.c $(LOADLIBES) -o digest-doc
sorted-doc: ${srcdir}/sorted-doc.c ${ALLOCA}
sorted-doc@EXEEXT@: ${srcdir}/sorted-doc.c ${ALLOCA}
$(CC) ${ALL_CFLAGS} ${srcdir}/sorted-doc.c ${ALLOCA} $(LOADLIBES) -o sorted-doc
b2m: ${srcdir}/b2m.c ../src/config.h $(GETOPTDEPS)
b2m@EXEEXT@: ${srcdir}/b2m.c ../src/config.h $(GETOPTDEPS)
$(CC) ${ALL_CFLAGS} ${srcdir}/b2m.c -DVERSION="\"${version}\"" \
$(GETOPTOBJS) $(LOADLIBES) -o b2m
$(GETOPTOBJS) $(LOADLIBES) -o b2m
movemail: movemail.o pop.o $(GETOPTDEPS)
movemail@EXEEXT@: movemail.o pop.o $(GETOPTDEPS)
$(CC) ${LINK_CFLAGS} ${MOVE_FLAGS} movemail.o pop.o $(GETOPTOBJS) $(LOADLIBES) $(LIBS_MAIL) $(LIBS_MOVE) -o movemail
movemail.o: ${srcdir}/movemail.c ../src/config.h
......@@ -439,45 +439,45 @@ movemail.o: ${srcdir}/movemail.c ../src/config.h
pop.o: ${srcdir}/pop.c ../src/config.h
$(CC) -c ${CPP_CFLAGS} ${MOVE_FLAGS} ${srcdir}/pop.c
cvtmail: ${srcdir}/cvtmail.c
cvtmail@EXEEXT@: ${srcdir}/cvtmail.c
$(CC) ${ALL_CFLAGS} ${srcdir}/cvtmail.c $(LOADLIBES) -o cvtmail
fakemail: ${srcdir}/fakemail.c ../src/config.h
fakemail@EXEEXT@: ${srcdir}/fakemail.c ../src/config.h
$(CC) ${ALL_CFLAGS} ${srcdir}/fakemail.c $(LOADLIBES) -o fakemail
yow: ${srcdir}/yow.c ../src/epaths.h
yow@EXEEXT@: ${srcdir}/yow.c ../src/epaths.h
$(CC) ${ALL_CFLAGS} ${srcdir}/yow.c $(LOADLIBES) -o yow
emacsclient: ${srcdir}/emacsclient.c ../src/config.h $(GETOPTDEPS)
emacsclient@EXEEXT@: ${srcdir}/emacsclient.c ../src/config.h $(GETOPTDEPS)
$(CC) ${ALL_CFLAGS} ${srcdir}/emacsclient.c $(GETOPTOBJS) \
-DVERSION=`sed -n -e '/(defconst emacs-version/ s/^[^"]*\("[^"]*"\).*/\1/p' ${srcdir}/../lisp/version.el` \
$(LOADLIBES) -o emacsclient
hexl: ${srcdir}/hexl.c ../src/config.h
hexl@EXEEXT@: ${srcdir}/hexl.c ../src/config.h
$(CC) ${ALL_CFLAGS} ${srcdir}/hexl.c $(LOADLIBES) -o hexl
update-game-score: ${srcdir}/update-game-score.c ../src/config.h
update-game-score@EXEEXT@: ${srcdir}/update-game-score.c ../src/config.h
$(CC) ${ALL_CFLAGS} ${srcdir}/update-game-score.c \
-DHAVE_SHARED_GAME_DIR="\"$(gamedir)\"" \
$(LOADLIBES) -o update-game-score
/* These are NOT included in INSTALLABLES or UTILITIES.
See ../src/Makefile.in. */
emacstool: ${srcdir}/emacstool.c
emacstool@EXEEXT@: ${srcdir}/emacstool.c
$(CC) ${srcdir}/emacstool.c -o emacstool ${ALL_CFLAGS} \
-lsuntool -lsunwindow -lpixrect $(LOADLIBES)
/* For SUN Japanese Language Environment. */
nemacstool: ${srcdir}/emacstool.c
nemacstool@EXEEXT@: ${srcdir}/emacstool.c
$(CC) -o nemacstool -DJLE ${ALL_CFLAGS} ${srcdir}/emacstool.c \
-lsuntool -lmle -lsunwindow -lpixrect $(LOADLIBES)
xvetool: ${srcdir}/emacstool.c
xvetool@EXEEXT@: ${srcdir}/emacstool.c
$(CC) -o xvetool -DXVIEW ${ALL_CFLAGS} ${srcdir}/emacstool.c \
-lxview -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \
$(LOADLIBES)
xveterm: ${srcdir}/emacstool.c
xveterm@EXEEXT@: ${srcdir}/emacstool.c
$(CC) -o xveterm -DXVIEW -DTTERM ${ALL_CFLAGS} ${srcdir}/emacstool.c \
-lxview -lolgx -lX -I$(OPENWINHOME)/include -L$(OPENWINHOME)/lib \
$(LOADLIBES)
2003-01-31 Joe Buehler <jhpb@draco.hekimian.com>
* comint.el:
* dired-aux.el:
* dired.el:
* dirtrack.el:
* dos-w32.el:
* fast-lock.el:
* filecache.el:
* files.el:
* hippie-exp.el:
* international/mule.el:
* net/browse-url.el:
* pcomplete.el:
* recentf.el:
* shell.el:
* woman.el: Added cygwin to system-type comparisons.
2003-01-31 Francesco Potort,Al(B <pot@gnu.org>
* mail/undigest.el (rmail-forward-separator-regex): New custom
......
......@@ -2536,7 +2536,7 @@ This is used by comint's and shell's completion functions, and by shell's
directory tracking functions.")
(defvar comint-file-name-chars
(if (memq system-type '(ms-dos windows-nt))
(if (memq system-type '(ms-dos windows-nt cygwin))
"~/A-Za-z0-9_^$!#%&{}@`'.,:()-"
"~/A-Za-z0-9+@:_.$#%,={}-")
"String of characters valid in a file name.
......@@ -2661,7 +2661,7 @@ Returns t if successful."
(defun comint-dynamic-complete-as-filename ()
"Dynamically complete at point as a filename.
See `comint-dynamic-complete-filename'. Returns t if successful."
(let* ((completion-ignore-case (memq system-type '(ms-dos windows-nt)))
(let* ((completion-ignore-case (memq system-type '(ms-dos windows-nt cygwin)))
(completion-ignored-extensions comint-completion-fignore)
;; If we bind this, it breaks remote directory tracking in rlogin.el.
;; I think it was originally bound to solve file completion problems,
......@@ -2750,7 +2750,7 @@ Returns `partial' if completed as far as possible with the completion matches.
Returns `listed' if a completion listing was shown.
See also `comint-dynamic-complete-filename'."
(let* ((completion-ignore-case (memq system-type '(ms-dos windows-nt)))
(let* ((completion-ignore-case (memq system-type '(ms-dos windows-nt cygwin)))
(suffix (cond ((not comint-completion-addsuffix) "")
((not (consp comint-completion-addsuffix)) " ")
(t (cdr comint-completion-addsuffix))))
......@@ -2791,7 +2791,7 @@ See also `comint-dynamic-complete-filename'."
(defun comint-dynamic-list-filename-completions ()
"List in help buffer possible completions of the filename at point."
(interactive)
(let* ((completion-ignore-case (memq system-type '(ms-dos windows-nt)))
(let* ((completion-ignore-case (memq system-type '(ms-dos windows-nt cygwin)))
;; If we bind this, it breaks remote directory tracking in rlogin.el.
;; I think it was originally bound to solve file completion problems,
;; but subsequent changes may have made this unnecessary. sm.
......
......@@ -1258,7 +1258,7 @@ Optional arg HOW-TO is used to set the value of the into-dir variable
;; will return t because the filesystem is
;; case-insensitive, and Emacs will try to move
;; foo -> foo/foo, which fails.
(if (and (memq system-type '(ms-dos windows-nt))
(if (and (memq system-type '(ms-dos windows-nt cygwin))
(eq op-symbol 'move)
dired-one-file
(string= (downcase
......
<
......@@ -65,7 +65,7 @@ some of the `ls' switches are not supported; see the doc string of
;;;###autoload
(defvar dired-chown-program
(if (memq system-type '(hpux dgux usg-unix-v irix linux gnu/linux))
(if (memq system-type '(hpux dgux usg-unix-v irix linux gnu/linux cygwin))
"chown"
(if (file-exists-p "/usr/sbin/chown")
"/usr/sbin/chown"
......@@ -299,7 +299,7 @@ Subexpression 2 must end right before the \\n or \\r.")
'(".+" (dired-move-to-filename) nil (0 font-lock-function-name-face)))
;;
;; Symbolic links.
(list dired-re-sym
(list dired-re-sym
'(".+" (dired-move-to-filename) nil (0 font-lock-keyword-face)))
;;
;; Files suffixed with `completion-ignored-extensions'.
......@@ -530,11 +530,11 @@ If DIRNAME is already in a dired buffer, that buffer is used without refresh."
(setq buffer (create-file-buffer (directory-file-name dirname)))))
(set-buffer buffer)
(if (not new-buffer-p) ; existing buffer ...
(cond (switches ; ... but new switches
(cond (switches ; ... but new switches
;; file list may have changed
(setq dired-directory dir-or-list)
;; this calls dired-revert
(dired-sort-other switches))
(dired-sort-other switches))
;; If directory has changed on disk, offer to revert.
((if (let ((attributes (file-attributes dirname))
(modtime (visited-file-modtime)))
......@@ -1769,7 +1769,7 @@ You can then feed the file name(s) to other commands with \\[yank]."
(substring pattern matched-in-pattern))
"\\'")))