OSDN Git Service

Work with automake-1.10.
authorJim Meyering <jim@meyering.net>
Mon, 12 Feb 2007 22:30:46 +0000 (23:30 +0100)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 13 Feb 2007 11:20:51 +0000 (09:20 -0200)
commite3c1ef348cea4ab998224db3e77672db9b7af8d7
treeb82cf764c4e03ce9899208b16fde32346ca9fa51
parent64f61abbcaefe060433196e323eba251bfc6e17e
Work with automake-1.10.

I've just tried building parted from scratch (running ./autogen.sh
after git-clone) and hit a couple of snags:

Without aclocal's -I m4, ./autogen.sh produced this:

  configure.ac:192: warning: macro `AM_GNU_GETTEXT_VERSION' not found in library
  configure.ac:193: warning: macro `AM_GNU_GETTEXT' not found in library
  configure.ac:192: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
        If this token and others are legitimate, please use m4_pattern_allow.
        See the Autoconf documentation.

With automake-1.10, I got this:

    parted/Makefile.am:5: compiling `command.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'

Here's a patch that fixes those and also removes some trailing blanks.
autogen.sh
configure.ac