pike.git/
src/
configure.in
Branch:
Tag:
Non-build tags
All tags
No tags
2000-08-17
2000-08-17 20:17:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>
d87ab4b654f04810429fb1cf144d1396c720c4ef (
23
lines) (+
19
/-
4
)
[
Show
|
Annotate
]
Branch:
7.9
Now uses the 64bit Windows APIs if _WIN64 or __WIN64__ is defined.
Rev: src/configure.in:1.395
1:
-
AC_REVISION("$Id: configure.in,v 1.
394
2000/08/17
18
:
59
:
11
grubba Exp $")
+
AC_REVISION("$Id: configure.in,v 1.
395
2000/08/17
20
:
17
:
07
grubba Exp $")
AC_INIT(interpret.c) AC_CONFIG_HEADER(machine.h)
1392:
AC_CHECK_LIB(socket, socket) if test x"$pike_cv_sys_os" = xWindows_NT ; then
-
#
FIXME:
These
look
suspiciouly
much
like
32bit
versions.
-
#
We
probably
want
to
use
64bit
versions
on
IA64.
+
AC_MSG_CHECKING(if
we
should
use
the
64
bit
API)
+
AC_CACHE_VAL(pike_cv_sys_win64, [
+
AC_EGREP_CPP(yes, [
+
#
if
defined(_WIN64)
||
defined(__WIN64__)
+
yes
+
#else
+
no
+
#endif
+
],
[
pike_cv_sys_win64=yes
],
[
pike_cv_sys_win64=no ])
+
])
+
if test "x$pike_cv_sys_win64" = "xyes"; then
+
AC_MSG_RESULT(yes)
+
LIBS="-lkernel64 -lws2_64 -ladvapi64 $LIBS"
+
else
+
AC_MSG_RESULT(no)
LIBS="-lkernel32 -lws2_32 -ladvapi32 $LIBS" fi
-
+
fi
AC_CHECK_LIB(nsl, gethostbyname) AC_CHECK_LIB(rt, nanosleep)