1 dnl $Id: configure.in,v 1.13 1999/08/31 23:12:44 wiget Exp $
8 AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)
10 dnl Checks for programs.
17 pppdir='${sysconfdir}/ppp'
18 sysconfigdir='${sysconfdir}/sysconfig'
19 networkscriptsdir='${sysconfigdir}/network-scripts'
20 rcdir='${sysconfdir}/rc.d'
21 docdir="${prefix}/doc/$PACKAGE-$VERSION"
22 libdir="${exec_prefix}/lib"
25 AC_PATH_PROGS(MSGMERGE, msgmerge)
26 AC_PATH_PROGS(GMSGFMT, gmsgfmt msgfmt)
30 for lang in $ALL_LINGUAS; do
31 CATALOGS="$CATALOGS $lang.gmo"
32 POTFILES="$POTFILES $lang.po"
36 for src in $BASHSCRIPTS; do
37 POTSRC="$POTSRC \$(top_srcdir)/$src"
39 AC_ARG_WITH(localedir,
40 [ --with-localedir=PATH specify where the locale stuff should go ])
42 if test "x$LOCALEDIR" = "x"; then
43 if test "x$with_localedir" != "x"; then
44 LOCALEDIR=$with_localedir
46 LOCALEDIR='$(prefix)/share/locale'
51 gnulocaledir=$LOCALEDIR
53 if test "`eval echo $sysconfdir`" = "NONE/etc"; then
54 defaultdir="/usr/local/etc"
56 defaultdir="`eval echo $sysconfdir`"
65 AC_SUBST(gnulocaledir)
68 AC_SUBST(networkscriptsdir)
69 AC_SUBST(sysconfigdir)
74 AC_OUTPUT(Makefile src/Makefile doc/Makefile \
75 ppp/Makefile ppp/ip-up.d/Makefile ppp/ip-down.d/Makefile \
77 sysconfig/network-scripts/Makefile \
78 sysconfig/interfaces/Makefile \
79 sysconfig/interfaces/data/Makefile \
80 rc.d/Makefile rc.d/init.d/Makefile \