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:
parent
84e04ed9f0
commit
b4a9d78580
@ -14,6 +14,7 @@ AM_PROG_LIBTOOL
|
|||||||
AC_SUBST(LIBTOOL_DEPS)
|
AC_SUBST(LIBTOOL_DEPS)
|
||||||
|
|
||||||
dnl Checks for libraries.
|
dnl Checks for libraries.
|
||||||
|
AC_PATH_XTRA
|
||||||
|
|
||||||
dnl Checks for header files.
|
dnl Checks for header files.
|
||||||
AC_STDC_HEADERS
|
AC_STDC_HEADERS
|
||||||
|
@ -31,7 +31,7 @@ libfreeglut_1_3_la_SOURCES = freeglut_callbacks.c \
|
|||||||
#
|
#
|
||||||
# Additional linker flags
|
# 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
|
libfreeglut_1_3_la_LDFLAGS = -version-info 0:0:0
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
bin_PROGRAMS = genfonts genstroke
|
bin_PROGRAMS = genfonts genstroke
|
||||||
genfonts_SOURCES = genfonts.c
|
genfonts_SOURCES = genfonts.c
|
||||||
genstroke_SOURCES = genstroke.c
|
genstroke_SOURCES = genstroke.c
|
||||||
genfonts_LDADD = -L/usr/X11R6/lib -lglib -lX11 -lXext
|
genfonts_LDADD = $(X_LIBS) -lglib -lX11 -lXext
|
||||||
genstroke_LDADD = -lglib
|
genstroke_LDADD = -lglib
|
||||||
EXTRA_DIST = genfonts.c genstroke.c
|
EXTRA_DIST = genfonts.c genstroke.c
|
||||||
|
Reference in New Issue
Block a user