Patchwork [27/39] add autoconfy alias --with-sysroot for --interp-prefix

login
register
mail settings
Submitter Paolo Bonzini
Date Oct. 12, 2010, 1 p.m.
Message ID <1286888457-5033-28-git-send-email-pbonzini@redhat.com>
Download mbox | patch
Permalink /patch/67585/
State New
Headers show

Comments

Paolo Bonzini - Oct. 12, 2010, 1 p.m.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 configure |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

Patch

diff --git a/configure b/configure
index d677b53..581b91e 100755
--- a/configure
+++ b/configure
@@ -514,7 +514,7 @@  for opt do
   ;;
   --prefix=*) prefix="$optarg"
   ;;
-  --interp-prefix=*) interp_prefix="$optarg"
+  --with-sysroot=*|--interp-prefix=*) interp_prefix="$optarg"
   ;;
   --source-path=*)
   ;;
@@ -826,8 +826,6 @@  EOF
 echo "Standard options:"
 echo "  --help                   print this message"
 echo "  --prefix=PREFIX          install in PREFIX [$prefix]"
-echo "  --interp-prefix=PREFIX   where to find shared libraries, etc."
-echo "                           use %M for cpu name [$interp_prefix]"
 echo "  --target-list=LIST       set target list [$target_list]"
 echo ""
 echo "Libraries:"
@@ -837,6 +835,8 @@  echo "  --with-oss-lib           path to OSS library"
 echo ""
 echo "Advanced options (experts only):"
 echo "  --source-path=PATH       path of source code [$source_path]"
+echo "  --with-sysroot=PREFIX    where to find shared libraries, etc."
+echo "                           use %M for cpu name [$interp_prefix]"
 echo "  --cross-prefix=PREFIX    use PREFIX for compile tools [$cross_prefix]"
 echo "  --enable-static          enable static build [$static]"
 echo "  --mandir=PATH            install man pages in PATH"
@@ -925,6 +925,8 @@  echo "  --disable-spice          disable spice"
 echo "  --enable-spice           enable spice"
 echo ""
 echo "Deprecated options:"
+echo "  --interp-prefix=PREFIX   where to find shared libraries, etc."
+echo "                           use %M for cpu name [$interp_prefix]"
 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"