Ignore:
Timestamp:
Mar 22, 2010, 11:29:41 PM (12 years ago)
Author:
Peter
Message:

fixes #613. Restructure tests to have a configure.ac with no included acinclude but include needed code in configure.ac instead. This makes it easier for autotools to give a useful diagnosis when autoconf is too old. The cache in the test were also removed (was never a good idea) so now tests are run from scratch every time, in fact, old testdir is removed before creating input files (such as configure.ac). This makes the tests a bit more time consuming, but they are also more accurate (reported failures have often been problem with the cache).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/yat_ld_add_flag_test.sh

    r2205 r2225  
    2929. ./common_defs.sh || exit 1
    3030
    31 echo "Creating acinclude.m4"
    32 cat > acinclude.m4 <<EOF
     31cat >> configure.ac <<EOF
    3332YAT_LD_ADD_FLAG([YAT_LDFLAGS__], [-L/usr/lib])
    3433YAT_LD_ADD_FLAG([YAT_LDFLAGS__], [-L/usr/local/lib])
     
    3635YAT_LD_ADD_FLAG([YAT_LDFLAGS__], [-L/opt/lib])
    3736AC_SUBST(YAT_LDFLAGS__)
     37AC_CONFIG_FILES([Makefile])
     38AC_OUTPUT
    3839EOF
    3940
Note: See TracChangeset for help on using the changeset viewer.