Changeset 1693


Ignore:
Timestamp:
Jan 2, 2009, 11:20:44 PM (13 years ago)
Author:
Peter
Message:

fixes #451 - add test for yat.m4

Location:
trunk
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r1692 r1693  
    7070AC_PROG_INSTALL
    7171AC_PROG_SED
     72
     73# some tests require autotools
     74AC_MSG_NOTICE([checking for autotools])
     75AC_CHECK_PROG([have_automake], [automake], [yes], [no])
     76AC_CHECK_PROG([have_autoconf], [autoconf], [yes], [no])
     77AC_CHECK_PROG([have_libtool], [libtool], [yes], [no])
     78AM_CONDITIONAL([HAVE_AUTOTOOLS],
     79               [test x$have_automake = xyes &&
     80                test x$have_autoconf = xyes &&
     81                test x$have_libtool = xyes])
    7282
    7383AC_MSG_NOTICE(dnl
     
    284294
    285295
     296AC_CONFIG_FILES([test/yat_m4_test.sh], [chmod +x test/yat_m4_test.sh])
    286297AC_CONFIG_FILES([Makefile
    287298     build_support/Makefile
  • trunk/test/Makefile.am

    r1643 r1693  
    77# Copyright (C) 2005 Jari Häkkinen, Peter Johansson
    88# Copyright (C) 2006, 2007, 2008 Jari Häkkinen, Peter Johansson, Markus Ringnér
     9# Copyright (C) 2009 Peter Johansson
    910#
    1011# This file is part of the yat library, http://dev.thep.lu.se/yat
     
    2829
    2930check_LTLIBRARIES = libyattest.la
     31
     32INSTALLCHECK_TARGETS =
     33
     34.PHONY: $(INSTALLCHECK_TARGETS)
     35
     36installcheck-local: check-yat_m4
     37
     38clean-local:; rm -rf yathello
     39
     40if HAVE_AUTOTOOLS
     41INSTALLCHECK_TARGETS += check-yat_m4
     42endif
     43check-yat_m4: yat_m4_test.sh
     44  ./yat_m4_test.sh
    3045
    3146check_PROGRAMS = alignment_test averager_test \
Note: See TracChangeset for help on using the changeset viewer.