Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 255777 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-7 / +16 lines)
Line  Link Here
0
-- configure.in
0
++ configure.in
Lines 121-133 Link Here
121
dnl -----------------------------------------------------------
121
dnl -----------------------------------------------------------
122
dnl Check for SVGALIB
122
dnl Check for SVGALIB
123
dnl -----------------------------------------------------------
123
dnl -----------------------------------------------------------
124
AC_CHECK_LIB(vga, vga_setmode, no_vga="", no_vga=yes)
125
if test "$no_vga" != yes; then
126
   progs="$progs vgaspect"
127
   vgalib=-lvga
128
124
129
   LIBS="$vgalib $olibs"
125
svgalibs=""
130
   AC_CHECK_FUNC(vga_runinbackground_version, AC_DEFINE(RUN_IN_BACKGROUND))
126
withsvga=no
127
AC_ARG_WITH(svga,
128
[  --with-svga         Compile with svga library],
129
[if test "$withval" = no; then withsvga=no; fi])
130
131
if test "$withsvga" = yes; then
132
  AC_CHECK_LIB(vga, vga_setmode, no_vga="", no_vga=yes)
133
  if test "$no_vga" != yes; then
134
     progs="$progs vgaspect"
135
     vgalib=-lvga
136
137
     LIBS="$vgalib $olibs"
138
     AC_CHECK_FUNC(vga_runinbackground_version, AC_DEFINE(RUN_IN_BACKGROUND))
139
  fi
131
fi
140
fi
132
141
133
LIBS="$olibs"
142
LIBS="$olibs"

Return to bug 255777