Skip to content
Snippets Groups Projects
Commit d490b635 authored by Martin Nolte's avatar Martin Nolte
Browse files

only export variables if configure is called afterwards

git-svn-id: https://dune.mathematik.uni-freiburg.de/svn/alugrid/trunk@1246 0d966ed9-3843-0410-af09-ebfb50bd7c74
parent 27c1813b
No related branches found
No related tags found
No related merge requests found
......@@ -101,13 +101,13 @@ autoconf
#### start configure with special environment
export CC=$COMP
export CXX=$CXXCOMP
export CPP="$COMP -E"
if [ $# -gt 0 ] ; then
export CC=$COMP
export CXX=$CXXCOMP
export CPP="$COMP -E"
export CFLAGS="$COMPFLAGS"
export CXXFLAGS="$COMPFLAGS"
export CFLAGS="$COMPFLAGS"
export CXXFLAGS="$COMPFLAGS"
if [ "$1" != "" ] ; then
./configure $DEFAULTCONFOPT $CONFOPT
./configure $DEFAULTCONFOPT $CONFOPT
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment