Remote changes at Wed Aug 30 16:34:42 EDT 2017 by chuan on vivaldi

This commit is contained in:
Chuan Chen 2017-08-30 16:34:42 -04:00
parent 432777a5b1
commit a40c1f21a7
30 changed files with 24413 additions and 138 deletions

1236
database/database.h Normal file

File diff suppressed because it is too large Load Diff

View File

@ -60,14 +60,14 @@ LIB_SPECS = -L/usr/lib/x86_64-linux-gnu -ltk8.6 -L/usr/lib/x86_64-linux-
WISH_EXE = /usr/bin/wish
TCL_LIB_DIR = /usr/lib
MAGIC_VERSION = 8.2
MAGIC_REVISION = 15
MAGIC_REVISION = 16
CC = gcc
CPP = gcc -E
CXX = g++
CPPFLAGS = -I. -I${MAGICDIR}
DFLAGS = -DCAD_DIR=\"${LIBDIR}\" -DBIN_DIR=\"${BINDIR}\" -DTCL_DIR=\"${TCLDIR}\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"15\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DNDEBUG -DGCORE=\"/usr/bin/gcore\"
DFLAGS = -DCAD_DIR=\"${LIBDIR}\" -DBIN_DIR=\"${BINDIR}\" -DTCL_DIR=\"${TCLDIR}\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"16\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DNDEBUG -DGCORE=\"/usr/bin/gcore\"
DFLAGS += -DSHDLIB_EXT=\".so\"
CFLAGS = -g -m64 -fPIC -Wimplicit-int -fPIC -I/usr/include/tcl8.6/tk-private/generic -I/usr/include/tcl8.6
@ -81,7 +81,7 @@ EXEEXT =
GR_CFLAGS =
GR_DFLAGS = -DX11 -DXLIB -DCAIRO -DNDEBUG
GR_LIBS = -lX11 -lcairo -lfontconfig -lfreetype ${X11_LDFLAGS}
GR_SRCS = ${TK_SRCS} ${TOGL_SRCS} ${TKCOMMON_SRCS}
GR_SRCS = ${TK_SRCS} ${TCAIRO_SRCS} ${TKCOMMON_SRCS}
GR_HELPER_SRCS =
GR_HELPER_PROG =

View File

@ -10,6 +10,7 @@ X11_SRCS = grX11su1.c grX11su2.c grX11su3.c grX11su4.c grX11su5.c
TK_SRCS = grTk1.c grTk2.c grTk3.c grTk4.c grTk5.c
TOGL_SRCS = grTOGL1.c grTOGL2.c grTOGL3.c grTOGL4.c grTOGL5.c
OGL_SRCS = grOGL1.c grOGL2.c grOGL3.c grOGL4.c grOGL5.c
TCAIRO_SRCS = grTCairo1.c grTCairo2.c grTCairo3.c grTCairo4.c grTCairo5.c
GLYPHS = bw.glyphs color.glyphs
OUTLINE_FONTS = FreeSerif.pt3 FreeSans.pt3 FreeMono.pt3
@ -24,7 +25,7 @@ include ${MAGICDIR}/defs.mak
SRCS = ${BASE_SRCS} ${GR_SRCS}
DEPSRCS = ${BASE_SRCS} ${X11_SRCS} ${TK_SRCS} ${TOGL_SRCS} ${TKCOMMON_SRCS} \
${OGL_SRCS} ${X11HELPER_SRCS} ${X11THREAD_SRCS}
${OGL_SRCS} ${X11HELPER_SRCS} ${X11THREAD_SRCS} ${TCAIRO_SRCS}
OBJS = ${BASE_SRCS:.c=.o} ${GR_SRCS:.c=.o}
CFLAGS += ${GR_CFLAGS}
DFLAGS += ${GR_DFLAGS}

View File

@ -23,7 +23,7 @@
#include <GL/gl.h>
#include <GL/glx.h>
*/
#include <CAIRO/cairo.h>
#include <cairo/cairo-xlib.h>
#include "tcltk/tclmagic.h"
#include "utils/main.h"
@ -48,12 +48,12 @@
#include "utils/paths.h"
#include "graphics/grTkCommon.h"
uint8_t **grTCairoStipples;
HashTable grTCairoWindowTable;
uint8_t **grTCairoStipples;
HashTable grTCairoWindowTable;
//GLXContext grXcontext;
cairo_surface_t *grCairoSurface;
cairo_t *grCairoContext;
XVisualInfo *grVisualInfo;
cairo_t *grCairoContext;
XVisualInfo *grVisualInfo;
//TCairo_CURRENT tcairoCurrent= {(Tk_Font)0, 0, 0, 0, 0,
// (Tk_Window)0, (Window)0, (MagWindow *)NULL};
@ -70,17 +70,7 @@ TCAIRO_CURRENT tcairoCurrent = {(Tk_Font)0, 0, 0, 0, 0,
* of those names, which don't get modified. Check out the Makefile
* for details on this.
*/
/*
extern void GrTCairoClose(), GrTCairoFlush();
extern void GrTCairoDelete(), GrTCairoConfigure(), GrTCairoRaise(), GrTCairoLower();
extern void GrTCairoLock(), GrTCairoUnlock(), GrTCairoIconUpdate();
extern bool GrTCairoInit();
extern bool GrTCairoEventPending(), GrTCairoCreate(), grtcairoGetCursorPos();
extern int GrTCairoWindowId();
extern char *GrTkWindowName();
extern void tcairoSetProjection();
*/
extern void GrTCairoClose(), GrTCairoFlush();
extern void GrTCairoDelete(), GrTCairoConfigure(), GrTCairoRaise(), GrTCairoLower();
extern void GrTCairoLock(), GrTCairoUnlock(), GrTCairoIconUpdate();
@ -176,7 +166,7 @@ int c; /* New value for current color */
*/
void
grtCairoSetLineStyle (style)
grtcairoSetLineStyle (style)
int style; /* New stipple pattern for lines. */
{
// unimplemented for cairo
@ -201,6 +191,7 @@ int style; /* New stipple pattern for lines. */
break;
}
*/
;
}
@ -216,17 +207,17 @@ int style; /* New stipple pattern for lines. */
*---------------------------------------------------------
*/
cairo_surface_t *stippleSurfaces;
cairo_pattern_t **stipplePatterns;
void
grtcarioSetSPattern (sttable, numstipples)
grtcairoSetSPattern (sttable, numstipples)
int **sttable; /* The table of patterns */
int numstipples; /* Number of stipples */
{
int i, j, k, n;
uint8_t *pdata;
stippleSurfaces = mallocMagic(sizeof(cairo_surface_t) * numstipples);
stipplePatterns = (cairo_pattern_t **)mallocMagic(sizeof(cairo_pattern_t *) * numstipples);
grTCairoStipples = (uint8_t **)mallocMagic(numstipples * sizeof(uint8_t *));
for (k = 0; k < numstipples; k++)
@ -236,13 +227,15 @@ int numstipples; /* Number of stipples */
/* expand magic's default 8x8 stipple to OpenGL's 32x32 */
for (i = 0; i < 32; i++)
for (j = 0; j < 4; j++)
for (i = 0; i < 32; i++) {
for (j = 0; j < 4; j++) {
pdata[n++] = (uint8_t)sttable[k][i % 8];
}
}
grTCairoStipples[k] = pdata;
stippleSurfaces[k] = cairo_image_surface_create_for_data(pdata, CAIRO_FORMAT_A1, 32, 32,
cairo_format_stride_for_width(CAIRO_FORMAT_A1, 32));
stipplePatterns[k] = cairo_pattern_create_for_surface(cairo_image_surface_create_for_data(pdata, CAIRO_FORMAT_A1, 32, 32,
cairo_format_stride_for_width(CAIRO_FORMAT_A1, 32)));
}
}
@ -260,7 +253,7 @@ int numstipples; /* Number of stipples */
*/
void
grtCairoSetStipple (stipple)
grtcairoSetStipple (stipple)
int stipple; /* The stipple number to be used. */
{
static int oldStip = -1;
@ -271,16 +264,14 @@ int stipple; /* The stipple number to be used. */
//glDisable(GL_POLYGON_STIPPLE);
cairo_set_source_rgb(grCairoContext, 0, 0, 0);
} else {
if (stippleSurfaces[stipple] == (uint8_t *)NULL) MainExit(1);
if (stipplePatterns[stipple] == (cairo_pattern_t *)NULL) MainExit(1);
//glEnable(GL_POLYGON_STIPPLE);
//glPolygonStipple(grTCairoStipples[stipple]);
cairo_pattern_set_extend(stippleSurfaces[stipple], CAIRO_EXTEND_REPEAT);
cairo_pattern_set_filter(stippleSurfaces[stipple], CAIRO_FILTER_NEAREST);
cairo_set_source(grCairoContext, stippleSurfaces[stipple]);
cairo_mask_surface(grCairoContext, stippleSurfaces[stipple], 0.0, 0.0)
cairo_pattern_set_extend(stipplePatterns[stipple], CAIRO_EXTEND_REPEAT);
cairo_pattern_set_filter(stipplePatterns[stipple], CAIRO_FILTER_NEAREST);
cairo_set_source(grCairoContext, stipplePatterns[stipple]);
cairo_mask_surface(grCairoContext, grCairoSurface, 0.0, 0.0);
}
}
@ -304,13 +295,15 @@ bool
GrTCairoInit ()
{
bool rstatus;
#ifdef THREE_D
static int attributeList[] = { GLX_RGBA, GLX_DOUBLEBUFFER, None };
#else
static int attributeList[] = { GLX_RGBA, None, None };
#endif
/*
#ifdef THREE_D
static int attributeList[] = { GLX_RGBA, GLX_DOUBLEBUFFER, None };
#else
static int attributeList[] = { GLX_RGBA, None, None };
#endif
*/
tcairoCurrent.window = Tk_MainWindow(magicinterp);
tcairoCurrent.window = Tk_MainWindow(magicinterp); // XDefaultRootWindow(grXdpy) ??
if (tcairoCurrent.window == NULL)
{
TxError("No Top-Level Tk window available. . . is Tk running?\n");
@ -323,31 +316,41 @@ GrTCairoInit ()
grXscrn = DefaultScreen(grXdpy);
grVisualInfo = glXChooseVisual(grXdpy, grXscrn, attributeList);
//grVisualInfo = glXChooseVisual(grXdpy, grXscrn, attributeList);
XVisualInfo grtemplate;
int gritems;
grtemplate.screen = grXscrn;
grtemplate.depth = 0;
grVisualInfo = XGetVisualInfo(grXdpy, VisualScreenMask, &grtemplate, &gritems);
if (!grVisualInfo)
{
/* Try for a double-buffered configuration */
#ifdef THREE_D
TxError("No suitable visual!\n");
return FALSE;
/*
// Try for a double-buffered configuration
#ifdef THREE_D
attributeList[1] = None;
#else
#else
attributeList[1] = GLX_DOUBLEBUFFER;
#endif
#endif
grVisualInfo = glXChooseVisual(grXdpy, grXscrn, attributeList);
if (!grVisualInfo)
{
TxError("No suitable visual!\n");
return FALSE;
TxError("No suitable visual!\n");
return FALSE;
}
*/
}
grXscrn = grVisualInfo->screen;
tcairoCurrent.depth = grVisualInfo->depth;
/* TRUE = Direct rendering, FALSE = Indirect rendering */
/* (note that direct rendering may not be able to deal with pixmaps) */
//grXcontext = glXCreateContext(grXdpy, grVisualInfo, NULL, GL_FALSE);
// should we still use tcairoCurrent?
grCairoSurface = cairo_xlib_surface_create(grXdpy, tcairoCurrent.window, grVisualInfo->visual, Tk_Width(tcairoCurrent.window), Tk_Height(tcairoCurrent.window));
grCairoSurface = cairo_xlib_surface_create(grXdpy, tcairoCurrent.windowid, grVisualInfo->visual, Tk_Width(tcairoCurrent.window), Tk_Height(tcairoCurrent.window));
grCairoContext = cairo_create(grCairoSurface);
/* Basic GL parameters */
@ -388,7 +391,6 @@ GrTCairoClose ()
if (grVisualInfo != NULL) XFree(grVisualInfo);
grTkFreeFonts();
/* Pop down Tk window but let Tcl/Tk */
/* do XCloseDisplay() */
}
@ -410,9 +412,9 @@ GrTCairoClose ()
void
GrTCairoFlush ()
{
GR_TCairo_FLUSH_BATCH();
glFlush();
glFinish();
GR_TCAIRO_FLUSH_BATCH();
//glFlush();
//glFinish();
}
/*
@ -447,13 +449,13 @@ int llx, lly, width, height;
}
else {
//glXMakeCurrent(grXdpy, (GLXDrawable)tcairoCurrent.windowid, grXcontext);
grCairoSurface = cairo_xlib_surface_create(grXdpy, tcairoCurrent.window, grVisualInfo->visual, Tk_Width(tcairoCurrent.window), Tk_Height(tcairoCurrent.window));
grCairoSurface = cairo_xlib_surface_create(grXdpy, tcairoCurrent.windowid, grVisualInfo->visual, Tk_Width(tcairoCurrent.window), Tk_Height(tcairoCurrent.window));
}
#ifndef Cairo_SERVER_SIDE_ONLY
/* For batch-processing lines and rectangles */
glEnableClientState(GL_VERTEX_ARRAY);
#endif
// #ifndef Cairo_SERVER_SIDE_ONLY
// For batch-processing lines and rectangles
// glEnableClientState(GL_VERTEX_ARRAY);
// #endif
/* Because this tends to result in thick lines, it has been moved */
/* the line drawing routine so it can be enabled for individual */
@ -467,28 +469,30 @@ int llx, lly, width, height;
//glLoadIdentity();
cairo_identify_matrix(grCairoContext);
glViewport((GLsizei)llx, (GLsizei)lly, (GLsizei) width, (GLsizei) height);
//glViewport((GLsizei)llx, (GLsizei)lly, (GLsizei) width, (GLsizei) height);
// cairo equivalent??
/* scale to fit window */
#ifdef Cairo_INVERT_Y
#ifdef CAIRO_INVERT_Y
//glScalef(1.0 / (float)(width >> 1), -1.0 / (float)(height >> 1), 1.0);
cairo_scale(grCairoContext, 1.0 / (float)(width >> 1), -1.0 / (float)(height >> 1));
//cairo_scale(grCairoContext, 1.0 / (float)(width >> 1), -1.0 / (float)(height >> 1));
cairo_scale(grCairoContext, width, -height);
#else
//glScalef(1.0 / (float)(width >> 1), 1.0 / (float)(height >> 1), 1.0);
cairo_scale(grCairoContext, 1.0 / (float)(width >> 1), 1.0 / (float)(height >> 1));
cairo_scale(grCairoContext, width, height);
#endif
/* magic origin maps to window center; move to window origin */
//glTranslated(-(GLsizei)(width >> 1), -(GLsizei)(height >> 1), 0);
cairo_translate(grCairoContext, -(GLsizei)(width >> 1), -(GLsizei)(height >> 1));
cairo_translate(grCairoContext, -(int)(width >> 1), -(int)(height >> 1));
/* Remaining transformations are done on the modelview matrix */
//glMatrixMode(GL_MODELVIEW);
//glLoadIdentity();
cairo_identify_matrix(grCairoContext);
}
@ -1178,7 +1182,8 @@ char *name;
wind = Tk_WindowId(tkwind);
tcairoCurrent.windowid = wind;
glXMakeCurrent(grXdpy, (GLXDrawable)wind, grXcontext);
//glXMakeCurrent(grXdpy, (GLXDrawable)wind, grXcontext);
grCairoSurface = cairo_xlib_surface_create(grXdpy, tcairoCurrent.windowid, grVisualInfo->visual, Tk_Width(tcairoCurrent.window), Tk_Height(tcairoCurrent.window));
Tk_DefineCursor(tkwind, tcairoCurrent.cursor);
GrTCairoIconUpdate(w, w->w_caption);
@ -1363,8 +1368,8 @@ bool flag;
}
tcairoSetProjection(w->w_allArea.r_xbot, w->w_allArea.r_ybot,
w->w_allArea.r_xtop - w->w_allArea.r_xbot,
w->w_allArea.r_ytop - w->w_allArea.r_ybot);
w->w_allArea.r_xtop - w->w_allArea.r_xbot,
w->w_allArea.r_ytop - w->w_allArea.r_ybot);
}
}
@ -1507,7 +1512,9 @@ char *tkname;
{
entry = HashLookOnly(&grTCairoWindowTable, (char *)tkwind);
mw = (entry) ? (MagWindow *)HashGetValue(entry) : 0;
if (mw) id = mw->w_wid;
if (mw) {
id = mw->w_wid;
}
}
return id;
}

View File

