Better way to get source dir of configure script

And updated submodules
This commit is contained in:
Jon Siwek 2010-11-22 21:19:02 -06:00
parent 8901b30236
commit 5964da43fb
5 changed files with 5 additions and 8 deletions

5
configure vendored
View file

@ -51,10 +51,7 @@ Usage: $0 [OPTION]... [VAR=VALUE]...
CXXFLAGS C++ compiler flags
"
sourcedir=`dirname $0`
if [ "$sourcedir" = "." ]; then
sourcedir=`pwd`
fi
sourcedir="$( cd "$( dirname "$0" )" && pwd )"
# Function to append a CMake cache entry definition to the
# CMakeCacheEntries variable