The build system now looks for X.

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@11 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
cjp 2001-07-29 10:32:55 +00:00
parent 84e04ed9f0
commit b4a9d78580
3 changed files with 4 additions and 3 deletions

View File

@ -14,6 +14,7 @@ AM_PROG_LIBTOOL
AC_SUBST(LIBTOOL_DEPS)
dnl Checks for libraries.
AC_PATH_XTRA
dnl Checks for header files.
AC_STDC_HEADERS

View File

@ -26,12 +26,12 @@ libfreeglut_1_3_la_SOURCES = freeglut_callbacks.c \
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
#

View File

@ -3,6 +3,6 @@
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