Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> --- configure | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/configure b/configure index 39a7119..44b5be9 100755 --- a/configure +++ b/configure @@ -182,7 +182,7 @@ for opt do ;; CC=*|--cc=*) CC="$optarg" ;; - --source-path=*) source_path="$optarg" + --srcdir=*|--source-path=*) source_path="$optarg" source_path_used="yes" ;; CPP=*) CPP="$optarg" @@ -516,7 +516,7 @@ for opt do ;; --with-sysroot=*|--interp-prefix=*) sysroot="$optarg" ;; - --source-path=*) + --srcdir=*|--source-path=*) ;; --cross-prefix=*) ;; @@ -834,7 +834,7 @@ echo " --with-oss-lib path to OSS library" echo " --with-headers=PATH look for kernel includes in PATH" echo "" echo "Advanced options (experts only):" -echo " --source-path=PATH path of source code [$source_path]" +echo " --srcdir=PATH path of source code [$source_path]" echo " --enable-targets=LIST choose compiled targets [$target_list]" echo " --with-sysroot=PREFIX where to find shared libraries, etc." echo " use %M for cpu name [$sysroot]" @@ -927,6 +927,7 @@ echo "" echo "Deprecated options:" echo " --interp-prefix=PREFIX where to find shared libraries, etc." echo " use %M for cpu name [$sysroot]" +echo " --source-path=PATH path of source code [$source_path]" echo " --cc=CC use C compiler CC [$cc]" echo " --extra-cflags=CFLAGS append extra C compiler flags QEMU_CFLAGS" echo " --extra-ldflags=LDFLAGS append extra linker flags LDFLAGS" -- 1.7.2.3