Ignore:
Timestamp:
Mar 5, 2009, 1:43:13 PM (13 years ago)
Author:
Peter
Message:

adding test for --with-yat=no. refs #491

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/yat_m4_test.sh

    r1842 r1851  
    2727. ./common_defs.sh || exit 1
    2828
     29echo "Create acinclude.m4.tmp"
     30cat > acinclude.m4.tmp <<EOF
     31YAT_CHECK_VERSION([0.5.99],,
     32                  [AC_MSG_ERROR([could not find required version of yat])])
     33YAT_CHECK_HEADER(,[AC_MSG_ERROR([could not find yat headers])])
     34YAT_LA_FILE=\`\$yat_config --link-libtool\`
     35AC_SUBST(YAT_LA_FILE)
     36EOF
     37$move_if_change acinclude.m4.tmp acinclude.m4
     38
    2939# bootstrapping
    30 test -f configure || \
    31   (autoreconf -sifv && \
    32    ./configure --with-yat=$abs_top_builddir/build_support/yat-config)
     40if test -f Makefile; then : else
     41  autoreconf -siv
     42  ./configure --with-yat=$abs_top_builddir/build_support/yat-config
     43fi
    3344
    3445# we always wanna relink
Note: See TracChangeset for help on using the changeset viewer.