Changeset 3313


Ignore:
Timestamp:
Aug 25, 2014, 10:35:14 AM (9 years ago)
Author:
Peter
Message:

Correct syntax so it works in VPATH build. Correct yat-hello source so it obeys syntax check that requires #include <config.h>"

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/m4/yat_svn_release.m4

    r3308 r3313  
    11## $Id$
    22
    3 # serial 15 (yat 0.13)
     3# serial 16 (yat 0.13)
    44
    55# SYNOPSIS
     
    7575DOWNLOAD_URL = $4
    7676NEWS_URL = $5
    77 SVN_LIST_CC = `$(SVN) list -R $(srcdir) | $(EGREP) ".cc$$"`
     77SVN_LIST_CC = `$(SVN) list -R $(srcdir) | $(EGREP) ".cc$$" | $(SED) 's,^,$(srcdir)/,'`
    7878
    7979.PHONY: check-svn-diff check-news check-news-date check-version \
     
    218218
    219219sc_config_h:
    220   $(AM_V_GEN)
    221220  @for f in $(SVN_LIST_CC); do \
    222221    $(GREP) '^#include' $$f | head -n 1 | $(GREP) -q '<config.h>' || \
  • trunk/test/Makefile.am

    r3312 r3313  
    217217yat_hello_tmp_files += build-aux
    218218yat_hello_tmp_files += configure
     219yat_hello_tmp_files += config.h.in
    219220yat_hello_tmp_files += m4
    220221
  • trunk/test/yat-hello/configure.ac

    r2477 r3313  
    2424AC_CONFIG_SRCDIR([hello.cc])
    2525AC_CONFIG_AUX_DIR([build-aux])
     26AC_CONFIG_HEADERS([config.h])
    2627AM_INIT_AUTOMAKE([foreign])
    2728AC_CONFIG_MACRO_DIR([m4])
  • trunk/test/yat-hello/hello.cc

    r3170 r3313  
    2020*/
    2121
     22#include <config.h>
     23
    2224#include <yat/utility/Vector.h>
    2325#include <yat/utility/version.h>
     
    2628#include <iostream>
    2729#include <string>
     30
    2831int main(void)
    2932{
Note: See TracChangeset for help on using the changeset viewer.