summaryrefslogtreecommitdiff
path: root/Build/source/configure
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/configure')
-rwxr-xr-xBuild/source/configure4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/configure b/Build/source/configure
index a25e1e36911..81f6707b4a4 100755
--- a/Build/source/configure
+++ b/Build/source/configure
@@ -20310,7 +20310,7 @@ $as_echo "no" >&6; }
fi
if test "x$ac_ct_FT2_CONFIG" = x; then
- FT2_CONFIG=":"
+ FT2_CONFIG="false"
else
case $cross_compiling:$ac_tool_warned in
yes:)
@@ -20324,7 +20324,7 @@ else
FT2_CONFIG="$ac_cv_prog_FT2_CONFIG"
fi
-if test -n `$FT2_CONFIG --ftversion 2>/dev/null`; then
+if $FT2_CONFIG --ftversion >/dev/null 2>&1; then
FREETYPE2_INCLUDES=`$FT2_CONFIG --cflags`
FREETYPE2_LIBS=`$FT2_CONFIG --libs`
elif test "x$need_freetype2:$with_freetype2_xpdf" = 'xyes:yes'; then