From fc3d342979f09267d4e0ad1f31696bccd9a43035 Mon Sep 17 00:00:00 2001 From: ellson Date: Wed, 20 Aug 2008 01:53:50 +0000 Subject: [PATCH] mostly reverting previous change - found an easier way --- tclpkg/tclstubs/tclInt.h | 25 +++++++++++++++++++++++++ tclpkg/tclstubs/tclStubLib.c | 24 ++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 tclpkg/tclstubs/tclInt.h create mode 100644 tclpkg/tclstubs/tclStubLib.c diff --git a/tclpkg/tclstubs/tclInt.h b/tclpkg/tclstubs/tclInt.h new file mode 100644 index 000000000..be9866bfc --- /dev/null +++ b/tclpkg/tclstubs/tclInt.h @@ -0,0 +1,25 @@ +/* $Id$ $Revision$ */ +/* vim:set shiftwidth=4 ts=8: */ + +/********************************************************** +* This software is part of the graphviz package * +* http://www.graphviz.org/ * +* * +* Copyright (c) 1994-2004 AT&T Corp. * +* and is licensed under the * +* Common Public License, Version 1.0 * +* by AT&T Corp. * +* * +* Information and Software Systems Research * +* AT&T Research, Florham Park NJ * +**********************************************************/ + +#ifdef __cplusplus +extern "C" { +#endif + +/* dummy header in case configure can't find a real one */ + +#ifdef __cplusplus +} +#endif diff --git a/tclpkg/tclstubs/tclStubLib.c b/tclpkg/tclstubs/tclStubLib.c new file mode 100644 index 000000000..d8ad338da --- /dev/null +++ b/tclpkg/tclstubs/tclStubLib.c @@ -0,0 +1,24 @@ +/* $Id$ $Revision$ */ +/* vim:set shiftwidth=4 ts=8: */ + +/********************************************************** +* This software is part of the graphviz package * +* http://www.graphviz.org/ * +* * +* Copyright (c) 1994-2004 AT&T Corp. * +* and is licensed under the * +* Common Public License, Version 1.0 * +* by AT&T Corp. * +* * +* Information and Software Systems Research * +* AT&T Research, Florham Park NJ * +**********************************************************/ + +/* this dummy file is here to fool libtool and automake */ +#include "tcl.h" + +/* need to reference an entry point to fool Sun's ld */ +void tclstubs_dummy(void) +{ + Tcl_InitStubs(0, 0, 0); +} -- 2.50.0