-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfigure.ac
More file actions
69 lines (61 loc) · 1.96 KB
/
Copy pathconfigure.ac
File metadata and controls
69 lines (61 loc) · 1.96 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
#!/bin/bash -norc
dnl This file is an input file used by the GNU "autoconf" program to
dnl generate the file "configure", which is run during Tcl installation
dnl to configure the system for the local environment.
AC_INIT([tclinterp],[0.15])
TEA_INIT()
AC_CONFIG_AUX_DIR(tclconfig)
TEA_PATH_TCLCONFIG
TEA_LOAD_TCLCONFIG
TEA_PREFIX
TEA_SETUP_COMPILER
TEA_ADD_SOURCES([interp.c tclinterp_wrap.c spline.c])
TEA_ADD_HEADERS([generic/interp.h generic/spline.h])
TEA_ADD_INCLUDES([])
TEA_ADD_LIBS([])
TEA_ADD_CFLAGS([])
TEA_ADD_STUB_SOURCES([])
TEA_ADD_TCL_SOURCES([tclinterp.tcl])
DOC_HTML_FILES="index.html objects.inv search.html searchindex.js genindex.html"
DOC_SRCDIR="${srcdir}/docs"
if test -d "$DOC_SRCDIR"; then
# Add all top-level *.html files from docs/, not subdirectories.
for f in "$DOC_SRCDIR"/*.html; do
test -f "$f" || continue
b=`basename "$f"`
case " $DOC_HTML_FILES " in
*" $b "*) ;;
*) DOC_HTML_FILES="$DOC_HTML_FILES $b" ;;
esac
done
# Add everything from docs/_static and docs/assets recursively.
for d in _static assets; do
if test -d "$DOC_SRCDIR/$d"; then
for f in `find "$DOC_SRCDIR/$d" -type f -print`; do
rel=`echo "$f" | sed "s|^$DOC_SRCDIR/||"`
case " $DOC_HTML_FILES " in
*" $rel "*) ;;
*) DOC_HTML_FILES="$DOC_HTML_FILES $rel" ;;
esac
done
fi
done
else
AC_MSG_WARN([documentation directory not found: $DOC_SRCDIR])
fi
#AC_MSG_NOTICE([DOC_HTML_FILES = $DOC_HTML_FILES])
AC_SUBST([DOC_HTML_FILES])
# Test files to include in the distribution.
# Paths are relative to $srcdir.
DIST_TEST_FILES="test/all.tcl test/test.test"
AC_SUBST([DIST_TEST_FILES])
TEA_PUBLIC_TCL_HEADERS
TEA_ENABLE_THREADS
TEA_ENABLE_SHARED
TEA_CONFIG_CFLAGS
TEA_ENABLE_SYMBOLS
TEA_MAKE_LIB
TEA_PROG_TCLSH
AC_SUBST(TCLLIBPATH)
AC_CONFIG_FILES([Makefile swig_gen.sh pkgIndex.tcl])
AC_OUTPUT