From: ellson Date: Wed, 20 Aug 2008 01:53:51 +0000 (+0000) Subject: mostly reverting previous change - found an easier way X-Git-Tag: LAST_LIBGRAPH~32^2~3596 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1fc99ba199a13c2b66b45d7868937335cb0f6b37;p=graphviz mostly reverting previous change - found an easier way --- diff --git a/tclpkg/tkstubs/tkInt.h b/tclpkg/tkstubs/tkInt.h new file mode 100644 index 000000000..be9866bfc --- /dev/null +++ b/tclpkg/tkstubs/tkInt.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/tkstubs/tkStubImg.c b/tclpkg/tkstubs/tkStubImg.c new file mode 100644 index 000000000..812bfb56f --- /dev/null +++ b/tclpkg/tkstubs/tkStubImg.c @@ -0,0 +1,17 @@ +/* $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 empty file is here to fool libtool and automake */ diff --git a/tclpkg/tkstubs/tkStubLib.c b/tclpkg/tkstubs/tkStubLib.c new file mode 100644 index 000000000..add96f7f9 --- /dev/null +++ b/tclpkg/tkstubs/tkStubLib.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 "tk.h" + +/* need to reference an entry point to fool Sun's ld */ +void tkstubs_dummy(void) +{ + Tk_InitStubs(0, 0, 0); +}