Commit 8fa619c2 authored by Tollef Fog Heen's avatar Tollef Fog Heen

Fix up tclsh invocation (again)

Move the || true bit of invoking tclsh to the Makefile, since
missing would otherwise not pass the file name to tclsh.

Thanks to des for spotting this.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@3360 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent b459d58c
......@@ -232,7 +232,7 @@ fi
AM_MISSING_HAS_RUN
AC_CHECK_PROGS(TCLSH, [tclsh tclsh8.4 tclsh8.5], :)
if test "$TCLSH" = :; then
TCLSH="${am_missing_run}tclsh || true"
TCLSH="${am_missing_run}tclsh"
fi
# Solaris defines SO_{RCV,SND}TIMEO, but does not implement them.
......
......@@ -29,10 +29,10 @@ EXTRA_DIST = vcc_gen_obj.tcl \
vcc_gen_fixed_token.tcl
$(srcdir)/vcc_obj.c: $(srcdir)/vcc_gen_obj.tcl
cd $(srcdir) && @TCLSH@ vcc_gen_obj.tcl
cd $(srcdir) && @TCLSH@ vcc_gen_obj.tcl || true
$(srcdir)/vcc_fixed_token.c: $(srcdir)/vcc_gen_fixed_token.tcl $(top_srcdir)/include/vcl.h $(top_srcdir)/include/vrt.h $(top_srcdir)/include/vrt_obj.h
cd $(srcdir) && @TCLSH@ vcc_gen_fixed_token.tcl
cd $(srcdir) && @TCLSH@ vcc_gen_fixed_token.tcl || true
$(srcdir)/vcc_token_defs.h: $(srcdir)/vcc_gen_fixed_token.tcl $(top_srcdir)/include/vcl.h $(top_srcdir)/include/vrt.h $(top_srcdir)/include/vrt_obj.h
cd $(srcdir) && @TCLSH@ vcc_gen_fixed_token.tcl
cd $(srcdir) && @TCLSH@ vcc_gen_fixed_token.tcl || true
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment