diff options
| author | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-18 10:59:07 +0000 |
|---|---|---|
| committer | Xavier Roche <xroche@users.noreply.github.com> | 2014-05-18 10:59:07 +0000 |
| commit | 1fd27d74afe877424122f510c6e1b81264992883 (patch) | |
| tree | c89d84df498a0dc2a36f4bac71b3a6b21a93e26c /configure | |
| parent | 08a17f31d48319acf4be0e0d929456eb3c88a936 (diff) | |
libtool: in_port_t and sa_family_t
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -15408,6 +15408,36 @@ $as_echo "$as_me: WARNING: *** in_addr_t not found" >&2;} fi +# check for in_port_ +ac_fn_c_check_type "$LINENO" "in_port_t" "ac_cv_type_in_port_t" " +#include <sys/types.h> +#include <netinet/in.h> + +" +if test "x$ac_cv_type_in_port_t" = xyes; then : + +else + +$as_echo "#define in_port_t uint16_t" >>confdefs.h + +fi + + +# check for sa_family_t +ac_fn_c_check_type "$LINENO" "sa_family_t" "ac_cv_type_sa_family_t" " +#include <sys/types.h> +#include <netinet/in.h> + +" +if test "x$ac_cv_type_sa_family_t" = xyes; then : + +else + +$as_echo "#define sa_family_t uint16_t" >>confdefs.h + +fi + + ### zlib # # Handle user hints |
