comparison m4/acinclude.m4 @ 15238:c4779a180134

avoid confusing --disable-foo (default is yes) configure help messages * configure.ac, m4/acinclude.m4: If a feature FOO is enabled by default, use --disable-FOO in the help message. If it is disabled by default, use --enable-FOO.
author John W. Eaton <jwe@octave.org>
date Sun, 26 Aug 2012 16:17:02 -0400
parents 8750f2cdc4f1
children e787ba62aacf
comparison
equal deleted inserted replaced
15237:d65ef0fc5e05 15238:c4779a180134
1016 dnl 1016 dnl
1017 AC_DEFUN([OCTAVE_ENABLE_READLINE], [ 1017 AC_DEFUN([OCTAVE_ENABLE_READLINE], [
1018 USE_READLINE=true 1018 USE_READLINE=true
1019 READLINE_LIBS= 1019 READLINE_LIBS=
1020 AC_ARG_ENABLE(readline, 1020 AC_ARG_ENABLE(readline,
1021 [AS_HELP_STRING([--enable-readline], 1021 [AS_HELP_STRING([--disable-readline],
1022 [use readline library (default is yes)])], 1022 [use readline library])],
1023 [if test "$enableval" = no; then 1023 [if test "$enableval" = no; then
1024 USE_READLINE=false 1024 USE_READLINE=false
1025 warn_readline="command editing and history features require GNU Readline" 1025 warn_readline="command editing and history features require GNU Readline"
1026 fi]) 1026 fi])
1027 if $USE_READLINE; then 1027 if $USE_READLINE; then