1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-30 02:12:30 +01:00

replaced CPPFLAGS with AM_CPPFLAGS in some Makefile.am's to avoid overwriting the user's CPPFLAGS environment variable

This commit is contained in:
dan
2004-02-25 21:26:49 +00:00
parent a018eff89d
commit 791bb6a444
4 changed files with 5 additions and 3 deletions

View File

@@ -107,7 +107,7 @@ libWUtil_a_SOURCES = \
wutil.c wutil.c
CPPFLAGS = @CPPFLAGS@ -DLOCALEDIR=\"$(NLSDIR)\" AM_CPPFLAGS = @CPPFLAGS@ -DLOCALEDIR=\"$(NLSDIR)\"
INCLUDES = -I$(top_srcdir)/WINGs/WINGs -I$(top_srcdir)/wrlib -I$(top_srcdir)/src \ INCLUDES = -I$(top_srcdir)/WINGs/WINGs -I$(top_srcdir)/wrlib -I$(top_srcdir)/src \
-DRESOURCE_PATH=\"$(datadir)/WINGs\" @XFTFLAGS@ @HEADER_SEARCH_PATH@ -DDEBUG -DRESOURCE_PATH=\"$(datadir)/WINGs\" @XFTFLAGS@ @HEADER_SEARCH_PATH@ -DDEBUG

View File

@@ -174,6 +174,8 @@ sendTimeout(void *cdata)
clearOutputQueue(cPtr); clearOutputQueue(cPtr);
cPtr->state = WCTimedOut; cPtr->state = WCTimedOut;
cPtr->timeoutState = WCTWhileSending; cPtr->timeoutState = WCTWhileSending;
// should we close it no matter what (after calling the didTimeout
// delegate)? -Dan
if (cPtr->delegate && cPtr->delegate->didTimeout) { if (cPtr->delegate && cPtr->delegate->didTimeout) {
(*cPtr->delegate->didTimeout)(cPtr->delegate, cPtr); (*cPtr->delegate->didTimeout)(cPtr->delegate, cPtr);
} else { } else {

View File

@@ -42,7 +42,7 @@ WPrefs_SOURCES = \
imagebrowser.h \ imagebrowser.h \
xmodifier.c xmodifier.c
CPPFLAGS = @CPPFLAGS@ -DLOCALEDIR=\"$(NLSDIR)\" AM_CPPFLAGS = @CPPFLAGS@ -DLOCALEDIR=\"$(NLSDIR)\"
INCLUDES = -I$(top_srcdir)/wrlib -I$(top_srcdir)/WINGs @HEADER_SEARCH_PATH@ INCLUDES = -I$(top_srcdir)/wrlib -I$(top_srcdir)/WINGs @HEADER_SEARCH_PATH@

View File

@@ -104,7 +104,7 @@ wmaker_SOURCES = \
text.h text.h
CPPFLAGS = @CPPFLAGS@ $(DFLAGS) -DLOCALEDIR=\"$(NLSDIR)\" AM_CPPFLAGS = @CPPFLAGS@ $(DFLAGS) -DLOCALEDIR=\"$(NLSDIR)\"
INCLUDES = \ INCLUDES = \