Patchwork [03/20] Add feature configure help

login
register
mail settings
Submitter Juan Quintela
Date Aug. 12, 2009, 4:20 p.m.
Message ID <194fd4a55722b9571dcee5d617e87b388f89e361.1250093910.git.quintela@redhat.com>
Download mbox | patch
Permalink /patch/31204/
State Superseded
Headers show

Comments

Juan Quintela - Aug. 12, 2009, 4:20 p.m.
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
 configure |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

Patch

diff --git a/configure b/configure
index 4573453..cda8213 100755
--- a/configure
+++ b/configure
@@ -168,6 +168,17 @@  case "$cpu" in
     cpu="unknown"
   ;;
 esac
+
+# Default value for a variable defining feature "foo"
+#  * foo="no", feature will only be used if --enable-foo arg is given
+#  * foo="", feature will be searched for, and if found, will be used
+#  * foo="yes", this value vill only be set by --enable-foo flag.
+#                   feature will searched for, if not found, configure exits with error
+#
+# Always add --enable-foo and --disable-foo command line args.  Distributions want
+# to ensure that several features are compiled in, and it is impossible without a
+# --enable-foo that exits if feature is not found
+
 brlapi="yes"
 gprof="no"
 debug_tcg="no"