aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-28 13:37:16 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-28 13:37:16 -0300
commit272e9db781a8ad702291a77328eadbb7dbdbcbb5 (patch)
tree6792c2dfbb3ede7c39605cd39533ae98def2c515 /configure.ac
parentadcfe5b44b901d7fb6286a783705c63c982c9282 (diff)
configure.ac: Show "no" if GL or GLU is not found
Just for the sake of displaying the selected options, instead of printing a blank string, add a "no" to the case where the library was not found. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 645cba84..520cd204 100644
--- a/configure.ac
+++ b/configure.ac
@@ -160,13 +160,13 @@ AC_SUBST([X11_LIBS])
AM_CONDITIONAL([HAVE_X11], [test x$x11_pkgconfig = xyes])
AS_IF([test "x$x11_pkgconfig" = xyes],
- [PKG_CHECK_MODULES(GL, [gl], [gl_pkgconfig=yes], [gl_pkgconfig=no])])
+ [PKG_CHECK_MODULES(GL, [gl], [gl_pkgconfig=yes], [gl_pkgconfig=no])], [gl_pkgconfig=no])
AC_SUBST([GL_CFLAGS])
AC_SUBST([GL_LIBS])
AM_CONDITIONAL([HAVE_GL], [test x$gl_pkgconfig = xyes])
AS_IF([test "x$gl_pkgconfig" = xyes],
- [PKG_CHECK_MODULES(GLU, [glu], [glu_pkgconfig=yes], [glu_pkgconfig=no])])
+ [PKG_CHECK_MODULES(GLU, [glu], [glu_pkgconfig=yes], [glu_pkgconfig=no])], [glu_pkgconfig=no])
AC_SUBST([GLU_CFLAGS])
AC_SUBST([GLU_LIBS])

Privacy Policy