blob: 956af77f46b122a5b53de09e237476c791bc283d (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
dnl
dnl Configure.in for Skribe
dnl
dnl Author: Erick Gallesio [eg@essi.fr]
dnl Creation date: 23-Jul-2003 12:04 (eg)
dnl Last file update: 26-Oct-2004 20:24 (eg)
AC_INIT(../../src/common/api.scm)
### AM_INIT_AUTOMAKE(skribe,0.0)
PACKAGE=skribe
SYSTEM=stklos
SKRIBE='$(BINDIR)/skribe.stklos'
SKRIBEBIBTEX='$(BINDIR)/skribebibtex.stklos'
##
## Initialize prefix
##
if test "${prefix}" = "NONE" -o "$prefix" = "" ;then
prefix="/usr/local"
fi
##
## Get information from ../config
##
if test -f ../config ;then
. ../config
else
echo "You must configure Skribe from the ../.. directory"
exit 1
fi
PREFIX=$prefix
SKRIBE_RELEASE=${release}
SKRIBE_URL=${skribeurl}
##
## Substitutions
##
AC_SUBST(PACKAGE)
AC_SUBST(PREFIX)
AC_SUBST(SKRIBE_RELEASE)
AC_SUBST(SKRIBE_URL)
AC_SUBST(SYSTEM)
AC_SUBST(SKRIBE)
AC_SUBST(SKRIBEINFO)
AC_SUBST(SKRIBEBIBTEX)
#
# Outputs
#
AC_OUTPUT(Makefile ../../src/stklos/Makefile Makefile.config Makefile.skb)
# Makefile.config must be in the parent directory
mv Makefile.config ..
|