mirror of
https://github.com/gnustep/libs-back.git
synced 2025-05-30 17:00:52 +00:00
add --disable-glx
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@15159 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
7254470b8a
commit
22a2ba12d9
3 changed files with 46 additions and 24 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-11-27 Frederic De Jaeger <dejaeger@free.fr>
|
||||
|
||||
* configure.ac: add the flag --disable-glx.
|
||||
* configure: regenerated
|
||||
|
||||
2002-11-24 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/x11/XIMInputServer.m
|
||||
|
|
11
configure
vendored
11
configure
vendored
|
@ -831,6 +831,7 @@ if test -n "$ac_init_help"; then
|
|||
Optional Features:
|
||||
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
||||
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
||||
--disable-glx Disable GLX support
|
||||
--disable-xim Disable XIM support
|
||||
--enable-server=SRV Build server type: x11, win32
|
||||
--enable-graphics=GPH Build graphics: xlib, xdps, winlib, art
|
||||
|
@ -4457,6 +4458,14 @@ LIBS="${save_libs}"
|
|||
# GLX support
|
||||
#--------------------------------------------------------------------
|
||||
WITH_GLX=no
|
||||
# Check whether --enable-glx or --disable-glx was given.
|
||||
if test "${enable_glx+set}" = set; then
|
||||
enableval="$enable_glx"
|
||||
|
||||
else
|
||||
enable_glx=yes
|
||||
fi;
|
||||
if test "x$enable_glx" = "xyes"; then
|
||||
save_header=${CPPFLAGS}
|
||||
save_libs=${LIBS}
|
||||
CPPFLAGS="${GRAPHIC_CFLAGS} ${GRAPHIC_LFLAGS} ${CPPFLAGS}"
|
||||
|
@ -4637,6 +4646,8 @@ fi
|
|||
CPPFLAGS="${save_header}"
|
||||
LIBS="${save_libs}"
|
||||
|
||||
fi
|
||||
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# XIM support
|
||||
|
|
|
@ -199,6 +199,10 @@ AC_SUBST(WITH_XFT)
|
|||
# GLX support
|
||||
#--------------------------------------------------------------------
|
||||
WITH_GLX=no
|
||||
AC_ARG_ENABLE(glx,
|
||||
[ --disable-glx Disable GLX support],,
|
||||
enable_glx=yes)
|
||||
if test "x$enable_glx" = "xyes"; then
|
||||
save_header=${CPPFLAGS}
|
||||
save_libs=${LIBS}
|
||||
CPPFLAGS="${GRAPHIC_CFLAGS} ${GRAPHIC_LFLAGS} ${CPPFLAGS}"
|
||||
|
@ -213,6 +217,8 @@ fi
|
|||
CPPFLAGS="${save_header}"
|
||||
LIBS="${save_libs}"
|
||||
AC_SUBST(WITH_GLX)
|
||||
fi
|
||||
|
||||
|
||||
#--------------------------------------------------------------------
|
||||
# XIM support
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue