@@ -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"
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> --- configure | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-)