@ -14,7 +14,7 @@ char *getenv();
#include <GL/gl.h>
#include <GL/glx.h>
*/
#include <CAIRO/cairo.h>
#include <cairo/cairo-xlib.h>
#include "tcltk/tclmagic.h"
#include "utils/magic.h"
@ -28,7 +28,7 @@ char *getenv();
#include "grTCairoInt.h"
extern char *DBWStyleType;
extern GLXContext grXcontext;
//extern GLXContext grXcontext;
extern Display *grXdpy;
extern cairo_t *grCairoContext;
@ -182,11 +182,12 @@ int nb;
for (i = 0; i < nb; i++)
{
cairo_rectangle(rects[i].r_ll.p_x, rects[i].r_ll.p_y,
cairo_rectangle(grCairoContext,
rects[i].r_ll.p_x, rects[i].r_ll.p_y,
rects[i].r_ur.p_x, rects[i].r_ur.p_y);
}
// cairo_set_source_rgba(grCairoContext, r, g, b, a);
cairo_fill(cr);
cairo_fill(grCairoContext);
}
/*---------------------------------------------------------
@ -249,10 +250,10 @@ int np;
glEnd();
glDisable(GL_POLYGON_SMOOTH);
*/
cairo_move_to(tp[0].p_x, tp[0].p_y);
cairo_move_to(grCairoContext, tp[0].p_x, tp[0].p_y);
for (i = 1; i < np; i++)
cairo_line_to(tp[i].p_x, tp[i].p_y);
cairo_line_to(grCairoContext, tp[i].p_x, tp[i].p_y);
cairo_close_path(grCairoContext);
cairo_fill(cr);
cairo_fill(grCairoContext);
}

View File

@ -17,7 +17,9 @@
#include <GL/glu.h>
*/
#include <CAIRO/cairo.h>
#include <cairo/cairo-xlib.h>
#include <math.h>
#include "tcltk/tclmagic.h"
#include "utils/magic.h"
@ -37,12 +39,13 @@
#include "database/fonts.h"
extern Display *grXdpy;
extern cairo_t *grCairoContext;
static GC grXcopyGC = (GC)NULL;
/* locals */
GLuint grXBases[4];
//GLuint grXBases[4];
/*---------------------------------------------------------
@ -291,20 +294,21 @@ grtcairoCreateBackingStore(MagWindow *w)
if (w->w_client != DBWclientID) return;
/* deferred */
if (w->w_grdata == (Window)NULL) return;
if (wind == (Window)NULL) return;
width = w->w_screenArea.r_xtop - w->w_screenArea.r_xbot;
height = w->w_screenArea.r_ytop - w->w_screenArea.r_ybot;
if (w->w_backingStore != (ClientData)NULL) grtcairoFreeBackingStore(w);
/*
if (grXcopyGC == (GC)NULL)
{
gcValues.graphics_exposures = FALSE;
grXcopyGC = XCreateGC(grXdpy, wind, GCGraphicsExposures, &gcValues);
}
*/
grDepth = grDisplay.depth;
grDepth = Tk_Depth((Tk_Window)w->w_grdata);
//if (grClass == 3) grDepth = 8; /* Needed since grDisplay.depth is reset
// to 7 if Pseudocolor */
@ -357,11 +361,12 @@ grtcairoGetBackingStore(MagWindow *w, Rect *area)
unsigned int width_return, height_return;
unsigned int border_width_return;
unsigned int depth_return;
Pixmap pmap;
pmap = (Pixmap)w->w_backingStore;
if (pmap == (Pixmap)NULL)
return FALSE;
XGetGeometry(grXdpy, pmap, &root_return, &x_return, &y_return, &border_width_return, &depth_return);
XGetGeometry(grXdpy, pmap, &root_return, &x_return, &y_return, &width_return, &height_return, &border_width_return, &depth_return);
cairo_surface_t *backingStoreSurface;
backingStoreSurface = cairo_xlib_surface_create(grXdpy, pmap, DefaultVisual(grXdpy, DefaultScreen(grXdpy)), width_return, height_return);
@ -518,18 +523,22 @@ grtcairoPutBackingStore(MagWindow *w, Rect *area)
unsigned int width_return, height_return;
unsigned int border_width_return;
unsigned int depth_return;
Pixmap pmap;
pmap = (Pixmap)w->w_backingStore;
if (pmap == (Pixmap)NULL)
return FALSE;
XGetGeometry(grXdpy, pmap, &root_return, &x_return, &y_return, &border_width_return, &depth_return);
return;
XGetGeometry(grXdpy, pmap, &root_return, &x_return, &y_return, &width_return, &height_return, &border_width_return, &depth_return);
cairo_surface_t *backingStoreSurface;
backingStoreSurface = cairo_xlib_surface_create(grXdpy, pmap, DefaultVisual(grXdpy, DefaultScreen(grXdpy)), width_return, height_return);
cairo_t *tempContext = cairo_create(backingStoreSurface);
cairo_set_source(tempContext, cairo_get_surface(grCairoContext));
cairo_set_source(tempContext, cairo_get_source(grCairoContext));
cairo_rectangle(tempContext, xbot, ybot, width, height);
cairo_fill(tempContext);
pmap = XCreatePixmap(grXdpy, wind, width, height, grDepth);
w->w_backingStore = (ClientData)pmap;
}
@ -576,8 +585,13 @@ GrTCairoBitBlt(r, p)
Rect *r;
Point *p;
{
/*
glCopyPixels(r->r_xbot, r->r_ybot, r->r_xtop - r->r_xbot + 1,
r->r_ytop - r->r_ybot + 1, GL_COLOR);
*/
cairo_set_source_surface(grCairoContext, cairo_get_source(grCairoContext), p->p_x, p->p_y);
// do some stuff
}
#ifdef VECTOR_FONTS
@ -591,19 +605,22 @@ Point *p;
*----------------------------------------------------------------------
*/
/*
// unused in cairo graphics
void
myCombine(GLdouble coords[3], GLdouble *vertex_data[4],
GLfloat weight[4], GLdouble **outData, void *dataptr)
{
/* This needs to be free'd at the end of gluTessEndPolygon()! */
// This needs to be free'd at the end of gluTessEndPolygon()!
GLdouble *new = (GLdouble *)mallocMagic(2 * sizeof(GLdouble));
new[0] = coords[0];
new[1] = coords[1];
*outData = new;
/* Diagnostic */
// Diagnostic
TxError("Intersecting polygon in char \"%c\" at %g %g!\n",
*((char *)dataptr), coords[0], coords[1]);
}
*/
/*
*----------------------------------------------------------------------
@ -718,7 +735,8 @@ LinkedRect *obscure; /* List of obscuring areas */
char *tptr;
Point *coffset; /* vector to next character */
Rect *cbbox;
GLfloat fsize, matvals[16];
//GLfloat fsize, matvals[16];
float fsize;
FontChar *clist;
int cheight, baseline;
float tmp;
@ -733,7 +751,7 @@ LinkedRect *obscure; /* List of obscuring areas */
cairo_save(grCairoContext);
cairo_translate(grCairoContext, pos->p_x, pos->p_y);
cairo_rotate(grCairoContext, ((double)angle) / 360 * 2 * M_PI);
cairo_rotate(grCairoContext, ((double)rotate) / 360 * 2 * M_PI);
/* Get label size */
cbbox = &DBFontList[font]->mf_extents;

View File

@ -11,7 +11,7 @@
//#include <GL/gl.h>
//#include <GL/glx.h>
#include <CAIRO/cairo.h>
#include <cairo/cairo-xlib.h>
#include "tcltk/tclmagic.h"
#include "utils/magic.h"
@ -165,7 +165,7 @@ Point *p; /* screen pos of lower left corner */
//glBegin(GL_POINTS);
//glVertex2i((GLint)startx, (GLint)yloc);
//glEnd();
cairo_rectangle(startx, yloc, 1, 1);
cairo_rectangle(grCairoContext, startx, yloc, 1, 1);
cairo_fill(grCairoContext);
}
pixelp++;
@ -209,15 +209,15 @@ int cursorNum; /* The cursor number as defined in the display
return;
}
toglCurrent.cursor = grCursors[cursorNum];
tcairoCurrent.cursor = grCursors[cursorNum];
HashStartSearch(&hs);
while (entry = HashNext(&grTOGLWindowTable, &hs))
while (entry = HashNext(&grTCairoWindowTable, &hs))
{
if (HashGetValue(entry))
{
tkwind = (Tk_Window)entry->h_key.h_ptr;
Tk_DefineCursor(tkwind, toglCurrent.cursor);
Tk_DefineCursor(tkwind, tcairoCurrent.cursor);
}
}
}

View File

@ -14,21 +14,21 @@
/* Constants
*/
#define M_WIDTH 1023
#define M_HEIGHT 750
#define M_WIDTH 1023
#define M_HEIGHT 750
#define TCAIRO_BATCH_SIZE 10000
#define TCAIRO_BATCH_SIZE 10000
/* Current settings for X function parameters */
typedef struct {
Tk_Font font;
Tk_Cursor cursor;
int fontSize;
int depth;
int maskmod;
Tk_Window window;
Window windowid;
MagWindow *mw;
Tk_Font font;
Tk_Cursor cursor;
int fontSize;
int depth;
int maskmod;
Tk_Window window;
Window windowid;
MagWindow *mw;
} TCAIRO_CURRENT;
#ifdef Cairo_SERVER_SIDE_ONLY
@ -37,7 +37,7 @@ typedef Rect TCairoRect;
/* Used for vertex arrays */
typedef struct {
Point r_ll, r_ul, r_ur, r_lr;
Point r_ll, r_ul, r_ur, r_lr;
} TCairoRect;
#endif
@ -87,30 +87,30 @@ extern TCairoRect grtcairoRects[];
#define GR_TCAIRO_FLUSH_LINES() { \
if (grtcairoNbLines>0) { \
grtcairoDrawLines(grtcairoLines, grtcairoNbLines); \
grtcairoNbLines=0; \
grtcairoDrawLines(grtcairoLines, grtcairoNbLines); \
grtcairoNbLines=0; \
} \
}
#define GR_TCAIRO_FLUSH_DIAGONAL() { \
if (grtcairoNbDiagonal>0) { \
//glEnable(GL_LINE_SMOOTH); \
grtcairoDrawLines(grtcairoDiagonal, grtcairoNbDiagonal); \
//glDisable(GL_LINE_SMOOTH); \
grtcairoNbDiagonal=0; \
} \
grtcairoNbDiagonal = 0; \
} \
}
#define GR_TCAIRO_FLUSH_RECTS() { \
if (grtcairoNbRects>0) { \
grtcairoFillRects(grtcairoRects, grtcairoNbRects); \
grtcairoNbRects=0; \
grtcairoFillRects(grtcairoRects, grtcairoNbRects); \
grtcairoNbRects=0; \
} \
}
#define GR_TCAIRO_FLUSH_BATCH() {GR_TCAIRO_FLUSH_LINES(); \
GR_TCAIRO_FLUSH_DIAGONAL(); \
GR_TCAIRO_FLUSH_RECTS();}
#define GR_TCAIRO_FLUSH_BATCH() { \
GR_TCAIRO_FLUSH_LINES(); \
GR_TCAIRO_FLUSH_DIAGONAL(); \
GR_TCAIRO_FLUSH_RECTS(); \
}
/* Used by the wind3d window */
extern void TCairoEventProc();

303
install.log Normal file
View File

