mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-21 04:54:48 +02:00
configure file needed unix style LF format
configure file had Windows DOS style CRLF, but needs to have LF format
This commit is contained in:
parent
f384477c6d
commit
47df66126a
4
config.h
4
config.h
@ -83,7 +83,7 @@
|
|||||||
/* #undef BSD_AUTH */
|
/* #undef BSD_AUTH */
|
||||||
|
|
||||||
/* Define if you want to specify the path to your lastlog file */
|
/* Define if you want to specify the path to your lastlog file */
|
||||||
#define CONF_LASTLOG_FILE "/var/log/lastlog"
|
/* #undef CONF_LASTLOG_FILE */
|
||||||
|
|
||||||
/* Define if you want to specify the path to your utmp file */
|
/* Define if you want to specify the path to your utmp file */
|
||||||
#define CONF_UTMP_FILE "/var/run/utmp"
|
#define CONF_UTMP_FILE "/var/run/utmp"
|
||||||
@ -1640,5 +1640,7 @@
|
|||||||
#define HAVE_DECL_NFDBITS 0
|
#define HAVE_DECL_NFDBITS 0
|
||||||
#define HAVE_DECL_HOWMANY 0
|
#define HAVE_DECL_HOWMANY 0
|
||||||
|
|
||||||
|
#define WIN32_ZLIB_NO 1
|
||||||
|
|
||||||
//#define HAVE_ARC4RANDOM_UNIFORM 1
|
//#define HAVE_ARC4RANDOM_UNIFORM 1
|
||||||
|
|
||||||
|
109
configure
vendored
109
configure
vendored
@ -5847,79 +5847,42 @@ rm -f core conftest.err conftest.$ac_objext \
|
|||||||
# -fstack-protector-all doesn't always work for some GCC versions
|
# -fstack-protector-all doesn't always work for some GCC versions
|
||||||
# and/or platforms, so we test if we can. If it's not supported
|
# and/or platforms, so we test if we can. If it's not supported
|
||||||
# on a given platform gcc will emit a warning so we use -Werror.
|
# on a given platform gcc will emit a warning so we use -Werror.
|
||||||
if test "x$use_stack_protector" = "x1"; then
|
# if test "x$use_stack_protector" = "x1"; then
|
||||||
for t in -fstack-protector-all -fstack-protector; do
|
# for t in -fstack-protector-all -fstack-protector; do
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports $t" >&5
|
# AC_MSG_CHECKING([if $CC supports $t])
|
||||||
$as_echo_n "checking if $CC supports $t... " >&6; }
|
# saved_CFLAGS="$CFLAGS"
|
||||||
saved_CFLAGS="$CFLAGS"
|
# saved_LDFLAGS="$LDFLAGS"
|
||||||
saved_LDFLAGS="$LDFLAGS"
|
# CFLAGS="$CFLAGS $t -Werror"
|
||||||
CFLAGS="$CFLAGS $t -Werror"
|
# LDFLAGS="$LDFLAGS $t -Werror"
|
||||||
LDFLAGS="$LDFLAGS $t -Werror"
|
# AC_LINK_IFELSE(
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
# [AC_LANG_PROGRAM([[ #include <stdio.h> ]],
|
||||||
/* end confdefs.h. */
|
# [[
|
||||||
#include <stdio.h>
|
# char x[256];
|
||||||
int
|
# snprintf(x, sizeof(x), "XXX");
|
||||||
main ()
|
# ]])],
|
||||||
{
|
# [ AC_MSG_RESULT([yes])
|
||||||
|
# CFLAGS="$saved_CFLAGS $t"
|
||||||
char x[256];
|
# LDFLAGS="$saved_LDFLAGS $t"
|
||||||
snprintf(x, sizeof(x), "XXX");
|
# AC_MSG_CHECKING([if $t works])
|
||||||
|
# AC_RUN_IFELSE(
|
||||||
;
|
# [AC_LANG_PROGRAM([[ #include <stdio.h> ]],
|
||||||
return 0;
|
# [[
|
||||||
}
|
# char x[256];
|
||||||
_ACEOF
|
# snprintf(x, sizeof(x), "XXX");
|
||||||
if ac_fn_c_try_link "$LINENO"; then :
|
# ]])],
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
# [ AC_MSG_RESULT([yes])
|
||||||
$as_echo "yes" >&6; }
|
# break ],
|
||||||
CFLAGS="$saved_CFLAGS $t"
|
# [ AC_MSG_RESULT([no]) ],
|
||||||
LDFLAGS="$saved_LDFLAGS $t"
|
# [ AC_MSG_WARN([cross compiling: cannot test])
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $t works" >&5
|
# break ]
|
||||||
$as_echo_n "checking if $t works... " >&6; }
|
# )
|
||||||
if test "$cross_compiling" = yes; then :
|
# ],
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cross compiling: cannot test" >&5
|
# [ AC_MSG_RESULT([no]) ]
|
||||||
$as_echo "$as_me: WARNING: cross compiling: cannot test" >&2;}
|
# )
|
||||||
break
|
# CFLAGS="$saved_CFLAGS"
|
||||||
|
# LDFLAGS="$saved_LDFLAGS"
|
||||||
else
|
# done
|
||||||
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
# fi
|
||||||
/* end confdefs.h. */
|
|
||||||
#include <stdio.h>
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
|
|
||||||
char x[256];
|
|
||||||
snprintf(x, sizeof(x), "XXX");
|
|
||||||
|
|
||||||
;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
_ACEOF
|
|
||||||
if ac_fn_c_try_run "$LINENO"; then :
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
||||||
$as_echo "yes" >&6; }
|
|
||||||
break
|
|
||||||
else
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
||||||
$as_echo "no" >&6; }
|
|
||||||
fi
|
|
||||||
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
|
|
||||||
conftest.$ac_objext conftest.beam conftest.$ac_ext
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
else
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
||||||
$as_echo "no" >&6; }
|
|
||||||
|
|
||||||
fi
|
|
||||||
rm -f core conftest.err conftest.$ac_objext \
|
|
||||||
conftest$ac_exeext conftest.$ac_ext
|
|
||||||
CFLAGS="$saved_CFLAGS"
|
|
||||||
LDFLAGS="$saved_LDFLAGS"
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
|
|
||||||
if test -z "$have_llong_max"; then
|
if test -z "$have_llong_max"; then
|
||||||
# retry LLONG_MAX with -std=gnu99, needed on some Linuxes
|
# retry LLONG_MAX with -std=gnu99, needed on some Linuxes
|
||||||
|
@ -1,2 +1,4 @@
|
|||||||
@REM ./configure --build=i686-pc-mingw32 --host=i686-pc-mingw32 --with-ssl-dir=../openssl-1.0.2d --with-zlib=../zlib-1.2.8 --with-kerberos5
|
autoreconf
|
||||||
./configure --build=i686-pc-mingw32 --host=i686-pc-mingw32 --with-ssl-dir=../openssl-1.0.2d --with-kerberos5
|
##./configure --build=i686-pc-mingw32 --host=i686-pc-mingw32 --with-ssl-dir=../openssl-1.0.2d --with-kerberos5 --with-zlib=../zlib-1.2.8
|
||||||
|
./configure --build=i686-pc-mingw32 --host=i686-pc-mingw32 --with-ssl-dir=../openssl-1.0.2d --with-kerberos5
|
||||||
|
cat config.h.tail >> config.h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user