]> granicus.if.org Git - graphviz/commitdiff
mostly reverting previous change - found an easier way
authorellson <devnull@localhost>
Wed, 20 Aug 2008 01:53:51 +0000 (01:53 +0000)
committerellson <devnull@localhost>
Wed, 20 Aug 2008 01:53:51 +0000 (01:53 +0000)
tclpkg/tkstubs/tkInt.h [new file with mode: 0644]
tclpkg/tkstubs/tkStubImg.c [new file with mode: 0644]
tclpkg/tkstubs/tkStubLib.c [new file with mode: 0644]

diff --git a/tclpkg/tkstubs/tkInt.h b/tclpkg/tkstubs/tkInt.h
new file mode 100644 (file)
index 0000000..be9866b
--- /dev/null
@@ -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 (file)
index 0000000..812bfb5
--- /dev/null
@@ -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 (file)
index 0000000..add96f7
--- /dev/null
@@ -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);
+}