Remove configure check for strlcpy, which we never actually use

Originally committed to SVN as r6065.
This commit is contained in:
Thomas Goyne 2011-12-22 21:19:41 +00:00
parent 76b8df425d
commit 17d220e7cd

View file

@ -329,12 +329,6 @@ AC_C_INLINE
AC_C_VOLATILE AC_C_VOLATILE
AC_CHECK_LIB([m], [main]) AC_CHECK_LIB([m], [main])
AC_CHECK_FUNC([strlcpy], [
AC_DEFINE([HAVE_STRLCPY], [1], [strlcpy() exists in the c library.])
], [])
#AC_LIBTOOL_DLOPEN_SELF
AC_AGI_COMPILE([pragma once], [pragma_once], [], [],[ AC_AGI_COMPILE([pragma once], [pragma_once], [], [],[
#pragma once #pragma once
int main(void) {} int main(void) {}
@ -344,18 +338,14 @@ if test "$agi_cv_pragma_once" = "no"; then
AC_MSG_FAILURE([Aegisub requires #pragma once to work correctly.]) AC_MSG_FAILURE([Aegisub requires #pragma once to work correctly.])
fi fi
AC_CHECK_HEADER([wchar.h],,[AC_MSG_FAILURE([aegisub requires wide character support])])
AC_CHECK_HEADERS([sys/time.h]) AC_CHECK_HEADERS([sys/time.h])
AC_CHECK_SIZEOF([time_t]) AC_CHECK_SIZEOF([time_t])
############################## ##############################
# Program Support and Features # Program Support and Features
############################## ##############################
#################
## Wide Character
#################
AC_CHECK_HEADER([wchar.h],,[AC_MSG_FAILURE([aegisub requires wide character support])])
######### #########
## OpenGL ## OpenGL
######### #########