--- a/configure.ac Thu Sep 01 01:28:11 2016 -0400
+++ b/configure.ac Sun Aug 28 23:32:11 2016 -0400
@@ -67,74 +67,22 @@
dnl Checks for header files.
-AC_CHECK_HEADERS(fcntl.h unistd.h locale.h signal.h stdint.h)
+AC_CHECK_HEADERS(unistd.h) dnl Checks for typedefs, structures, and compiler characteristics.
dnl Checks for library functions.
-AC_CHECK_FUNCS(strdup strstr atexit setlocale)
dnl to prevent the g_stat()/g_unlink() crash,
dnl (09:50:07) Robot101: LSchiere2: it's easy. +LC_SYS_LARGEFILE somewhere in configure.ac
-AC_MSG_CHECKING(for the %z format string in strftime())
- if (strftime(buf, sizeof(buf), "%z", localtime(&t)) != 5)
- fprintf(stderr, "strftime(\"%%z\") yields: \"%s\"\n", buf);
- return !((buf[0] == '-' || buf[0] == '+') &&
- (buf[1] >= '0' && buf[1] <= '9') &&
- (buf[2] >= '0' && buf[2] <= '9') &&
- (buf[3] >= '0' && buf[3] <= '9') &&
- (buf[4] >= '0' && buf[4] <= '9')
- AC_DEFINE([HAVE_STRFTIME_Z_FORMAT], [1],
- [Define to 1 if you have a strftime() that supports the %z format string.])
- # Fallback for Cross Compiling...
- # This will enable the compatibility code.
-AC_CHECK_HEADER(sys/utsname.h)
if test "x$enable_debug" = "xyes" ; then
AC_DEFINE(DEBUG, 1, [Define if debugging is enabled.])
- enable_fatal_asserts="yes"
-if test "x$enable_fatal_asserts" = "xyes" ; then
- AC_DEFINE(GAIM_FATAL_ASSERTS, 1, [Define to make assertions fatal (useful for debugging).])
if test "x$enable_deprecated" = "xno"; then
@@ -231,12 +179,7 @@
AC_MSG_CHECKING(for me pot o' gold)
-AC_CHECK_FUNCS(gethostid lrand48)
-AC_CHECK_FUNCS(memcpy memmove random strchr strerror vprintf)
-AC_CHECK_HEADERS(malloc.h paths.h sgtty.h stdarg.h sys/cdefs.h)
-AC_CHECK_HEADERS(sys/file.h sys/filio.h sys/ioctl.h sys/msgbuf.h)
-AC_CHECK_HEADERS(sys/select.h sys/uio.h sys/utsname.h sys/wait.h)
-AC_CHECK_HEADERS(termios.h)
+AC_CHECK_HEADERS(sys/wait.h) #AC_CHECK_FUNC(wcwidth, [AC_DEFINE([HAVE_WCWIDTH], [1], [Define to 1 if you have wcwidth function.])])
#AC_VAR_TIMEZONE_EXTERNALS