summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrigori Goronzy <greg@blackbox>2011-09-25 03:19:39 +0200
committerGrigori Goronzy <greg@blackbox>2011-09-25 03:19:39 +0200
commita50f340688eee22f2009836af8d8758afc54c163 (patch)
treec77b8033875031b2ecc42c556f9c2ffce69e6c66
parentffbbcc7954b60b7c301367e42eca2887fe179989 (diff)
downloadlibass-a50f340688eee22f2009836af8d8758afc54c163.tar.bz2
libass-a50f340688eee22f2009836af8d8758afc54c163.tar.xz
autoconf: lowercase variables
Use lowercase variable names to avoid bogus "possibly undefined macro" errors.
-rw-r--r--configure.ac20
1 files changed, 10 insertions, 10 deletions
diff --git a/configure.ac b/configure.ac
index cba77a4..af32d74 100644
--- a/configure.ac
+++ b/configure.ac
@@ -93,23 +93,23 @@ fi
AM_CONDITIONAL([HAVE_LIBPNG], [test x$libpng = xtrue])
# add libraries/packages to pkg-config for static linking
-PKG_LIBS="-lm"
-PKG_REQUIRES="freetype2 >= 9.6.3"
-PKG_REQUIRES="fribidi >= 0.19.0, ${PKG_REQUIRES}"
+pkg_libs="-lm"
+pkg_requires="freetype2 >= 9.6.3"
+pkg_requires="fribidi >= 0.19.0, ${pkg_requires}"
if test x$enca = xtrue; then
- PKG_REQUIRES="enca, ${PKG_REQUIRES}"
+ pkg_requires="enca, ${pkg_requires}"
fi
if test x$fontconfig = xtrue; then
- PKG_REQUIRES="fontconfig >= 2.2.0, ${PKG_REQUIRES}"
+ pkg_requires="fontconfig >= 2.2.0, ${pkg_requires}"
fi
if test x$harfbuzz = xtrue; then
- PKG_REQUIRES="harfbuzz >= 0.7.0, ${PKG_REQUIRES}"
+ pkg_requires="harfbuzz >= 0.7.0, ${pkg_requires}"
fi
-AC_SUBST([PKG_LIBS_DEFAULT], [$(test x$enable_shared = xno && echo $PKG_LIBS)])
-AC_SUBST([PKG_REQUIRES_DEFAULT], [$(test x$enable_shared = xno && echo $PKG_REQUIRES)])
-AC_SUBST([PKG_LIBS_PRIVATE], [$(test x$enable_shared = xno || echo $PKG_LIBS)])
-AC_SUBST([PKG_REQUIRES_PRIVATE], [$(test x$enable_shared = xno || echo $PKG_REQUIRES)])
+AC_SUBST([PKG_LIBS_DEFAULT], [$(test x$enable_shared = xno && echo ${pkg_libs})])
+AC_SUBST([PKG_REQUIRES_DEFAULT], [$(test x$enable_shared = xno && echo ${pkg_requires})])
+AC_SUBST([PKG_LIBS_PRIVATE], [$(test x$enable_shared = xno || echo ${pkg_libs})])
+AC_SUBST([PKG_REQUIRES_PRIVATE], [$(test x$enable_shared = xno || echo ${pkg_requires})])
# Setup output beautifier.
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])