# Flags & libs
# add -DBINDIR=\""$(bindir)/"\" to CPPFLAGS, if we need to spawn a program
-CFLAGS = @CFLAGS@
+CXXFLAGS = @CXXFLAGS@
CPPFLAGS = @CPPFLAGS@ @XPM_CPPFLAGS@
LDFLAGS = @LDFLAGS@
DEFS = @DEFS@
# extra libraries needed by X on some systems, X library location
XLIB = @X_LIBS@ @XPM_LIBS@ -lX11 @X_EXTRA_LIBS@
-COMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(DEBUG) $(DINCLUDE) $(XINC) -I$(basedir) -I$(srcdir) -I.
-LINK = @LINKER@ $(CFLAGS) $(LDFLAGS)
+COMPILE = $(CXX) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CXXFLAGS) $(DEBUG) $(DINCLUDE) $(XINC) -I$(basedir) -I$(srcdir) -I.
+LINK = @LINKER@ $(LDFLAGS)
# End of common section of the Makefile
#-------------------------------------------------------------------------
dnl# --------------------------------------------------------------------------
if test x$support_xft = xyes; then
LIBS="$LIBS `pkg-config xft --libs`"
- CFLAGS="$CFLAGS `pkg-config xft --cflags`"
CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`"
AC_CHECK_HEADERS(X11/Xft/Xft.h,,[support_xft=no])
if test x$support_xft = xyes; then
LIBS="$LIBS `pkg-config xft --libs`"
- CFLAGS="$CFLAGS `pkg-config xft --cflags`"
CPPFLAGS="$CPPFLAGS `pkg-config xft --cflags`"
export CC CXX
fi
-./configure --prefix=/opt/rxvt --with-name=rxvt --enable-perl \
+./configure --prefix=/opt/rxvt --with-name=rxvt \
--enable-menubar --enable-xgetdefault \
"$@"
break;
}
-Old_Word_Selection_You_Die:
if (dirn == DN)
col++; /* put us on one past the end */