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

diff --git a/tclpkg/tclstubs/tclInt.h b/tclpkg/tclstubs/tclInt.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/tclstubs/tclStubLib.c b/tclpkg/tclstubs/tclStubLib.c
new file mode 100644 (file)
index 0000000..d8ad338
--- /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 "tcl.h"
+
+/* need to reference an entry point to fool Sun's ld */
+void tclstubs_dummy(void)
+{
+    Tcl_InitStubs(0, 0, 0);
+}