summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorjoye <joye>2013-12-09 21:26:21 (GMT)
committerjoye <joye>2013-12-09 21:26:21 (GMT)
commit208c51bee03e50ebeff32d63843394d3bd41ee23 (patch)
tree19fe65467d8ed770f3364a099af598778e468306 /configure
parent42c465af03672c8882090398363567489976d946 (diff)
downloadblt-208c51bee03e50ebeff32d63843394d3bd41ee23.zip
blt-208c51bee03e50ebeff32d63843394d3bd41ee23.tar.gz
blt-208c51bee03e50ebeff32d63843394d3bd41ee23.tar.bz2
*** empty log message ***
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure132
1 files changed, 1 insertions, 131 deletions
diff --git a/configure b/configure
index f026ebc..adc813c 100755
--- a/configure
+++ b/configure
@@ -621,8 +621,6 @@ ac_includes_default="\
ac_subst_vars='LTLIBOBJS
LIBOBJS
TCLSH_PROG
-XFT_LIBS
-XFT_CFLAGS
VC_MANIFEST_EMBED_EXE
VC_MANIFEST_EMBED_DLL
RANLIB_STUB
@@ -759,7 +757,6 @@ enable_rpath
enable_wince
with_celib
enable_symbols
-enable_xft
'
ac_precious_vars='build_alias
host_alias
@@ -1391,7 +1388,6 @@ Optional Features:
--disable-rpath disable rpath support (default: on)
--enable-wince enable Win/CE support (where applicable)
--enable-symbols build with debugging symbols (default: off)
- --enable-xft use freetype/fontconfig/xft (default: on)
Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@@ -5563,7 +5559,6 @@ done
bltSpline.c
bltSwitch.c
bltText.c
- bltUnixFont.c
bltUtil.c
bltVecCmd.c
bltVecMath.c
@@ -9376,132 +9371,7 @@ rm -f conftest*
# Check for freetype / fontconfig / Xft support.
#--------------------------------------------------------------------
-
-
-if test "${TEA_WINDOWINGSYSTEM}" = "x11"; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use xft" >&5
-$as_echo_n "checking whether to use xft... " >&6; }
- # Check whether --enable-xft was given.
-if test "${enable_xft+set}" = set; then :
- enableval=$enable_xft; enable_xft=$enableval
-else
- enable_xft="default"
-fi
-
- XFT_CFLAGS=""
- XFT_LIBS=""
- if test "$enable_xft" = "no" ; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_xft" >&5
-$as_echo "$enable_xft" >&6; }
- else
- found_xft="yes"
- XFT_CFLAGS=`xft-config --cflags 2>/dev/null` || found_xft="no"
- XFT_LIBS=`xft-config --libs 2>/dev/null` || found_xft="no"
- if test "$found_xft" = "no" ; then
- found_xft=yes
- XFT_CFLAGS=`pkg-config --cflags xft 2>/dev/null` || found_xft="no"
- XFT_LIBS=`pkg-config --libs xft 2>/dev/null` || found_xft="no"
- fi
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $found_xft" >&5
-$as_echo "$found_xft" >&6; }
- if test "$found_xft" = "yes" ; then
- tk_oldCFlags=$CFLAGS
- CFLAGS="$XINCLUDES $XFT_CFLAGS"
- tk_oldLibs=$LIBS
- LIBS="$tk_oldLIBS $XFT_LIBS $XLIBSW"
- ac_fn_c_check_header_compile "$LINENO" "X11/Xft/Xft.h" "ac_cv_header_X11_Xft_Xft_h" "#include <X11/Xlib.h>
-"
-if test "x$ac_cv_header_X11_Xft_Xft_h" = xyes; then :
-
-else
-
- found_xft=no
-
-fi
-
-
- CFLAGS=$tk_oldCFlags
- LIBS=$tk_oldLibs
- fi
- if test "$found_xft" = "yes" ; then
- tk_oldCFlags=$CFLAGS
- CFLAGS="$XINCLUDES $XFT_CFLAGS"
- tk_oldLibs=$LIBS
- LIBS="$tk_oldLIBS $XFT_LIBS $XLIBSW"
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XftFontOpen in -lXft" >&5
-$as_echo_n "checking for XftFontOpen in -lXft... " >&6; }
-if ${ac_cv_lib_Xft_XftFontOpen+:} false; then :
- $as_echo_n "(cached) " >&6
-else
- ac_check_lib_save_LIBS=$LIBS
-LIBS="-lXft $LIBS"
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-/* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
- builtin and then its argument prototype would still apply. */
-#ifdef __cplusplus
-extern "C"
-#endif
-char XftFontOpen ();
-int
-main ()
-{
-return XftFontOpen ();
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_lib_Xft_XftFontOpen=yes
-else
- ac_cv_lib_Xft_XftFontOpen=no
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-LIBS=$ac_check_lib_save_LIBS
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xft_XftFontOpen" >&5
-$as_echo "$ac_cv_lib_Xft_XftFontOpen" >&6; }
-if test "x$ac_cv_lib_Xft_XftFontOpen" = xyes; then :
- cat >>confdefs.h <<_ACEOF
-#define HAVE_LIBXFT 1
-_ACEOF
-
- LIBS="-lXft $LIBS"
-
-else
-
- found_xft=no
-
-fi
-
- CFLAGS=$tk_oldCFlags
- LIBS=$tk_oldLibs
- fi
- if test "$found_xft" = "no" ; then
- if test "$enable_xft" = "yes" ; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Can't find xft configuration, or xft is unusable" >&5
-$as_echo "$as_me: WARNING: Can't find xft configuration, or xft is unusable" >&2;}
- fi
- enable_xft=no
- XFT_CFLAGS=""
- XFT_LIBS=""
- else
- enable_xft=yes
- fi
- fi
- if test $enable_xft = "yes" ; then
-
-$as_echo "#define HAVE_XFT 1" >>confdefs.h
-
- fi
-
-
-fi
-
-
+XFT
#--------------------------------------------------------------------
# Determine the name of the tclsh and/or wish executables in the