summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2020-12-07 17:08:37 +0100
committerWerner Lemberg <wl@gnu.org>2020-12-07 17:08:37 +0100
commit505943a6a4cbf549e744fe4fe9d36bba68ef3db1 (patch)
treeedf81176c2e544ea7b5d12b3f24d36d98dd8e6eb
parent272ae5ee2ab1dd5754931675841f4dd0736fe17a (diff)
downloadfreetype2-505943a6a4cbf549e744fe4fe9d36bba68ef3db1.tar.gz
* builds/unix/configure.raw: Don't set `FT_DEBUG_LOGGING`.
All debug options are handled exclusively in `ftoption.h`.
-rw-r--r--ChangeLog6
-rw-r--r--builds/unix/configure.raw8
2 files changed, 10 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 894e21191..ddb0dd914 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2020-12-07 Werner Lemberg <wl@gnu.org>
+ * builds/unix/configure.raw: Don't set `FT_DEBUG_LOGGING`.
+
+ All debug options are handled exclusively in `ftoption.h`.
+
+2020-12-07 Werner Lemberg <wl@gnu.org>
+
* src/*: More fixes for using a '\n' in `FT_TRACE` and `FT_ERROR`.
2020-12-07 Werner Lemberg <wl@gnu.org>
diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw
index 1b637e6bd..56b0bce3a 100644
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -1125,12 +1125,10 @@ if test "$have_brotli" != no; then
else
ftoption_unset FT_CONFIG_OPTION_USE_BROTLI
fi
+
if test "$have_pthread" != no; then
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
LDFLAGS="$LDFLAGS $PTHREAD_CFLAGS $PTHREAD_LIBS"
- ftoption_set FT_DEBUG_LOGGING
-else
- ftoption_unset FT_DEBUG_LOGGING
fi
AC_SUBST([CFLAGS])
@@ -1185,7 +1183,9 @@ fi
if test $have_pthread = no; then
AC_MSG_WARN([
- \`FT_DEBUG_LOGGING' will not work since the \`pthread' library is not available.
+ \`FT_DEBUG_LOGGING' will not work since the \`pthread' library is not
+ available. This warning can be safely ignored if you don't plan to use
+ this configuration macro.
])
fi