Changeset 2111


Ignore:
Timestamp:
Feb 26, 2011 12:15:49 PM (9 years ago)
Author:
stefan
Message:

create link to BuildTools? directory in maintainer mode so that Makemain.inc can be found

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r2110 r2111  
    12871287AC_DEFUN([AC_COIN_INIT_AUTOMAKE],
    12881288[AC_REQUIRE([AC_PROG_EGREP])
     1289AC_REQUIRE([AC_PROG_LN_S])
    12891290
    12901291# AC_MSG_NOTICE([Beginning automake initialisation.])
     
    14511452        BUILDTOOLSDIR=$srcdir/../../BuildTools
    14521453      else
    1453         AC_MSG_ERROR(Cannot find the BuildTools directory)
     1454        AC_MSG_ERROR(Cannot find the BuildTools directory, better disable maintainer mode.)
    14541455      fi
    14551456    fi
    14561457  fi
    14571458  AC_SUBST(BUILDTOOLSDIR)
     1459 
     1460  # for running automake by make, we need to have Makemain.inc available at the place where it usually can be found during run_autotools
     1461  if test "$BUILDTOOLSDIR" != "$srcdir/BuildTools" ; then
     1462    $LN_S `cd $BUILDTOOLSDIR; pwd` "$srcdir/BuildTools"
     1463  fi
    14581464
    14591465  # The following variable is set to the name of the directory where
Note: See TracChangeset for help on using the changeset viewer.