Ignore:
Timestamp:
Feb 27, 2010, 8:13:09 PM (12 years ago)
Author:
Peter
Message:

refs #613. Add version test for add_falg tests and skip test if autoconf version is too old. Automake version should not be an issue.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/yat_ld_add_flag_test.sh

    r1910 r2205  
    3030
    3131echo "Creating acinclude.m4"
    32 cat > acinclude.m4.tmp <<EOF
     32cat > acinclude.m4 <<EOF
    3333YAT_LD_ADD_FLAG([YAT_LDFLAGS__], [-L/usr/lib])
    3434YAT_LD_ADD_FLAG([YAT_LDFLAGS__], [-L/usr/local/lib])
     
    3737AC_SUBST(YAT_LDFLAGS__)
    3838EOF
    39 $move_if_change -v acinclude.m4.tmp acinclude.m4
    4039
    41 # bootstrapping
    42 if test -f Makefile; then
    43   :
    44 else
    45   autoreconf -siv
    46   ./configure CXX=g++
    47 fi
    48 
    49 echo "$me: running make Makefile"
    50 make Makefile
     40bootstrap
     41./configure CXX=g++
    5142
    5243grep 'YAT_LDFLAGS__' Makefile
Note: See TracChangeset for help on using the changeset viewer.