]> git.pld-linux.org Git - projects/rc-scripts.git/blame - configure.in
- version 0.2.9
[projects/rc-scripts.git] / configure.in
CommitLineData
b23c4fa6 1dnl $Id: configure.in,v 1.36 2000/11/17 14:47:43 baggins Exp $
7e04fe0e 2AC_INIT()
3
4PACKAGE=rc-scripts
b23c4fa6 5VERSION=0.2.9
d1a2cad3 6ALL_LINGUAS="pl de"
7e04fe0e 7
2c883f5e
AF
8SHSCRIPTS="rc.d/rc \
9 rc.d/init.d/allowlogin \
10 rc.d/init.d/functions \
11 rc.d/init.d/functions.network \
2c883f5e 12 rc.d/init.d/killall \
2c883f5e 13 rc.d/init.d/network \
2c883f5e 14 rc.d/init.d/random \
2c883f5e 15 rc.d/init.d/single \
f5e07d24 16 rc.d/init.d/timezone \
2c883f5e
AF
17 rc.d/rc \
18 rc.d/rc.init \
19 rc.d/rc.local \
59814124 20 rc.d/rc.shutdown \
2c883f5e
AF
21 rc.d/rc.sysinit"
22
7e04fe0e 23AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)
24
25dnl Checks for programs.
26AC_PROG_CC
27AC_ISC_POSIX
28AC_PROG_INSTALL
29AC_PROG_LN_S
30AC_PROG_MAKE_SET
31
32pppdir='${sysconfdir}/ppp'
7e04fe0e 33sysconfigdir='${sysconfdir}/sysconfig'
8dbd5412 34updir='${sysconfigdir}/interfaces/up.d'
35downdir='${sysconfigdir}/interfaces/down.d'
16742ce6 36networkscriptsdir='${sysconfigdir}/network-scripts'
7e04fe0e 37rcdir='${sysconfdir}/rc.d'
38docdir="${prefix}/doc/$PACKAGE-$VERSION"
85a71060 39libdir="${exec_prefix}/lib"
5d3bb684 40
dcd32750 41dnl i18n support
5d3bb684
AF
42AC_PATH_PROGS(MSGMERGE, msgmerge)
43AC_PATH_PROGS(GMSGFMT, gmsgfmt msgfmt)
44
dcd32750
AF
45CATALOGS=
46POTFILES=
47for lang in $ALL_LINGUAS; do
48 CATALOGS="$CATALOGS $lang.gmo"
49 POTFILES="$POTFILES $lang.po"
50done
7e04fe0e 51
dcd32750 52POTSRC=
2c883f5e 53for src in $SHSCRIPTS; do
dcd32750
AF
54 POTSRC="$POTSRC \$(top_srcdir)/$src"
55done
56AC_ARG_WITH(localedir,
57 [ --with-localedir=PATH specify where the locale stuff should go ])
58
59if test "x$LOCALEDIR" = "x"; then
60 if test "x$with_localedir" != "x"; then
61 LOCALEDIR=$with_localedir
62 else
63 LOCALEDIR='$(prefix)/share/locale'
64 fi
65fi
66
67localedir=$LOCALEDIR
68gnulocaledir=$LOCALEDIR
69
70if test "`eval echo $sysconfdir`" = "NONE/etc"; then
71 defaultdir="/usr/local/etc"
72else
73 defaultdir="`eval echo $sysconfdir`"
74fi
75
76dnl Output
77AC_SUBST(BASHSCRIPTS)
78AC_SUBST(CATALOGS)
79AC_SUBST(POTFILES)
80AC_SUBST(POTSRC)
81AC_SUBST(localedir)
82AC_SUBST(gnulocaledir)
83
7e04fe0e 84AC_SUBST(pppdir)
85AC_SUBST(networkscriptsdir)
86AC_SUBST(sysconfigdir)
8dbd5412 87AC_SUBST(updir)
88AC_SUBST(downdir)
7e04fe0e 89AC_SUBST(rcdir)
90AC_SUBST(docdir)
91AC_SUBST(libdir)
92
93AC_OUTPUT(Makefile src/Makefile doc/Makefile \
8dbd5412 94 ppp/Makefile \
7e04fe0e 95 sysconfig/Makefile \
96 sysconfig/network-scripts/Makefile \
ca263bb1
AF
97 sysconfig/interfaces/Makefile \
98 sysconfig/interfaces/data/Makefile \
8dbd5412 99 sysconfig/interfaces/up.d/Makefile \
100 sysconfig/interfaces/up.d/all/Makefile \
101 sysconfig/interfaces/up.d/ip/Makefile \
102 sysconfig/interfaces/up.d/ipx/Makefile \
103 sysconfig/interfaces/up.d/ppp/Makefile \
104 sysconfig/interfaces/up.d/tnl/Makefile \
105 sysconfig/interfaces/down.d/Makefile \
106 sysconfig/interfaces/down.d/all/Makefile \
107 sysconfig/interfaces/down.d/ip/Makefile \
108 sysconfig/interfaces/down.d/ipx/Makefile \
109 sysconfig/interfaces/down.d/ppp/Makefile \
110 sysconfig/interfaces/down.d/tnl/Makefile \
36ddc8d8 111 rc.d/Makefile rc.d/init.d/Makefile \
dcd32750 112 po/Makefile \
7e04fe0e 113 rc-scripts.spec)
This page took 0.196162 seconds and 4 git commands to generate.