M4 : Clean up AC_WITH_ARG usage using AC_HELP_STRING.

This commit is contained in:
Erik de Castro Lopo 2009-02-09 10:35:52 +11:00
parent 9340cede97
commit 857b712e78
3 changed files with 9 additions and 3 deletions

View File

@ -9,6 +9,9 @@
* M4/endian.m4
Fix bracketing of function for autoconf 2.63. Thanks to Richard Ash.
* M4/octave.m4 M4/mkoctfile_version.m4
Clean up AC_WITH_ARG usage using AC_HELP_STRING.
2009-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* Octave/Makefile.am

View File

@ -16,7 +16,8 @@ AC_DEFUN([AC_MKOCTFILE_VERSION],
AC_ARG_WITH(mkoctfile,
[ --with-mkoctfile choose the mkoctfile version], [ with_mkoctfile=$withval ])
AC_HELP_STRING([--with-mkoctfile], [choose the mkoctfile version]),
[ with_mkoctfile=$withval ])
test -z "$with_mkoctfile" && with_mkoctfile=mkoctfile

View File

@ -29,7 +29,8 @@ AC_DEFUN([AC_OCTAVE_VERSION],
[
AC_ARG_WITH(octave,
[ --with-octave choose the octave version], [ with_octave=$withval ])
AC_HELP_STRING([--with-octave], [choose the octave version]),
[ with_octave=$withval ])
test -z "$with_octave" && with_octave=octave
@ -62,7 +63,8 @@ AC_DEFUN([AC_OCTAVE_CONFIG_VERSION],
[
AC_ARG_WITH(octave-config,
[ --with-octave-config choose the octave-config version], [ with_octave_config=$withval ])
AC_HELP_STRING([--with-octave-config], [choose the octave-config version]),
[ with_octave_config=$withval ])
test -z "$with_octave_config" && with_octave_config=octave-config