mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
0d0d3af025
Don't prototype inet_pton or inet_ntop if the system already has them.
29 lines
769 B
Plaintext
29 lines
769 B
Plaintext
--- configure.orig Fri May 11 07:59:42 2001
|
|
+++ configure Thu Jan 23 17:29:08 2003
|
|
@@ -1928,10 +1928,10 @@
|
|
cat > conftest.$ac_ext <<EOF
|
|
#line 1930 "configure"
|
|
#include "confdefs.h"
|
|
-#include <stdint.h>
|
|
+#include <arpa/inet.h>
|
|
EOF
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
- egrep "uint16_t" >/dev/null 2>&1; then
|
|
+ egrep "inet_pton" >/dev/null 2>&1; then
|
|
rm -rf conftest*
|
|
ucl_cv_inet_pton_in_inet_h=yes
|
|
else
|
|
@@ -1959,10 +1959,10 @@
|
|
cat > conftest.$ac_ext <<EOF
|
|
#line 1961 "configure"
|
|
#include "confdefs.h"
|
|
-#include <stdint.h>
|
|
+#include <arpa/inet.h>
|
|
EOF
|
|
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
- egrep "uint16_t" >/dev/null 2>&1; then
|
|
+ egrep "inet_ntop" >/dev/null 2>&1; then
|
|
rm -rf conftest*
|
|
ucl_cv_inet_ntop_in_inet_h=yes
|
|
else
|