Changeset 2240
- Timestamp:
- Apr 11, 2010, 5:06:16 PM (13 years ago)
- Location:
- trunk/test
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/common_defs.sh.in
r2228 r2240 35 35 bootstrap () 36 36 { 37 autoreconf -siv && true 38 res=$? 39 case $res in 40 0) 41 :;; 42 63) 43 exit 77;; 44 *) 45 exit $res;; 46 esac 37 @MKDIR_P@ m4 38 autoreconf -siv && true 39 res=$? 40 case $res in 41 0) 42 :;; 43 63) 44 exit 77;; 45 *) 46 exit $res;; 47 esac 47 48 } 48 49 … … 60 61 (echo "$me: running libtool --version" && libtool --version) || \ 61 62 (echo "$me: running glibtool --version" && glibtool --version) || exit 77 62 ;;63 *.m4)64 : # do nothing see below65 63 ;; 66 64 *) … … 101 99 echo "creating Makefile.am" 102 100 cat > Makefile.am <<EOF 103 ACLOCAL_AMFLAGS = -I m4 104 # dependency to rerun configure 105 CONFIG_STATUS_DEPENDENCIES = $abs_top_builddir/build_support/yat-config 101 ACLOCAL_AMFLAGS = -I m4 -I ${abs_top_srcdir}/m4 --install 106 102 AM_CPPFLAGS = \$(YAT_CPPFLAGS) 107 103 AM_CXXFLAGS = \$(YAT_CXXFLAGS) … … 136 132 fi #end of creation of autotool files 137 133 138 if test -n "$required"; then139 for tool in $required; do140 case $tool in141 *.m4)142 @MKDIR_P@ --verbose m4143 echo "copying $tool"144 cp @abs_top_srcdir@/m4/$tool m4/$tool145 ;;146 *)147 :148 esac149 done150 fi151 152 134 # turn on shell traces when in verbose mode 153 135 set -x -
trunk/test/static_test.sh
r2225 r2240 22 22 # test that it works to link statically against libyat 23 23 24 required="autoconf automake libtool yat.m4"24 required="autoconf automake libtool" 25 25 26 26 set -e -
trunk/test/yat_cpp_add_flag_test.sh
r2225 r2240 23 23 # includes like `-I/usr/include' and `-I/usr/local/include' 24 24 25 required="autoconf automake g++ yat_add_flag.m4 ax_cxxcpp_check_flag.m4"25 required="autoconf automake g++" 26 26 27 27 set -e -
trunk/test/yat_cxx_add_flag_test.sh
r2225 r2240 23 23 # is already present 24 24 25 required="autoconf automake g++ yat_add_flag.m4 ax_cxx_check_flag.m4"25 required="autoconf automake g++" 26 26 27 27 set -e -
trunk/test/yat_ld_add_flag_test.sh
r2225 r2240 23 23 # includes like `-L/usr/lib' and `-L/usr/local/lib' 24 24 25 required="autoconf automake g++ yat_add_flag.m4 ax_ld_check_flag.m4"25 required="autoconf automake g++" 26 26 27 27 set -e -
trunk/test/yat_m4_test.sh
r2225 r2240 23 23 # configure.ac. Test if the macro works against an uninstalled yat. 24 24 25 required="autoconf automake libtool yat.m4"25 required="autoconf automake libtool" 26 26 27 27 set -e -
trunk/test/yat_m4_test2.sh
r2225 r2240 22 22 # test that option --with-yat=no works as expected. 23 23 24 required="autoconf automake yat.m4"24 required="autoconf automake" 25 25 26 26 set -e
Note: See TracChangeset
for help on using the changeset viewer.