-rw-r--r-- | configure.ac | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..b76ae0f --- a/dev/null +++ b/configure.ac | |||
@@ -0,0 +1,28 @@ | |||
1 | AC_INIT([fireflix], [0.0], [fireflix-bugs@klever.net]) | ||
2 | AC_CONFIG_SRCDIR([install.rdf.in]) | ||
3 | AM_INIT_AUTOMAKE([dist-bzip2]) | ||
4 | AC_SUBST([MOZ_EXT_ID],[{4269f719-86de-4668-b8ad-04752c23a69e}]) | ||
5 | |||
6 | AC_PATH_PROG([ZIP],[zip],[false]) | ||
7 | if test "${ZIP}" = "false" ; then | ||
8 | AC_MSG_ERROR([zip is required to produce packaged extension]) | ||
9 | fi | ||
10 | AC_PATH_PROG([XSLTPROC],[xsltproc],[true]) | ||
11 | |||
12 | AC_SUBST([xpidir],[\${top_builddir}/xpi]) | ||
13 | AC_SUBST([xpichromedir],[\${xpidir}/chrome]) | ||
14 | AC_SUBST([xpichromecontentdir],[\${xpichromedir}/content]) | ||
15 | AC_SUBST([xpichromelocaledir],[\${xpichromedir}/locale]) | ||
16 | |||
17 | COPYING="`sed -e 's/\\"/\\"/g' -e 's,$,<br/>,g' COPYING|tr '\n' ' '`" | ||
18 | AC_SUBST([COPYING]) | ||
19 | |||
20 | AC_CONFIG_FILES([ | ||
21 | Makefile | ||
22 | install.rdf | ||
23 | update.rdf | ||
24 | content/Makefile | ||
25 | content/autoconf.dtd | ||
26 | locale/Makefile | ||
27 | ]) | ||
28 | AC_OUTPUT | ||