changeset 50740:9212cd524014

Make things function properly in case both LessTif and Open Motif are installed.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 30 Apr 2003 00:02:23 +0000
parents fbec4e6f73c8
children 5143c5cb56cc
files lwlib/Makefile.in
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lwlib/Makefile.in	Tue Apr 29 23:44:43 2003 +0000
+++ b/lwlib/Makefile.in	Wed Apr 30 00:02:23 2003 +0000
@@ -9,6 +9,7 @@
 CC=@CC@
 CFLAGS=@CFLAGS@
 CPP=@CPP@
+CPPFLAGS=@CPPFLAGS@
 LN_S=@LN_S@
 RANLIB=@RANLIB@
 # See below--@X_TOOLKIT_TYPE@ is used below.
@@ -31,11 +32,11 @@
 
 # ../src is needed to find config.h.
 ALL_CFLAGS= $(C_SWITCH_SITE) $(C_SWITCH_SYSTEM) $(C_SWITCH_X_SITE) \
-  $(C_SWITCH_X_SYSTEM) $(C_SWITCH_MACHINE) $(CPPFLAGS) $(CFLAGS) \
+  $(C_SWITCH_X_SYSTEM) $(C_SWITCH_MACHINE) $(CFLAGS) \
   -DHAVE_CONFIG_H -Demacs -I. -I../src -I${srcdir} -I${srcdir}/../src
 
 .c.o:
-	$(CC) -c ${ALL_CFLAGS} $<
+	$(CC) -c $(CPPFLAGS) ${ALL_CFLAGS} $<
 
 all:: liblw.a