glue for strsvisx

This commit is contained in:
Brian May
2009-11-29 21:47:29 -08:00
committed by Love Hornquist Astrand
parent 50b6b63911
commit 87d30c0e23
2 changed files with 10 additions and 1 deletions

View File

@@ -190,6 +190,7 @@ AC_CHECK_FUNCS([ \
setprogname \
setstate \
strsvis \
strsvisx \
strunvis \
strvis \
strvisx \
@@ -388,7 +389,7 @@ AM_CONDITIONAL(have_fnmatch_h,
AC_FOREACH([rk_func], [strndup strsep strtok_r],
[AC_NEED_PROTO([#include <string.h>], rk_func)])
AC_FOREACH([rk_func], [strsvis strunvis strvis strvisx svis unvis vis],
AC_FOREACH([rk_func], [strsvis strsvisx strunvis strvis strvisx svis unvis vis],
[AC_NEED_PROTO([#ifdef HAVE_VIS_H
#include <vis.h>
#endif], rk_func)])

View File

@@ -947,6 +947,14 @@ ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
strsvis(char *, const char *, int, const char *);
#endif
#if !defined(HAVE_STRSVISX) || defined(NEED_STRSVISX_PROTO)
#ifndef HAVE_STRSVISX
#define strsvisx rk_strsvisx
#endif
ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL
strsvisx(char *, const char *, size_t, int, const char *);
#endif
#if !defined(HAVE_STRUNVIS) || defined(NEED_STRUNVIS_PROTO)
#ifndef HAVE_STRUNVIS
#define strunvis rk_strunvis