Hi, ALL,
I’m trying to build my software with the following script:
rm -rf Debug
autoreconf -i
mkdir Debug
cd Debug
../configure --enable-maintainer-mode 'CFLAGS=-g -O0' 'CXXFLAGS=-g -O0' 'JFLAGS=-g -O0' 'FFLAGS=-g -O0' --with-wx-config
make -j3
When it runs “autoreconf -i” I’m getting a lot of warnings:
libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac,
libtoolize: and rerunning libtoolize and aclocal.
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
intltoolize: 'po/Makefile.in.in' exists: use '--force' to overwrite
configure.ac:79: warning: The macro `GLIB_GNU_GETTEXT' is obsolete.
configure.ac:79: You should run autoupdate.
aclocal.m4:635: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:735: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:79: the top level
configure.ac:79: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:79: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
aclocal.m4:320: GLIB_LC_MESSAGES is expanded from...
aclocal.m4:635: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:735: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:79: the top level
configure.ac:79: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:79: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from...
./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
aclocal.m4:419: GLIB_WITH_NLS is expanded from...
aclocal.m4:635: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:735: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:79: the top level
configure.ac:79: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:79: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from...
./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
aclocal.m4:419: GLIB_WITH_NLS is expanded from...
aclocal.m4:635: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:735: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:79: the top level
configure.ac:79: warning: The macro `AC_OUTPUT_COMMANDS' is obsolete.
configure.ac:79: You should run autoupdate.
./lib/autoconf/status.m4:1025: AC_OUTPUT_COMMANDS is expanded from...
aclocal.m4:419: GLIB_WITH_NLS is expanded from...
aclocal.m4:635: GLIB_GNU_GETTEXT is expanded from...
aclocal.m4:735: AM_GLIB_GNU_GETTEXT is expanded from...
configure.ac:79: the top level
Running “autoupdate” and then “autoreconf -i” doesn’t help- I still getting those warnings.
How do I fix those? What should a replacements for them be?
Thank you.