summaryrefslogtreecommitdiffstats
path: root/sqwebmail/html/en-us/configure.ac
blob: fc54ed1900efb363f314ce0443f831fdbe3a12f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
dnl

AC_INIT(sqwebmail-en-us, 0.1, [courier-sqwebmail@lists.sourceforge.net])

>confdefs.h  # Kill PACKAGE_ macros

AC_CONFIG_SRCDIR(empty.html)

AC_CONFIG_AUX_DIR(../../../..)
AM_INIT_AUTOMAKE([foreign no-define])

changequote(:,:)
lang="`cat ${srcdir}/LANGUAGE | sed 's/[^a-zA-z]/_/g'`"
changequote([,])

LPATH="$PATH:/usr/local/bin"
AC_PATH_PROG(SED, sed, sed, $LPATH)
if test "$SED" = "sed"
then
	AC_MSG_ERROR(sed not found.)
fi

lang=`cat ${srcdir}/LANGUAGE`
AC_SUBST(lang)

test "x$prefix" = xNONE && prefix=$ac_default_prefix
eval "prefix=$prefix"
eval "datadir=$datadir"
htmldir="$datadir/sqwebmail/html"
AC_SUBST(htmldir)


AC_SUBST(htmldir)
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_OUTPUT(Makefile)