Changeset 1769
- Timestamp:
- Feb 3, 2009, 11:01:29 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/build_support/svn_support.am
r1673 r1769 32 32 (cd tmp-repo && \ 33 33 ./bootstrap && \ 34 mkdir build_ && \ 34 $(MKDIR_P) build_ && \ 35 $(MKDIR_P) install_ && \ 35 36 cd build_ && \ 36 ../configure $(DISTCHECK_CONFIGURE_FLAGS) && \ 37 ../configure $(DISTCHECK_CONFIGURE_FLAGS) \ 38 --prefix=$(abs_builddir)/tmp-repo/dummy_install_ && \ 39 $(MAKE) $(AM_MAKEFLAGS) prefix=$(abs_builddir)/tmp-repo/install_ && \ 40 $(MAKE) $(AM_MAKEFLAGS) prefix=$(abs_builddir)/tmp-repo/install_ \ 41 install && \ 42 $(MAKE) $(AM_MAKEFLAGS) prefix=$(abs_builddir)/tmp-repo/install_ \ 43 installcheck && \ 37 44 $(MAKE) $(AM_MAKEFLAGS) distcheck) && \ 38 45 mv tmp-repo/build_/$(distdir).tar.gz . && \ -
trunk/configure.ac
r1767 r1769 74 74 AS_IF([test "x$ECHO" = x], [ECHO=echo]) 75 75 AC_SUBST(ECHO) 76 77 # some tests require autotools78 AC_MSG_NOTICE([checking for autotools])79 AC_CHECK_PROG([have_automake], [automake], [yes], [no])80 AC_CHECK_PROG([have_autoconf], [autoconf], [yes], [no])81 AC_CHECK_PROG([have_libtool], [libtool], [yes], [no])82 AM_CONDITIONAL([HAVE_AUTOTOOLS],83 [test x$have_automake = xyes &&84 test x$have_autoconf = xyes &&85 test x$have_libtool = xyes])86 76 87 77 AC_MSG_NOTICE(dnl … … 307 297 308 298 309 AC_CONFIG_FILES([test/ yat_m4_test.sh], [chmod +x test/yat_m4_test.sh])299 AC_CONFIG_FILES([test/create_yathello.sh], [chmod +x test/create_yathello.sh]) 310 300 AC_CONFIG_FILES([Makefile 311 301 build_support/Makefile -
trunk/test/Makefile.am
r1746 r1769 32 32 INSTALLCHECK_TARGETS = 33 33 34 .PHONY: $(INSTALLCHECK_TARGETS) 34 .PHONY: $(INSTALLCHECK_TARGETS) FORCE 35 35 36 36 installcheck-local: $(INSTALLCHECK_TARGETS) … … 38 38 clean-local:; rm -rf yathello 39 39 40 if HAVE_AUTOTOOLS41 INSTALLCHECK_TARGETS += check-yat_m440 if ENABLE_SVN_SUPPORT 41 INSTALLCHECK_TARGETS += yat_check_yat_test 42 42 endif 43 check-yat_m4: yat_m4_test.sh 44 ./yat_m4_test.sh 43 44 yathello: create_yathello.sh 45 ./create_yathello.sh 46 47 yat_check_yat_test: yathello 48 cd yathello && autoreconf -sivf && \ 49 ./configure --with-yat=$(bindir) && $(MAKE) check 45 50 46 51 check_PROGRAMS = alignment_test averager_test \ -
trunk/test/create_yathello.sh.in
r1767 r1769 24 24 # configure.ac. The macro only works with an installed yat, so the 25 25 # test should be run after `make install'. 26 27 28 prefix=@prefix@29 exec_prefix=@exec_prefix@30 bindir=@bindir@31 26 32 27 rm -rf yathello … … 73 68 74 69 cp @abs_top_srcdir@/build_support/yat.m4 . 75 76 autoreconf -sivf && ./configure --with-yat=$bindir && make check
Note: See TracChangeset
for help on using the changeset viewer.