From ed4d3be7fb00e110f1bb1db433869739034767d0 Mon Sep 17 00:00:00 2001 From: michael Date: Mon, 29 Dec 2014 20:04:20 +0000 Subject: [PATCH] - Removed configure test for gethostbyname() git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.0.x@5211 82007160-df01-0410-b94d-b575c5fd34c7 --- configure | 12 ------------ configure.ac | 3 --- src/libopm/configure | 12 ------------ src/libopm/configure.ac | 3 --- src/libopm/src/setup.h.in | 3 --- src/setup.h.in | 3 --- 6 files changed, 36 deletions(-) diff --git a/configure b/configure index 9ffd113..f560f87 100755 --- 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 diff --git a/configure.ac b/configure.ac index ca87bdd..e82d66f 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/src/libopm/configure b/src/libopm/configure index 1dd2039..2a02a2d 100755 --- a/src/libopm/configure +++ b/src/libopm/configure @@ -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 : diff --git a/src/libopm/configure.ac b/src/libopm/configure.ac index d690792..d43ea93 100644 --- a/src/libopm/configure.ac +++ b/src/libopm/configure.ac @@ -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 diff --git a/src/libopm/src/setup.h.in b/src/libopm/src/setup.h.in index 29e1786..dda3e2b 100644 --- a/src/libopm/src/setup.h.in +++ b/src/libopm/src/setup.h.in @@ -9,9 +9,6 @@ /* Define to 1 if you have the 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 header file. */ #undef HAVE_INTTYPES_H diff --git a/src/setup.h.in b/src/setup.h.in index d8c51c8..1797f62 100644 --- a/src/setup.h.in +++ b/src/setup.h.in @@ -9,9 +9,6 @@ /* Define to 1 if you have the 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 header file. */ #undef HAVE_INTTYPES_H -- 2.30.2