Avoid the need for AC_LIBSOURCES in m4 macros.
[gnulib.git] / m4 / quotearg.m4
1 # quotearg.m4 serial 5
2 dnl Copyright (C) 2002, 2004, 2005, 2006 Free Software Foundation, Inc.
3 dnl This file is free software; the Free Software Foundation
4 dnl gives unlimited permission to copy and/or distribute it,
5 dnl with or without modifications, as long as this notice is preserved.
6
7 AC_DEFUN([gl_QUOTEARG],
8 [
9   AC_LIBOBJ([quotearg])
10
11   dnl Prerequisites of lib/quotearg.c.
12   AC_CHECK_HEADERS_ONCE(wchar.h wctype.h)
13   AC_CHECK_FUNCS_ONCE(iswprint mbsinit)
14   AC_TYPE_MBSTATE_T
15   gl_FUNC_MBRTOWC
16 ])