GNU Autoconf 2.69b e teng ho lekola liphetoho tse ka bang teng tsa ho tsamaellana

Kamora lilemo tse robeli ho tloha ha mofuta oa 2.69 o phatlalatsoa hlahisoa ho lokolloa ha sephutheloana sa GNU Autoconf 2.69b, se fanang ka sete sa M4 macros bakeng sa ho theha li-script tsa autoconfiguration bakeng sa lisebelisoa tsa ho haha ​​​​mekhoa e sa tšoaneng e kang ea Unix (e thehiloeng ho template e lokiselitsoeng, "configure" script e hlahisoa). Tokollo e behiloe joalo ka mofuta oa beta oa mofuta o tlang oa 2.70.

Nako ea bohlokoa ea nako ho tloha tokollong e fetileng le ho phatlalatsoa pele ho mofuta oa beta ke ka lebaka la ho kenyelletsoa ha liphetoho lekaleng la 2.70 tse ka senyang ho lumellana le litokomane tsa Autoconf tse teng. Basebelisi ba eletsoa ho lekola lingoliloeng tsa bona ka tokollo e khothaletsoang le tsebisa bahlahisi haeba mathata a tsejoa.

Har'a liphetoho:

  • E lumelletse ho phonyoha likhang tsa config.log ho maikutlo a lihlooho. Ho bala ho ntlafetseng ha tlhahiso ea "config.status -config";
  • E kentse khetho ea '-runstatedir' ho sengoloa sa tlhophiso ho fumana tsela e eang ho /run directory ka lifaele tsa pid;
  • autoreconf ha e sa tšehetsa mefuta ea automake le aclocal e lokollotsoeng pejana ho 1.8;
  • Ho khothaletsoa ho sebelisa printf sebakeng sa echo, macros AS_ECHO le AS_ECHO_N joale li fetoleloa ho
    'printf "%s\n"' le 'printf %s'. E theohile liphapang tse sa ngolisoang $ as_echo le
    $ as_echo_n, ho e-na le hore ho sebelisoe macros AS_ECHO le AS_ECHO_N;

  • Li-macro tse ngata li fetotsoe ho atolosa likhang hanngoe feela ho potlakisa ts'ebetso ea autoconf, e ka amang ho lumellana le mangolo a mang a sa qotseng likhang ka nepo;
  • Li-macros tse ling, tse kang AC_PROG_CC, tse sebelisoang hangata qalong ea script, li ntlafalitsoe 'me ha li sa bitsa li-macros tse ngata tsa bobeli. Phetoho e supa lihlopha tse 'maloa tsa liphoso, hangata tse bakoang ke tšebeliso ea AC_REQUIRE macro;
  • Macros e amohelang manane a arohaneng a sebaka a likhang joale a lula a hola ka mabaka a thathamisitsoeng.
    Phetoho e ama macros AC_CHECK_FILES, AC_CHECK_FUNCS,
    AC_CHECK_FUNCS_ONCE, AC_CHECK_HEADERS, AC_CHECK_HEADERS_ONCE,
    AC_CONFIG_MACRO_DIRS, AC_CONFIG_SUBDIRS le AC_REPLACE_FUNCS;

  • E kentse li-macros tse ncha AC_C__GENERIC, AC_CONFIG_MACRO_DIRS le AC_CHECK_INCLUDES_DEFAULT;
  • Ho AC_PROG_CC macro, haeba e le teng, ho se ho khethiloe moqapi o nang le tšehetso ea C11 (e nang le rollback ho C99 le C89, haeba e sa fumanehe), le ho AC_PROG_CXX - C++11 ka ho khutlela ho C++98. Li-macros AC_PROG_CC_STDC, AC_PROG_CC_C89 le AC_PROG_CC_C99 li tlositsoe.

Source: opennet.ru

Eketsa ka tlhaloso