git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@11
7f0cb862-5218-0410-a997-
914c9d46530a
AC_SUBST(LIBTOOL_DEPS)
dnl Checks for libraries.
+AC_PATH_XTRA
dnl Checks for header files.
AC_STDC_HEADERS
freeglut_teapot.c \
freeglut_videoresize.c \
freeglut_window.c
-
+
#
# Additional linker flags
#
-libfreeglut_1_3_la_LIBADD = $(LIBM) -L/usr/X11R6/lib -lGL -lGLU -lXext -lX11 -lXxf86vm -lglib
+libfreeglut_1_3_la_LIBADD = $(LIBM) $(X_LIBS) -lGL -lGLU -lXext -lX11 -lXxf86vm -lglib
libfreeglut_1_3_la_LDFLAGS = -version-info 0:0:0
#
bin_PROGRAMS = genfonts genstroke
genfonts_SOURCES = genfonts.c
genstroke_SOURCES = genstroke.c
-genfonts_LDADD = -L/usr/X11R6/lib -lglib -lX11 -lXext
+genfonts_LDADD = $(X_LIBS) -lglib -lX11 -lXext
genstroke_LDADD = -lglib
EXTRA_DIST = genfonts.c genstroke.c