annotate m4/lcmessage.m4 @ 4563:8084f49a930a

Silence some pointless warnings in resume_playback_on_startup() by not using g_return_if_fail().
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 21 May 2008 04:45:43 +0300
parents 0b924771b26e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4462
0b924771b26e Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents: 4458
diff changeset
1 # lcmessage.m4 serial 3 (gettext-0.11.3)
0b924771b26e Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents: 4458
diff changeset
2 dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
0b924771b26e Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents: 4458
diff changeset
3 dnl This file is free software, distributed under the terms of the GNU
0b924771b26e Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents: 4458
diff changeset
4 dnl General Public License. As a special exception to the GNU General
0b924771b26e Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents: 4458
diff changeset
5 dnl Public License, this file may be distributed as part of a program
0b924771b26e Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents: 4458
diff changeset
6 dnl that contains a configuration script generated by Autoconf, under
0b924771b26e Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents: 4458
diff changeset
7 dnl the same distribution terms as the rest of that program.
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
8 dnl
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
9 dnl This file can can be used in projects which are not available under
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
10 dnl the GNU General Public License or the GNU Library General Public
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
11 dnl License but which still want to provide support for the GNU gettext
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
12 dnl functionality.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
13 dnl Please note that the actual code of the GNU gettext library is covered
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
14 dnl by the GNU Library General Public License, and the rest of the GNU
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
15 dnl gettext package package is covered by the GNU General Public License.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
16 dnl They are *not* in the public domain.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
17
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
18 dnl Authors:
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
19 dnl Ulrich Drepper <drepper@cygnus.com>, 1995.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
20
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
21 # Check whether LC_MESSAGES is available in <locale.h>.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
22
4462
0b924771b26e Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents: 4458
diff changeset
23 AC_DEFUN([AM_LC_MESSAGES],
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
24 [
4462
0b924771b26e Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents: 4458
diff changeset
25 AC_CACHE_CHECK([for LC_MESSAGES], am_cv_val_LC_MESSAGES,
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
26 [AC_TRY_LINK([#include <locale.h>], [return LC_MESSAGES],
4462
0b924771b26e Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents: 4458
diff changeset
27 am_cv_val_LC_MESSAGES=yes, am_cv_val_LC_MESSAGES=no)])
0b924771b26e Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents: 4458
diff changeset
28 if test $am_cv_val_LC_MESSAGES = yes; then
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
29 AC_DEFINE(HAVE_LC_MESSAGES, 1,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
30 [Define if your <locale.h> file defines LC_MESSAGES.])
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
31 fi
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
32 ])