]> arthur.barton.de Git - netatalk.git/blob - macros/config-checks.m4
Added file from trunk.
[netatalk.git] / macros / config-checks.m4
1 dnl $Id: config-checks.m4,v 1.1.2.1 2002-03-12 16:22:03 srittau Exp $
2 dnl Autoconf macro to set the configuration directories.
3
4 AC_DEFUN([NETATALK_CONFIG_DIRS], [
5         PKGCONFDIR="${sysconfdir}/netatalk"
6
7         AC_ARG_WITH(pkgconfdir,
8                 [  --with-pkgconfdir=DIR   package specific configuration in DIR
9                           [SYSCONF/netatalk]],
10                 [
11                         if test "x$withval" != "x"; then
12                                 PKGCONFDIR="$withval"
13                         fi
14                 ]
15         )
16
17         NLSDIR="${PKGCONFDIR}/nls"
18
19         AC_ARG_WITH(nls-dir,
20                 [  --with-nls-dir=PATH     path to NLS files [PKGCONF/nls]],
21                 [
22                         if test "x$withval" != "x"; then
23                                 NLSDIR = "$withval"
24                         fi
25                 ]
26         )
27
28         AC_SUBST(PKGCONFDIR)
29         AC_SUBST(NLSDIR)
30 ])