AM_CONFIG_HEADER(config.h)
+# Require xorg-macros: XORG_CWARNFLAGS, XORG_CHANGELOG
+m4_ifndef([XORG_MACROS_VERSION], [AC_FATAL([must install xorg-macros 1.2 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.2)
+
AC_PROG_CC
AC_PROG_INSTALL
+XORG_CWARNFLAGS
+
# Checks for pkg-config packages
PKG_CHECK_MODULES(XEYES, x11 xt xext xmu)
+XEYES_CFLAGS="$CWARNFLAGS $XEYES_CFLAGS"
AC_SUBST(XEYES_CFLAGS)
AC_SUBST(XEYES_LIBS)
XORG_MANPAGE_SECTIONS
XORG_RELEASE_VERSION
+XORG_CHANGELOG
AC_OUTPUT([Makefile])
#endif
void
-TFillArc (dpy, d, gc, t, x, y, width, height, angle1, angle2)
- Display *dpy;
- Drawable d;
- GC gc;
- Transform *t;
- double x, y, width, height;
- int angle1, angle2;
+TFillArc (Display *dpy, Drawable d, GC gc, Transform *t,
+ double x, double y, double width, double height,
+ int angle1, int angle2)
{
int xx, xy, xw, xh;
}
void
-SetTransform (t, xx1, xx2, xy1, xy2, tx1, tx2, ty1, ty2)
- Transform *t;
- int xx1, xx2, xy1, xy2;
- double tx1, tx2, ty1, ty2;
+SetTransform (Transform *t,
+ int xx1, int xx2, int xy1, int xy2,
+ double tx1, double tx2, double ty1, double ty2)
{
t->mx = ((double) xx2 - xx1) / (tx2 - tx1);
t->bx = ((double) xx1) - t->mx * tx1;