Changeset 2112 for stable/0.6/coin.m4


Ignore:
Timestamp:
Feb 27, 2011 12:51:38 PM (9 years ago)
Author:
stefan
Message:

merge chgsets 2105 and 2111 from trunk: fixes to maintainer mode

Location:
stable/0.6
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • stable/0.6

  • stable/0.6/coin.m4

    r2103 r2112  
    15371537AC_DEFUN([AC_COIN_INIT_AUTOMAKE],
    15381538[AC_REQUIRE([AC_PROG_EGREP])
     1539AC_REQUIRE([AC_PROG_LN_S])
    15391540
    15401541# AC_MSG_NOTICE([Beginning automake initialisation.])
     
    16701671                     [AC_MSG_ERROR([I cannot find the libtool.m4 file.])])
    16711672
    1672   # Check if we have an Externals file
    1673   if test -r $srcdir/Externals; then
     1673  # Check if we have an Dependencies file
     1674  if test -r $srcdir/Dependencies; then
    16741675    coin_have_externals=yes
    16751676  fi
     
    17011702        BUILDTOOLSDIR=$srcdir/../../BuildTools
    17021703      else
    1703         AC_MSG_ERROR(Cannot find the BuildTools directory)
     1704        AC_MSG_ERROR(Cannot find the BuildTools directory, better disable maintainer mode.)
    17041705      fi
    17051706    fi
    17061707  fi
    17071708  AC_SUBST(BUILDTOOLSDIR)
     1709 
     1710  # for running automake by make, we need to have Makemain.inc available at the place where it usually can be found during run_autotools
     1711  if test "$BUILDTOOLSDIR" != "$srcdir/BuildTools" ; then
     1712    $LN_S `cd $BUILDTOOLSDIR; pwd` "$srcdir/BuildTools"
     1713  fi
    17081714
    17091715  # The following variable is set to the name of the directory where
Note: See TracChangeset for help on using the changeset viewer.