From 776c60d3c33b05f59181a2052a9f03147bc51111 Mon Sep 17 00:00:00 2001 From: Dan Nicholson Date: Fri, 18 Jul 2008 07:40:41 -0700 Subject: autoconf: Support Motif widgets in GLw with --enable-motif Add an --enable-motif option, which will enable the Motif widgets in libGLw and link it with libXm. The Motif installation information will be gathered from the motif-config script (this comes with LessTif) or fallback to the standard autoconf checks. To allow the location of the Motif headers to be set from configure, the default setting of -I/usr/include/Motif1.2 has been moved into configs/default and then passed to the Makefile through the MOTIF_CFLAGS variable. --- src/glw/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/glw') diff --git a/src/glw/Makefile b/src/glw/Makefile index a9a174508f..6a522eccba 100644 --- a/src/glw/Makefile +++ b/src/glw/Makefile @@ -7,7 +7,7 @@ MAJOR = 1 MINOR = 0 TINY = 0 -INCDIRS = -I$(TOP)/include -I/usr/include/Motif1.2 $(X11_INCLUDES) +INCDIRS = -I$(TOP)/include $(MOTIF_CFLAGS) $(X11_INCLUDES) OBJECTS = $(GLW_SOURCES:.c=.o) -- cgit v1.2.3