[cp-patches] [RFC/PATCH] Check for gettext m4 macros in autogen.sh

2013-03-12 Thread Pekka Enberg
If gettext-devel package is not installed on Fedora, autogen.sh fails as follows: [penberg@tux classpath]$ sh autogen.sh configure.ac:505: warning: AC_LIB_PREPARE_PREFIX is m4_require'd but not m4_defun'd m4/iconv.m4:11: AM_ICONV_LINKFLAGS_BODY is expanded from... m4/iconv.m4:22:

Re: [cp-patches] [RFC/PATCH] Check for gettext m4 macros in autogen.sh

2013-03-12 Thread Brian Jones
I'm sorry I'm not a good one to review this. They changed the auto* tools quite a bit since I used to mess with them. Is autogen.sh something auto* creates, just wondering if it is okay to modify... On Tue, Mar 12, 2013 at 2:47 PM, Pekka Enberg penb...@kernel.org wrote: If gettext-devel

Re: Building GNU Classpath on Fedora 17

2013-03-12 Thread Pekka Enberg
Hi Brian, On Mon, Mar 11, 2013 at 4:41 PM, Brian Jones cbjon...@gmail.com wrote: Add a configure check for whatever the dependency is... I'm having difficult time figuring out what to check for... It seems that gettext-devel package provides AC_LIB_PREPARE_PREFIX via

Re: Building GNU Classpath on Fedora 17

2013-03-12 Thread Andrew Hughes
- Original Message - Hi Brian, On Mon, Mar 11, 2013 at 4:41 PM, Brian Jones cbjon...@gmail.com wrote: Add a configure check for whatever the dependency is... I'm having difficult time figuring out what to check for... It seems that gettext-devel package provides

Re: Building GNU Classpath on Fedora 17

2013-03-12 Thread Pekka Enberg
On Tue, Mar 12, 2013 at 12:47 PM, Andrew Hughes gnu.and...@redhat.com wrote: Looking at rpm -ql gettext-devel on my RHEL system, it seems to add a slew of m4 files to /usr/share/aclocal. Maybe if -e /usr/share/aclocal/gettext.m4 in autogen.sh would be sufficient? The attached patch works for

Re: Building GNU Classpath on Fedora 17

2013-03-12 Thread Andrew Hughes
- Original Message - On Tue, Mar 12, 2013 at 12:47 PM, Andrew Hughes gnu.and...@redhat.com wrote: Looking at rpm -ql gettext-devel on my RHEL system, it seems to add a slew of m4 files to /usr/share/aclocal. Maybe if -e /usr/share/aclocal/gettext.m4 in autogen.sh would be