[vlc-commits] Remove unused checks for <strings.h>

Rémi Denis-Courmont git at videolan.org
Fri Jan 27 22:31:55 CET 2012


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jan 27 23:01:43 2012 +0200| [b81905692243dabda106af1558dc15c7e80a1864] | committer: Rémi Denis-Courmont

Remove unused checks for <strings.h>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b81905692243dabda106af1558dc15c7e80a1864
---

 configure.ac |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/configure.ac b/configure.ac
index 72091af..85785c8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -663,17 +663,9 @@ if test "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"; then
   ])
 fi # end "${SYS}" != "mingw32" -a "${SYS}" != "mingwce"
 
-dnl Check for misc headers
-AC_MSG_CHECKING(for strncasecmp in strings.h)
-AC_EGREP_HEADER(strncasecmp,strings.h,[
-  AC_MSG_RESULT(yes)
-  AC_DEFINE(STRNCASECMP_IN_STRINGS_H, 1,
-            Define if <strings.h> defines strncasecmp.)],[
-  AC_MSG_RESULT(no)])
-
 dnl Check for headers
 AC_CHECK_HEADERS([search.h])
-AC_CHECK_HEADERS(getopt.h strings.h locale.h xlocale.h)
+AC_CHECK_HEADERS(getopt.h locale.h xlocale.h)
 AC_CHECK_HEADERS(fcntl.h sys/time.h sys/ioctl.h sys/stat.h)
 AC_CHECK_HEADERS([arpa/inet.h netinet/udplite.h sys/eventfd.h])
 AC_CHECK_HEADERS([net/if.h], [], [],



More information about the vlc-commits mailing list