Permalink
Browse files

Use AC_PROG_MKDIR_P instead of AM_PROG_MKDIR_P in m4/ since the latte…

…r is obsoleted by automake.
  • Loading branch information...
1 parent 63eeec0 commit 2e5994b2ae2741122ac7934a16c727b488f84aa0 @vargaz vargaz committed Aug 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 m4/po.m4
View
@@ -24,7 +24,7 @@ AC_DEFUN([AM_PO_SUBDIRS],
[
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
AC_REQUIRE([AC_PROG_INSTALL])dnl
- AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
+ AC_REQUIRE([AC_PROG_MKDIR_P])dnl
AC_REQUIRE([AM_NLS])dnl
dnl Release version of the gettext macros. This is used to ensure that

3 comments on commit 2e5994b

This change breaks the build on my RHEL 5.4 system.

This is how I build mono on this system:

./autogen.sh --prefix=$monodir --with-sgen=yes --with-large-heap=yes --with-xen_opt=no --enable-parallel-mark --with-libgdiplus=$monodir/lib make get-monolite-latest

cd $topdir/mono

make EXTERNAL_MCS=${PWD}/mcs/class/lib/monolite/gmcs.exe
make
make install

And this is the errors I am getting:

Install mono into: /home/dkingsley/mono3.3.0 TopDir: /home/dkingsley Running libtoolize... Running aclocal -I m4 -I . ... configure.in:10: warning: AC_CANONICAL_HOST invoked multiple times configure.in:623: warning: AC_PROG_MKDIR_P is m4_require'd but is not m4_defun'd configure.in:623: AC_PROG_MKDIR_P is required by... m4/po.m4:215: AM_PO_SUBDIRS is expanded from... configure.in:623: the top level Running autoheader... configure.in:10: warning: AC_CANONICAL_HOST invoked multiple times configure.in:623: warning: AC_PROG_MKDIR_P is m4_require'd but is not m4_defun'd configure.in:623: AC_PROG_MKDIR_P is required by... m4/po.m4:215: AM_PO_SUBDIRS is expanded from... configure.in:623: the top level Running automake --gnu ... configure.in:10: warning: AC_CANONICAL_HOST invoked multiple times configure.in:623: warning: AC_PROG_MKDIR_P is m4_require'd but is not m4_defun'd configure.in:623: AC_PROG_MKDIR_P is required by... m4/po.m4:215: AM_PO_SUBDIRS is expanded from... configure.in:623: the top level Running autoconf ... configure.in:10: warning: AC_CANONICAL_HOST invoked multiple times configure.in:623: warning: AC_PROG_MKDIR_P is m4_require'd but is not m4_defun'd configure.in:623: AC_PROG_MKDIR_P is required by... m4/po.m4:215: AM_PO_SUBDIRS is expanded from... configure.in:623: the top level configure:24267: error: possibly undefined macro: AC_PROG_MKDIR_P If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. **Error**: autoconf failed. make: **\* No rule to make target `get-monolite-latest'. Stop. make: *** No targets specified and no makefile found. Stop. make: *** No targets specified and no makefile found. Stop. make: *** No rule to make target`install'. Stop.
Owner

There is not much we can do about this. The newly added macro replaces an older one which got obsoleted by automake.

Please sign in to comment.