- Removed configure test for gethostbyname()
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Mon, 29 Dec 2014 20:06:00 +0000 (20:06 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Mon, 29 Dec 2014 20:06:00 +0000 (20:06 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@5212 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 9ffd113d2097914658c2ba8c5e9b278c1d38a597..f560f87bb8e618fc04f59b9c2325a8c534ea3d42 100755 (executable)
--- a/configure
+++ b/configure
@@ -12588,18 +12588,6 @@ if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
 #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"
-if test "x$ac_cv_func_gethostbyname" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_GETHOSTBYNAME 1
-_ACEOF
-
 fi
 done
 
index ca87bdd7745b085d976ec8f566f82c8d93ae49e4..e82d66f17f084ac672e969a7630c42383003ebe3 100644 (file)
@@ -56,9 +56,6 @@ AC_CHECK_FUNC(getnameinfo, [], AC_SEARCH_LIBS(getnameinfo, nsl))
 
 AC_CHECK_FUNCS(strlcpy strlcat socket)
 
-dnl Check if we can use gethostbyname2 for ipv6
-AC_CHECK_FUNCS(gethostbyname)
-
 dnl AIX fun
 AC_C_BIGENDIAN
 
index 1dd2039add0794a222359e0e98f4082310299947..2a02a2d7f0183c620803aa4c5bfd25119af4f511 100755 (executable)
@@ -12156,18 +12156,6 @@ done
  fi
 fi
 
-for ac_func in gethostbyname
-do :
-  ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
-if test "x$ac_cv_func_gethostbyname" = xyes; then :
-  cat >>confdefs.h <<_ACEOF
-#define HAVE_GETHOSTBYNAME 1
-_ACEOF
-
-fi
-done
-
-
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
 if ${ac_cv_c_bigendian+:} false; then :
index d69079239c267398627f6b3e96ab46edb323c058..d43ea93d74f6d7c6177dc404e900ae46f9f7bfef 100644 (file)
@@ -39,9 +39,6 @@ if test "$have_sys_poll_h" = "no"; then
  fi
 fi
 
-dnl Check if we can use gethostbyname2 for ipv6
-AC_CHECK_FUNCS(gethostbyname)
-
 dnl AIX fun
 AC_C_BIGENDIAN
 
index 29e1786207f962c391c55725483e48124c48bfcb..dda3e2b4a16a5e0a5b8aa9fface0fc236e1c2cca 100644 (file)
@@ -9,9 +9,6 @@
 /* Define to 1 if you have the <fcntl.h> header file. */
 #undef HAVE_FCNTL_H
 
-/* Define to 1 if you have the `gethostbyname' function. */
-#undef HAVE_GETHOSTBYNAME
-
 /* Define to 1 if you have the <inttypes.h> header file. */
 #undef HAVE_INTTYPES_H
 
index d8c51c8a45f39677a9b71a988ed8f7d371e31b78..1797f626995eed7fd3276faa18e8da7edc44d450 100644 (file)
@@ -9,9 +9,6 @@
 /* Define to 1 if you have the <fcntl.h> header file. */
 #undef HAVE_FCNTL_H
 
-/* Define to 1 if you have the `gethostbyname' function. */
-#undef HAVE_GETHOSTBYNAME
-
 /* Define to 1 if you have the <inttypes.h> header file. */
 #undef HAVE_INTTYPES_H