aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 961cf18..72f5160 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,6 +27,7 @@ case $host_os in
27 ;; 27 ;;
28 *mingw*) 28 *mingw*)
29 HOST_OS=win32 29 HOST_OS=win32
30 CFLAGS="$CFLAGS -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE"
30 ;; 31 ;;
31 *) ;; 32 *) ;;
32esac 33esac
@@ -57,7 +58,7 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],
57) 58)
58CFLAGS="$save_cflags $AM_CFLAGS" 59CFLAGS="$save_cflags $AM_CFLAGS"
59 60
60AC_CHECK_FUNC(strlcpy, 61AC_CHECK_FUNC(strlcpy,
61 AM_CONDITIONAL(NO_STRLCPY, false), 62 AM_CONDITIONAL(NO_STRLCPY, false),
62 AC_DEFINE(NO_STRLCPY) 63 AC_DEFINE(NO_STRLCPY)
63 AM_CONDITIONAL(NO_STRLCPY, true)) 64 AM_CONDITIONAL(NO_STRLCPY, true))