diff configure.ac @ 2948:b4046e5c478e

Please don't use GNU-only stuff without providing an alternative?
author Jonathan Schleifer <js-audacious@webkeks.org>
date Fri, 03 Oct 2008 00:23:27 +0200
parents 597857a52f7c
children 0f0227b29f43
line wrap: on
line diff
--- a/configure.ac	Thu Oct 02 23:53:27 2008 +0200
+++ b/configure.ac	Fri Oct 03 00:23:27 2008 +0200
@@ -99,6 +99,8 @@
 dnl Gettext -nenolod
 AM_GNU_GETTEXT([external])
 
+AC_CHECK_FUNC(strnlen, [AC_DEFINE(HAVE_STRNLEN, 1, [Whether we have strnlen])],)
+
 dnl Path settings
 
 AC_ARG_WITH(dev-dsp,