Remove BUILDSYS_INIT and BUILDSYS_TOUCH_DEPS.

This commit is contained in:
Jonathan Schleifer 2013-07-01 14:56:28 +02:00
parent 037fef6232
commit 05e30dae9d
2 changed files with 10 additions and 15 deletions

View file

@ -38,11 +38,6 @@ dnl If your program uses plugins and should run on win32 as well, you need to
dnl uncomment the following line dnl uncomment the following line
dnl BUILDSYS_PROG_IMPLIB dnl BUILDSYS_PROG_IMPLIB
dnl We need this in order to run some initialization needed by the buildsys
BUILDSYS_INIT
dnl You need to call this to generate the .deps files required by the buildsys.
BUILDSYS_TOUCH_DEPS
dnl If you don't need any extra variables dnl If you don't need any extra variables
AC_CONFIG_FILES(buildsys.mk) AC_CONFIG_FILES(buildsys.mk)
dnl If you need any extra variables, they go to extra.mk. dnl If you need any extra variables, they go to extra.mk.

View file

@ -21,7 +21,7 @@ dnl ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
dnl POSSIBILITY OF SUCH DAMAGE. dnl POSSIBILITY OF SUCH DAMAGE.
dnl dnl
AC_DEFUN([BUILDSYS_INIT], [ AC_CONFIG_COMMANDS_PRE([
AC_SUBST(CC_DEPENDS, $GCC) AC_SUBST(CC_DEPENDS, $GCC)
AC_SUBST(CXX_DEPENDS, $GXX) AC_SUBST(CXX_DEPENDS, $GXX)
AC_SUBST(OBJC_DEPENDS, $GOBJC) AC_SUBST(OBJC_DEPENDS, $GOBJC)
@ -73,6 +73,15 @@ AC_DEFUN([BUILDSYS_INIT], [
]) ])
]) ])
AC_CONFIG_COMMANDS_POST([
${as_echo:="echo"} ${as_me:="configure"}": touching .deps files"
for i in $(find . -name Makefile); do
DEPSFILE="$(dirname $i)/.deps"
test -f "$DEPSFILE" && rm "$DEPSFILE"
touch -t 0001010000 "$DEPSFILE"
done
])
AC_DEFUN([BUILDSYS_PROG_IMPLIB], [ AC_DEFUN([BUILDSYS_PROG_IMPLIB], [
AC_REQUIRE([AC_CANONICAL_HOST]) AC_REQUIRE([AC_CANONICAL_HOST])
AC_MSG_CHECKING(whether we need an implib) AC_MSG_CHECKING(whether we need an implib)
@ -181,12 +190,3 @@ AC_DEFUN([BUILDSYS_SHARED_LIB], [
AC_SUBST(UNINSTALL_LIB) AC_SUBST(UNINSTALL_LIB)
AC_SUBST(CLEAN_LIB) AC_SUBST(CLEAN_LIB)
]) ])
AC_DEFUN([BUILDSYS_TOUCH_DEPS], [
${as_echo:="echo"} ${as_me:="configure"}": touching .deps files"
for i in $(find . -name Makefile); do
DEPSFILE="$(dirname $i)/.deps"
test -f "$DEPSFILE" && rm "$DEPSFILE"
touch -t 0001010000 "$DEPSFILE"
done
])