>>83
Autoconf uses
--with-foo switches to identify the existence and location of a library which should be linked with the program being built. (For example,
--with-x11=/usr/X11, or
--without-x11 to skip the default behavior of searching for the library if no option is given.)
What you want is
--enable-force-sage, which suggests that
force-sage is a configurable option of the program. You could do this with:
AC_ARG_ENABLE(force-sage,
AS_HELP_STRING([--enable-force-sage],
[Force all posts to be submitted with ``sage'']),
FORCE_SAGE=$enableval,
FORCE_SAGE=no)
Then, later in your
configure.ac you would write a conditional like
test x"$FORCE_SAGE" = x"yes" to check if the option was enabled.