diff options
author | Haru <haru@dotalux.com> | 2016-04-19 00:26:41 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-04-19 00:26:41 +0200 |
commit | 367e95d6596c7d6f39efc9dc0e236b8c91e8689a (patch) | |
tree | 0948caaaf4fcef4ca62d5f187fef4f9b34cb5dd3 | |
parent | bbcb0406e5a430d1c85b3448f88a72f342530cf0 (diff) | |
download | hercules-367e95d6596c7d6f39efc9dc0e236b8c91e8689a.tar.gz hercules-367e95d6596c7d6f39efc9dc0e236b8c91e8689a.tar.bz2 hercules-367e95d6596c7d6f39efc9dc0e236b8c91e8689a.tar.xz hercules-367e95d6596c7d6f39efc9dc0e236b8c91e8689a.zip |
Corrected some variable name errors in the configure script
The errors affected the script output when passing an invalid value to
various --enble-xxx=yyy options.
Signed-off-by: Haru <haru@dotalux.com>
-rwxr-xr-x | configure | 8 | ||||
-rw-r--r-- | configure.in | 6 |
2 files changed, 7 insertions, 7 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in 2e1b3eb. +# From configure.in bbcb040. # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69. # @@ -3654,7 +3654,7 @@ if test "${enable_lto+set}" = set; then : case $enableval in "no");; "yes");; - *) as_fn_error $? "invalid argument --enable-lto=$disableval... stopping" "$LINENO" 5;; + *) as_fn_error $? "invalid argument --enable-lto=$enableval... stopping" "$LINENO" 5;; esac else @@ -3674,7 +3674,7 @@ if test "${enable_static+set}" = set; then : case $enableval in "no");; "yes");; - *) as_fn_error $? "invalid argument --enable-static=$disableval... stopping" "$LINENO" 5;; + *) as_fn_error $? "invalid argument --enable-static=$enableval... stopping" "$LINENO" 5;; esac else @@ -3695,7 +3695,7 @@ if test "${enable_sanitize+set}" = set; then : "no");; "yes");; "full");; - *) as_fn_error $? "invalid argument --enable-sanitize=$disableval... stopping" "$LINENO" 5;; + *) as_fn_error $? "invalid argument --enable-sanitize=$enableval... stopping" "$LINENO" 5;; esac else diff --git a/configure.in b/configure.in index 5bb2cdec3..c276f7a31 100644 --- a/configure.in +++ b/configure.in @@ -283,7 +283,7 @@ AC_ARG_ENABLE( case $enableval in "no");; "yes");; - *) AC_MSG_ERROR([[invalid argument --enable-lto=$disableval... stopping]]);; + *) AC_MSG_ERROR([[invalid argument --enable-lto=$enableval... stopping]]);; esac ], [enable_lto="no"] @@ -306,7 +306,7 @@ AC_ARG_ENABLE( case $enableval in "no");; "yes");; - *) AC_MSG_ERROR([[invalid argument --enable-static=$disableval... stopping]]);; + *) AC_MSG_ERROR([[invalid argument --enable-static=$enableval... stopping]]);; esac ], [enable_static="no"] @@ -331,7 +331,7 @@ AC_ARG_ENABLE( "no");; "yes");; "full");; - *) AC_MSG_ERROR([[invalid argument --enable-sanitize=$disableval... stopping]]);; + *) AC_MSG_ERROR([[invalid argument --enable-sanitize=$enableval... stopping]]);; esac ], [enable_sanitize="no"] |