Ignore:
Timestamp:
Mar 7, 2009, 2:38:22 AM (13 years ago)
Author:
Peter
Message:

fixes #491 and added some laziness to macro tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/yat_m4_test.sh

    r1851 r1854  
    2323# configure.ac. Test if the macro works against an uninstalled yat.
    2424
     25required="autoconf automake libtool"
     26
    2527set -e
    2628
    2729. ./common_defs.sh || exit 1
    2830
    29 echo "Create acinclude.m4.tmp"
     31echo "Creating acinclude.m4"
    3032cat > acinclude.m4.tmp <<EOF
    3133YAT_CHECK_VERSION([0.5.99],,
     
    3537AC_SUBST(YAT_LA_FILE)
    3638EOF
    37 $move_if_change acinclude.m4.tmp acinclude.m4
     39$move_if_change -v acinclude.m4.tmp acinclude.m4
    3840
    3941# bootstrapping
    40 if test -f Makefile; then : else
     42if test -f Makefile; then
     43  :
     44else
    4145  autoreconf -siv
    4246  ./configure --with-yat=$abs_top_builddir/build_support/yat-config
     
    4549# we always wanna relink
    4650rm -f hello
     51echo "running make"
    4752make
    4853echo "running ./hello"
Note: See TracChangeset for help on using the changeset viewer.