From: michael Date: Fri, 26 Dec 2014 20:56:30 +0000 (+0000) Subject: - configure.ac: remove tests for inet_aton, inet_pton, strdup, and strstr X-Git-Tag: 1.1.0beta1~262 X-Git-Url: http://git.serene-ircd.net/?a=commitdiff_plain;h=2549bdc5033a39e93045845bb5171269b1dd04e8;p=hopm.git - configure.ac: remove tests for inet_aton, inet_pton, strdup, and strstr git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5172 82007160-df01-0410-b94d-b575c5fd34c7 --- diff --git a/configure b/configure index 9826649..cf7deb6 100755 --- a/configure +++ b/configure @@ -12692,7 +12692,7 @@ fi fi -for ac_func in strlcpy strlcat inet_aton socket strdup strstr +for ac_func in strlcpy strlcat socket do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" diff --git a/configure.ac b/configure.ac index 99a62bf..8c6ecb5 100644 --- a/configure.ac +++ b/configure.ac @@ -56,7 +56,7 @@ AC_SEARCH_LIBS([socket],[socket],,[AC_MSG_ERROR([socket library not found])]) AC_CHECK_FUNC(getaddrinfo, [], AC_SEARCH_LIBS(getaddrinfo, nsl)) AC_CHECK_FUNC(getnameinfo, [], AC_SEARCH_LIBS(getnameinfo, nsl)) -AC_CHECK_FUNCS(strlcpy strlcat inet_aton socket strdup strstr) +AC_CHECK_FUNCS(strlcpy strlcat socket) dnl Check if we can use gethostbyname2 for ipv6 AC_CHECK_FUNCS(gethostbyname) diff --git a/src/libopm/configure b/src/libopm/configure index 8c115db..646af32 100755 --- a/src/libopm/configure +++ b/src/libopm/configure @@ -12269,19 +12269,6 @@ done fi fi -for ac_func in inet_aton inet_pton -do : - as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` -ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" -if eval test \"x\$"$as_ac_var"\" = x"yes"; then : - cat >>confdefs.h <<_ACEOF -#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 -_ACEOF - -fi -done - - for ac_func in gethostbyname do : ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" diff --git a/src/libopm/configure.ac b/src/libopm/configure.ac index 4b4ac07..380d226 100644 --- a/src/libopm/configure.ac +++ b/src/libopm/configure.ac @@ -41,8 +41,6 @@ if test "$have_sys_poll_h" = "no"; then fi fi -AC_CHECK_FUNCS(inet_aton inet_pton) - dnl Check if we can use gethostbyname2 for ipv6 AC_CHECK_FUNCS(gethostbyname) diff --git a/src/libopm/src/setup.h.in b/src/libopm/src/setup.h.in index 13bb0ca..29e1786 100644 --- a/src/libopm/src/setup.h.in +++ b/src/libopm/src/setup.h.in @@ -12,12 +12,6 @@ /* Define to 1 if you have the `gethostbyname' function. */ #undef HAVE_GETHOSTBYNAME -/* Define to 1 if you have the `inet_aton' function. */ -#undef HAVE_INET_ATON - -/* Define to 1 if you have the `inet_pton' function. */ -#undef HAVE_INET_PTON - /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H diff --git a/src/setup.h.in b/src/setup.h.in index bb24855..d8c51c8 100644 --- a/src/setup.h.in +++ b/src/setup.h.in @@ -12,9 +12,6 @@ /* Define to 1 if you have the `gethostbyname' function. */ #undef HAVE_GETHOSTBYNAME -/* Define to 1 if you have the `inet_aton' function. */ -#undef HAVE_INET_ATON - /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H @@ -30,9 +27,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H -/* Define to 1 if you have the `strdup' function. */ -#undef HAVE_STRDUP - /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H @@ -45,9 +39,6 @@ /* Define to 1 if you have the `strlcpy' function. */ #undef HAVE_STRLCPY -/* Define to 1 if you have the `strstr' function. */ -#undef HAVE_STRSTR - /* Define to 1 if you have the header file. */ #undef HAVE_SYS_POLL_H