@ -0,0 +1,303 @@
make[1]: Entering directory `/home/chuan/Desktop/magic-8.2'
./scripts/mkdirs /home/chuan/Desktop/magic_install/bin /home/chuan/Desktop/magic_install/share/man \
/home/chuan/Desktop/magic_install/lib/magic/sys /home/chuan/Desktop/magic_install/lib/magic/tcl /home/chuan/Desktop/magic_install/lib/magic/tcl/bitmaps
for dir in windows doc scmos graphics tcltk magic net2ir tcltk; do \
(cd $dir && make install-tcl); done
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/windows'
--- installing glyphs to /home/chuan/Desktop/magic_install/lib/magic/sys
for i in windows7.glyphs windows11.glyphs windows14.glyphs windows22.glyphs vfont.B.12 vfont.I.12 vfont.R.8; do \
(cd /home/chuan/Desktop/magic_install/lib/magic/sys && rm -f $i); \
cp $i /home/chuan/Desktop/magic_install/lib/magic/sys; done
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/windows'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/doc'
cd latexfiles && make install
make[3]: Entering directory `/home/chuan/Desktop/magic-8.2/doc/latexfiles'
../../scripts/mkdirs /home/chuan/Desktop/magic_install/lib/magic/doc
make[3]: Leaving directory `/home/chuan/Desktop/magic-8.2/doc/latexfiles'
cd man && make install
make[3]: Entering directory `/home/chuan/Desktop/magic-8.2/doc/man'
../../scripts/mkdirs /home/chuan/Desktop/magic_install/share/man/man1
make[3]: Leaving directory `/home/chuan/Desktop/magic-8.2/doc/man'
cd tutcells && make install
make[3]: Entering directory `/home/chuan/Desktop/magic-8.2/doc/tutcells'
../../scripts/mkdirs /home/chuan/Desktop/magic_install/lib/magic/tutorial
make[3]: Leaving directory `/home/chuan/Desktop/magic-8.2/doc/tutcells'
cd html && make install
make[3]: Entering directory `/home/chuan/Desktop/magic-8.2/doc/html'
tar cf - . | (cd /home/chuan/Desktop/magic_install/lib/magic/doc/html; tar xf - )
make[3]: Leaving directory `/home/chuan/Desktop/magic-8.2/doc/html'
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/doc'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/scmos'
cd cif_template; make clean; make;
make[3]: Entering directory `/home/chuan/Desktop/magic-8.2/scmos/cif_template'
rm -f objs/CIFin objs/CIFout objs/IBMCIFin objs/IBMCIFout objs/TMCIFin \
objs/TMCIFout objs/SUBCIFin objs/SUBCIFout
make[3]: Leaving directory `/home/chuan/Desktop/magic-8.2/scmos/cif_template'
make[3]: Entering directory `/home/chuan/Desktop/magic-8.2/scmos/cif_template'
rm -f objs/CIFin
gcc -E -DSTANDARD cifin.c | sed -e "s/\\\\/\\\\\\\\/" -e "/^#/D" -e "s/(gen )/(gen)/" -e "s/(nowell )/(nowell)/" -e "s/(nwell )/(nwell)/" -e "s/(pwell )/(pwell)/" > objs/CIFin
rm -f objs/CIFout
gcc -E -DSTANDARD cifout.c | sed -e "s/\\\\/\\\\\\\\/" -e "/^#/D" -e "s/(gen )/(gen)/" -e "s/(nowell )/(nowell)/" -e "s/(nwell )/(nwell)/" -e "s/(pwell )/(pwell)/" > objs/CIFout
rm -f objs/IBMCIFin
gcc -E -DIBM cifin.c | sed -e "s/\\\\/\\\\\\\\/" -e "/^#/D" -e "s/(gen )/(gen)/" -e "s/(nowell )/(nowell)/" -e "s/(nwell )/(nwell)/" -e "s/(pwell )/(pwell)/" > objs/IBMCIFin
rm -f objs/IBMCIFout
gcc -E -DIBM cifout.c | sed -e "s/\\\\/\\\\\\\\/" -e "/^#/D" -e "s/(gen )/(gen)/" -e "s/(nowell )/(nowell)/" -e "s/(nwell )/(nwell)/" -e "s/(pwell )/(pwell)/" > objs/IBMCIFout
rm -f objs/TMCIFin
gcc -E -DTIGHTMETAL cifin.c | sed -e "s/\\\\/\\\\\\\\/" -e "/^#/D" -e "s/(gen )/(gen)/" -e "s/(nowell )/(nowell)/" -e "s/(nwell )/(nwell)/" -e "s/(pwell )/(pwell)/" > objs/TMCIFin
rm -f objs/TMCIFout
gcc -E -DTIGHTMETAL cifout.c | sed -e "s/\\\\/\\\\\\\\/" -e "/^#/D" -e "s/(gen )/(gen)/" -e "s/(nowell )/(nowell)/" -e "s/(nwell )/(nwell)/" -e "s/(pwell )/(pwell)/" > objs/TMCIFout
rm -f objs/SUBCIFin
gcc -E -DSUBMICRON cifin.c | sed -e "s/\\\\/\\\\\\\\/" -e "/^#/D" -e "s/(gen )/(gen)/" -e "s/(nowell )/(nowell)/" -e "s/(nwell )/(nwell)/" -e "s/(pwell )/(pwell)/" > objs/SUBCIFin
rm -f objs/SUBCIFout
gcc -E -DSUBMICRON cifout.c | sed -e "s/\\\\/\\\\\\\\/" -e "/^#/D" -e "s/(gen )/(gen)/" -e "s/(nowell )/(nowell)/" -e "s/(nwell )/(nwell)/" -e "s/(pwell )/(pwell)/" > objs/SUBCIFout
make[3]: Leaving directory `/home/chuan/Desktop/magic-8.2/scmos/cif_template'
/usr/bin/m4 minimum.tech.in > minimum.tech
/usr/bin/m4 gdsquery.tech.in > gdsquery.tech
sed -e 's/\\/\\\\/' scmos.tech.in > scmos.tech.out
gcc -E -I./extract_template -DV5 -DSTANDARD scmos.tech.out > scmos.tech
rm -f scmos.tech.out
sed -e 's/\\/\\\\/' scmos.tech.in > scmos.tech.out
gcc -E -I./extract_template -DV5 -DHPTECH -DTIGHTMETAL scmos.tech.out > scmos-tm.tech
rm -f scmos.tech.out
sed -e 's/\\/\\\\/' scmos.tech.in > scmos.tech.out
gcc -E -I./extract_template -DV5 -DSUBMICRON scmos.tech.out > scmos-sub.tech
rm -f scmos.tech.out
sed -e 's/\\/\\\\/' scmos.tech.in > scmos.tech.out
gcc -E -I./extract_template -DV5 -DSTANDARD -DWELL_ROUTE_CHECK scmos.tech.out > scmosWR.tech
rm -f scmos.tech.out
for i in mos.7bit.dstyle mos.7bit.std.cmap mos.24bit.dstyle mos.24bit.std.cmap mos.7bit.mraster_dstyle mos.7bit.mraster.cmap mos.OpenGL.dstyle mos.OpenGL.std.cmap minimum.tech gdsquery.tech scmos.tech scmos-tm.tech scmos-sub.tech scmosWR.tech; do \
cp $i /home/chuan/Desktop/magic_install/lib/magic/sys; done
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/scmos'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/graphics'
for i in bw.glyphs color.glyphs; do \
rm -f /home/chuan/Desktop/magic_install/lib/magic/sys/$i; \
cp $i /home/chuan/Desktop/magic_install/lib/magic/sys; done
for i in FreeSerif.pt3 FreeSans.pt3 FreeMono.pt3; do \
rm -f /home/chuan/Desktop/magic_install/lib/magic/sys/$i; \
cp $i /home/chuan/Desktop/magic_install/lib/magic/sys; done
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/graphics'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/tcltk'
rm -f /home/chuan/Desktop/magic_install/bin/magic.sh /home/chuan/Desktop/magic_install/bin/magic
cp magic.sh /home/chuan/Desktop/magic_install/bin/magic
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 magic)
rm -f /home/chuan/Desktop/magic_install/bin/ext2spice
cp ext2spice.sh /home/chuan/Desktop/magic_install/bin/ext2spice
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 ext2spice)
rm -f /home/chuan/Desktop/magic_install/bin/ext2sim
cp ext2sim.sh /home/chuan/Desktop/magic_install/bin/ext2sim
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 ext2sim)
rm -f /home/chuan/Desktop/magic_install/lib/magic/tcl/magicexec
cp magicexec /home/chuan/Desktop/magic_install/lib/magic/tcl/magicexec
rm -f /home/chuan/Desktop/magic_install/lib/magic/tcl/magicdnull
cp magicdnull /home/chuan/Desktop/magic_install/lib/magic/tcl/magicdnull
(cd /home/chuan/Desktop/magic_install/lib/magic/tcl; rm -f tkcon.tcl tkshell.tcl wrapper.tcl console.tcl techbuilder.tcl cellmgr.tcl libmgr.tcl texthelper.tcl tools.tcl mazeroute.tcl strip_reflibs.tcl drc.tcl toolkit.tcl toolkit_rev0.tcl bsitools.tcl socketcmd.tcl magic.tcl)
for i in tkcon.tcl tkshell.tcl wrapper.tcl console.tcl techbuilder.tcl cellmgr.tcl libmgr.tcl texthelper.tcl tools.tcl mazeroute.tcl strip_reflibs.tcl drc.tcl toolkit.tcl toolkit_rev0.tcl bsitools.tcl socketcmd.tcl magic.tcl; do \
cp $i /home/chuan/Desktop/magic_install/lib/magic/tcl; done
(cd /home/chuan/Desktop/magic_install/lib/magic/tcl; chmod 0755 tkcon.tcl tkshell.tcl)
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/tcltk'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/magic'
rm -f /home/chuan/Desktop/magic_install/lib/magic/tcl/tclmagic.so
cp tclmagic.so /home/chuan/Desktop/magic_install/lib/magic/tcl/tclmagic.so
rm -f /home/chuan/Desktop/magic_install/lib/magic/sys/.magicrc
cp proto.magicrc /home/chuan/Desktop/magic_install/lib/magic/sys/.magicrc
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/magic'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/net2ir'
echo "Nothing to do here"
Nothing to do here
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/net2ir'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/tcltk'
rm -f /home/chuan/Desktop/magic_install/bin/magic.sh /home/chuan/Desktop/magic_install/bin/magic
cp magic.sh /home/chuan/Desktop/magic_install/bin/magic
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 magic)
rm -f /home/chuan/Desktop/magic_install/bin/ext2spice
cp ext2spice.sh /home/chuan/Desktop/magic_install/bin/ext2spice
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 ext2spice)
rm -f /home/chuan/Desktop/magic_install/bin/ext2sim
cp ext2sim.sh /home/chuan/Desktop/magic_install/bin/ext2sim
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 ext2sim)
rm -f /home/chuan/Desktop/magic_install/lib/magic/tcl/magicexec
cp magicexec /home/chuan/Desktop/magic_install/lib/magic/tcl/magicexec
rm -f /home/chuan/Desktop/magic_install/lib/magic/tcl/magicdnull
cp magicdnull /home/chuan/Desktop/magic_install/lib/magic/tcl/magicdnull
(cd /home/chuan/Desktop/magic_install/lib/magic/tcl; rm -f tkcon.tcl tkshell.tcl wrapper.tcl console.tcl techbuilder.tcl cellmgr.tcl libmgr.tcl texthelper.tcl tools.tcl mazeroute.tcl strip_reflibs.tcl drc.tcl toolkit.tcl toolkit_rev0.tcl bsitools.tcl socketcmd.tcl magic.tcl)
for i in tkcon.tcl tkshell.tcl wrapper.tcl console.tcl techbuilder.tcl cellmgr.tcl libmgr.tcl texthelper.tcl tools.tcl mazeroute.tcl strip_reflibs.tcl drc.tcl toolkit.tcl toolkit_rev0.tcl bsitools.tcl socketcmd.tcl magic.tcl; do \
cp $i /home/chuan/Desktop/magic_install/lib/magic/tcl; done
(cd /home/chuan/Desktop/magic_install/lib/magic/tcl; chmod 0755 tkcon.tcl tkshell.tcl)
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/tcltk'
make[1]: Leaving directory `/home/chuan/Desktop/magic-8.2'
make[1]: Entering directory `/home/chuan/Desktop/magic-8.2'
./scripts/mkdirs /home/chuan/Desktop/magic_install/bin /home/chuan/Desktop/magic_install/share/man \
/home/chuan/Desktop/magic_install/lib/magic/sys /home/chuan/Desktop/magic_install/lib/magic/tcl /home/chuan/Desktop/magic_install/lib/magic/tcl/bitmaps
for dir in windows doc scmos graphics tcltk magic net2ir tcltk; do \
(cd $dir && make install-tcl); done
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/windows'
--- installing glyphs to /home/chuan/Desktop/magic_install/lib/magic/sys
for i in windows7.glyphs windows11.glyphs windows14.glyphs windows22.glyphs vfont.B.12 vfont.I.12 vfont.R.8; do \
(cd /home/chuan/Desktop/magic_install/lib/magic/sys && rm -f $i); \
cp $i /home/chuan/Desktop/magic_install/lib/magic/sys; done
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/windows'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/doc'
cd latexfiles && make install
make[3]: Entering directory `/home/chuan/Desktop/magic-8.2/doc/latexfiles'
../../scripts/mkdirs /home/chuan/Desktop/magic_install/lib/magic/doc
make[3]: Leaving directory `/home/chuan/Desktop/magic-8.2/doc/latexfiles'
cd man && make install
make[3]: Entering directory `/home/chuan/Desktop/magic-8.2/doc/man'
../../scripts/mkdirs /home/chuan/Desktop/magic_install/share/man/man1
make[3]: Leaving directory `/home/chuan/Desktop/magic-8.2/doc/man'
cd tutcells && make install
make[3]: Entering directory `/home/chuan/Desktop/magic-8.2/doc/tutcells'
../../scripts/mkdirs /home/chuan/Desktop/magic_install/lib/magic/tutorial
make[3]: Leaving directory `/home/chuan/Desktop/magic-8.2/doc/tutcells'
cd html && make install
make[3]: Entering directory `/home/chuan/Desktop/magic-8.2/doc/html'
tar cf - . | (cd /home/chuan/Desktop/magic_install/lib/magic/doc/html; tar xf - )
make[3]: Leaving directory `/home/chuan/Desktop/magic-8.2/doc/html'
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/doc'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/scmos'
for i in mos.7bit.dstyle mos.7bit.std.cmap mos.24bit.dstyle mos.24bit.std.cmap mos.7bit.mraster_dstyle mos.7bit.mraster.cmap mos.OpenGL.dstyle mos.OpenGL.std.cmap minimum.tech gdsquery.tech scmos.tech scmos-tm.tech scmos-sub.tech scmosWR.tech; do \
cp $i /home/chuan/Desktop/magic_install/lib/magic/sys; done
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/scmos'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/graphics'
for i in bw.glyphs color.glyphs; do \
rm -f /home/chuan/Desktop/magic_install/lib/magic/sys/$i; \
cp $i /home/chuan/Desktop/magic_install/lib/magic/sys; done
for i in FreeSerif.pt3 FreeSans.pt3 FreeMono.pt3; do \
rm -f /home/chuan/Desktop/magic_install/lib/magic/sys/$i; \
cp $i /home/chuan/Desktop/magic_install/lib/magic/sys; done
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/graphics'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/tcltk'
rm -f /home/chuan/Desktop/magic_install/bin/magic.sh /home/chuan/Desktop/magic_install/bin/magic
cp magic.sh /home/chuan/Desktop/magic_install/bin/magic
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 magic)
rm -f /home/chuan/Desktop/magic_install/bin/ext2spice
cp ext2spice.sh /home/chuan/Desktop/magic_install/bin/ext2spice
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 ext2spice)
rm -f /home/chuan/Desktop/magic_install/bin/ext2sim
cp ext2sim.sh /home/chuan/Desktop/magic_install/bin/ext2sim
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 ext2sim)
rm -f /home/chuan/Desktop/magic_install/lib/magic/tcl/magicexec
cp magicexec /home/chuan/Desktop/magic_install/lib/magic/tcl/magicexec
rm -f /home/chuan/Desktop/magic_install/lib/magic/tcl/magicdnull
cp magicdnull /home/chuan/Desktop/magic_install/lib/magic/tcl/magicdnull
(cd /home/chuan/Desktop/magic_install/lib/magic/tcl; rm -f tkcon.tcl tkshell.tcl wrapper.tcl console.tcl techbuilder.tcl cellmgr.tcl libmgr.tcl texthelper.tcl tools.tcl mazeroute.tcl strip_reflibs.tcl drc.tcl toolkit.tcl toolkit_rev0.tcl bsitools.tcl socketcmd.tcl magic.tcl)
for i in tkcon.tcl tkshell.tcl wrapper.tcl console.tcl techbuilder.tcl cellmgr.tcl libmgr.tcl texthelper.tcl tools.tcl mazeroute.tcl strip_reflibs.tcl drc.tcl toolkit.tcl toolkit_rev0.tcl bsitools.tcl socketcmd.tcl magic.tcl; do \
cp $i /home/chuan/Desktop/magic_install/lib/magic/tcl; done
(cd /home/chuan/Desktop/magic_install/lib/magic/tcl; chmod 0755 tkcon.tcl tkshell.tcl)
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/tcltk'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/magic'
rm -f /home/chuan/Desktop/magic_install/lib/magic/tcl/tclmagic.so
cp tclmagic.so /home/chuan/Desktop/magic_install/lib/magic/tcl/tclmagic.so
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/magic'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/net2ir'
echo "Nothing to do here"
Nothing to do here
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/net2ir'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/tcltk'
rm -f /home/chuan/Desktop/magic_install/bin/magic.sh /home/chuan/Desktop/magic_install/bin/magic
cp magic.sh /home/chuan/Desktop/magic_install/bin/magic
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 magic)
rm -f /home/chuan/Desktop/magic_install/bin/ext2spice
cp ext2spice.sh /home/chuan/Desktop/magic_install/bin/ext2spice
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 ext2spice)
rm -f /home/chuan/Desktop/magic_install/bin/ext2sim
cp ext2sim.sh /home/chuan/Desktop/magic_install/bin/ext2sim
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 ext2sim)
rm -f /home/chuan/Desktop/magic_install/lib/magic/tcl/magicexec
cp magicexec /home/chuan/Desktop/magic_install/lib/magic/tcl/magicexec
rm -f /home/chuan/Desktop/magic_install/lib/magic/tcl/magicdnull
cp magicdnull /home/chuan/Desktop/magic_install/lib/magic/tcl/magicdnull
(cd /home/chuan/Desktop/magic_install/lib/magic/tcl; rm -f tkcon.tcl tkshell.tcl wrapper.tcl console.tcl techbuilder.tcl cellmgr.tcl libmgr.tcl texthelper.tcl tools.tcl mazeroute.tcl strip_reflibs.tcl drc.tcl toolkit.tcl toolkit_rev0.tcl bsitools.tcl socketcmd.tcl magic.tcl)
for i in tkcon.tcl tkshell.tcl wrapper.tcl console.tcl techbuilder.tcl cellmgr.tcl libmgr.tcl texthelper.tcl tools.tcl mazeroute.tcl strip_reflibs.tcl drc.tcl toolkit.tcl toolkit_rev0.tcl bsitools.tcl socketcmd.tcl magic.tcl; do \
cp $i /home/chuan/Desktop/magic_install/lib/magic/tcl; done
(cd /home/chuan/Desktop/magic_install/lib/magic/tcl; chmod 0755 tkcon.tcl tkshell.tcl)
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/tcltk'
make[1]: Leaving directory `/home/chuan/Desktop/magic-8.2'
make[1]: Entering directory `/home/chuan/Desktop/magic-8.2'
./scripts/mkdirs /home/chuan/Desktop/magic_install/bin /home/chuan/Desktop/magic_install/share/man \
/home/chuan/Desktop/magic_install/lib/magic/sys /home/chuan/Desktop/magic_install/lib/magic/tcl /home/chuan/Desktop/magic_install/lib/magic/tcl/bitmaps
for dir in windows doc scmos graphics tcltk magic net2ir tcltk; do \
(cd $dir && make install-tcl); done
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/windows'
--- installing glyphs to /home/chuan/Desktop/magic_install/lib/magic/sys
for i in windows7.glyphs windows11.glyphs windows14.glyphs windows22.glyphs vfont.B.12 vfont.I.12 vfont.R.8; do \
(cd /home/chuan/Desktop/magic_install/lib/magic/sys && rm -f $i); \
cp $i /home/chuan/Desktop/magic_install/lib/magic/sys; done
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/windows'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/doc'
cd latexfiles && make install
make[3]: Entering directory `/home/chuan/Desktop/magic-8.2/doc/latexfiles'
../../scripts/mkdirs /home/chuan/Desktop/magic_install/lib/magic/doc
make[3]: Leaving directory `/home/chuan/Desktop/magic-8.2/doc/latexfiles'
cd man && make install
make[3]: Entering directory `/home/chuan/Desktop/magic-8.2/doc/man'
../../scripts/mkdirs /home/chuan/Desktop/magic_install/share/man/man1
make[3]: Leaving directory `/home/chuan/Desktop/magic-8.2/doc/man'
cd tutcells && make install
make[3]: Entering directory `/home/chuan/Desktop/magic-8.2/doc/tutcells'
../../scripts/mkdirs /home/chuan/Desktop/magic_install/lib/magic/tutorial
make[3]: Leaving directory `/home/chuan/Desktop/magic-8.2/doc/tutcells'
cd html && make install
make[3]: Entering directory `/home/chuan/Desktop/magic-8.2/doc/html'
tar cf - . | (cd /home/chuan/Desktop/magic_install/lib/magic/doc/html; tar xf - )
make[3]: Leaving directory `/home/chuan/Desktop/magic-8.2/doc/html'
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/doc'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/scmos'
for i in mos.7bit.dstyle mos.7bit.std.cmap mos.24bit.dstyle mos.24bit.std.cmap mos.7bit.mraster_dstyle mos.7bit.mraster.cmap mos.OpenGL.dstyle mos.OpenGL.std.cmap minimum.tech gdsquery.tech scmos.tech scmos-tm.tech scmos-sub.tech scmosWR.tech; do \
cp $i /home/chuan/Desktop/magic_install/lib/magic/sys; done
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/scmos'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/graphics'
for i in bw.glyphs color.glyphs; do \
rm -f /home/chuan/Desktop/magic_install/lib/magic/sys/$i; \
cp $i /home/chuan/Desktop/magic_install/lib/magic/sys; done
for i in FreeSerif.pt3 FreeSans.pt3 FreeMono.pt3; do \
rm -f /home/chuan/Desktop/magic_install/lib/magic/sys/$i; \
cp $i /home/chuan/Desktop/magic_install/lib/magic/sys; done
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/graphics'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/tcltk'
rm -f /home/chuan/Desktop/magic_install/bin/magic.sh /home/chuan/Desktop/magic_install/bin/magic
cp magic.sh /home/chuan/Desktop/magic_install/bin/magic
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 magic)
rm -f /home/chuan/Desktop/magic_install/bin/ext2spice
cp ext2spice.sh /home/chuan/Desktop/magic_install/bin/ext2spice
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 ext2spice)
rm -f /home/chuan/Desktop/magic_install/bin/ext2sim
cp ext2sim.sh /home/chuan/Desktop/magic_install/bin/ext2sim
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 ext2sim)
rm -f /home/chuan/Desktop/magic_install/lib/magic/tcl/magicexec
cp magicexec /home/chuan/Desktop/magic_install/lib/magic/tcl/magicexec
rm -f /home/chuan/Desktop/magic_install/lib/magic/tcl/magicdnull
cp magicdnull /home/chuan/Desktop/magic_install/lib/magic/tcl/magicdnull
(cd /home/chuan/Desktop/magic_install/lib/magic/tcl; rm -f tkcon.tcl tkshell.tcl wrapper.tcl console.tcl techbuilder.tcl cellmgr.tcl libmgr.tcl texthelper.tcl tools.tcl mazeroute.tcl strip_reflibs.tcl drc.tcl toolkit.tcl toolkit_rev0.tcl bsitools.tcl socketcmd.tcl magic.tcl)
for i in tkcon.tcl tkshell.tcl wrapper.tcl console.tcl techbuilder.tcl cellmgr.tcl libmgr.tcl texthelper.tcl tools.tcl mazeroute.tcl strip_reflibs.tcl drc.tcl toolkit.tcl toolkit_rev0.tcl bsitools.tcl socketcmd.tcl magic.tcl; do \
cp $i /home/chuan/Desktop/magic_install/lib/magic/tcl; done
(cd /home/chuan/Desktop/magic_install/lib/magic/tcl; chmod 0755 tkcon.tcl tkshell.tcl)
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/tcltk'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/magic'
rm -f /home/chuan/Desktop/magic_install/lib/magic/tcl/tclmagic.so
cp tclmagic.so /home/chuan/Desktop/magic_install/lib/magic/tcl/tclmagic.so
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/magic'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/net2ir'
echo "Nothing to do here"
Nothing to do here
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/net2ir'
make[2]: Entering directory `/home/chuan/Desktop/magic-8.2/tcltk'
rm -f /home/chuan/Desktop/magic_install/bin/magic.sh /home/chuan/Desktop/magic_install/bin/magic
cp magic.sh /home/chuan/Desktop/magic_install/bin/magic
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 magic)
rm -f /home/chuan/Desktop/magic_install/bin/ext2spice
cp ext2spice.sh /home/chuan/Desktop/magic_install/bin/ext2spice
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 ext2spice)
rm -f /home/chuan/Desktop/magic_install/bin/ext2sim
cp ext2sim.sh /home/chuan/Desktop/magic_install/bin/ext2sim
(cd /home/chuan/Desktop/magic_install/bin; chmod 0755 ext2sim)
rm -f /home/chuan/Desktop/magic_install/lib/magic/tcl/magicexec
cp magicexec /home/chuan/Desktop/magic_install/lib/magic/tcl/magicexec
rm -f /home/chuan/Desktop/magic_install/lib/magic/tcl/magicdnull
cp magicdnull /home/chuan/Desktop/magic_install/lib/magic/tcl/magicdnull
(cd /home/chuan/Desktop/magic_install/lib/magic/tcl; rm -f tkcon.tcl tkshell.tcl wrapper.tcl console.tcl techbuilder.tcl cellmgr.tcl libmgr.tcl texthelper.tcl tools.tcl mazeroute.tcl strip_reflibs.tcl drc.tcl toolkit.tcl toolkit_rev0.tcl bsitools.tcl socketcmd.tcl magic.tcl)
for i in tkcon.tcl tkshell.tcl wrapper.tcl console.tcl techbuilder.tcl cellmgr.tcl libmgr.tcl texthelper.tcl tools.tcl mazeroute.tcl strip_reflibs.tcl drc.tcl toolkit.tcl toolkit_rev0.tcl bsitools.tcl socketcmd.tcl magic.tcl; do \
cp $i /home/chuan/Desktop/magic_install/lib/magic/tcl; done
(cd /home/chuan/Desktop/magic_install/lib/magic/tcl; chmod 0755 tkcon.tcl tkshell.tcl)
make[2]: Leaving directory `/home/chuan/Desktop/magic-8.2/tcltk'
make[1]: Leaving directory `/home/chuan/Desktop/magic-8.2'

0
magic/proto.magicrc Normal file
View File

11882
make.log Normal file

File diff suppressed because it is too large Load Diff

1
readline/readline Symbolic link
View File

@ -0,0 +1 @@
readline-4.3

59
scmos/gdsquery.tech Normal file
View File

@ -0,0 +1,59 @@
tech
format 28
gdsquery
end
version
version 0.1
description "Minimal technology file for querying an unknown GDS database"
end
planes
end
types
end
contact
end
styles
styletype mos
end
compose
end
connect
end
cifoutput
style generic
scalefactor 1
end
cifinput
style generic
scalefactor 1
end
# mzrouter
# end
drc
end
extract
end
# wiring
# end
# router
# end
# plowing
# end
# plot
# end

55
scmos/minimum.tech Normal file
View File

@ -0,0 +1,55 @@
tech
format 28
minimum
end
version
version 0.0
description "Minimum technology file structure"
end
planes
end
types
end
contact
end
styles
styletype mos
end
compose
end
connect
end
cifoutput
end
cifinput
end
# mzrouter
# end
drc
end
extract
end
# wiring
# end
# router
# end
# plowing
# end
# plot
# end

0
scmos/scmos-sub.tech Normal file
View File

0
scmos/scmos-tm.tech Normal file
View File

0
scmos/scmos.tech Normal file
View File

0
scmos/scmosWR.tech Normal file
View File

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,77 @@
# This file was generated by Autom4te Thu Apr 10 10:06:43 UTC 2014.
# It contains the lists of macros which have been traced.
# It can be safely removed.
@request = (
bless( [
'0',
1,
[
'/usr/share/autoconf'
],
[
'/usr/share/autoconf/autoconf/autoconf.m4f',
'configure.in'
],
{
'AM_PROG_CC_C_O' => 1,
'AM_CONDITIONAL' => 1,
'AC_CANONICAL_BUILD' => 1,
'AM_PROG_F77_C_O' => 1,
'AC_CONFIG_LIBOBJ_DIR' => 1,
'AC_CANONICAL_SYSTEM' => 1,
'AC_FC_FREEFORM' => 1,
'AM_PROG_CXX_C_O' => 1,
'AM_ENABLE_MULTILIB' => 1,
'LT_INIT' => 1,
'LT_CONFIG_LTDL_DIR' => 1,
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
'AC_PROG_LIBTOOL' => 1,
'AM_PATH_GUILE' => 1,
'AC_INIT' => 1,
'AM_AUTOMAKE_VERSION' => 1,
'm4_sinclude' => 1,
'AM_MAINTAINER_MODE' => 1,
'AC_FC_PP_DEFINE' => 1,
'AM_GNU_GETTEXT' => 1,
'AC_CONFIG_FILES' => 1,
'AM_MAKEFILE_INCLUDE' => 1,
'_m4_warn' => 1,
'AC_CANONICAL_TARGET' => 1,
'AC_FC_PP_SRCEXT' => 1,
'_AM_COND_IF' => 1,
'AC_CONFIG_LINKS' => 1,
'_LT_AC_TAGCONFIG' => 1,
'AM_INIT_AUTOMAKE' => 1,
'AM_SILENT_RULES' => 1,
'include' => 1,
'sinclude' => 1,
'AM_PROG_MOC' => 1,
'AM_NLS' => 1,
'AC_LIBSOURCE' => 1,
'm4_pattern_forbid' => 1,
'AC_CANONICAL_HOST' => 1,
'_AM_COND_ELSE' => 1,
'_AM_MAKEFILE_INCLUDE' => 1,
'AC_FC_SRCEXT' => 1,
'm4_include' => 1,
'AC_SUBST_TRACE' => 1,
'AC_CONFIG_HEADERS' => 1,
'AC_CONFIG_AUX_DIR' => 1,
'AC_CONFIG_SUBDIRS' => 1,
'AM_XGETTEXT_OPTION' => 1,
'AM_PROG_FC_C_O' => 1,
'LT_SUPPORTED_TAG' => 1,
'AH_OUTPUT' => 1,
'AM_PROG_AR' => 1,
'm4_pattern_allow' => 1,
'AC_SUBST' => 1,
'_AM_COND_ENDIF' => 1,
'AC_DEFINE_TRACE_LITERAL' => 1,
'AC_REQUIRE_AUX_FILE' => 1,
'_AM_SUBST_NOTMAKE' => 1,
'AM_POT_TOOLS' => 1
}
], 'Autom4te::Request' )
);

View File

@ -0,0 +1,689 @@
m4trace:configure.in:4: -1- AC_INIT([magic], [], [magic-hackers@csl.cornell.edu])
m4trace:configure.in:4: -1- m4_pattern_forbid([^_?A[CHUM]_])
m4trace:configure.in:4: -1- m4_pattern_forbid([_AC_])
m4trace:configure.in:4: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
m4trace:configure.in:4: -1- m4_pattern_allow([^AS_FLAGS$])
m4trace:configure.in:4: -1- m4_pattern_forbid([^_?m4_])
m4trace:configure.in:4: -1- m4_pattern_forbid([^dnl$])
m4trace:configure.in:4: -1- m4_pattern_forbid([^_?AS_])
m4trace:configure.in:4: -1- AC_SUBST([SHELL])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([SHELL])
m4trace:configure.in:4: -1- m4_pattern_allow([^SHELL$])
m4trace:configure.in:4: -1- AC_SUBST([PATH_SEPARATOR])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
m4trace:configure.in:4: -1- m4_pattern_allow([^PATH_SEPARATOR$])
m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([PACKAGE_NAME])
m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_NAME$])
m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_VERSION$])
m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([PACKAGE_STRING])
m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_STRING$])
m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
m4trace:configure.in:4: -1- AC_SUBST([PACKAGE_URL], [m4_ifdef([AC_PACKAGE_URL], ['AC_PACKAGE_URL'])])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([PACKAGE_URL])
m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_URL$])
m4trace:configure.in:4: -1- AC_SUBST([exec_prefix], [NONE])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([exec_prefix])
m4trace:configure.in:4: -1- m4_pattern_allow([^exec_prefix$])
m4trace:configure.in:4: -1- AC_SUBST([prefix], [NONE])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([prefix])
m4trace:configure.in:4: -1- m4_pattern_allow([^prefix$])
m4trace:configure.in:4: -1- AC_SUBST([program_transform_name], [s,x,x,])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([program_transform_name])
m4trace:configure.in:4: -1- m4_pattern_allow([^program_transform_name$])
m4trace:configure.in:4: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([bindir])
m4trace:configure.in:4: -1- m4_pattern_allow([^bindir$])
m4trace:configure.in:4: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([sbindir])
m4trace:configure.in:4: -1- m4_pattern_allow([^sbindir$])
m4trace:configure.in:4: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([libexecdir])
m4trace:configure.in:4: -1- m4_pattern_allow([^libexecdir$])
m4trace:configure.in:4: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([datarootdir])
m4trace:configure.in:4: -1- m4_pattern_allow([^datarootdir$])
m4trace:configure.in:4: -1- AC_SUBST([datadir], ['${datarootdir}'])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([datadir])
m4trace:configure.in:4: -1- m4_pattern_allow([^datadir$])
m4trace:configure.in:4: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([sysconfdir])
m4trace:configure.in:4: -1- m4_pattern_allow([^sysconfdir$])
m4trace:configure.in:4: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([sharedstatedir])
m4trace:configure.in:4: -1- m4_pattern_allow([^sharedstatedir$])
m4trace:configure.in:4: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([localstatedir])
m4trace:configure.in:4: -1- m4_pattern_allow([^localstatedir$])
m4trace:configure.in:4: -1- AC_SUBST([includedir], ['${prefix}/include'])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([includedir])
m4trace:configure.in:4: -1- m4_pattern_allow([^includedir$])
m4trace:configure.in:4: -1- AC_SUBST([oldincludedir], ['/usr/include'])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([oldincludedir])
m4trace:configure.in:4: -1- m4_pattern_allow([^oldincludedir$])
m4trace:configure.in:4: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
['${datarootdir}/doc/${PACKAGE_TARNAME}'],
['${datarootdir}/doc/${PACKAGE}'])])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([docdir])
m4trace:configure.in:4: -1- m4_pattern_allow([^docdir$])
m4trace:configure.in:4: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([infodir])
m4trace:configure.in:4: -1- m4_pattern_allow([^infodir$])
m4trace:configure.in:4: -1- AC_SUBST([htmldir], ['${docdir}'])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([htmldir])
m4trace:configure.in:4: -1- m4_pattern_allow([^htmldir$])
m4trace:configure.in:4: -1- AC_SUBST([dvidir], ['${docdir}'])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([dvidir])
m4trace:configure.in:4: -1- m4_pattern_allow([^dvidir$])
m4trace:configure.in:4: -1- AC_SUBST([pdfdir], ['${docdir}'])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([pdfdir])
m4trace:configure.in:4: -1- m4_pattern_allow([^pdfdir$])
m4trace:configure.in:4: -1- AC_SUBST([psdir], ['${docdir}'])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([psdir])
m4trace:configure.in:4: -1- m4_pattern_allow([^psdir$])
m4trace:configure.in:4: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([libdir])
m4trace:configure.in:4: -1- m4_pattern_allow([^libdir$])
m4trace:configure.in:4: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([localedir])
m4trace:configure.in:4: -1- m4_pattern_allow([^localedir$])
m4trace:configure.in:4: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([mandir])
m4trace:configure.in:4: -1- m4_pattern_allow([^mandir$])
m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_NAME$])
m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
@%:@undef PACKAGE_NAME])
m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
@%:@undef PACKAGE_TARNAME])
m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_VERSION$])
m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
@%:@undef PACKAGE_VERSION])
m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_STRING$])
m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
@%:@undef PACKAGE_STRING])
m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
@%:@undef PACKAGE_BUGREPORT])
m4trace:configure.in:4: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_URL])
m4trace:configure.in:4: -1- m4_pattern_allow([^PACKAGE_URL$])
m4trace:configure.in:4: -1- AH_OUTPUT([PACKAGE_URL], [/* Define to the home page for this package. */
@%:@undef PACKAGE_URL])
m4trace:configure.in:4: -1- AC_SUBST([DEFS])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([DEFS])
m4trace:configure.in:4: -1- m4_pattern_allow([^DEFS$])
m4trace:configure.in:4: -1- AC_SUBST([ECHO_C])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([ECHO_C])
m4trace:configure.in:4: -1- m4_pattern_allow([^ECHO_C$])
m4trace:configure.in:4: -1- AC_SUBST([ECHO_N])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([ECHO_N])
m4trace:configure.in:4: -1- m4_pattern_allow([^ECHO_N$])
m4trace:configure.in:4: -1- AC_SUBST([ECHO_T])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([ECHO_T])
m4trace:configure.in:4: -1- m4_pattern_allow([^ECHO_T$])
m4trace:configure.in:4: -1- AC_SUBST([LIBS])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([LIBS])
m4trace:configure.in:4: -1- m4_pattern_allow([^LIBS$])
m4trace:configure.in:4: -1- AC_SUBST([build_alias])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([build_alias])
m4trace:configure.in:4: -1- m4_pattern_allow([^build_alias$])
m4trace:configure.in:4: -1- AC_SUBST([host_alias])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([host_alias])
m4trace:configure.in:4: -1- m4_pattern_allow([^host_alias$])
m4trace:configure.in:4: -1- AC_SUBST([target_alias])
m4trace:configure.in:4: -1- AC_SUBST_TRACE([target_alias])
m4trace:configure.in:4: -1- m4_pattern_allow([^target_alias$])
m4trace:configure.in:7: -1- AC_CONFIG_AUX_DIR([.])
m4trace:configure.in:9: -1- AC_CANONICAL_SYSTEM
m4trace:configure.in:9: -1- _m4_warn([obsolete], [The macro `AC_CANONICAL_SYSTEM' is obsolete.
You should run autoupdate.], [../../lib/autoconf/general.m4:1857: AC_CANONICAL_SYSTEM is expanded from...
configure.in:9: the top level])
m4trace:configure.in:9: -1- AC_CANONICAL_TARGET
m4trace:configure.in:9: -1- AC_CANONICAL_HOST
m4trace:configure.in:9: -1- AC_CANONICAL_BUILD
m4trace:configure.in:9: -1- AC_REQUIRE_AUX_FILE([config.sub])
m4trace:configure.in:9: -1- AC_REQUIRE_AUX_FILE([config.guess])
m4trace:configure.in:9: -1- AC_SUBST([build], [$ac_cv_build])
m4trace:configure.in:9: -1- AC_SUBST_TRACE([build])
m4trace:configure.in:9: -1- m4_pattern_allow([^build$])
m4trace:configure.in:9: -1- AC_SUBST([build_cpu], [$[1]])
m4trace:configure.in:9: -1- AC_SUBST_TRACE([build_cpu])
m4trace:configure.in:9: -1- m4_pattern_allow([^build_cpu$])
m4trace:configure.in:9: -1- AC_SUBST([build_vendor], [$[2]])
m4trace:configure.in:9: -1- AC_SUBST_TRACE([build_vendor])
m4trace:configure.in:9: -1- m4_pattern_allow([^build_vendor$])
m4trace:configure.in:9: -1- AC_SUBST([build_os])
m4trace:configure.in:9: -1- AC_SUBST_TRACE([build_os])
m4trace:configure.in:9: -1- m4_pattern_allow([^build_os$])
m4trace:configure.in:9: -1- AC_SUBST([host], [$ac_cv_host])
m4trace:configure.in:9: -1- AC_SUBST_TRACE([host])
m4trace:configure.in:9: -1- m4_pattern_allow([^host$])
m4trace:configure.in:9: -1- AC_SUBST([host_cpu], [$[1]])
m4trace:configure.in:9: -1- AC_SUBST_TRACE([host_cpu])
m4trace:configure.in:9: -1- m4_pattern_allow([^host_cpu$])
m4trace:configure.in:9: -1- AC_SUBST([host_vendor], [$[2]])
m4trace:configure.in:9: -1- AC_SUBST_TRACE([host_vendor])
m4trace:configure.in:9: -1- m4_pattern_allow([^host_vendor$])
m4trace:configure.in:9: -1- AC_SUBST([host_os])
m4trace:configure.in:9: -1- AC_SUBST_TRACE([host_os])
m4trace:configure.in:9: -1- m4_pattern_allow([^host_os$])
m4trace:configure.in:9: -1- AC_SUBST([target], [$ac_cv_target])
m4trace:configure.in:9: -1- AC_SUBST_TRACE([target])
m4trace:configure.in:9: -1- m4_pattern_allow([^target$])
m4trace:configure.in:9: -1- AC_SUBST([target_cpu], [$[1]])
m4trace:configure.in:9: -1- AC_SUBST_TRACE([target_cpu])
m4trace:configure.in:9: -1- m4_pattern_allow([^target_cpu$])
m4trace:configure.in:9: -1- AC_SUBST([target_vendor], [$[2]])
m4trace:configure.in:9: -1- AC_SUBST_TRACE([target_vendor])
m4trace:configure.in:9: -1- m4_pattern_allow([^target_vendor$])
m4trace:configure.in:9: -1- AC_SUBST([target_os])
m4trace:configure.in:9: -1- AC_SUBST_TRACE([target_os])
m4trace:configure.in:9: -1- m4_pattern_allow([^target_os$])
m4trace:configure.in:16: -1- AC_DEFINE_TRACE_LITERAL([MAGIC_VERSION])
m4trace:configure.in:16: -1- m4_pattern_allow([^MAGIC_VERSION$])
m4trace:configure.in:17: -1- AC_DEFINE_TRACE_LITERAL([MAGIC_REVISION])
m4trace:configure.in:17: -1- m4_pattern_allow([^MAGIC_REVISION$])
m4trace:configure.in:24: -1- AC_SUBST([CC])
m4trace:configure.in:24: -1- AC_SUBST_TRACE([CC])
m4trace:configure.in:24: -1- m4_pattern_allow([^CC$])
m4trace:configure.in:24: -1- AC_SUBST([CFLAGS])
m4trace:configure.in:24: -1- AC_SUBST_TRACE([CFLAGS])
m4trace:configure.in:24: -1- m4_pattern_allow([^CFLAGS$])
m4trace:configure.in:24: -1- AC_SUBST([LDFLAGS])
m4trace:configure.in:24: -1- AC_SUBST_TRACE([LDFLAGS])
m4trace:configure.in:24: -1- m4_pattern_allow([^LDFLAGS$])
m4trace:configure.in:24: -1- AC_SUBST([LIBS])
m4trace:configure.in:24: -1- AC_SUBST_TRACE([LIBS])
m4trace:configure.in:24: -1- m4_pattern_allow([^LIBS$])
m4trace:configure.in:24: -1- AC_SUBST([CPPFLAGS])
m4trace:configure.in:24: -1- AC_SUBST_TRACE([CPPFLAGS])
m4trace:configure.in:24: -1- m4_pattern_allow([^CPPFLAGS$])
m4trace:configure.in:24: -1- AC_SUBST([CC])
m4trace:configure.in:24: -1- AC_SUBST_TRACE([CC])
m4trace:configure.in:24: -1- m4_pattern_allow([^CC$])
m4trace:configure.in:24: -1- AC_SUBST([CC])
m4trace:configure.in:24: -1- AC_SUBST_TRACE([CC])
m4trace:configure.in:24: -1- m4_pattern_allow([^CC$])
m4trace:configure.in:24: -1- AC_SUBST([CC])
m4trace:configure.in:24: -1- AC_SUBST_TRACE([CC])
m4trace:configure.in:24: -1- m4_pattern_allow([^CC$])
m4trace:configure.in:24: -1- AC_SUBST([CC])
m4trace:configure.in:24: -1- AC_SUBST_TRACE([CC])
m4trace:configure.in:24: -1- m4_pattern_allow([^CC$])
m4trace:configure.in:24: -1- AC_SUBST([ac_ct_CC])
m4trace:configure.in:24: -1- AC_SUBST_TRACE([ac_ct_CC])
m4trace:configure.in:24: -1- m4_pattern_allow([^ac_ct_CC$])
m4trace:configure.in:24: -1- AC_SUBST([EXEEXT], [$ac_cv_exeext])
m4trace:configure.in:24: -1- AC_SUBST_TRACE([EXEEXT])
m4trace:configure.in:24: -1- m4_pattern_allow([^EXEEXT$])
m4trace:configure.in:24: -1- AC_SUBST([OBJEXT], [$ac_cv_objext])
m4trace:configure.in:24: -1- AC_SUBST_TRACE([OBJEXT])
m4trace:configure.in:24: -1- m4_pattern_allow([^OBJEXT$])
m4trace:configure.in:25: -1- AC_SUBST([CPP])
m4trace:configure.in:25: -1- AC_SUBST_TRACE([CPP])
m4trace:configure.in:25: -1- m4_pattern_allow([^CPP$])
m4trace:configure.in:25: -1- AC_SUBST([CPPFLAGS])
m4trace:configure.in:25: -1- AC_SUBST_TRACE([CPPFLAGS])
m4trace:configure.in:25: -1- m4_pattern_allow([^CPPFLAGS$])
m4trace:configure.in:25: -1- AC_SUBST([CPP])
m4trace:configure.in:25: -1- AC_SUBST_TRACE([CPP])
m4trace:configure.in:25: -1- m4_pattern_allow([^CPP$])
m4trace:configure.in:26: -1- AC_SUBST([CXX])
m4trace:configure.in:26: -1- AC_SUBST_TRACE([CXX])
m4trace:configure.in:26: -1- m4_pattern_allow([^CXX$])
m4trace:configure.in:26: -1- AC_SUBST([CXXFLAGS])
m4trace:configure.in:26: -1- AC_SUBST_TRACE([CXXFLAGS])
m4trace:configure.in:26: -1- m4_pattern_allow([^CXXFLAGS$])
m4trace:configure.in:26: -1- AC_SUBST([LDFLAGS])
m4trace:configure.in:26: -1- AC_SUBST_TRACE([LDFLAGS])
m4trace:configure.in:26: -1- m4_pattern_allow([^LDFLAGS$])
m4trace:configure.in:26: -1- AC_SUBST([LIBS])
m4trace:configure.in:26: -1- AC_SUBST_TRACE([LIBS])
m4trace:configure.in:26: -1- m4_pattern_allow([^LIBS$])
m4trace:configure.in:26: -1- AC_SUBST([CPPFLAGS])
m4trace:configure.in:26: -1- AC_SUBST_TRACE([CPPFLAGS])
m4trace:configure.in:26: -1- m4_pattern_allow([^CPPFLAGS$])
m4trace:configure.in:26: -1- AC_SUBST([CXX])
m4trace:configure.in:26: -1- AC_SUBST_TRACE([CXX])
m4trace:configure.in:26: -1- m4_pattern_allow([^CXX$])
m4trace:configure.in:26: -1- AC_SUBST([ac_ct_CXX])
m4trace:configure.in:26: -1- AC_SUBST_TRACE([ac_ct_CXX])
m4trace:configure.in:26: -1- m4_pattern_allow([^ac_ct_CXX$])
m4trace:configure.in:27: -1- _m4_warn([obsolete], [The macro `AC_ISC_POSIX' is obsolete.
You should run autoupdate.], [../../lib/autoconf/specific.m4:446: AC_ISC_POSIX is expanded from...
configure.in:27: the top level])
m4trace:configure.in:28: -1- AC_REQUIRE_AUX_FILE([install-sh])
m4trace:configure.in:28: -1- AC_SUBST([INSTALL_PROGRAM])
m4trace:configure.in:28: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
m4trace:configure.in:28: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
m4trace:configure.in:28: -1- AC_SUBST([INSTALL_SCRIPT])
m4trace:configure.in:28: -1- AC_SUBST_TRACE([INSTALL_SCRIPT])
m4trace:configure.in:28: -1- m4_pattern_allow([^INSTALL_SCRIPT$])
m4trace:configure.in:28: -1- AC_SUBST([INSTALL_DATA])
m4trace:configure.in:28: -1- AC_SUBST_TRACE([INSTALL_DATA])
m4trace:configure.in:28: -1- m4_pattern_allow([^INSTALL_DATA$])
m4trace:configure.in:29: -1- AC_SUBST([RANLIB])
m4trace:configure.in:29: -1- AC_SUBST_TRACE([RANLIB])
m4trace:configure.in:29: -1- m4_pattern_allow([^RANLIB$])
m4trace:configure.in:32: -1- AC_SUBST([M4])
m4trace:configure.in:32: -1- AC_SUBST_TRACE([M4])
m4trace:configure.in:32: -1- m4_pattern_allow([^M4$])
m4trace:configure.in:39: -1- AC_SUBST([PYTHON3])
m4trace:configure.in:39: -1- AC_SUBST_TRACE([PYTHON3])
m4trace:configure.in:39: -1- m4_pattern_allow([^PYTHON3$])
m4trace:configure.in:151: -1- AC_SUBST([GREP])
m4trace:configure.in:151: -1- AC_SUBST_TRACE([GREP])
m4trace:configure.in:151: -1- m4_pattern_allow([^GREP$])
m4trace:configure.in:151: -1- AC_SUBST([EGREP])
m4trace:configure.in:151: -1- AC_SUBST_TRACE([EGREP])
m4trace:configure.in:151: -1- m4_pattern_allow([^EGREP$])
m4trace:configure.in:151: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
m4trace:configure.in:151: -1- m4_pattern_allow([^STDC_HEADERS$])
m4trace:configure.in:151: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
@%:@undef STDC_HEADERS])
m4trace:configure.in:151: -1- AH_OUTPUT([HAVE_SYS_TYPES_H], [/* Define to 1 if you have the <sys/types.h> header file. */
@%:@undef HAVE_SYS_TYPES_H])
m4trace:configure.in:151: -1- AH_OUTPUT([HAVE_SYS_STAT_H], [/* Define to 1 if you have the <sys/stat.h> header file. */
@%:@undef HAVE_SYS_STAT_H])
m4trace:configure.in:151: -1- AH_OUTPUT([HAVE_STDLIB_H], [/* Define to 1 if you have the <stdlib.h> header file. */
@%:@undef HAVE_STDLIB_H])
m4trace:configure.in:151: -1- AH_OUTPUT([HAVE_STRING_H], [/* Define to 1 if you have the <string.h> header file. */
@%:@undef HAVE_STRING_H])
m4trace:configure.in:151: -1- AH_OUTPUT([HAVE_MEMORY_H], [/* Define to 1 if you have the <memory.h> header file. */
@%:@undef HAVE_MEMORY_H])
m4trace:configure.in:151: -1- AH_OUTPUT([HAVE_STRINGS_H], [/* Define to 1 if you have the <strings.h> header file. */
@%:@undef HAVE_STRINGS_H])
m4trace:configure.in:151: -1- AH_OUTPUT([HAVE_INTTYPES_H], [/* Define to 1 if you have the <inttypes.h> header file. */
@%:@undef HAVE_INTTYPES_H])
m4trace:configure.in:151: -1- AH_OUTPUT([HAVE_STDINT_H], [/* Define to 1 if you have the <stdint.h> header file. */
@%:@undef HAVE_STDINT_H])
m4trace:configure.in:151: -1- AH_OUTPUT([HAVE_UNISTD_H], [/* Define to 1 if you have the <unistd.h> header file. */
@%:@undef HAVE_UNISTD_H])
m4trace:configure.in:151: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_VOID_P])
m4trace:configure.in:151: -1- m4_pattern_allow([^SIZEOF_VOID_P$])
m4trace:configure.in:151: -1- AH_OUTPUT([SIZEOF_VOID_P], [/* The size of `void *\', as computed by sizeof. */
@%:@undef SIZEOF_VOID_P])
m4trace:configure.in:152: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_UNSIGNED_INT])
m4trace:configure.in:152: -1- m4_pattern_allow([^SIZEOF_UNSIGNED_INT$])
m4trace:configure.in:152: -1- AH_OUTPUT([SIZEOF_UNSIGNED_INT], [/* The size of `unsigned int\', as computed by sizeof. */
@%:@undef SIZEOF_UNSIGNED_INT])
m4trace:configure.in:153: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_UNSIGNED_LONG])
m4trace:configure.in:153: -1- m4_pattern_allow([^SIZEOF_UNSIGNED_LONG$])
m4trace:configure.in:153: -1- AH_OUTPUT([SIZEOF_UNSIGNED_LONG], [/* The size of `unsigned long\', as computed by sizeof. */
@%:@undef SIZEOF_UNSIGNED_LONG])
m4trace:configure.in:154: -1- AC_DEFINE_TRACE_LITERAL([SIZEOF_UNSIGNED_LONG_LONG])
m4trace:configure.in:154: -1- m4_pattern_allow([^SIZEOF_UNSIGNED_LONG_LONG$])
m4trace:configure.in:154: -1- AH_OUTPUT([SIZEOF_UNSIGNED_LONG_LONG], [/* The size of `unsigned long long\', as computed by sizeof. */
@%:@undef SIZEOF_UNSIGNED_LONG_LONG])
m4trace:configure.in:157: -1- AH_OUTPUT([WORDS_BIGENDIAN], [/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
significant byte first (like Motorola and SPARC, unlike Intel). */
#if defined AC_APPLE_UNIVERSAL_BUILD
# if defined __BIG_ENDIAN__
# define WORDS_BIGENDIAN 1
# endif
#else
# ifndef WORDS_BIGENDIAN
# undef WORDS_BIGENDIAN
# endif
#endif])
m4trace:configure.in:157: -1- AC_DEFINE_TRACE_LITERAL([WORDS_BIGENDIAN])
m4trace:configure.in:157: -1- m4_pattern_allow([^WORDS_BIGENDIAN$])
m4trace:configure.in:157: -1- AC_DEFINE_TRACE_LITERAL([AC_APPLE_UNIVERSAL_BUILD])
m4trace:configure.in:157: -1- m4_pattern_allow([^AC_APPLE_UNIVERSAL_BUILD$])
m4trace:configure.in:157: -1- AH_OUTPUT([AC_APPLE_UNIVERSAL_BUILD], [/* Define if building universal (internal helper macro) */
@%:@undef AC_APPLE_UNIVERSAL_BUILD])
m4trace:configure.in:160: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
m4trace:configure.in:160: -1- m4_pattern_allow([^STDC_HEADERS$])
m4trace:configure.in:160: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
@%:@undef STDC_HEADERS])
m4trace:configure.in:163: -1- AH_OUTPUT([HAVE_SETENV], [/* Define to 1 if you have the `setenv\' function. */
@%:@undef HAVE_SETENV])
m4trace:configure.in:163: -1- AH_OUTPUT([HAVE_PUTENV], [/* Define to 1 if you have the `putenv\' function. */
@%:@undef HAVE_PUTENV])
m4trace:configure.in:169: -1- AH_OUTPUT([HAVE_SYS_MMAN_H], [/* Define to 1 if you have the <sys/mman.h> header file. */
@%:@undef HAVE_SYS_MMAN_H])
m4trace:configure.in:169: -1- AC_DEFINE_TRACE_LITERAL([HAVE_SYS_MMAN_H])
m4trace:configure.in:169: -1- m4_pattern_allow([^HAVE_SYS_MMAN_H$])
m4trace:configure.in:172: -1- AH_OUTPUT([HAVE_DIRENT_H], [/* Define to 1 if you have the <dirent.h> header file. */
@%:@undef HAVE_DIRENT_H])
m4trace:configure.in:172: -1- AC_DEFINE_TRACE_LITERAL([HAVE_DIRENT_H])
m4trace:configure.in:172: -1- m4_pattern_allow([^HAVE_DIRENT_H$])
m4trace:configure.in:175: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */
@%:@undef HAVE_LIMITS_H])
m4trace:configure.in:175: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIMITS_H])
m4trace:configure.in:175: -1- m4_pattern_allow([^HAVE_LIMITS_H$])
m4trace:configure.in:178: -1- AH_OUTPUT([HAVE_PARAM_H], [/* Define to 1 if you have the <param.h> header file. */
@%:@undef HAVE_PARAM_H])
m4trace:configure.in:178: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PARAM_H])
m4trace:configure.in:178: -1- m4_pattern_allow([^HAVE_PARAM_H$])
m4trace:configure.in:181: -1- AH_OUTPUT([HAVE_PATHS_H], [/* Define to 1 if you have the <paths.h> header file. */
@%:@undef HAVE_PATHS_H])
m4trace:configure.in:181: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PATHS_H])
m4trace:configure.in:181: -1- m4_pattern_allow([^HAVE_PATHS_H$])
m4trace:configure.in:185: -2- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
You should run autoupdate.], [../../lib/autoconf/general.m4:2687: AC_TRY_LINK is expanded from...
configure.in:185: the top level])
m4trace:configure.in:195: -1- AC_DEFINE_TRACE_LITERAL([HAVE_VA_COPY])
m4trace:configure.in:195: -1- m4_pattern_allow([^HAVE_VA_COPY$])
m4trace:configure.in:195: -1- AH_OUTPUT([HAVE_VA_COPY], [/* Define if we have va_copy */
@%:@undef HAVE_VA_COPY])
m4trace:configure.in:198: -2- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
You should run autoupdate.], [../../lib/autoconf/general.m4:2687: AC_TRY_LINK is expanded from...
configure.in:198: the top level])
m4trace:configure.in:208: -1- AC_DEFINE_TRACE_LITERAL([HAVE___VA_COPY])
m4trace:configure.in:208: -1- m4_pattern_allow([^HAVE___VA_COPY$])
m4trace:configure.in:208: -1- AH_OUTPUT([HAVE___VA_COPY], [/* Define if we have __va_copy */
@%:@undef HAVE___VA_COPY])
m4trace:configure.in:223: -2- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
You should run autoupdate.], [../../lib/autoconf/general.m4:2687: AC_TRY_LINK is expanded from...
configure.in:223: the top level])
m4trace:configure.in:234: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ROUNDF])
m4trace:configure.in:234: -1- m4_pattern_allow([^HAVE_ROUNDF$])
m4trace:configure.in:234: -1- AH_OUTPUT([HAVE_ROUNDF], [/* "c99 function" */
@%:@undef HAVE_ROUNDF])
m4trace:configure.in:238: -2- _m4_warn([obsolete], [The macro `AC_TRY_LINK' is obsolete.
You should run autoupdate.], [../../lib/autoconf/general.m4:2687: AC_TRY_LINK is expanded from...
configure.in:238: the top level])
m4trace:configure.in:249: -1- AC_DEFINE_TRACE_LITERAL([HAVE_ROUND])
m4trace:configure.in:249: -1- m4_pattern_allow([^HAVE_ROUND$])
m4trace:configure.in:249: -1- AH_OUTPUT([HAVE_ROUND], [/* "c99 function" */
@%:@undef HAVE_ROUND])
m4trace:configure.in:305: -1- AC_SUBST([GCORE])
m4trace:configure.in:305: -1- AC_SUBST_TRACE([GCORE])
m4trace:configure.in:305: -1- m4_pattern_allow([^GCORE$])
m4trace:configure.in:311: -1- AC_SUBST([CSH])
m4trace:configure.in:311: -1- AC_SUBST_TRACE([CSH])
m4trace:configure.in:311: -1- m4_pattern_allow([^CSH$])
m4trace:configure.in:319: -1- AC_SUBST([XMKMF])
m4trace:configure.in:319: -1- AC_SUBST_TRACE([XMKMF])
m4trace:configure.in:319: -1- m4_pattern_allow([^XMKMF$])
m4trace:configure.in:319: -1- AC_DEFINE_TRACE_LITERAL([X_DISPLAY_MISSING])
m4trace:configure.in:319: -1- m4_pattern_allow([^X_DISPLAY_MISSING$])
m4trace:configure.in:319: -1- AH_OUTPUT([X_DISPLAY_MISSING], [/* Define to 1 if the X Window System is missing or not being used. */
@%:@undef X_DISPLAY_MISSING])
m4trace:configure.in:319: -1- AC_SUBST([X_CFLAGS])
m4trace:configure.in:319: -1- AC_SUBST_TRACE([X_CFLAGS])
m4trace:configure.in:319: -1- m4_pattern_allow([^X_CFLAGS$])
m4trace:configure.in:319: -1- AC_SUBST([X_PRE_LIBS])
m4trace:configure.in:319: -1- AC_SUBST_TRACE([X_PRE_LIBS])
m4trace:configure.in:319: -1- m4_pattern_allow([^X_PRE_LIBS$])
m4trace:configure.in:319: -1- AC_SUBST([X_LIBS])
m4trace:configure.in:319: -1- AC_SUBST_TRACE([X_LIBS])
m4trace:configure.in:319: -1- m4_pattern_allow([^X_LIBS$])
m4trace:configure.in:319: -1- AC_SUBST([X_EXTRA_LIBS])
m4trace:configure.in:319: -1- AC_SUBST_TRACE([X_EXTRA_LIBS])
m4trace:configure.in:319: -1- m4_pattern_allow([^X_EXTRA_LIBS$])
m4trace:configure.in:855: -1- AC_DEFINE_TRACE_LITERAL([OPENACCESS])
m4trace:configure.in:855: -1- m4_pattern_allow([^OPENACCESS$])
m4trace:configure.in:887: -1- AC_DEFINE_TRACE_LITERAL([TCL_MEM_DEBUG])
m4trace:configure.in:887: -1- m4_pattern_allow([^TCL_MEM_DEBUG$])
m4trace:configure.in:899: -1- AC_DEFINE_TRACE_LITERAL([EXT2SPICE_AUTO])
m4trace:configure.in:899: -1- m4_pattern_allow([^EXT2SPICE_AUTO$])
m4trace:configure.in:900: -1- AC_DEFINE_TRACE_LITERAL([EXT2SIM_AUTO])
m4trace:configure.in:900: -1- m4_pattern_allow([^EXT2SIM_AUTO$])
m4trace:configure.in:908: -1- AC_DEFINE_TRACE_LITERAL([EXT2SPICE_AUTO])
m4trace:configure.in:908: -1- m4_pattern_allow([^EXT2SPICE_AUTO$])
m4trace:configure.in:909: -1- AC_DEFINE_TRACE_LITERAL([EXT2SIM_AUTO])
m4trace:configure.in:909: -1- m4_pattern_allow([^EXT2SIM_AUTO$])
m4trace:configure.in:922: -1- AC_DEFINE_TRACE_LITERAL([FILE_LOCKS])
m4trace:configure.in:922: -1- m4_pattern_allow([^FILE_LOCKS$])
m4trace:configure.in:933: -1- AC_DEFINE_TRACE_LITERAL([CALMA_MODULE])
m4trace:configure.in:933: -1- m4_pattern_allow([^CALMA_MODULE$])
m4trace:configure.in:946: -1- AC_DEFINE_TRACE_LITERAL([CIF_MODULE])
m4trace:configure.in:946: -1- m4_pattern_allow([^CIF_MODULE$])
m4trace:configure.in:959: -1- AC_DEFINE_TRACE_LITERAL([OGL_SERVER_SIDE_ONLY])
m4trace:configure.in:959: -1- m4_pattern_allow([^OGL_SERVER_SIDE_ONLY$])
m4trace:configure.in:968: -1- AC_DEFINE_TRACE_LITERAL([OGL_INVERT_Y])
m4trace:configure.in:968: -1- m4_pattern_allow([^OGL_INVERT_Y$])
m4trace:configure.in:977: -1- AC_DEFINE_TRACE_LITERAL([X11_BACKING_STORE])
m4trace:configure.in:977: -1- m4_pattern_allow([^X11_BACKING_STORE$])
m4trace:configure.in:986: -1- AC_DEFINE_TRACE_LITERAL([PLOT_MODULE])
m4trace:configure.in:986: -1- m4_pattern_allow([^PLOT_MODULE$])
m4trace:configure.in:999: -1- AC_DEFINE_TRACE_LITERAL([LEF_MODULE])
m4trace:configure.in:999: -1- m4_pattern_allow([^LEF_MODULE$])
m4trace:configure.in:1020: -1- AC_DEFINE_TRACE_LITERAL([USE_READLINE])
m4trace:configure.in:1020: -1- m4_pattern_allow([^USE_READLINE$])
m4trace:configure.in:1022: -1- AH_OUTPUT([HAVE_LIBREADLINE], [/* Define to 1 if you have the `readline\' library (-lreadline). */
@%:@undef HAVE_LIBREADLINE])
m4trace:configure.in:1022: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBREADLINE])
m4trace:configure.in:1022: -1- m4_pattern_allow([^HAVE_LIBREADLINE$])
m4trace:configure.in:1024: -1- AH_OUTPUT([HAVE_LIBREADLINE], [/* Define to 1 if you have the `readline\' library (-lreadline). */
@%:@undef HAVE_LIBREADLINE])
m4trace:configure.in:1024: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBREADLINE])
m4trace:configure.in:1024: -1- m4_pattern_allow([^HAVE_LIBREADLINE$])
m4trace:configure.in:1026: -1- AH_OUTPUT([HAVE_LIBREADLINE], [/* Define to 1 if you have the `readline\' library (-lreadline). */
@%:@undef HAVE_LIBREADLINE])
m4trace:configure.in:1026: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBREADLINE])
m4trace:configure.in:1026: -1- m4_pattern_allow([^HAVE_LIBREADLINE$])
m4trace:configure.in:1028: -1- AH_OUTPUT([HAVE_LIBREADLINE], [/* Define to 1 if you have the `readline\' library (-lreadline). */
@%:@undef HAVE_LIBREADLINE])
m4trace:configure.in:1028: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBREADLINE])
m4trace:configure.in:1028: -1- m4_pattern_allow([^HAVE_LIBREADLINE$])
m4trace:configure.in:1031: -1- AC_DEFINE_TRACE_LITERAL([HAVE_READLINE])
m4trace:configure.in:1031: -1- m4_pattern_allow([^HAVE_READLINE$])
m4trace:configure.in:1064: -1- AC_DEFINE_TRACE_LITERAL([HAVE_PTHREADS])
m4trace:configure.in:1064: -1- m4_pattern_allow([^HAVE_PTHREADS$])
m4trace:configure.in:1077: -1- AC_DEFINE_TRACE_LITERAL([ROUTE_MODULE])
m4trace:configure.in:1077: -1- m4_pattern_allow([^ROUTE_MODULE$])
m4trace:configure.in:1102: -1- AC_DEFINE_TRACE_LITERAL([RSIM_MODULE])
m4trace:configure.in:1102: -1- m4_pattern_allow([^RSIM_MODULE$])
m4trace:configure.in:1111: -1- AC_DEFINE_TRACE_LITERAL([USE_NEW_MACROS])
m4trace:configure.in:1111: -1- m4_pattern_allow([^USE_NEW_MACROS$])
m4trace:configure.in:1145: -1- AH_OUTPUT([HAVE_LIBGL], [/* Define to 1 if you have the `GL\' library (-lGL). */
@%:@undef HAVE_LIBGL])
m4trace:configure.in:1145: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBGL])
m4trace:configure.in:1145: -1- m4_pattern_allow([^HAVE_LIBGL$])
m4trace:configure.in:1149: -1- AH_OUTPUT([HAVE_LIBGLU], [/* Define to 1 if you have the `GLU\' library (-lGLU). */
@%:@undef HAVE_LIBGLU])
m4trace:configure.in:1149: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBGLU])
m4trace:configure.in:1149: -1- m4_pattern_allow([^HAVE_LIBGLU$])
m4trace:configure.in:1158: -1- AC_DEFINE_TRACE_LITERAL([VECTOR_FONTS])
m4trace:configure.in:1158: -1- m4_pattern_allow([^VECTOR_FONTS$])
m4trace:configure.in:1197: -1- AH_OUTPUT([HAVE_LIBCAIRO], [/* Define to 1 if you have the `cairo\' library (-lcairo). */
@%:@undef HAVE_LIBCAIRO])
m4trace:configure.in:1197: -1- AC_DEFINE_TRACE_LITERAL([HAVE_LIBCAIRO])
m4trace:configure.in:1197: -1- m4_pattern_allow([^HAVE_LIBCAIRO$])
m4trace:configure.in:1226: -1- AC_DEFINE_TRACE_LITERAL([MAGIC_WRAPPER])
m4trace:configure.in:1226: -1- m4_pattern_allow([^MAGIC_WRAPPER$])
m4trace:configure.in:1235: -1- AC_DEFINE_TRACE_LITERAL([SCHEME_INTERPRETER])
m4trace:configure.in:1235: -1- m4_pattern_allow([^SCHEME_INTERPRETER$])
m4trace:configure.in:1253: -1- AC_DEFINE_TRACE_LITERAL([THREE_D])
m4trace:configure.in:1253: -1- m4_pattern_allow([^THREE_D$])
m4trace:configure.in:1305: -1- AC_DEFINE_TRACE_LITERAL([linux])
m4trace:configure.in:1305: -1- m4_pattern_allow([^linux$])
m4trace:configure.in:1306: -1- AC_DEFINE_TRACE_LITERAL([SYSV])
m4trace:configure.in:1306: -1- m4_pattern_allow([^SYSV$])
m4trace:configure.in:1308: -1- AC_DEFINE_TRACE_LITERAL([ISC])
m4trace:configure.in:1308: -1- m4_pattern_allow([^ISC$])
m4trace:configure.in:1325: -1- AC_DEFINE_TRACE_LITERAL([SYSV])
m4trace:configure.in:1325: -1- m4_pattern_allow([^SYSV$])
m4trace:configure.in:1328: -1- AC_DEFINE_TRACE_LITERAL([SYSV])
m4trace:configure.in:1328: -1- m4_pattern_allow([^SYSV$])
m4trace:configure.in:1329: -1- AC_DEFINE_TRACE_LITERAL([IRIX])
m4trace:configure.in:1329: -1- m4_pattern_allow([^IRIX$])
m4trace:configure.in:1330: -1- AC_DEFINE_TRACE_LITERAL([_BSD_SIGNALS])
m4trace:configure.in:1330: -1- m4_pattern_allow([^_BSD_SIGNALS$])
m4trace:configure.in:1333: -1- AC_DEFINE_TRACE_LITERAL([SYSV])
m4trace:configure.in:1333: -1- m4_pattern_allow([^SYSV$])
m4trace:configure.in:1336: -1- AC_DEFINE_TRACE_LITERAL([CYGWIN])
m4trace:configure.in:1336: -1- m4_pattern_allow([^CYGWIN$])
m4trace:configure.in:1337: -1- AC_DEFINE_TRACE_LITERAL([i386])
m4trace:configure.in:1337: -1- m4_pattern_allow([^i386$])
m4trace:configure.in:1486: -1- AC_DEFINE_TRACE_LITERAL([USE_DL_IMPORT])
m4trace:configure.in:1486: -1- m4_pattern_allow([^USE_DL_IMPORT$])
m4trace:configure.in:1508: -1- AC_DEFINE_TRACE_LITERAL([_HPUX_SOURCE])
m4trace:configure.in:1508: -1- m4_pattern_allow([^_HPUX_SOURCE$])
m4trace:configure.in:1700: -1- AC_SUBST([SHDLIB_EXT])
m4trace:configure.in:1700: -1- AC_SUBST_TRACE([SHDLIB_EXT])
m4trace:configure.in:1700: -1- m4_pattern_allow([^SHDLIB_EXT$])
m4trace:configure.in:1701: -1- AC_SUBST([SHLIB_LD])
m4trace:configure.in:1701: -1- AC_SUBST_TRACE([SHLIB_LD])
m4trace:configure.in:1701: -1- m4_pattern_allow([^SHLIB_LD$])
m4trace:configure.in:1702: -1- AC_SUBST([LD])
m4trace:configure.in:1702: -1- AC_SUBST_TRACE([LD])
m4trace:configure.in:1702: -1- m4_pattern_allow([^LD$])
m4trace:configure.in:1703: -1- AC_SUBST([LDDL_FLAGS])
m4trace:configure.in:1703: -1- AC_SUBST_TRACE([LDDL_FLAGS])
m4trace:configure.in:1703: -1- m4_pattern_allow([^LDDL_FLAGS$])
m4trace:configure.in:1704: -1- AC_SUBST([SHLIB_LIB_SPECS])
m4trace:configure.in:1704: -1- AC_SUBST_TRACE([SHLIB_LIB_SPECS])
m4trace:configure.in:1704: -1- m4_pattern_allow([^SHLIB_LIB_SPECS$])
m4trace:configure.in:1706: -1- AC_SUBST([EXTRA_LIB_SPECS])
m4trace:configure.in:1706: -1- AC_SUBST_TRACE([EXTRA_LIB_SPECS])
m4trace:configure.in:1706: -1- m4_pattern_allow([^EXTRA_LIB_SPECS$])
m4trace:configure.in:1707: -1- AC_SUBST([LDFLAGS])
m4trace:configure.in:1707: -1- AC_SUBST_TRACE([LDFLAGS])
m4trace:configure.in:1707: -1- m4_pattern_allow([^LDFLAGS$])
m4trace:configure.in:1708: -1- AC_SUBST([INC_SPECS])
m4trace:configure.in:1708: -1- AC_SUBST_TRACE([INC_SPECS])
m4trace:configure.in:1708: -1- m4_pattern_allow([^INC_SPECS$])
m4trace:configure.in:1709: -1- AC_SUBST([LIB_SPECS])
m4trace:configure.in:1709: -1- AC_SUBST_TRACE([LIB_SPECS])
m4trace:configure.in:1709: -1- m4_pattern_allow([^LIB_SPECS$])
m4trace:configure.in:1710: -1- AC_SUBST([WISH_EXE])
m4trace:configure.in:1710: -1- AC_SUBST_TRACE([WISH_EXE])
m4trace:configure.in:1710: -1- m4_pattern_allow([^WISH_EXE$])
m4trace:configure.in:1711: -1- AC_SUBST([TCLSH_EXE])
m4trace:configure.in:1711: -1- AC_SUBST_TRACE([TCLSH_EXE])
m4trace:configure.in:1711: -1- m4_pattern_allow([^TCLSH_EXE$])
m4trace:configure.in:1712: -1- AC_SUBST([TCL_LIB_DIR])
m4trace:configure.in:1712: -1- AC_SUBST_TRACE([TCL_LIB_DIR])
m4trace:configure.in:1712: -1- m4_pattern_allow([^TCL_LIB_DIR$])
m4trace:configure.in:1723: -1- AC_SUBST([gr_libs])
m4trace:configure.in:1723: -1- AC_SUBST_TRACE([gr_libs])
m4trace:configure.in:1723: -1- m4_pattern_allow([^gr_libs$])
m4trace:configure.in:1724: -1- AC_SUBST([PACKAGE])
m4trace:configure.in:1724: -1- AC_SUBST_TRACE([PACKAGE])
m4trace:configure.in:1724: -1- m4_pattern_allow([^PACKAGE$])
m4trace:configure.in:1725: -1- AC_SUBST([SCRIPTS])
m4trace:configure.in:1725: -1- AC_SUBST_TRACE([SCRIPTS])
m4trace:configure.in:1725: -1- m4_pattern_allow([^SCRIPTS$])
m4trace:configure.in:1726: -1- AC_SUBST([extra_libs])
m4trace:configure.in:1726: -1- AC_SUBST_TRACE([extra_libs])
m4trace:configure.in:1726: -1- m4_pattern_allow([^extra_libs$])
m4trace:configure.in:1727: -1- AC_SUBST([extra_defs])
m4trace:configure.in:1727: -1- AC_SUBST_TRACE([extra_defs])
m4trace:configure.in:1727: -1- m4_pattern_allow([^extra_defs$])
m4trace:configure.in:1728: -1- AC_SUBST([ld_extra_libs])
m4trace:configure.in:1728: -1- AC_SUBST_TRACE([ld_extra_libs])
m4trace:configure.in:1728: -1- m4_pattern_allow([^ld_extra_libs$])
m4trace:configure.in:1729: -1- AC_SUBST([ld_extra_objs])
m4trace:configure.in:1729: -1- AC_SUBST_TRACE([ld_extra_objs])
m4trace:configure.in:1729: -1- m4_pattern_allow([^ld_extra_objs$])
m4trace:configure.in:1730: -1- AC_SUBST([top_extra_libs])
m4trace:configure.in:1730: -1- AC_SUBST_TRACE([top_extra_libs])
m4trace:configure.in:1730: -1- m4_pattern_allow([^top_extra_libs$])
m4trace:configure.in:1731: -1- AC_SUBST([sub_extra_libs])
m4trace:configure.in:1731: -1- AC_SUBST_TRACE([sub_extra_libs])
m4trace:configure.in:1731: -1- m4_pattern_allow([^sub_extra_libs$])
m4trace:configure.in:1732: -1- AC_SUBST([modules])
m4trace:configure.in:1732: -1- AC_SUBST_TRACE([modules])
m4trace:configure.in:1732: -1- m4_pattern_allow([^modules$])
m4trace:configure.in:1733: -1- AC_SUBST([unused])
m4trace:configure.in:1733: -1- AC_SUBST_TRACE([unused])
m4trace:configure.in:1733: -1- m4_pattern_allow([^unused$])
m4trace:configure.in:1734: -1- AC_SUBST([programs])
m4trace:configure.in:1734: -1- AC_SUBST_TRACE([programs])
m4trace:configure.in:1734: -1- m4_pattern_allow([^programs$])
m4trace:configure.in:1735: -1- AC_SUBST([cadinstall])
m4trace:configure.in:1735: -1- AC_SUBST_TRACE([cadinstall])
m4trace:configure.in:1735: -1- m4_pattern_allow([^cadinstall$])
m4trace:configure.in:1737: -1- AC_SUBST([rl_defs])
m4trace:configure.in:1737: -1- AC_SUBST_TRACE([rl_defs])
m4trace:configure.in:1737: -1- m4_pattern_allow([^rl_defs$])
m4trace:configure.in:1738: -1- AC_SUBST([rl_libs])
m4trace:configure.in:1738: -1- AC_SUBST_TRACE([rl_libs])
m4trace:configure.in:1738: -1- m4_pattern_allow([^rl_libs$])
m4trace:configure.in:1740: -1- AC_SUBST([gr_cflags])
m4trace:configure.in:1740: -1- AC_SUBST_TRACE([gr_cflags])
m4trace:configure.in:1740: -1- m4_pattern_allow([^gr_cflags$])
m4trace:configure.in:1741: -1- AC_SUBST([gr_dflags])
m4trace:configure.in:1741: -1- AC_SUBST_TRACE([gr_dflags])
m4trace:configure.in:1741: -1- m4_pattern_allow([^gr_dflags$])
m4trace:configure.in:1742: -1- AC_SUBST([gr_libs])
m4trace:configure.in:1742: -1- AC_SUBST_TRACE([gr_libs])
m4trace:configure.in:1742: -1- m4_pattern_allow([^gr_libs$])
m4trace:configure.in:1743: -1- AC_SUBST([gr_srcs])
m4trace:configure.in:1743: -1- AC_SUBST_TRACE([gr_srcs])
m4trace:configure.in:1743: -1- m4_pattern_allow([^gr_srcs$])
m4trace:configure.in:1744: -1- AC_SUBST([gr_hsrcs])
m4trace:configure.in:1744: -1- AC_SUBST_TRACE([gr_hsrcs])
m4trace:configure.in:1744: -1- m4_pattern_allow([^gr_hsrcs$])
m4trace:configure.in:1745: -1- AC_SUBST([gr_hprog])
m4trace:configure.in:1745: -1- AC_SUBST_TRACE([gr_hprog])
m4trace:configure.in:1745: -1- m4_pattern_allow([^gr_hprog$])
m4trace:configure.in:1747: -1- AC_SUBST([X_LIBS])
m4trace:configure.in:1747: -1- AC_SUBST_TRACE([X_LIBS])
m4trace:configure.in:1747: -1- m4_pattern_allow([^X_LIBS$])
m4trace:configure.in:1748: -1- AC_SUBST([X_CFLAGS])
m4trace:configure.in:1748: -1- AC_SUBST_TRACE([X_CFLAGS])
m4trace:configure.in:1748: -1- m4_pattern_allow([^X_CFLAGS$])
m4trace:configure.in:1749: -1- AC_SUBST([CPPFLAGS])
m4trace:configure.in:1749: -1- AC_SUBST_TRACE([CPPFLAGS])
m4trace:configure.in:1749: -1- m4_pattern_allow([^CPPFLAGS$])
m4trace:configure.in:1750: -1- AC_SUBST([CFLAGS])
m4trace:configure.in:1750: -1- AC_SUBST_TRACE([CFLAGS])
m4trace:configure.in:1750: -1- m4_pattern_allow([^CFLAGS$])
m4trace:configure.in:1751: -1- AC_SUBST([DEPEND_FLAG])
m4trace:configure.in:1751: -1- AC_SUBST_TRACE([DEPEND_FLAG])
m4trace:configure.in:1751: -1- m4_pattern_allow([^DEPEND_FLAG$])
m4trace:configure.in:1752: -1- AC_SUBST([SHLIB_CFLAGS])
m4trace:configure.in:1752: -1- AC_SUBST_TRACE([SHLIB_CFLAGS])
m4trace:configure.in:1752: -1- m4_pattern_allow([^SHLIB_CFLAGS$])
m4trace:configure.in:1753: -1- AC_SUBST([LD_RUN_PATH])
m4trace:configure.in:1753: -1- AC_SUBST_TRACE([LD_RUN_PATH])
m4trace:configure.in:1753: -1- m4_pattern_allow([^LD_RUN_PATH$])
m4trace:configure.in:1754: -1- AC_SUBST([MCPP])
m4trace:configure.in:1754: -1- AC_SUBST_TRACE([MCPP])
m4trace:configure.in:1754: -1- m4_pattern_allow([^MCPP$])
m4trace:configure.in:1756: -1- AC_SUBST([MAGIC_VERSION])
m4trace:configure.in:1756: -1- AC_SUBST_TRACE([MAGIC_VERSION])
m4trace:configure.in:1756: -1- m4_pattern_allow([^MAGIC_VERSION$])
m4trace:configure.in:1757: -1- AC_SUBST([MAGIC_REVISION])
m4trace:configure.in:1757: -1- AC_SUBST_TRACE([MAGIC_REVISION])
m4trace:configure.in:1757: -1- m4_pattern_allow([^MAGIC_REVISION$])
m4trace:configure.in:1759: -1- AC_SUBST([OA])
m4trace:configure.in:1759: -1- AC_SUBST_TRACE([OA])
m4trace:configure.in:1759: -1- m4_pattern_allow([^OA$])
m4trace:configure.in:1760: -1- AC_SUBST([OA_LIBS])
m4trace:configure.in:1760: -1- AC_SUBST_TRACE([OA_LIBS])
m4trace:configure.in:1760: -1- m4_pattern_allow([^OA_LIBS$])
m4trace:configure.in:1762: -1- AC_SUBST([ALL_TARGET])
m4trace:configure.in:1762: -1- AC_SUBST_TRACE([ALL_TARGET])
m4trace:configure.in:1762: -1- m4_pattern_allow([^ALL_TARGET$])
m4trace:configure.in:1763: -1- AC_SUBST([INSTALL_TARGET])
m4trace:configure.in:1763: -1- AC_SUBST_TRACE([INSTALL_TARGET])
m4trace:configure.in:1763: -1- m4_pattern_allow([^INSTALL_TARGET$])
m4trace:configure.in:1765: -1- AC_CONFIG_FILES([defs.mak])
m4trace:configure.in:1765: -1- _m4_warn([obsolete], [AC_OUTPUT should be used without arguments.
You should run autoupdate.], [])
m4trace:configure.in:1765: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
m4trace:configure.in:1765: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
m4trace:configure.in:1765: -1- m4_pattern_allow([^LIB@&t@OBJS$])
m4trace:configure.in:1765: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
m4trace:configure.in:1765: -1- AC_SUBST_TRACE([LTLIBOBJS])
m4trace:configure.in:1765: -1- m4_pattern_allow([^LTLIBOBJS$])
m4trace:configure.in:1765: -1- _m4_warn([obsolete], [AC_C_BIGENDIAN should be used with AC_CONFIG_HEADERS], [])
m4trace:configure.in:1765: -1- AC_SUBST_TRACE([top_builddir])
m4trace:configure.in:1765: -1- AC_SUBST_TRACE([top_build_prefix])
m4trace:configure.in:1765: -1- AC_SUBST_TRACE([srcdir])
m4trace:configure.in:1765: -1- AC_SUBST_TRACE([abs_srcdir])
m4trace:configure.in:1765: -1- AC_SUBST_TRACE([top_srcdir])
m4trace:configure.in:1765: -1- AC_SUBST_TRACE([abs_top_srcdir])
m4trace:configure.in:1765: -1- AC_SUBST_TRACE([builddir])
m4trace:configure.in:1765: -1- AC_SUBST_TRACE([abs_builddir])
m4trace:configure.in:1765: -1- AC_SUBST_TRACE([abs_top_builddir])
m4trace:configure.in:1765: -1- AC_SUBST_TRACE([INSTALL])

View File

@ -127,7 +127,7 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "15"
| #define MAGIC_REVISION "16"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3471: result: gcc -E
@ -148,7 +148,7 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "15"
| #define MAGIC_REVISION "16"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3591: checking for g++
@ -304,7 +304,7 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "15"
| #define MAGIC_REVISION "16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
@ -345,7 +345,7 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "15"
| #define MAGIC_REVISION "16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
@ -435,7 +435,7 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "15"
| #define MAGIC_REVISION "16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
@ -508,7 +508,7 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "15"
| #define MAGIC_REVISION "16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
@ -600,7 +600,7 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "15"
| #define MAGIC_REVISION "16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
@ -655,7 +655,7 @@ configure: failed program was:
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define MAGIC_VERSION "8.2"
| #define MAGIC_REVISION "15"
| #define MAGIC_REVISION "16"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
@ -844,7 +844,7 @@ CPPFLAGS=''
CSH='/bin/csh'
CXX='g++'
CXXFLAGS='-g -O2'
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"15\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -Dlinux=1 -DSYSV=1 -DISC=1'
DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"16\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -Dlinux=1 -DSYSV=1 -DISC=1'
DEPEND_FLAG='-MM'
ECHO_C=''
ECHO_N='printf'
@ -868,7 +868,7 @@ LIBS='-lcairo '
LIB_SPECS=' -L/usr/lib/x86_64-linux-gnu -ltk8.6 -L/usr/lib/x86_64-linux-gnu -ltcl8.6'
LTLIBOBJS=''
M4='/usr/bin/m4'
MAGIC_REVISION='15'
MAGIC_REVISION='16'
MAGIC_VERSION='8.2'
MCPP='${MAGICDIR}/scripts/preproc.py'
OA=''
@ -919,7 +919,7 @@ gr_dflags=' -DX11 -DXLIB -DCAIRO'
gr_hprog=''
gr_hsrcs=''
gr_libs=' -lX11 -lcairo -lfontconfig -lfreetype'
gr_srcs=' ${TK_SRCS} ${TOGL_SRCS} ${TKCOMMON_SRCS}'
gr_srcs=' ${TK_SRCS} ${TCAIRO_SRCS} ${TKCOMMON_SRCS}'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
@ -968,7 +968,7 @@ unused=' readline lisp'
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define MAGIC_VERSION "8.2"
#define MAGIC_REVISION "15"
#define MAGIC_REVISION "16"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1

View File

@ -588,7 +588,7 @@ S["INSTALL_TARGET"]="install-tcl"
S["ALL_TARGET"]="tcl"
S["OA_LIBS"]=""
S["OA"]=""
S["MAGIC_REVISION"]="15"
S["MAGIC_REVISION"]="16"
S["MAGIC_VERSION"]="8.2"
S["MCPP"]="${MAGICDIR}/scripts/preproc.py"
S["LD_RUN_PATH"]=""
@ -596,7 +596,7 @@ S["SHLIB_CFLAGS"]="-Wimplicit-int -fPIC"
S["DEPEND_FLAG"]="-MM"
S["gr_hprog"]=""
S["gr_hsrcs"]=""
S["gr_srcs"]=" ${TK_SRCS} ${TOGL_SRCS} ${TKCOMMON_SRCS}"
S["gr_srcs"]=" ${TK_SRCS} ${TCAIRO_SRCS} ${TKCOMMON_SRCS}"
S["gr_dflags"]=" -DX11 -DXLIB -DCAIRO"
S["gr_cflags"]=""
S["rl_libs"]=""
@ -673,7 +673,7 @@ S["ECHO_T"]=""
S["ECHO_N"]="-n"
S["ECHO_C"]=""
S["DEFS"]="-DPACKAGE_NAME=\\\"\\\" -DPACKAGE_TARNAME=\\\"\\\" -DPACKAGE_VERSION=\\\"\\\" -DPACKAGE_STRING=\\\"\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DPACKAGE_URL=\\\"\\\" -DMAGIC_VERSION="\
"\\\"8.2\\\" -DMAGIC_REVISION=\\\"15\\\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHA"\
"\\\"8.2\\\" -DMAGIC_REVISION=\\\"16\\\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHA"\
"VE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_U"\
"NSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE"\
"_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -"\

2
scripts/configure vendored
View File

@ -7664,7 +7664,7 @@ if test $usingTcl ; then
if test $usingCairo ; then
gr_dflags="$gr_dflags -DCAIRO"
gr_libs="$gr_libs -lcairo -lfontconfig -lfreetype"
gr_srcs="$gr_srcs \${TOGL_SRCS}"
gr_srcs="$gr_srcs \${TCAIRO_SRCS}"
if ! test $usingX11 ; then
usingX11=1
gr_dflags="$gr_dflags -DXLIB"

View File

@ -1263,7 +1263,7 @@ if test $usingTcl ; then
if test $usingCairo ; then
gr_dflags="$gr_dflags -DCAIRO"
gr_libs="$gr_libs -lcairo -lfontconfig -lfreetype"
gr_srcs="$gr_srcs \${TOGL_SRCS}"
gr_srcs="$gr_srcs \${TCAIRO_SRCS}"
if ! test $usingX11 ; then
usingX11=1
gr_dflags="$gr_dflags -DXLIB"

View File

@ -60,14 +60,14 @@ LIB_SPECS = -L/usr/lib/x86_64-linux-gnu -ltk8.6 -L/usr/lib/x86_64-linux-
WISH_EXE = /usr/bin/wish
TCL_LIB_DIR = /usr/lib
MAGIC_VERSION = 8.2
MAGIC_REVISION = 15
MAGIC_REVISION = 16
CC = gcc
CPP = gcc -E
CXX = g++
CPPFLAGS = -I. -I${MAGICDIR}
DFLAGS = -DCAD_DIR=\"${LIBDIR}\" -DBIN_DIR=\"${BINDIR}\" -DTCL_DIR=\"${TCLDIR}\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"15\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DNDEBUG -DGCORE=\"/usr/bin/gcore\"
DFLAGS = -DCAD_DIR=\"${LIBDIR}\" -DBIN_DIR=\"${BINDIR}\" -DTCL_DIR=\"${TCLDIR}\" -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DMAGIC_VERSION=\"8.2\" -DMAGIC_REVISION=\"16\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DSIZEOF_UNSIGNED_INT=4 -DSIZEOF_UNSIGNED_LONG=8 -DSIZEOF_UNSIGNED_LONG_LONG=8 -DSTDC_HEADERS=1 -DHAVE_SETENV=1 -DHAVE_PUTENV=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_PATHS_H=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DFILE_LOCKS=1 -DCALMA_MODULE=1 -DCIF_MODULE=1 -DX11_BACKING_STORE=1 -DPLOT_MODULE=1 -DLEF_MODULE=1 -DROUTE_MODULE=1 -DUSE_NEW_MACROS=1 -DVECTOR_FONTS=1 -DHAVE_LIBCAIRO=1 -DMAGIC_WRAPPER=1 -Dlinux=1 -DSYSV=1 -DISC=1 -DNDEBUG -DGCORE=\"/usr/bin/gcore\"
DFLAGS += -DSHDLIB_EXT=\".so\"
CFLAGS = -g -m64 -fPIC -Wimplicit-int -fPIC -I/usr/include/tcl8.6/tk-private/generic -I/usr/include/tcl8.6
@ -81,7 +81,7 @@ EXEEXT =
GR_CFLAGS =
GR_DFLAGS = -DX11 -DXLIB -DCAIRO -DNDEBUG
GR_LIBS = -lX11 -lcairo -lfontconfig -lfreetype ${X11_LDFLAGS}
GR_SRCS = ${TK_SRCS} ${TOGL_SRCS} ${TKCOMMON_SRCS}
GR_SRCS = ${TK_SRCS} ${TCAIRO_SRCS} ${TKCOMMON_SRCS}
GR_HELPER_SRCS =
GR_HELPER_PROG =

64
tcltk/magic.sh Normal file
View File

@ -0,0 +1,64 @@
#!/bin/bash
#
# For installation, put this file (magic.sh) in a known executable path.
# Put startup script "magic.tcl", shared library "tclmagic.so", and
# "wish" replacement "magicexec" in ${CAD_ROOT}/magic/tcl/.
#
# This script starts magic under the Tcl interpreter,
# reading commands from a special startup script which
# launches magic and retains the Tcl interactive interpreter.
# Parse for the argument "-c[onsole]". If it exists, run magic
# with the TkCon console. Strip this argument from the argument list.
TKCON=true
DNULL=
MAGIC_WISH=/usr/bin/wish
export MAGIC_WISH
# Hacks for Cygwin
if [ "`uname | cut -d_ -f1`" = "CYGWIN" ]; then
export PATH="$PATH:/usr/lib"
export DISPLAY=${DISPLAY:=":0"}
fi
# Preserve quotes in arguments
arglist=''
for i in "$@" ; do
case $i in
-noc*) TKCON=;;
-dnull) DNULL=true;;
--version) TKCON=; DNULL=true;;
--prefix) TKCON=; DNULL=true;;
*) arglist="$arglist${arglist:+ }\"${i//\"/\\\"}\"";;
esac
done
if [ $TKCON ]; then
if [ $DNULL ]; then
exec /home/chuan/Desktop/magic_install/lib/magic/tcl/tkcon.tcl -eval "source /home/chuan/Desktop/magic_install/lib/magic/tcl/console.tcl" \
-slave "set argc $#; set argv [list $*]; source /home/chuan/Desktop/magic_install/lib/magic/tcl/magic.tcl"
else
exec /home/chuan/Desktop/magic_install/lib/magic/tcl/tkcon.tcl -eval "source /home/chuan/Desktop/magic_install/lib/magic/tcl/console.tcl" \
-slave "package require Tk; set argc $#; set argv [list $arglist]; \
source /home/chuan/Desktop/magic_install/lib/magic/tcl/magic.tcl"
fi
else
#
# Run the stand-in for wish (magicexec), which acts exactly like "wish"
# except that it replaces ~/.wishrc with magic.tcl. This executable is
# *only* needed when running without the console; the console itself is
# capable of sourcing the startup script.
#
# With option "-dnull" we set up for operation without Tk (simple interpreter
# only, efficient for running in batch mode).
#
if [ $DNULL ]; then
exec /home/chuan/Desktop/magic_install/lib/magic/tcl/magicdnull -nowrapper "$@"
else
exec /home/chuan/Desktop/magic_install/lib/magic/tcl/magicexec -- "$@"
fi
fi

406
tcltk/magic.tcl Normal file
View File

@ -0,0 +1,406 @@
# Wishrc startup for ToolScript (magic)
#
# For installation: Put this file and also magicwrap.so into
# directory /home/chuan/Desktop/magic_install/lib/magic/tcl, and set the "load" line below
# to point to the location of magicwrap.so. Also see comments
# in shell script "magic.sh".
global Opts
# If we called magic via the non-console script, then we want to reset
# the environment variable HOME to its original value.
if {${tcl_version} >= 8.6} {
load -lazy /home/chuan/Desktop/magic_install/lib/magic/tcl/tclmagic.so
} else {
load /home/chuan/Desktop/magic_install/lib/magic/tcl/tclmagic.so
}
# It is important to make sure no magic commands overlap with Tcl built-in
# commands, because otherwise the namespace import will fail.
proc pushnamespace { name } {
set y [namespace eval ${name} info commands ::${name}::*]
set z [info commands]
# Watch especially for magic "wizard" commands, as we don't want to confuse
# the literal "*" with a regular expression *. "regsub" below takes care of it.
foreach v $y {
regsub -all {\*} $v {\\*} i
set x [namespace tail $i]
if {[lsearch $z $x] < 0} {
namespace import $i
}
}
}
proc popnamespace { name } {
set z [info commands]
set l [expr [string length ${name}] + 5]
while {[set v [lsearch $z ${name}_tcl_*]] >= 0} {
set y [lindex $z $v]
set w [string range $y $l end]
interp alias {} ::$w {}
rename ::$y ::$w
puts "Info: replacing ::$w with ::$y"
}
namespace forget ::${name}::*
}
#----------------------------------------------------------------------
# Define the drcstate procedure expected by the background DRC code.
proc magic::drcstate {option} {
# (Null proc---see wrapper.tcl for a useful version)
}
#-----------------------------------------------------------------
# Define these console routines so that they don't produce errors
# when Magic is run in batch mode
if {[catch {tkcon title}]} {
proc magic::suspendout {} {}
proc magic::resumeout {} {}
proc magic::dialog {} {}
proc magic::consolegeometry {} {}
proc magic::consolefocus {} {}
}
#----------------------------------------------------------------------
# Cross-Application section
#----------------------------------------------------------------------
# Check namespaces for existence of other applications
set UsingIRSIM 0
set UsingXCircuit 0
set UsingNetgen 0
set nlist [namespace children]
foreach i $nlist {
switch $i {
::irsim { set UsingIRSIM 1 }
::xcircuit { set UsingXCircuit 1 }
::netgen { set UsingNetgen 1 }
}
}
# Setup IRSIM assuming that the Tcl version is installed.
# We do not need to rename procedure irsim to NULL because it is
# redefined in a script, which simply overwrites the original.
proc irsim { args } {
global CAD_ROOT
set irsimscript [glob -nocomplain ${CAD_ROOT}/irsim/tcl/irsim.tcl]
if { ${irsimscript} == {} } {
puts stderr "\"irsim\" requires Tcl-based IRSIM version 9.6 or newer."
puts stderr "Could not find script \"irsim.tcl\". If IRSIM is installed in a"
puts stderr "place other than CAD_ROOT (=${CAD_ROOT}), use the command"
puts stderr "\"source <path>/irsim.tcl\" before doing \"irsim\"."
} else {
source $irsimscript
eval {irsim} $args
}
}
# Setup Xcircuit assuming that the Tcl version is installed.
proc xcircuit { args } {
global CAD_ROOT
global argc
global argv
set xcircscript [glob -nocomplain ${CAD_ROOT}/xcircuit*/xcircuit.tcl]
if { ${xcircscript} == {} } {
puts stderr "\"xcircuit\" requires Tcl-based XCircuit version 3.1 or newer."
puts stderr "Could not find script \"xcircuit.tcl\". If XCircuit is installed in a"
puts stderr "place other than CAD_ROOT (=${CAD_ROOT}), use the command"
puts stderr "\"source <path>/xcircuit.tcl\"."
} else {
# if there are multiple installed versions, choose the highest version.
if {[llength $xcircscript] > 1} {
set xcircscript [lindex [lsort -decreasing -dictionary $xcircscript] 0]
}
# execute script in the scope of magic, because its variable space is
# not modularized.
set argv $args
set argc [llength $args]
uplevel #0 source $xcircscript
}
}
# Setup Netgen assuming that the Tcl version is installed.
proc netgen { args } {
global CAD_ROOT
global argc
global argv
set netgenscript [glob -nocomplain ${CAD_ROOT}/netgen/tcl/netgen.tcl]
if { ${netgenscript} == {} } {
puts stderr "\"netgen\" requires Tcl-based Netgen version 1.2 or newer."
puts stderr "Could not find script \"netgen.tcl\". If Netgen is installed in a"
puts stderr "place other than CAD_ROOT (=${CAD_ROOT}), use the command"
puts stderr "\"source <path>/netgen.tcl\"."
} else {
set argv $args
set argc [llength $args]
uplevel #0 source $netgenscript
}
}
# Add the "echo" command
proc echo {args} {
puts stdout $args
}
# Parse argument list for "-c[onsole]" and "-now[rapper]".
set celllist {}
set do_wrapper true
set do_recover false
set argafter {magic::initialize}
set x {}
for {set i 0} {$i < $argc} {incr i 1} {
set x [lindex $argv $i]
#
# Command-line argument handling goes here
# We have to handle all of magic's command line arguments so we can
# figure out if a cell has been named for preloading.
#
switch -regexp -- $x {
^-now(rap)?(per)?$ { ;# This regexp accepts -now, -nowrap, and -nowrapper
set do_wrapper false
}
^-dnull {
set do_wrapper false
lappend argafter $x
}
^-r(e)?(cover)?$ {
set do_recover true
}
^-rc(file)?$ {
lappend argafter $x
incr i 1
lappend argafter [lindex $argv $i]
}
^-d -
^-g -
^-m -
^-i -
^-T {
lappend argafter $x
incr i 1
lappend argafter [lindex $argv $i]
}
^-F {
lappend argafter $x
incr i 1
lappend argafter [lindex $argv $i]
incr i 1
lappend argafter [lindex $argv $i]
}
^--version {
puts stdout "8.2.16"
exit 0
}
^--prefix {
puts stdout $CAD_ROOT
exit 0
}
^-D -
^-n* {
lappend argafter $x
}
default {
lappend celllist $x
lappend argafter $x
}
}
}
if {$do_wrapper} {
source ${CAD_ROOT}/magic/tcl/wrapper.tcl
lappend argafter "-nowindow" ;# Set no-initial-window option in magic.
}
unset x i do_wrapper
if {[catch {eval $argafter}]} { ;# magic::initialize ${argv}
exit 1
}
#----------------------------------------------------------------------
# Check for presence of padlist manager script and include it
if {[file exists ${CAD_ROOT}/magic/tcl/padlist.tcl]} {
source ${CAD_ROOT}/magic/tcl/padlist.tcl
set Opts(padlist) 0
}
#----------------------------------------------------------------------
# Check for presence of the miscellaneous tools script and include it
if {[file exists ${CAD_ROOT}/magic/tcl/tools.tcl]} {
source ${CAD_ROOT}/magic/tcl/tools.tcl
set Opts(tools) 0
}
#----------------------------------------------------------------------
# Check for presence of the mazerouter script and include it
if {[file exists ${CAD_ROOT}/magic/tcl/mazeroute.tcl]} {
source ${CAD_ROOT}/magic/tcl/mazeroute.tcl
set Opts(mazeroute) 0
}
#----------------------------------------------------------------------
# Check for presence of the toolkit script and include it
# NOTE: This supercedes the older toolkit which is now
# named toolkit_rev0.tcl, and the intermediate bsitools.tcl,
# which are folded into the newer toolkit.tcl.
if {[file exists ${CAD_ROOT}/magic/tcl/toolkit.tcl]} {
source ${CAD_ROOT}/magic/tcl/toolkit.tcl
set Opts(toolkit) 0
}
#----------------------------------------------------------------------
# Magic start function drops back to interpreter after initialization & setup
set auto_noexec 1 ;# don't EVER call UNIX commands w/o "shell" in front
# Have we called magic from tkcon or a clone thereof? If so, set MagicConsole
if {[lsearch [interp aliases] tkcon] != -1} {
set MagicConsole tkcon
catch {wm withdraw .}
# Get rid of some overlapping tkcon commands which are not needed.
if {[lsearch [info commands] orig_edit] < 0} {rename edit orig_edit}
if {[lsearch [info commands] orig_dump] < 0} {rename dump orig_dump}
if {[lsearch [info commands] orig_what] < 0} {rename what orig_what}
} else {
rename unknown tcl_unknown
proc unknown { args } {
# CAD tools special:
# Check for commands which were renamed to tcl_(command)
set cmd [lindex $args 0]
if {[lsearch [info commands] tcl_$cmd] >= 0} {
set arglist [concat tcl_$cmd [lrange $args 1 end]]
set ret [catch {eval $arglist} result]
if {$ret == 0} {
return $result
} else {
return -code $ret -errorcode $errorCode $result
}
}
return [eval [concat tcl_unknown $args]]
}
}
# Set up certain commands to act like they do in non-Tcl-based magic;
# These are the commands whose names have been extended so they don't
# conflict with existing Tcl/Tk commands. This renaming & importing
# *requires* the special code in the magic Tcl command dispatcher to
# find and deal with each of these renamed commands!
if {[lsearch [info commands] orig_clock] < 0} {rename clock orig_clock}
if {[lsearch [info commands] tcl_flush] < 0} {rename flush tcl_flush}
if {[lsearch [info commands] tcl_load] < 0} {rename load tcl_load}
if {[lsearch [info commands] tcl_array] < 0} {rename array tcl_array}
if {[lsearch [info commands] tcl_label] < 0} {catch {rename label tcl_label}}
if {[lsearch [info commands] tcl_grid] < 0} {catch {rename grid tcl_grid}}
namespace eval magic namespace export *
pushnamespace magic
#----------------------------------------------------------------------
# Read system startup files (mostly macro definitions)
# Read user startup file, if any
# Load initial cell, if any
magic::startup
if {![catch {set toptitle [wm title .]}]} {
if {[string range $toptitle 0 3] == "wish"} {
wm withdraw .
}
if {[string range $toptitle 0 8] == "magicexec"} {
wm withdraw .
}
unset toptitle
}
# After loading, magic will wander off and do a complete DRC check
# before executing the rest of the script unless we temporarily
# disable the DRC checker.
set drcstate [drc status]
drc off
# Initial window for wrapper, if defined.
# empty string is equivalent to passing NULL cell name.
#
# If a startup file has created a window, then don't make another one.
if {[info commands magic::openwrapper] != {}} {
if {[windownames layout] == {}} {
set winname [magic::openwrapper]
magic::techmanager initall
magic::scrollupdate $winname
foreach cellname $celllist {
set fext [file extension $cellname]
puts stdout "handling file entry $cellname extension $fext"
switch $fext {
.lef -
.LEF {lef read $cellname}
.def -
.DEF {def read $cellname}
.gds -
.GDS -
.gds2 -
.GDS2 -
.gdsii -
.GDSII {gds read $cellname}
.cif -
.CIF {cif read $cellname}
.tcl {source $cellname}
.mag -
"" {magic::load $cellname}
default {puts stderr "don't know how to load file $cellname"}
}
}
}
} else {
# Initial geometry handler for the default window, non-wrapper version
catch {wm geometry .magic1 ${Opts(geometry)}}
}
# Print the technology name and description
puts stdout "Using technology \"[tech name]\", version [lindex [tech version] 0]"
# Set a box, and set the view; if no cell has been loaded, choose a default
# view.
if {![box exists]} {
box 0 0 1 1 ;# create a unit box
}
if {[llength $celllist] > 0} {
view
} else {
view -9 -9 10 10
}
# The Tcl version handles the "-r" on the command line by calling
# command crash recover.
if {$do_recover} {crash recover}
# Unset global TCL variables so they don't conflict with magic nodes.
unset celllist nlist do_recover
if {$drcstate == 1} {
drc on
}
unset drcstate

BIN
tcltk/magicdnull Executable file

Binary file not shown.

BIN
tcltk/magicexec Executable file

Binary file not shown.