diff options
author | Darren Tucker <dtucker@zip.com.au> | 2007-03-02 17:50:03 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2007-03-02 17:50:03 +1100 |
commit | 573e3878b8faa7df21ba265b237b7b394a9fc9a7 (patch) | |
tree | ded604f2efaecddc195d27c9d02a6ff06cf689ca /configure.ac | |
parent | c3af6d4d130a35120713d937e7d5efc933e86c3a (diff) |
- (dtucker) [configure.ac] For Cygwin, read files in textmode (which allows
CRLF as well as LF lineendings) and write in binary mode. Patch from
vinschen at redhat.com.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index c596a7bd9..b6a25c9e0 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.370 2006/10/06 23:07:21 dtucker Exp $ | 1 | # $Id: configure.ac,v 1.371 2007/03/02 06:50:04 dtucker Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 1999-2004 Damien Miller | 3 | # Copyright (c) 1999-2004 Damien Miller |
4 | # | 4 | # |
@@ -15,7 +15,7 @@ | |||
15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | 16 | ||
17 | AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) | 17 | AC_INIT(OpenSSH, Portable, openssh-unix-dev@mindrot.org) |
18 | AC_REVISION($Revision: 1.370 $) | 18 | AC_REVISION($Revision: 1.371 $) |
19 | AC_CONFIG_SRCDIR([ssh.c]) | 19 | AC_CONFIG_SRCDIR([ssh.c]) |
20 | 20 | ||
21 | AC_CONFIG_HEADER(config.h) | 21 | AC_CONFIG_HEADER(config.h) |
@@ -360,7 +360,7 @@ int main(void) { exit(0); } | |||
360 | ;; | 360 | ;; |
361 | *-*-cygwin*) | 361 | *-*-cygwin*) |
362 | check_for_libcrypt_later=1 | 362 | check_for_libcrypt_later=1 |
363 | LIBS="$LIBS /usr/lib/textmode.o" | 363 | LIBS="$LIBS /usr/lib/textreadmode.o" |
364 | AC_DEFINE(HAVE_CYGWIN, 1, [Define if you are on Cygwin]) | 364 | AC_DEFINE(HAVE_CYGWIN, 1, [Define if you are on Cygwin]) |
365 | AC_DEFINE(USE_PIPES, 1, [Use PIPES instead of a socketpair()]) | 365 | AC_DEFINE(USE_PIPES, 1, [Use PIPES instead of a socketpair()]) |
366 | AC_DEFINE(DISABLE_SHADOW, 1, | 366 | AC_DEFINE(DISABLE_SHADOW, 1, |