Mercurial > audlegacy
annotate m4/nls.m4 @ 4490:2e56a47e7a5d
Correctly check for USE_DBUS and USE_EGGSM.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 21 Apr 2008 07:32:45 +0300 |
parents | 0b924771b26e |
children |
rev | line source |
---|---|
4462
0b924771b26e
Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents:
4458
diff
changeset
|
1 # nls.m4 serial 1 (gettext-0.12) |
0b924771b26e
Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents:
4458
diff
changeset
|
2 dnl Copyright (C) 1995-2003 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 | 8 dnl |
9 dnl This file can can be used in projects which are not available under | |
10 dnl the GNU General Public License or the GNU Library General Public | |
11 dnl License but which still want to provide support for the GNU gettext | |
12 dnl functionality. | |
13 dnl Please note that the actual code of the GNU gettext library is covered | |
14 dnl by the GNU Library General Public License, and the rest of the GNU | |
15 dnl gettext package package is covered by the GNU General Public License. | |
16 dnl They are *not* in the public domain. | |
17 | |
18 dnl Authors: | |
19 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. | |
20 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. | |
21 | |
22 AC_DEFUN([AM_NLS], | |
23 [ | |
24 AC_MSG_CHECKING([whether NLS is requested]) | |
25 dnl Default is enabled NLS | |
26 AC_ARG_ENABLE(nls, | |
27 [ --disable-nls do not use Native Language Support], | |
28 USE_NLS=$enableval, USE_NLS=yes) | |
29 AC_MSG_RESULT($USE_NLS) | |
30 AC_SUBST(USE_NLS) | |
31 ]) | |
4462
0b924771b26e
Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents:
4458
diff
changeset
|
32 |
0b924771b26e
Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents:
4458
diff
changeset
|
33 AC_DEFUN([AM_MKINSTALLDIRS], |
0b924771b26e
Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents:
4458
diff
changeset
|
34 [ |
0b924771b26e
Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents:
4458
diff
changeset
|
35 dnl If the AC_CONFIG_AUX_DIR macro for autoconf is used we possibly |
0b924771b26e
Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents:
4458
diff
changeset
|
36 dnl find the mkinstalldirs script in another subdir but $(top_srcdir). |
0b924771b26e
Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents:
4458
diff
changeset
|
37 dnl Try to locate it. |
0b924771b26e
Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents:
4458
diff
changeset
|
38 MKINSTALLDIRS= |
0b924771b26e
Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents:
4458
diff
changeset
|
39 if test -n "$ac_aux_dir"; then |
0b924771b26e
Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents:
4458
diff
changeset
|
40 case "$ac_aux_dir" in |
0b924771b26e
Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents:
4458
diff
changeset
|
41 /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;; |
0b924771b26e
Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents:
4458
diff
changeset
|
42 *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;; |
0b924771b26e
Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents:
4458
diff
changeset
|
43 esac |
0b924771b26e
Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents:
4458
diff
changeset
|
44 fi |
0b924771b26e
Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents:
4458
diff
changeset
|
45 if test -z "$MKINSTALLDIRS"; then |
0b924771b26e
Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents:
4458
diff
changeset
|
46 MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs" |
0b924771b26e
Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents:
4458
diff
changeset
|
47 fi |
0b924771b26e
Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents:
4458
diff
changeset
|
48 AC_SUBST(MKINSTALLDIRS) |
0b924771b26e
Backed out changeset b128239bfc7a
Matti Hamalainen <ccr@tnsp.org>
parents:
4458
diff
changeset
|
49 ]) |