Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Wikipedia Deletionists Get Exposed

Name: Anonymous 2010-03-18 9:28

Name: Anonymous 2010-03-20 11:35

>>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.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List