pike.git/
src/
configure.in
Branch:
Tag:
Non-build tags
All tags
No tags
2004-03-10
2004-03-10 17:11:18 by Henrik Grubbström (Grubba) <grubba@grubba.org>
4b420bca18c37875f148651ac36b063e52b2f587 (
20
lines) (+
19
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
Added check for /dev/poll and definition of PIKE_POLL_DEVICE.
Rev: src/configure.in:1.812
1:
-
AC_REVISION("$Id: configure.in,v 1.
811
2004/03/10
09
:
42
:
13
grubba Exp $")
+
AC_REVISION("$Id: configure.in,v 1.
812
2004/03/10
17
:
11
:
18
grubba Exp $")
AC_INIT(interpret.c) AC_CONFIG_HEADER(machine.h)
2536:
# It seems buggy on Solaris 7/x86. if test "x$with_devpoll" = "xno"; then :; else AC_CHECK_HEADERS(sys/devpoll.h)
+
+
if test "x$ac_cv_header_sys_devpoll_h" = "xyes"; then
+
AC_MSG_CHECKING(for poll device)
+
AC_CACHE_VAL(pike_cv_device_devpoll, [
+
pike_cv_poll_device="no"
+
for device in /dev/poll; do
+
if test -w "$device"; then
+
pike_cv_poll_device="$device"
+
break
fi
-
+
done
+
])
+
AC_MSG_RESULT($pike_cv_poll_device)
+
if test "x$pike_cv_poll_device" = "xno"; then :; else
+
AC_DEFINE_UNQUOTED(PIKE_POLL_DEVICE, "$pike_cv_poll_device")
+
fi
+
fi
+
fi
# some Linux systems have a broken resource.h that compiles anyway /Mirar AC_MSG_CHECKING([for sys/resource.h])