1*0e2bf8efSjunyoung /* $NetBSD: gettext_dummy.c,v 1.3 2007/09/25 08:16:08 junyoung Exp $ */ 2c070a076Sitojun 3c070a076Sitojun /*- 4c070a076Sitojun * Copyright (c) 2000 Citrus Project, 5c070a076Sitojun * All rights reserved. 6c070a076Sitojun * 7c070a076Sitojun * Redistribution and use in source and binary forms, with or without 8c070a076Sitojun * modification, are permitted provided that the following conditions 9c070a076Sitojun * are met: 10c070a076Sitojun * 1. Redistributions of source code must retain the above copyright 11c070a076Sitojun * notice, this list of conditions and the following disclaimer. 12c070a076Sitojun * 2. Redistributions in binary form must reproduce the above copyright 13c070a076Sitojun * notice, this list of conditions and the following disclaimer in the 14c070a076Sitojun * documentation and/or other materials provided with the distribution. 15c070a076Sitojun * 16c070a076Sitojun * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 17c070a076Sitojun * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18c070a076Sitojun * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19c070a076Sitojun * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 20c070a076Sitojun * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21c070a076Sitojun * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22c070a076Sitojun * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23c070a076Sitojun * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24c070a076Sitojun * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25c070a076Sitojun * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26c070a076Sitojun * SUCH DAMAGE. 27c070a076Sitojun */ 28c070a076Sitojun 29c070a076Sitojun #include <sys/cdefs.h> 30*0e2bf8efSjunyoung __RCSID("$NetBSD: gettext_dummy.c,v 1.3 2007/09/25 08:16:08 junyoung Exp $"); 31c070a076Sitojun 32c070a076Sitojun /* 33c070a076Sitojun * The symbol is referenced by gettext.m4 (autoconf m4 macro fragment 34c070a076Sitojun * that ships with GNU gettext), to check if libintl is GNU origin or not. 35c070a076Sitojun * Since we are trying to mimic GNU gettext, we supply the symbol just to 36c070a076Sitojun * make gettext.m4 happy. 37c070a076Sitojun * 38c070a076Sitojun * If we do not provide this symbol, as a result of gettext.m4, *.mo will be 39c070a076Sitojun * installed into /usr/lib/locale, not /usr/share/locale. It is not desirable. 40c070a076Sitojun * 41c070a076Sitojun * Yes, I understand this is a dirty hack. gettext.m4 is doing something 42c070a076Sitojun * very wrong here and I have no other choice. 43c070a076Sitojun */ 44c070a076Sitojun int _nl_msg_cat_cntr; 45