[geary] Fix configure whitespace, document VALADOC environment variable.
- From: Michael Gratton <mjog src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [geary] Fix configure whitespace, document VALADOC environment variable.
- Date: Thu, 2 Feb 2017 08:37:12 +0000 (UTC)
commit 29b5aa50e75c8b747907534ae94199e9b4a697f3
Author: Michael James Gratton <mike vee net>
Date: Thu Feb 2 15:41:45 2017 +1100
Fix configure whitespace, document VALADOC environment variable.
configure | 81 +++++++++++++++++++++++++++++++------------------------------
1 files changed, 41 insertions(+), 40 deletions(-)
---
diff --git a/configure b/configure
old mode 100644
new mode 100755
index 40c958b..bf47117
--- a/configure
+++ b/configure
@@ -13,39 +13,40 @@ PREFIX=$DEFAULT_PREFIX
configure_help() {
cat <<- EOT
- Usage:
- ./configure [OPTIONS]...
-
- Options:
- -h, --help Print this help and exit.
- --prefix=PREFIX Prepend PREFIX to program installation paths.
- [$DEFAULT_PREFIX]
- --debug Build for debugging.
-
- --disable-fatal-warnings
- Disable Vala fatal warnings when compiling.
- --enable-ref-tracking
- Enable reference tracking which is dumped to stdout when the program exits.
- --disable-schemas-compile
- Disable compiling the GSettings schema.
- --disable-desktop-update
- Disable desktop database update.
- --disable-desktop-validate
- Disable checking for errors in generated desktop file.
- --disable-icon-update
- Disable icon cache update.
- --disable-documentation
- Disable generating and installing translated help documentation.
- --disable-contractor
- Disable installing Contractor files.
- --disable-poodle-ssl3
- Disable POODLE SSLv3 GnuTLS priority fix. (Not recommended.)
+ Usage:
+ ./configure [OPTIONS]...
+
+ Options:
+ -h, --help Print this help and exit.
+ --prefix=PREFIX Prepend PREFIX to program installation paths.
+ [$DEFAULT_PREFIX]
+ --debug Build for debugging.
+
+ --disable-fatal-warnings
+ Disable Vala fatal warnings when compiling.
+ --enable-ref-tracking
+ Enable reference tracking which is dumped to stdout when the program exits.
+ --disable-schemas-compile
+ Disable compiling the GSettings schema.
+ --disable-desktop-update
+ Disable desktop database update.
+ --disable-desktop-validate
+ Disable checking for errors in generated desktop file.
+ --disable-icon-update
+ Disable icon cache update.
+ --disable-documentation
+ Disable generating and installing translated help documentation.
+ --disable-contractor
+ Disable installing Contractor files.
+ --disable-poodle-ssl3
+ Disable POODLE SSLv3 GnuTLS priority fix. (Not recommended.)
Some influential environment variables:
- PKG_CONFIG_PATH Adds directories to pkg-config's search path.
- PKG_CONFIG_LIBDIR Overrides pkg-config's built-in search path.
+ PKG_CONFIG_PATH Adds directories to pkg-config's search path.
+ PKG_CONFIG_LIBDIR Overrides pkg-config's built-in search path.
- VALAC Name of the vala compiler to use, e.g. "valac-0.18".
+ VALAC Name of the vala compiler to use, e.g. "valac-0.18".
+ VALADOC Name of the valadoc executable to use, e.g. "valadoc-0.18".
EOT
}
@@ -96,24 +97,24 @@ do
--debug)
CMDLINE="${CMDLINE} -DCMAKE_BUILD_TYPE=Debug"
;;
-
+
--disable-fatal-warnings)
CMDLINE="${CMDLINE} -DNO_FATAL_WARNINGS=ON"
;;
-
+
--enable-ref-tracking)
CMDLINE="${CMDLINE} -DREF_TRACKING=ON"
;;
-
+
--disable-schemas-compile)
CMDLINE="${CMDLINE} -DGSETTINGS_COMPILE=OFF"
CMDLINE="${CMDLINE} -DGSETTINGS_COMPILE_IN_PLACE=OFF"
;;
-
+
--disable-icon-update)
CMDLINE="${CMDLINE} -DICON_UPDATE=OFF"
;;
-
+
--disable-desktop-update)
CMDLINE="${CMDLINE} -DDESKTOP_UPDATE=OFF"
;;
@@ -125,23 +126,23 @@ do
--disable-documentation)
CMDLINE="${CMDLINE} -DTRANSLATE_HELP=OFF"
;;
-
+
--disable-contractor)
CMDLINE="${CMDLINE} -DDISABLE_CONTRACT=ON"
;;
-
+
--disable-poodle-ssl3)
CMDLINE="${CMDLINE} -DDISABLE_POODLE=ON"
;;
-
+
VALAC) [ ! $value ] && abort $1
VALAC=$value
;;
-
+
*) abort $option
;;
esac
-
+
shift
done
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]