From 97942bc0201ab68f06e6ee3830dc1dd376c9eaf8 Mon Sep 17 00:00:00 2001 From: Pietro Incardona <incardon@mpi-cbg.de> Date: Mon, 14 Sep 2015 11:21:42 +0200 Subject: [PATCH] Adding functionality for pdata location --- configure.ac | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index fff4b7d..6cc50d5 100755 --- a/configure.ac +++ b/configure.ac @@ -54,9 +54,17 @@ else NVCCFLAGS+="$NVCCFLAGS -O3 " fi +####### Set location of openfpm_pdata + +AC_ARG_WITH([pdata], + AS_HELP_STRING([--with-pdata=directory], + [specify where is located the pdata project]), + [pdata_dir="$withval"], + [pdata_dir="../../openfpm_pdata/src"]) + ####### include openfpm_devices include path -INCLUDES_PATH+="-I. -Iconfig -I../../openfpm_data/src -I../../openfpm_devices/src -I../../openfpm_pdata/src " +INCLUDES_PATH+="-I. -Iconfig -I../../openfpm_data/src -I../../openfpm_devices/src -I$pdata_dir " ###### Check for memleak check compilation -- GitLab