summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-06-06 22:38:38 +0100
committerMans Rullgard <mans@mansr.com>2011-06-23 12:17:25 +0100
commitf038cf3c745099151cdc8aa311fa83f5907598a6 (patch)
treeca5910666a5de287dd9ec2e14004756b227dd3e2 /configure
parentbb5249244ddb22df1cfb8dee1c369e6cd653d00d (diff)
build: remove SRC_PATH_BARE variable
Setting SRC_PATH to "." when building in-tree removes the need for a quoted version of the source path since out-of-tree builds are not possible if the pathname contains spaces. Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure b/configure
index 672d452849..0f2bd063b8 100755
--- a/configure
+++ b/configure
@@ -1688,7 +1688,7 @@ DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -MM'
# find source path
if test -f configure; then
- source_path="$(pwd)"
+ source_path=.
disable source_path_used
else
source_path=$(cd $(dirname "$0"); pwd)
@@ -3257,8 +3257,7 @@ INCDIR=\$(DESTDIR)$incdir
BINDIR=\$(DESTDIR)$bindir
DATADIR=\$(DESTDIR)$datadir
MANDIR=\$(DESTDIR)$mandir
-SRC_PATH="$source_path"
-SRC_PATH_BARE=$source_path
+SRC_PATH=$source_path
CC_IDENT=$cc_ident
ARCH=$arch
CC=$cc