From 56f701912476d32ca6787d7eb72e2c228eb29827 Mon Sep 17 00:00:00 2001
From: Pietro Incardona <incardon@mpi-cbg.de>
Date: Thu, 17 Sep 2015 02:12:27 +0200
Subject: [PATCH] Fixing configure script

---
 configure.ac | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure.ac b/configure.ac
index 35ad7c8..929c24f 100755
--- a/configure.ac
+++ b/configure.ac
@@ -18,6 +18,11 @@ CXXFLAGS+=" --std=c++11 -march=native -mtune=native -Wno-unused-local-typedefs -
 NVCCFLAGS=" "
 INCLUDES_PATH=" -Iconfig "
 
+# set default prefix
+if test "$prefix" = "NONE"; then
+   prefix="/usr/local"
+fi
+
 # Add openfpm_io to prefix forlder (if prefix end if openfpm_pdata remove that path)
 if [ echo "$prefix" | grep -qE "/openfpm_pdata$" ]; then
   prefix=$(echo "$prefix" | sed 's/\(.*\)\/openfpm_pdata$/\1/g')
-- 
GitLab