-#if HAVE_ICONV
-# include <iconv.h>
-
-# if ! USE_INCLUDED_LIBINTL && HAVE_LANGINFO_CODESET
-# include <langinfo.h>
-# endif
-
-# if HAVE_STDLIB_H
-# include <stdlib.h>
-# endif
-#endif
-
-#include "copysym.h"
-
-/* Store into BUF (of size BUFSIZE) a representation of the copyright
- symbol (C-in-a-circle) that is a valid text string for the current
- locale. Return BUF if successful, and a pointer to some other
- string otherwise. */
-
-char const *
-copyright_symbol (char *buf, size_t bufsize)
-{
-#if HAVE_ICONV
- char const *outcharset = getenv ("OUTPUT_CHARSET");
-
- if (! (outcharset && *outcharset))
- {
-#if USE_INCLUDED_LIBINTL
- extern char const *locale_charset (void);
- outcharset = locale_charset ();