Use the AS_HELP_STRING macro to format help messages. Fixes bug #337068.
2006-12-19 Julio M. Merino Vidal <jmmv@NetBSD.org> * configure.in: * libgtop-sysdeps.m4: Use the AS_HELP_STRING macro to format help messages. Fixes bug #337068.
This commit is contained in:
committed by
Benoît Dejean
parent
a288a086f7
commit
3f25ae9b43
@@ -1,3 +1,11 @@
|
|||||||
|
2006-12-01 Julio M. Merino Vidal <jmmv@NetBSD.org>
|
||||||
|
|
||||||
|
* configure.in:
|
||||||
|
* libgtop-sysdeps.m4:
|
||||||
|
|
||||||
|
Use the AS_HELP_STRING macro to format help messages.
|
||||||
|
Fixes bug #337068.
|
||||||
|
|
||||||
2006-11-27 Benoît Dejean <benoit@placenet.org>
|
2006-11-27 Benoît Dejean <benoit@placenet.org>
|
||||||
|
|
||||||
* libgtop-sysdeps.m4:
|
* libgtop-sysdeps.m4:
|
||||||
|
18
configure.in
18
configure.in
@@ -25,6 +25,7 @@ m4_define([libgtop_server_version], [5])
|
|||||||
# Version code calculation
|
# Version code calculation
|
||||||
m4_define([libgtop_version_code], [m4_eval(libgtop_major_version * 1000000 + libgtop_minor_version * 1000 + libgtop_micro_version)])
|
m4_define([libgtop_version_code], [m4_eval(libgtop_major_version * 1000000 + libgtop_minor_version * 1000 + libgtop_micro_version)])
|
||||||
|
|
||||||
|
AC_PREREQ(2.59)
|
||||||
AC_INIT([libgtop], [libgtop_version],
|
AC_INIT([libgtop], [libgtop_version],
|
||||||
[http://bugzilla.gnome.org/enter_bug.cgi?product=libgtop])
|
[http://bugzilla.gnome.org/enter_bug.cgi?product=libgtop])
|
||||||
AC_CONFIG_SRCDIR(copyright.txt)
|
AC_CONFIG_SRCDIR(copyright.txt)
|
||||||
@@ -87,8 +88,10 @@ GNOME_LIBGTOP_SYSDEPS
|
|||||||
GNOME_LIBGTOP_TYPES
|
GNOME_LIBGTOP_TYPES
|
||||||
|
|
||||||
AC_ARG_WITH(libgtop-inodedb,
|
AC_ARG_WITH(libgtop-inodedb,
|
||||||
[ --with-libgtop-inodedb Build the inodedb stuff (default=no)],
|
AS_HELP_STRING([--with-libgtop-inodedb],
|
||||||
[build_inodedb="$withval"], [build_inodedb=no])
|
[Build the inodedb stuff @<:@default=no@:>@]),
|
||||||
|
[build_inodedb="$withval"],
|
||||||
|
[build_inodedb=no])
|
||||||
|
|
||||||
LIBGTOP_EXTRA_LIBS=
|
LIBGTOP_EXTRA_LIBS=
|
||||||
|
|
||||||
@@ -279,8 +282,15 @@ dnl For diskusage stuff
|
|||||||
GNOME_FILEUTILS_CHECKS
|
GNOME_FILEUTILS_CHECKS
|
||||||
|
|
||||||
dnl Debugging
|
dnl Debugging
|
||||||
AC_ARG_ENABLE(debug, [ --enable-debug turn on debugging [default=no]],AC_DEFINE(LIBGTOP_ENABLE_DEBUG, 1, [Define to enable debugging]),)
|
AC_ARG_ENABLE(debug,
|
||||||
AC_ARG_ENABLE(fatal-warnings, [ --enable-fatal-warnings make all warnings fatal [debug=no]],AC_DEFINE(LIBGTOP_FATAL_WARNINGS, 1, [Define to enable fatal warnings]),)
|
AS_HELP_STRING([--enable-debug],
|
||||||
|
[Turn on debugging @<:@default=no@:>@]),
|
||||||
|
AC_DEFINE(LIBGTOP_ENABLE_DEBUG, 1, [Define to enable debugging]))
|
||||||
|
AC_ARG_ENABLE(fatal-warnings,
|
||||||
|
AS_HELP_STRING([--enable-fatal-warnings],
|
||||||
|
[Make all warnings fatal @<:@debug=no@:>@]),
|
||||||
|
AC_DEFINE(LIBGTOP_FATAL_WARNINGS, 1,
|
||||||
|
[Define to enable fatal warnings]))
|
||||||
|
|
||||||
dnl These definitions are expanded in make.
|
dnl These definitions are expanded in make.
|
||||||
LIBGTOP_LIBS='-L$(libdir)'
|
LIBGTOP_LIBS='-L$(libdir)'
|
||||||
|
@@ -18,19 +18,22 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
|
|||||||
AC_SUBST(libgtop_need_server)
|
AC_SUBST(libgtop_need_server)
|
||||||
|
|
||||||
AC_ARG_WITH(libgtop-examples,
|
AC_ARG_WITH(libgtop-examples,
|
||||||
[ --with-libgtop-examples Build the libgtop examples (default=no)],[
|
AS_HELP_STRING([--with-libgtop-examples],
|
||||||
|
[Build the libgtop examples @<:@default=no@:>@]),[
|
||||||
build_examples="$withval"], [build_examples=no])
|
build_examples="$withval"], [build_examples=no])
|
||||||
|
|
||||||
AM_CONDITIONAL(EXAMPLES, test x"$build_examples" = xyes)
|
AM_CONDITIONAL(EXAMPLES, test x"$build_examples" = xyes)
|
||||||
|
|
||||||
AC_ARG_ENABLE(hacker-mode,
|
AC_ARG_ENABLE(hacker-mode,
|
||||||
[ --enable-hacker-mode Enable building of unstable sysdeps],
|
AS_HELP_STRING([--enable-hacker-mode],
|
||||||
|
[Enable building of unstable sysdeps]),
|
||||||
[hacker_mode="$enableval"], [hacker_mode=no])
|
[hacker_mode="$enableval"], [hacker_mode=no])
|
||||||
|
|
||||||
AM_CONDITIONAL(HACKER_MODE, test x"$hacker_mode" = xyes)
|
AM_CONDITIONAL(HACKER_MODE, test x"$hacker_mode" = xyes)
|
||||||
|
|
||||||
AC_ARG_WITH(libgtop-smp,
|
AC_ARG_WITH(libgtop-smp,
|
||||||
[ --with-libgtop-smp Enable SMP support (default-auto)],[
|
AS_HELP_STRING([--with-libgtop-smp],
|
||||||
|
[Enable SMP support @<:@default-auto@:>@]),[
|
||||||
libgtop_smp="$withval"],[libgtop_smp=auto])
|
libgtop_smp="$withval"],[libgtop_smp=auto])
|
||||||
|
|
||||||
if test $libgtop_smp = auto ; then
|
if test $libgtop_smp = auto ; then
|
||||||
|
Reference in New Issue
Block a user