diff mbox

[30/39] add autoconfy alias --with-headers for --kerneldir

Message ID 1286888457-5033-31-git-send-email-pbonzini@redhat.com
State New
Headers show

Commit Message

Paolo Bonzini Oct. 12, 2010, 1 p.m. UTC
This name is already used by glibc.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 configure |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/configure b/configure
index e1eeda2..39a7119 100755
--- a/configure
+++ b/configure
@@ -726,7 +726,7 @@  for opt do
   ;;
   --disable-blobs) blobs="no"
   ;;
-  --kerneldir=*) kerneldir="$optarg"
+  --with-headers=*|--kerneldir=*) kerneldir="$optarg"
   ;;
   --with-pkgversion=*) pkgversion=" ($optarg)"
   ;;
@@ -831,6 +831,7 @@  echo "Libraries:"
 echo "  --with-fmod-lib          path to FMOD library"
 echo "  --with-fmod-inc          path to FMOD includes"
 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]"
@@ -913,7 +914,6 @@  echo "  --disable-attr           disables attr and xattr support"
 echo "  --enable-attr            enable attr and xattr support"
 echo "  --enable-io-thread       enable IO thread"
 echo "  --disable-blobs          disable installing provided firmware blobs"
-echo "  --kerneldir=PATH         look for kernel includes in PATH"
 echo "  --enable-docs            enable documentation build"
 echo "  --disable-docs           disable documentation build"
 echo "  --disable-vhost-net      disable vhost-net acceleration support"
@@ -932,6 +932,7 @@  echo "  --extra-cflags=CFLAGS    append extra C compiler flags QEMU_CFLAGS"
 echo "  --extra-ldflags=LDFLAGS  append extra linker flags LDFLAGS"
 echo "  --fmod-lib               path to FMOD library"
 echo "  --fmod-inc               path to FMOD includes"
+echo "  --kerneldir=PATH         look for kernel includes in PATH"
 echo "  --oss-lib                path to OSS library"
 echo "  --audio-card-list=LIST   set list of emulated audio cards [$audio_card_list]"
 echo "                           Available cards: $audio_possible_cards"