view modules/striconv @ 15042:8e387f7f0bf9

memrchr: Move AC_LIBOBJ invocations to module description. * m4/memrchr.m4 (gl_FUNC_MEMRCHR): Call AC_CHECK_FUNCS instead of AC_REPLACE_FUNCS. Move AC_LIBOBJ and gl_PREREQ_MEMRCHR invocations from here... * modules/memrchr (configure.ac): ... to here.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 15:25:34 +0200
parents 7581db129a32
children
line wrap: on
line source

Description:
Character set conversion of strings made easy, uses iconv.

Files:
lib/striconv.h
lib/striconv.c

Depends-on:
iconv
iconv_open
strdup
c-strcase

configure.ac:
if test $gl_cond_libtool = false; then
  gl_ltlibdeps="$gl_ltlibdeps $LTLIBICONV"
  gl_libdeps="$gl_libdeps $LIBICONV"
fi

Makefile.am:
lib_SOURCES += striconv.h striconv.c
if GL_COND_LIBTOOL
lib_LDFLAGS += $(LTLIBICONV)
endif

Include:
"striconv.h"

Link:
$(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise

License:
LGPLv2+

Maintainer:
Bruno Haible, Simon Josefsson