From 17d220e7cd15da4ad4c813989c8f210fe0dcff0c Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 22 Dec 2011 21:19:41 +0000 Subject: [PATCH] Remove configure check for strlcpy, which we never actually use Originally committed to SVN as r6065. --- aegisub/configure.in | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/aegisub/configure.in b/aegisub/configure.in index ff9dae504..7f65a6880 100644 --- a/aegisub/configure.in +++ b/aegisub/configure.in @@ -329,12 +329,6 @@ AC_C_INLINE AC_C_VOLATILE 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], [], [],[ #pragma once 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.]) fi +AC_CHECK_HEADER([wchar.h],,[AC_MSG_FAILURE([aegisub requires wide character support])]) + AC_CHECK_HEADERS([sys/time.h]) AC_CHECK_SIZEOF([time_t]) ############################## # Program Support and Features ############################## -################# -## Wide Character -################# -AC_CHECK_HEADER([wchar.h],,[AC_MSG_FAILURE([aegisub requires wide character support])]) - - ######### ## OpenGL #########