Сбой autoreconf с «возможно неопределенным макросом: AM_PATH_GLIB_2_0» - PullRequest
0 голосов
/ 09 января 2020

При изменении этого исходного кода Я получил эту ошибку от autoreconf:

$ autoreconf
configure.ac:240: warning: macro 'AM_PATH_GLIB_2_0' not found in library
configure.ac:246: warning: macro 'AM_PATH_GTK_2_0' not found in library
configure.ac:240: error: possibly undefined macro: AM_PATH_GLIB_2_0
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.ac:246: error: possibly undefined macro: AM_PATH_GTK_2_0
autoreconf: /usr/bin/autoconf failed with exit status: 1

Строка в configure.ac:

AM_PATH_GLIB_2_0([2.7.1], [ac_glib_test="yes"], [ac_glib_test="no"], [gthread])

Is это проблема с версией используемого мной инструмента autoconf / automake или с чем-то еще?

Спасибо.

...