m4/options.m4


Log

Author Commit Date CI Message
Alexandre Duret-Lutz e375e1f2 2002-01-12T17:38:56 * test/nodefine.test, test/nodefine2.test: Check that no-define works, not the contrary... * m4/options.m4 (_AM_IF_OPTIONS): Use m4_ifset. * m4/init.m4 (AM_INIT_AUTOMAKE): A third argument implies no-define, not the contrary.
Alexandre Duret-Lutz 45c5938c 2002-01-09T08:52:09 * automake.texi (Complete, Macros, Options): Document the new style AM_INIT_AUTOMAKE. Remove AM_AUTOMAKE_OPTIONS documentaion. * m4/init.m4 (AM_INIT_AUTOMAKE): Get PACKAGE and VERSION from AC_INIT if they are available there. Support a new call form where the only argument is an optional space-separated list of Automake options. * m4/options.m4 (AM_AUTOMAKE_OPTIONS): Remove. (_AM_MANGLE_OPTION, _AM_SET_OPTION, _AM_SET_OPTIONS, _AM_IF_OPTION): New functions. * automake.in (AC_INIT_PATTERN): New variable. (global_options_line): Remove, use $seen_init_automake instead. (scan_one_autoconf_file, scan_autoconf_traces): Set $package_version from AC_INIT if available. Support the new style AM_INIT_AUTOMAKE. Remove the AM_AUTOMAKE_OPTIONS handling. * configure.in: Modernize. * tests/defs (configure.in): Modernize. One third of the tests still overwrite the default configure.in and use an old AM_INIT_AUTOMAKE call, so that makes testing for both. * tests/nodefine.test, tests/nodefine2.test: New files. * tests/Makefile.am (TESTS): Add them.
Tom Tromey 511b20a5 2001-12-31T00:16:37 For PR automake/215: * configure.in: Use AM_AUTOMAKE_OPTIONS. * Makefile.am (AUTOMAKE_OPTIONS): Removed. * automake.texi (Macros): Document AM_AUTOMAKE_OPTIONS. (Options): Mention AM_AUTOMAKE_OPTIONS. * automake.in (global_options): New global. (global_options_line): Likewise. (scan_autoconf_traces): Trace AM_AUTOMAKE_OPTIONS. (scan_one_autoconf_file): Likewise. (process_option_list): New function. (handle_options): Use it. Also, handle global options. * m4/Makefile.am (m4data_DATA): Added options.m4. * m4/options.m4: New file.