mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-22 01:49:35 +00:00
- ./configure now checks to ensure the intX_t and u_intX_t types are defined,
correcting a compilation failure when using Sun's compiler. [ISC-Bugs #20370]
This commit is contained in:
parent
e4e3a2ab42
commit
cd3f0b9bd5
3
RELNOTES
3
RELNOTES
@ -202,6 +202,9 @@ work on other platforms. Please report any problems and suggested fixes to
|
||||
over-riding vlaues were not present in a matching fixed-address6 host
|
||||
configuration.
|
||||
|
||||
- ./configure now checks to ensure the intX_t and u_intX_t types are defined,
|
||||
correcting a compilation failure when using Sun's compiler.
|
||||
|
||||
Changes since 4.1.0b1
|
||||
|
||||
- A missing "else" in dhcrelay.c could have caused an interface not to
|
||||
|
22
configure.ac
22
configure.ac
@ -318,6 +318,28 @@ AC_ARG_WITH(relay-pid-file,
|
||||
AC_DEFINE_UNQUOTED([_PATH_DHCRELAY_PID], ["$withval"],
|
||||
[File for dhcrelay process information.]))
|
||||
|
||||
# Check basic types.
|
||||
AC_TYPE_INT8_T
|
||||
AC_TYPE_INT16_T
|
||||
AC_TYPE_INT32_T
|
||||
|
||||
# Some systems need the u_intX_t types defined across.
|
||||
AC_CHECK_TYPE([u_int8_t], [], [
|
||||
AC_TYPE_UINT8_T
|
||||
AC_DEFINE(u_int8_t, [uint8_t], [Define a type for 8-bit unsigned
|
||||
integers.])
|
||||
])
|
||||
AC_CHECK_TYPE([u_int16_t], [], [
|
||||
AC_TYPE_UINT16_T
|
||||
AC_DEFINE(u_int16_t, [uint16_t], [Define a type for 16-bit unsigned
|
||||
integers.])
|
||||
])
|
||||
AC_CHECK_TYPE([u_int32_t], [], [
|
||||
AC_TYPE_UINT32_T
|
||||
AC_DEFINE(u_int32_t, [uint32_t], [Define a type for 32-bit unsigned
|
||||
integers.])
|
||||
])
|
||||
|
||||
# see if ifaddrs.h is available
|
||||
AC_CHECK_HEADERS(ifaddrs.h)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user