问题
I'm currently trying to set up a package to be installed with autotools.
In most, if not all, major software packages, configure --help lists a large number of options like ./configure --ENABLE-FLOAT, etc. I was wondering where I can define these options.
Thanks,
Sam
回答1:
Use AC_ARG_ENABLE and AC_ARG_WITH in your configure.ac file.
来源:https://stackoverflow.com/questions/2655177/how-do-you-define-the-options-you-see-in-configure-help