forked from openlink/html5pivotviewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
82 lines (70 loc) · 2.32 KB
/
configure.ac
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
70
71
72
73
74
75
76
77
78
79
80
81
82
#
# This file is part of the html5 pivotviewer project
#
# Copyright (C) 2012-2016 OpenLink Software
#
# This project is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; only version 2 of the License, dated June 1991.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
#
#AC_PREREQ(2.60)
AC_INIT(
[HTML5 PivotViewer],
[1.0],
[html5pivotviewer]
)
AC_CONFIG_MACRO_DIR([admin])
AC_CONFIG_AUX_DIR([admin])
AM_INIT_AUTOMAKE([foreign])
# --------------------------------------------------------------
# Check for python (vadpacker)
# --------------------------------------------------------------
AM_PATH_PYTHON([2.5])
# --------------------------------------------------------------
# Allow to specify the installation vad dir
# --------------------------------------------------------------
AC_ARG_WITH(
[vaddir],
[AS_HELP_STRING(
[--with-vaddir=PATH],
[Specify the full path to where the vad packages should be installed. Defaults to DATADIR/virtuoso/vad.])],
[vaddir=${withval}],
[vaddir=$datadir/virtuoso/vad])
# Make all required variables available
AC_SUBST([vaddir])
AC_CONFIG_FILES([
Makefile
])
AC_OUTPUT
# --------------------------------------------------------------
# Show a summary to the user
# --------------------------------------------------------------
B=`tput bold 2>/dev/null`
N=`tput sgr0 2>/dev/null`
echo ""
echo ""
echo "${B}${PACKAGE_STRING} configuration summary${N}"
echo "${PACKAGE_STRING} configuration summary" | sed 's/./=/g'
echo ""
echo "VAD version: `./gen_version.sh`"
echo "VAD install directory: $vaddir"
echo ""
echo "Python: $PYTHON ($PYTHON_VERSION)"
echo ""
echo "${B}Next Steps:${N}"
echo "Build the PivotViewer vad package via:"
echo " # make"
echo "Install the PivotViewer vad package via:"
echo " # make install"
echo ""