5d06d261c6
Two vulnerabilities were identified in libungif, which could be exploited by remote attackers to execute arbitrary commands or cause a denial of service. CVE-2005-2974 and CVE-2005-3350 ok bernd@
28 lines
1.3 KiB
Plaintext
28 lines
1.3 KiB
Plaintext
$OpenBSD: patch-configure_ac,v 1.1 2005/11/09 21:17:20 brad Exp $
|
|
--- configure.ac.orig Sat Nov 5 18:33:38 2005
|
|
+++ configure.ac Sat Nov 5 18:35:06 2005
|
|
@@ -19,21 +19,17 @@ dnl Checks for libraries.
|
|
AC_CHECK_LIB(m, pow, [MATH_LIB="${MATH_LIB} -lm"
|
|
COMPILABLE_EXTRAS="${COMPILABLE_EXTRAS} gifclrmp gifrotat"] )
|
|
|
|
-if test ${MATH_LIB}; then
|
|
- AC_CHECK_LIB(rle, rle_hdr_init, [RLE_LIB="${RLE_LIBS} -lrle -lm"
|
|
- COMPILABLE_EXTRAS="${COMPILABLE_EXTRAS} gif2rle rle2gif"],
|
|
- ,"-lm" )
|
|
-fi
|
|
-
|
|
dnl I don't have this on my system. Could someone else configure it and
|
|
dnl check that it works?
|
|
AC_CHECK_LIB(gl_s, main, [GL_S_LIB="${GL_S_LIB} -lgl_s $X_LIBS"
|
|
AC_DEFINE(HAVE_LIBGL_S, [1], [Define if the gl_s library is installed (SGI GL library)])
|
|
COMPILABLE_EXTRAS="${COMPILABLE_EXTRAS} gif2iris"],, $X_LIBS)
|
|
|
|
+ if test "x$with_x" != xno; then
|
|
AC_CHECK_LIB(X11, main, [X11_LIB="${X11_LIB} ${X_PRE_LIBS} $X_LIBS ${X_EXTRA_LIBS} -lX11"
|
|
AC_DEFINE(HAVE_LIBX11, [1], [Define if the X11 library is installed])
|
|
COMPILABLE_EXTRAS="${COMPILABLE_EXTRAS} gif2x11"],, $X_LIBS)
|
|
+ fi
|
|
DEVS="${GL_S_LIB} ${X11_LIB}"
|
|
AC_SUBST(DEVS)
|
|
AC_SUBST(COMPILABLE_EXTRAS)
|