- configure.ac: remove tests for inet_aton, inet_pton, strdup, and strstr
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Fri, 26 Dec 2014 20:56:42 +0000 (20:56 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Fri, 26 Dec 2014 20:56:42 +0000 (20:56 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.0.x@5173 82007160-df01-0410-b94d-b575c5fd34c7

configure
configure.ac
src/libopm/configure
src/libopm/configure.ac
src/libopm/src/setup.h.in
src/setup.h.in

index 9826649b7cc410a52f07f5bf086bb70cf63904cd..cf7deb6357057b3cd49c09342dbb4a9a6f2789ec 100755 (executable)
--- 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"
index 99a62bf6f236ff5a91c3c42305b61774d679fa06..8c6ecb547725e16e67d60a652fc83c8dae4518fd 100644 (file)
@@ -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)
index 8c115db5c4f7a0f946186226f316137cf9e7260f..646af32f7f3056a2bd715e13cd6df73addcd85d1 100755 (executable)
@@ -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"
index 4b4ac07d2780f3bcb353267a3c7b9b255bd69d98..380d226b571ab41fbf1ca88ac0dd7a08feeca6ad 100644 (file)
@@ -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)
 
index 13bb0ca380b1d098086f471f0ce352ff274141cc..29e1786207f962c391c55725483e48124c48bfcb 100644 (file)
 /* 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 <inttypes.h> header file. */
 #undef HAVE_INTTYPES_H
 
index bb24855a424fd002cb6f49fdd1c4e05915466377..d8c51c8a45f39677a9b71a988ed8f7d371e31b78 100644 (file)
@@ -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 <inttypes.h> header file. */
 #undef HAVE_INTTYPES_H
 
@@ -30,9 +27,6 @@
 /* Define to 1 if you have the <stdlib.h> 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 <strings.h> 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 <sys/poll.h> header file. */
 #undef HAVE_SYS_POLL_H