Changeset 1769


Ignore:
Timestamp:
Feb 3, 2009, 11:01:29 PM (15 years ago)
Author:
Peter
Message:

Making cppflags -DHAVE_INLINE -DGSL_RANGE_CHECK_OFF -DNDEBUG private,
i.e., they are not propagated to yat-config and not set in autoconf
macro.

closes #485

Location:
trunk
Files:
3 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/build_support/svn_support.am

    r1673 r1769  
    3232  (cd tmp-repo && \
    3333   ./bootstrap && \
    34    mkdir build_ && \
     34   $(MKDIR_P) build_ && \
     35   $(MKDIR_P) install_ && \
    3536   cd build_ && \
    36    ../configure $(DISTCHECK_CONFIGURE_FLAGS) && \
     37   ../configure $(DISTCHECK_CONFIGURE_FLAGS) \
     38      --prefix=$(abs_builddir)/tmp-repo/dummy_install_ && \
     39   $(MAKE) $(AM_MAKEFLAGS) prefix=$(abs_builddir)/tmp-repo/install_ && \
     40   $(MAKE) $(AM_MAKEFLAGS) prefix=$(abs_builddir)/tmp-repo/install_ \
     41           install && \
     42   $(MAKE) $(AM_MAKEFLAGS) prefix=$(abs_builddir)/tmp-repo/install_ \
     43           installcheck && \
    3744   $(MAKE) $(AM_MAKEFLAGS) distcheck) && \
    3845  mv tmp-repo/build_/$(distdir).tar.gz . && \
  • trunk/configure.ac

    r1767 r1769  
    7474AS_IF([test "x$ECHO" = x], [ECHO=echo])
    7575AC_SUBST(ECHO)
    76 
    77 # some tests require autotools
    78 AC_MSG_NOTICE([checking for autotools])
    79 AC_CHECK_PROG([have_automake], [automake], [yes], [no])
    80 AC_CHECK_PROG([have_autoconf], [autoconf], [yes], [no])
    81 AC_CHECK_PROG([have_libtool], [libtool], [yes], [no])
    82 AM_CONDITIONAL([HAVE_AUTOTOOLS],
    83                [test x$have_automake = xyes &&
    84                 test x$have_autoconf = xyes &&
    85                 test x$have_libtool = xyes])
    8676
    8777AC_MSG_NOTICE(dnl
     
    307297
    308298
    309 AC_CONFIG_FILES([test/yat_m4_test.sh], [chmod +x test/yat_m4_test.sh])
     299AC_CONFIG_FILES([test/create_yathello.sh], [chmod +x test/create_yathello.sh])
    310300AC_CONFIG_FILES([Makefile
    311301     build_support/Makefile
  • trunk/test/Makefile.am

    r1746 r1769  
    3232INSTALLCHECK_TARGETS =
    3333
    34 .PHONY: $(INSTALLCHECK_TARGETS)
     34.PHONY: $(INSTALLCHECK_TARGETS) FORCE
    3535
    3636installcheck-local: $(INSTALLCHECK_TARGETS)
     
    3838clean-local:; rm -rf yathello
    3939
    40 if HAVE_AUTOTOOLS
    41 INSTALLCHECK_TARGETS += check-yat_m4
     40if ENABLE_SVN_SUPPORT
     41INSTALLCHECK_TARGETS += yat_check_yat_test
    4242endif
    43 check-yat_m4: yat_m4_test.sh
    44   ./yat_m4_test.sh
     43
     44yathello: create_yathello.sh
     45  ./create_yathello.sh
     46
     47yat_check_yat_test: yathello
     48  cd yathello && autoreconf -sivf && \
     49  ./configure --with-yat=$(bindir) && $(MAKE) check
    4550
    4651check_PROGRAMS = alignment_test averager_test \
  • trunk/test/create_yathello.sh.in

    r1767 r1769  
    2424# configure.ac. The macro only works with an installed yat, so the
    2525# test should be run after `make install'.
    26 
    27 
    28 prefix=@prefix@
    29 exec_prefix=@exec_prefix@
    30 bindir=@bindir@
    3126
    3227rm -rf yathello
     
    7368
    7469cp @abs_top_srcdir@/build_support/yat.m4 .
    75 
    76 autoreconf -sivf && ./configure --with-yat=$bindir && make check
Note: See TracChangeset for help on using the changeset viewer.