Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tiago Peixoto
graph-tool
Commits
1c6cd9c0
Commit
1c6cd9c0
authored
Jan 06, 2013
by
Tiago Peixoto
Browse files
Implement --with-python-module-path in configure.ac
This allows ones to specify exactly where the module will be installed.
parent
9a589107
Changes
1
Show whitespace changes
Inline
Side-by-side
configure.ac
View file @
1c6cd9c0
...
@@ -184,6 +184,17 @@ AC_PYTHON_DEVEL([== '${PYTHON_FULL_VERSION}'])
...
@@ -184,6 +184,17 @@ AC_PYTHON_DEVEL([== '${PYTHON_FULL_VERSION}'])
[CPPFLAGS="${CPPFLAGS} ${PYTHON_CPPFLAGS}"]
[CPPFLAGS="${CPPFLAGS} ${PYTHON_CPPFLAGS}"]
[LDFLAGS="${LDFLAGS} ${PYTHON_LDFLAGS}"]
[LDFLAGS="${LDFLAGS} ${PYTHON_LDFLAGS}"]
# default directory for submodules
[MOD_DIR="${PYTHON_SITE_PKG}"]
AC_ARG_WITH([python-module-path], [AS_HELP_STRING([--python-module-path=DIR],
[directory where python module will be installed
[default=auto-detected] ])],
MOD_DIR=$withval)
echo "graph-tool will be installed at: ${MOD_DIR}"
[MOD_DIR="${MOD_DIR}/graph_tool"]
AC_SUBST(MOD_DIR)
echo "==========================="
echo "==========================="
echo "Using python version: ${PYTHON_FULL_VERSION}"
echo "Using python version: ${PYTHON_FULL_VERSION}"
echo "==========================="
echo "==========================="
...
@@ -356,10 +367,6 @@ AC_SUBST(CXXFLAGS)
...
@@ -356,10 +367,6 @@ AC_SUBST(CXXFLAGS)
-DHAVE_CONFIG_H"]
-DHAVE_CONFIG_H"]
AC_SUBST(MOD_CPPFLAGS)
AC_SUBST(MOD_CPPFLAGS)
# default directory for submodules
[MOD_DIR="${pythondir}/graph_tool"]
AC_SUBST(MOD_DIR)
# default LIBADD flags for submodules
# default LIBADD flags for submodules
[MOD_LIBADD="${PYTHON_LDFLAGS} -l${BOOST_IOSTREAMS_LIB} -l${BOOST_PYTHON_LIB} \
[MOD_LIBADD="${PYTHON_LDFLAGS} -l${BOOST_IOSTREAMS_LIB} -l${BOOST_PYTHON_LIB} \
-l${BOOST_REGEX_LIB} ${OPENMP_LDFLAGS} -lexpat"]
-l${BOOST_REGEX_LIB} ${OPENMP_LDFLAGS} -lexpat"]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment