Rename --with-libgtop-examples to --with-examples

This makes what commit 598374b wanted to do really work. The 9-year-old
commit was intented to rename the option, but it modified the help string
without changing the first argument of AC_ARG_WITH.

https://bugzilla.gnome.org/show_bug.cgi?id=770165
This commit is contained in:
Ting-Wei Lan
2016-08-19 15:38:15 +08:00
committed by Robert Roth
parent 1a8d18a17f
commit b68b2ec65e

View File

@@ -13,7 +13,7 @@ AC_DEFUN([GNOME_LIBGTOP_SYSDEPS],[
AC_SUBST(libgtop_sysdeps_dir) AC_SUBST(libgtop_sysdeps_dir)
AC_SUBST(libgtop_need_server) AC_SUBST(libgtop_need_server)
AC_ARG_WITH(libgtop-examples, AC_ARG_WITH(examples,
AS_HELP_STRING([--with-examples], AS_HELP_STRING([--with-examples],
[Build the libgtop examples @<:@default=yes@:>@]),[ [Build the libgtop examples @<:@default=yes@:>@]),[
build_examples="$withval"], [build_examples=yes]) build_examples="$withval"], [build_examples=yes])