- Removed configure header test for strings.h; removed strings.h header includes
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Mon, 29 Dec 2014 19:52:01 +0000 (19:52 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Mon, 29 Dec 2014 19:52:01 +0000 (19:52 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.0.x@5210 82007160-df01-0410-b94d-b575c5fd34c7

configure
configure.ac
src/irc.c
src/libopm/configure
src/libopm/configure.ac
src/libopm/src/inet.c
src/stats.c

index 8090e2b9f96188c76f26c4ec8f7eab453408a127..9ffd113d2097914658c2ba8c5e9b278c1d38a597 100755 (executable)
--- a/configure
+++ b/configure
@@ -12103,7 +12103,7 @@ fi
 done
 
 
-for ac_header in fcntl.h sys/time.h unistd.h strings.h
+for ac_header in fcntl.h sys/time.h unistd.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
index 5f33b9df8496588ee84a5098825536004fe0c072..ca87bdd7745b085d976ec8f566f82c8d93ae49e4 100644 (file)
@@ -36,7 +36,7 @@ dnl Checks for libraries.
 dnl Checks for header files.
 AC_CHECK_HEADERS(sys/poll.h, have_poll_sys_h=yes, have_sys_poll_h=no)
 
-AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h strings.h)
+AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h)
 
 dnl Checks for typedefs, structures, and compiler characteristics.
 AC_HEADER_TIME
index 5588924bd9786e37894ea7e333067b116e6b6517..d6a534fcb2365fd8a6a70a384e0b39ecd307824b 100644 (file)
--- a/src/irc.c
+++ b/src/irc.c
 #include <unistd.h>
 #include <stdlib.h>
 #include <string.h>
-
-#ifdef HAVE_STRINGS_H
-# include <strings.h>
-#endif
-
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
index a3e5bbf071aba8857820dbd3437898bd64f7a026..1dd2039add0794a222359e0e98f4082310299947 100755 (executable)
@@ -12087,7 +12087,7 @@ fi
 done
 
 
-for ac_header in fcntl.h sys/time.h unistd.h strings.h
+for ac_header in fcntl.h sys/time.h unistd.h
 do :
   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
index 7e2752a2fdbb96ab6d255c8f17137d8dbe09901a..d69079239c267398627f6b3e96ab46edb323c058 100644 (file)
@@ -25,7 +25,7 @@ AC_SUBST(LIBTOOL_DEPS)
 dnl Checks for header files.
 AC_CHECK_HEADERS(sys/poll.h, have_poll_sys_h=yes, have_sys_poll_h=no)
 
-AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h strings.h)
+AC_CHECK_HEADERS(fcntl.h sys/time.h unistd.h)
 
 dnl Checks for typedefs, structures, and compiler characteristics.
 AC_HEADER_TIME
index 62add4dca56a7ab55c30862fd871670a5356f723..7af8fdd88ec037024d4ad931985e99c1c4dc5c09 100644 (file)
@@ -32,9 +32,6 @@ along with this program; if not, write to
 #include <assert.h>
 #include <string.h>
 #include <stdlib.h>
-#ifdef HAVE_STRINGS_H
-# include <strings.h>
-#endif
 #include <sys/types.h>
 #include <sys/socket.h>
 #include <netinet/in.h>
index 7dcbaa7d4bd294e592b21c1b263bfdcac6ecc984..45b7bd5463d19cc3f7a5bc045c64473ecbb41179 100644 (file)
@@ -25,14 +25,7 @@ along with this program; if not, write to the Free Software
 #include <stdio.h>
 #include <unistd.h>
 #include <stdlib.h>
-
-#ifdef HAVE_STRINGS_H
-# include <strings.h>
-#endif
-
-#if HAVE_STRING_H
-# include <string.h>
-#endif
+#include <string.h>
 
 #ifdef TIME_WITH_SYS_TIME
 # include <sys/time.h>