]> git.pld-linux.org Git - projects/rc-scripts.git/blame - configure.in
- ifup-routes should be run with $CONFIG as parameter, not $DEVNAME
[projects/rc-scripts.git] / configure.in
CommitLineData
2be392dc 1dnl $Id: configure.in,v 1.26 2000/04/03 14:50:00 baggins Exp $
7e04fe0e 2AC_INIT()
3
4PACKAGE=rc-scripts
2be392dc 5VERSION=0.2.1
dcd32750 6ALL_LINGUAS="pl"
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'
16742ce6 34networkscriptsdir='${sysconfigdir}/network-scripts'
7e04fe0e 35rcdir='${sysconfdir}/rc.d'
36docdir="${prefix}/doc/$PACKAGE-$VERSION"
85a71060 37libdir="${exec_prefix}/lib"
5d3bb684 38
dcd32750 39dnl i18n support
5d3bb684
AF
40AC_PATH_PROGS(MSGMERGE, msgmerge)
41AC_PATH_PROGS(GMSGFMT, gmsgfmt msgfmt)
42
dcd32750
AF
43CATALOGS=
44POTFILES=
45for lang in $ALL_LINGUAS; do
46 CATALOGS="$CATALOGS $lang.gmo"
47 POTFILES="$POTFILES $lang.po"
48done
7e04fe0e 49
dcd32750 50POTSRC=
2c883f5e 51for src in $SHSCRIPTS; do
dcd32750
AF
52 POTSRC="$POTSRC \$(top_srcdir)/$src"
53done
54AC_ARG_WITH(localedir,
55 [ --with-localedir=PATH specify where the locale stuff should go ])
56
57if test "x$LOCALEDIR" = "x"; then
58 if test "x$with_localedir" != "x"; then
59 LOCALEDIR=$with_localedir
60 else
61 LOCALEDIR='$(prefix)/share/locale'
62 fi
63fi
64
65localedir=$LOCALEDIR
66gnulocaledir=$LOCALEDIR
67
68if test "`eval echo $sysconfdir`" = "NONE/etc"; then
69 defaultdir="/usr/local/etc"
70else
71 defaultdir="`eval echo $sysconfdir`"
72fi
73
74dnl Output
75AC_SUBST(BASHSCRIPTS)
76AC_SUBST(CATALOGS)
77AC_SUBST(POTFILES)
78AC_SUBST(POTSRC)
79AC_SUBST(localedir)
80AC_SUBST(gnulocaledir)
81
7e04fe0e 82AC_SUBST(pppdir)
83AC_SUBST(networkscriptsdir)
84AC_SUBST(sysconfigdir)
85AC_SUBST(rcdir)
86AC_SUBST(docdir)
87AC_SUBST(libdir)
88
89AC_OUTPUT(Makefile src/Makefile doc/Makefile \
90 ppp/Makefile ppp/ip-up.d/Makefile ppp/ip-down.d/Makefile \
91 sysconfig/Makefile \
92 sysconfig/network-scripts/Makefile \
ca263bb1
AF
93 sysconfig/interfaces/Makefile \
94 sysconfig/interfaces/data/Makefile \
36ddc8d8 95 rc.d/Makefile rc.d/init.d/Makefile \
dcd32750 96 po/Makefile \
7e04fe0e 97 rc-scripts.spec)
This page took 0.062396 seconds and 4 git commands to generate.