Commit 2394b26b authored by David Hankins's avatar David Hankins
Browse files

- Additional compilation problems on HP/UX have been repaired.

  [ISC-Bugs #17201]
parent 8bfe717e
...@@ -90,6 +90,8 @@ suggested fixes to <dhcp-users@isc.org>. ...@@ -90,6 +90,8 @@ suggested fixes to <dhcp-users@isc.org>.
state is recovered from dhcpd.leases). Arbitrary user-specified binding state is recovered from dhcpd.leases). Arbitrary user-specified binding
scopes ('set var = "value";') are not yet supported. scopes ('set var = "value";') are not yet supported.
- Additional compilation problems on HP/UX have been repaired.
Changes since 4.0.0a2 Changes since 4.0.0a2
- Fix for startup where there are no IPv4 addresses on an interface. - Fix for startup where there are no IPv4 addresses on an interface.
......
...@@ -225,8 +225,8 @@ int if_register_dlpi (info) ...@@ -225,8 +225,8 @@ int if_register_dlpi (info)
info -> hw_address.hbuf [0] = HTYPE_FDDI; info -> hw_address.hbuf [0] = HTYPE_FDDI;
break; break;
default: default:
log_fatal ("%s: unsupported DLPI MAC type %ld", log_fatal("%s: unsupported DLPI MAC type %lu", info->name,
info -> name, dlp -> info_ack.dl_mac_type); (unsigned long)dlp->info_ack.dl_mac_type);
break; break;
} }
/* /*
...@@ -1353,8 +1353,8 @@ get_hw_addr(const char *name, struct hardware *hw) { ...@@ -1353,8 +1353,8 @@ get_hw_addr(const char *name, struct hardware *hw) {
hw->hbuf[0] = HTYPE_FDDI; hw->hbuf[0] = HTYPE_FDDI;
break; break;
default: default:
log_fatal("%s: unsupported DLPI MAC type %ld", log_fatal("%s: unsupported DLPI MAC type %lu", name,
name, dlp->info_ack.dl_mac_type); (unsigned long)dlp->info_ack.dl_mac_type);
} }
/* /*
......
...@@ -162,6 +162,9 @@ AC_SEARCH_LIBS(inet_aton, [socket nsl], , ...@@ -162,6 +162,9 @@ AC_SEARCH_LIBS(inet_aton, [socket nsl], ,
# Check for a standalone regex library. # Check for a standalone regex library.
AC_SEARCH_LIBS(regcomp, [regex]) AC_SEARCH_LIBS(regcomp, [regex])
# For HP/UX we need -lipv6 for if_nametoindex, perhaps others.
AC_SEARCH_LIBS(if_nametoindex, [ipv6])
# check for /dev/random (declares HAVE_DEV_RANDOM) # check for /dev/random (declares HAVE_DEV_RANDOM)
AC_CHECK_FILE(/dev/random, AC_CHECK_FILE(/dev/random,
AC_DEFINE([HAVE_DEV_RANDOM], [1], AC_DEFINE([HAVE_DEV_RANDOM], [1],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment