mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-02 22:25:48 +01:00
updated configure to detect x86
This commit is contained in:
@@ -192,7 +192,7 @@ DIST_COMMON = README Makefile.am Makefile.in
|
||||
|
||||
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
||||
|
||||
TAR = tar
|
||||
TAR = gtar
|
||||
GZIP_ENV = --best
|
||||
SOURCES = $(wxcopy_SOURCES) $(wxpaste_SOURCES) $(wdwrite_SOURCES) $(getstyle_SOURCES) $(setstyle_SOURCES) $(seticons_SOURCES) $(geticonset_SOURCES) $(wmsetbg_SOURCES)
|
||||
OBJECTS = $(wxcopy_OBJECTS) $(wxpaste_OBJECTS) $(wdwrite_OBJECTS) $(getstyle_OBJECTS) $(setstyle_OBJECTS) $(seticons_OBJECTS) $(geticonset_OBJECTS) $(wmsetbg_OBJECTS)
|
||||
@@ -201,7 +201,7 @@ all: all-redirect
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .S .c .lo .o .s
|
||||
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps util/Makefile
|
||||
cd $(top_srcdir) && $(AUTOMAKE) --gnu util/Makefile
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
@@ -359,7 +359,7 @@ distdir: $(DISTFILES)
|
||||
@for file in $(DISTFILES); do \
|
||||
d=$(srcdir); \
|
||||
if test -d $$d/$$file; then \
|
||||
cp -pr $$d/$$file $(distdir)/$$file; \
|
||||
cp -pr $$/$$file $(distdir)/$$file; \
|
||||
else \
|
||||
test -f $(distdir)/$$file \
|
||||
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
||||
|
||||
@@ -417,7 +417,7 @@ parseTexture(RContext *rc, char *text)
|
||||
w = (scrHeight*iwidth)/iheight;
|
||||
}
|
||||
}
|
||||
{
|
||||
if (w != image->width || h != image->height) {
|
||||
RImage *simage;
|
||||
|
||||
if (smooth)
|
||||
@@ -432,9 +432,10 @@ parseTexture(RContext *rc, char *text)
|
||||
}
|
||||
RDestroyImage(image);
|
||||
image = simage;
|
||||
iwidth = image->width;
|
||||
iheight = image->height;
|
||||
}
|
||||
iwidth = image->width;
|
||||
iheight = image->height;
|
||||
|
||||
/* fall through */
|
||||
case 'C':
|
||||
{
|
||||
@@ -1390,11 +1391,18 @@ main(int argc, char **argv)
|
||||
if (!obey_user && DefaultDepth(dpy, scr) <= 8)
|
||||
render_mode = RDitheredRendering;
|
||||
|
||||
rattr.flags = RC_RenderMode | RC_ColorsPerChannel | RC_DefaultVisual;
|
||||
rattr.flags = RC_RenderMode | RC_ColorsPerChannel
|
||||
| RC_StandardColormap;
|
||||
rattr.render_mode = render_mode;
|
||||
rattr.colors_per_channel = cpc;
|
||||
rattr.standard_colormap_mode = RCreateStdColormap;
|
||||
|
||||
rc = RCreateContext(dpy, scr, &rattr);
|
||||
if (!rc) {
|
||||
wfatal("could not initialize wrlib:",
|
||||
RMessageForError(RErrorCode));
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (helperMode) {
|
||||
/* lower priority, so that it wont use all the CPU */
|
||||
|
||||
Reference in New Issue
Block a user