[builds/unix] Minor.
* builds/unix/configure.raw: s/lib{priv,staticconf}/libs{priv,staticconf}/ for orthogonality with similarly named uppercase variables.
This commit is contained in:
parent
a37da21a49
commit
7ebe6ac87c
|
@ -1,3 +1,11 @@
|
||||||
|
2015-08-11 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
[builds/unix] Minor.
|
||||||
|
|
||||||
|
* builds/unix/configure.raw:
|
||||||
|
s/lib{priv,staticconf}/libs{priv,staticconf}/ for orthogonality with
|
||||||
|
similarly named uppercase variables.
|
||||||
|
|
||||||
2015-08-10 Alexei Podtelezhnikov <apodtele@gmail.com>
|
2015-08-10 Alexei Podtelezhnikov <apodtele@gmail.com>
|
||||||
|
|
||||||
[type1,cid,type42] Minor improvements.
|
[type1,cid,type42] Minor improvements.
|
||||||
|
|
|
@ -289,10 +289,10 @@ AC_SUBST([XX_ANSIFLAGS])
|
||||||
# or a config script is called (libpng).
|
# or a config script is called (libpng).
|
||||||
#
|
#
|
||||||
# The `xxx_reqpriv' variables are for the `Requires.private' field in
|
# The `xxx_reqpriv' variables are for the `Requires.private' field in
|
||||||
# `freetype2.pc'. The `xxx_libpriv' variables are for the `Libs.private'
|
# `freetype2.pc'. The `xxx_libspriv' variables are for the `Libs.private'
|
||||||
# field in `freetype2.pc' if pkg-config doesn't find a proper .pc file.
|
# field in `freetype2.pc' if pkg-config doesn't find a proper .pc file.
|
||||||
#
|
#
|
||||||
# The `xxx_libstaticconf' variables are for the `freetype-config' script.
|
# The `xxx_libsstaticconf' variables are for the `freetype-config' script.
|
||||||
#
|
#
|
||||||
# Note that a call to PKG_CHECK_MODULES(XXX, ...) sets and creates the
|
# Note that a call to PKG_CHECK_MODULES(XXX, ...) sets and creates the
|
||||||
# output variables `XXX_CFLAGS' and `XXX_LIBS'. In case one or both are set
|
# output variables `XXX_CFLAGS' and `XXX_LIBS'. In case one or both are set
|
||||||
|
@ -321,15 +321,15 @@ if test x"$with_zlib" = xyes -o x"$with_zlib" = xauto; then
|
||||||
if test $have_zlib_pkg = yes; then
|
if test $have_zlib_pkg = yes; then
|
||||||
# we have zlib.pc
|
# we have zlib.pc
|
||||||
zlib_reqpriv="$zlib_pkg"
|
zlib_reqpriv="$zlib_pkg"
|
||||||
zlib_libpriv=
|
zlib_libspriv=
|
||||||
zlib_libstaticconf=`$PKG_CONFIG --static --libs "$zlib_pkg"`
|
zlib_libsstaticconf=`$PKG_CONFIG --static --libs "$zlib_pkg"`
|
||||||
else
|
else
|
||||||
zlib_reqpriv=
|
zlib_reqpriv=
|
||||||
|
|
||||||
if test "$have_zlib" != no; then
|
if test "$have_zlib" != no; then
|
||||||
# ZLIB_CFLAGS and ZLIB_LIBS are set by the user
|
# ZLIB_CFLAGS and ZLIB_LIBS are set by the user
|
||||||
zlib_libpriv="$ZLIB_LIBS"
|
zlib_libspriv="$ZLIB_LIBS"
|
||||||
zlib_libstaticconf="$ZLIB_LIBS"
|
zlib_libsstaticconf="$ZLIB_LIBS"
|
||||||
have_zlib="yes (ZLIB_CFLAGS and ZLIB_LIBS)"
|
have_zlib="yes (ZLIB_CFLAGS and ZLIB_LIBS)"
|
||||||
else
|
else
|
||||||
# fall back to standard autoconf test
|
# fall back to standard autoconf test
|
||||||
|
@ -337,9 +337,9 @@ if test x"$with_zlib" = xyes -o x"$with_zlib" = xauto; then
|
||||||
[gzsetparams],
|
[gzsetparams],
|
||||||
[AC_CHECK_HEADER([zlib.h],
|
[AC_CHECK_HEADER([zlib.h],
|
||||||
[have_zlib="yes (autoconf test)"
|
[have_zlib="yes (autoconf test)"
|
||||||
zlib_libpriv="-lz"
|
zlib_libspriv="-lz"
|
||||||
zlib_libstaticconf="$zlib_libpriv"
|
zlib_libsstaticconf="$zlib_libspriv"
|
||||||
ZLIB_LIBS="$zlib_libpriv"])])
|
ZLIB_LIBS="$zlib_libspriv"])])
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -370,15 +370,15 @@ if test x"$with_bzip2" = xyes -o x"$with_bzip2" = xauto; then
|
||||||
if test $have_bzip2_pkg = yes; then
|
if test $have_bzip2_pkg = yes; then
|
||||||
# we have bzip2.pc
|
# we have bzip2.pc
|
||||||
bzip2_reqpriv="$bzip2_pkg"
|
bzip2_reqpriv="$bzip2_pkg"
|
||||||
bzip2_libpriv=
|
bzip2_libspriv=
|
||||||
bzip2_libstaticconf=`$PKG_CONFIG --static --libs "$bzip2_pkg"`
|
bzip2_libsstaticconf=`$PKG_CONFIG --static --libs "$bzip2_pkg"`
|
||||||
else
|
else
|
||||||
bzip2_reqpriv=
|
bzip2_reqpriv=
|
||||||
|
|
||||||
if test "$have_bzip2" != no; then
|
if test "$have_bzip2" != no; then
|
||||||
# BZIP2_CFLAGS and BZIP2_LIBS are set by the user
|
# BZIP2_CFLAGS and BZIP2_LIBS are set by the user
|
||||||
bzip2_libpriv="$BZIP2_LIBS"
|
bzip2_libspriv="$BZIP2_LIBS"
|
||||||
bzip2_libstaticconf="$BZIP2_LIBS"
|
bzip2_libsstaticconf="$BZIP2_LIBS"
|
||||||
have_bzip2="yes (BZIP2_CFLAGS and BZIP2_LIBS)"
|
have_bzip2="yes (BZIP2_CFLAGS and BZIP2_LIBS)"
|
||||||
else
|
else
|
||||||
# fall back to standard autoconf test
|
# fall back to standard autoconf test
|
||||||
|
@ -386,9 +386,9 @@ if test x"$with_bzip2" = xyes -o x"$with_bzip2" = xauto; then
|
||||||
[BZ2_bzDecompress],
|
[BZ2_bzDecompress],
|
||||||
[AC_CHECK_HEADER([bzlib.h],
|
[AC_CHECK_HEADER([bzlib.h],
|
||||||
[have_bzip2="yes (autoconf test)"
|
[have_bzip2="yes (autoconf test)"
|
||||||
bzip2_libpriv="-lbz2"
|
bzip2_libspriv="-lbz2"
|
||||||
bzip2_libstaticconf="$bzip2_libpriv"
|
bzip2_libsstaticconf="$bzip2_libspriv"
|
||||||
BZIP2_LIBS="$bzip2_libpriv"])])
|
BZIP2_LIBS="$bzip2_libspriv"])])
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -419,15 +419,15 @@ if test x"$with_png" = xyes -o x"$with_png" = xauto; then
|
||||||
if test $have_libpng_pkg = yes; then
|
if test $have_libpng_pkg = yes; then
|
||||||
# we have libpng.pc
|
# we have libpng.pc
|
||||||
libpng_reqpriv="$libpng_pkg"
|
libpng_reqpriv="$libpng_pkg"
|
||||||
libpng_libpriv=
|
libpng_libspriv=
|
||||||
libpng_libstaticconf=`$PKG_CONFIG --static --libs "$libpng_pkg"`
|
libpng_libsstaticconf=`$PKG_CONFIG --static --libs "$libpng_pkg"`
|
||||||
else
|
else
|
||||||
libpng_reqpriv=
|
libpng_reqpriv=
|
||||||
|
|
||||||
if test "$have_libpng" != no; then
|
if test "$have_libpng" != no; then
|
||||||
# LIBPNG_CFLAGS and LIBPNG_LIBS are set by the user
|
# LIBPNG_CFLAGS and LIBPNG_LIBS are set by the user
|
||||||
libpng_libpriv="$LIBPNG_LIBS"
|
libpng_libspriv="$LIBPNG_LIBS"
|
||||||
libpng_libstaticconf="$LIBPNG_LIBS"
|
libpng_libsstaticconf="$LIBPNG_LIBS"
|
||||||
have_libpng="yes (LIBPNG_CFLAGS and LIBPNG_LIBS)"
|
have_libpng="yes (LIBPNG_CFLAGS and LIBPNG_LIBS)"
|
||||||
else
|
else
|
||||||
# fall back to config script.
|
# fall back to config script.
|
||||||
|
@ -435,8 +435,8 @@ if test x"$with_png" = xyes -o x"$with_png" = xauto; then
|
||||||
if which libpng-config > /dev/null 2>&1; then
|
if which libpng-config > /dev/null 2>&1; then
|
||||||
LIBPNG_CFLAGS=`libpng-config --cflags`
|
LIBPNG_CFLAGS=`libpng-config --cflags`
|
||||||
LIBPNG_LIBS=`libpng-config --ldflags`
|
LIBPNG_LIBS=`libpng-config --ldflags`
|
||||||
libpng_libpriv=`libpng-config --static --ldflags`
|
libpng_libspriv=`libpng-config --static --ldflags`
|
||||||
libpng_libstaticconf="$libpng_libpriv"
|
libpng_libsstaticconf="$libpng_libspriv"
|
||||||
have_libpng="yes (libpng-config)"
|
have_libpng="yes (libpng-config)"
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
else
|
else
|
||||||
|
@ -472,15 +472,15 @@ if test x"$with_harfbuzz" = xyes -o x"$with_harfbuzz" = xauto; then
|
||||||
if test $have_harfbuzz_pkg = yes; then
|
if test $have_harfbuzz_pkg = yes; then
|
||||||
# we have harfbuzz.pc
|
# we have harfbuzz.pc
|
||||||
harfbuzz_reqpriv="$harfbuzz_pkg"
|
harfbuzz_reqpriv="$harfbuzz_pkg"
|
||||||
harfbuzz_libpriv=
|
harfbuzz_libspriv=
|
||||||
harfbuzz_libstaticconf=`$PKG_CONFIG --static --libs "$harfbuzz_pkg"`
|
harfbuzz_libsstaticconf=`$PKG_CONFIG --static --libs "$harfbuzz_pkg"`
|
||||||
else
|
else
|
||||||
harfbuzz_reqpriv=
|
harfbuzz_reqpriv=
|
||||||
|
|
||||||
if test "$have_harfbuzz" != no; then
|
if test "$have_harfbuzz" != no; then
|
||||||
# HARFBUZZ_CFLAGS and HARFBUZZ_LIBS are set by the user
|
# HARFBUZZ_CFLAGS and HARFBUZZ_LIBS are set by the user
|
||||||
harfbuzz_libpriv="$HARFBUZZ_LIBS"
|
harfbuzz_libspriv="$HARFBUZZ_LIBS"
|
||||||
harfbuzz_libstaticconf="$HARFBUZZ_LIBS"
|
harfbuzz_libsstaticconf="$HARFBUZZ_LIBS"
|
||||||
have_harfbuzz="yes (HARFBUZZ_CFLAGS and HARFBUZZ_LIBS)"
|
have_harfbuzz="yes (HARFBUZZ_CFLAGS and HARFBUZZ_LIBS)"
|
||||||
else
|
else
|
||||||
# since HarfBuzz is quite a new library we don't fall back to a
|
# since HarfBuzz is quite a new library we don't fall back to a
|
||||||
|
@ -921,10 +921,10 @@ REQUIRES_PRIVATE=`echo "$REQUIRES_PRIVATE" \
|
||||||
-e 's/,*$//' \
|
-e 's/,*$//' \
|
||||||
-e 's/,/, /g'`
|
-e 's/,/, /g'`
|
||||||
|
|
||||||
LIBS_PRIVATE="$zlib_libpriv \
|
LIBS_PRIVATE="$zlib_libspriv \
|
||||||
$bzip2_libpriv \
|
$bzip2_libspriv \
|
||||||
$libpng_libpriv \
|
$libpng_libspriv \
|
||||||
$harfbuzz_libpriv \
|
$harfbuzz_libspriv \
|
||||||
$ft2_extra_libs"
|
$ft2_extra_libs"
|
||||||
# beautify
|
# beautify
|
||||||
LIBS_PRIVATE=`echo "$LIBS_PRIVATE" \
|
LIBS_PRIVATE=`echo "$LIBS_PRIVATE" \
|
||||||
|
@ -933,10 +933,10 @@ LIBS_PRIVATE=`echo "$LIBS_PRIVATE" \
|
||||||
-e 's/ */ /g'`
|
-e 's/ */ /g'`
|
||||||
|
|
||||||
LIBSSTATIC_CONFIG="-lfreetype \
|
LIBSSTATIC_CONFIG="-lfreetype \
|
||||||
$zlib_libstaticconf \
|
$zlib_libsstaticconf \
|
||||||
$bzip2_libstaticconf \
|
$bzip2_libsstaticconf \
|
||||||
$libpng_libstaticconf \
|
$libpng_libsstaticconf \
|
||||||
$harfbuzz_libstaticconf \
|
$harfbuzz_libsstaticconf \
|
||||||
$ft2_extra_libs"
|
$ft2_extra_libs"
|
||||||
# remove -L/usr/lib and -L/usr/lib64 since `freetype-config' adds them later
|
# remove -L/usr/lib and -L/usr/lib64 since `freetype-config' adds them later
|
||||||
# on if necessary; also beautify
|
# on if necessary; also beautify
|
||||||
|
|
Loading…
Reference in New Issue