forked from minhngoc25a/freetype2
* builds/unix/freetype2.a4: Fix some serious bugs.
This commit is contained in:
parent
3975e2e1f5
commit
51f245a615
|
@ -1,3 +1,7 @@
|
||||||
|
2002-01-10 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
* builds/unix/freetype2.a4: Fix some serious bugs.
|
||||||
|
|
||||||
2002-01-09 David Turner <david@freetype.org>
|
2002-01-09 David Turner <david@freetype.org>
|
||||||
|
|
||||||
* builds/unix/configure.ac: Build top-level Jamfile.
|
* builds/unix/configure.ac: Build top-level Jamfile.
|
||||||
|
|
|
@ -1,23 +1,25 @@
|
||||||
# Configure paths for FreeType2
|
# Configure paths for FreeType2
|
||||||
# Marcelo Magallon 2001-10-26, based on gtk.m4 by Owen Taylor
|
# Marcelo Magallon 2001-10-26, based on gtk.m4 by Owen Taylor
|
||||||
|
|
||||||
dnl AM_CHECK_FT2([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
|
dnl AC_CHECK_FT2([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
|
||||||
dnl Test for FreeType2, and define FT2_CFLAGS and FT2_LIBS
|
dnl Test for FreeType2, and define FT2_CFLAGS and FT2_LIBS
|
||||||
dnl
|
dnl
|
||||||
AC_DEFUN(AC_CHECK_FT2,
|
AC_DEFUN(AC_CHECK_FT2,
|
||||||
[dnl
|
[dnl
|
||||||
dnl Get the cflags and libraries from the freetype-config script
|
dnl Get the cflags and libraries from the freetype-config script
|
||||||
dnl
|
dnl
|
||||||
AC_ARG_WITH(freetype-prefix,
|
AC_ARG_WITH(ft-prefix,
|
||||||
[ --with-ft-prefix=PFX Prefix where FreeType is installed (optional)],
|
[ --with-ft-prefix=PREFIX
|
||||||
|
Prefix where FreeType is installed (optional)],
|
||||||
ft_config_prefix="$withval", ft_config_prefix="")
|
ft_config_prefix="$withval", ft_config_prefix="")
|
||||||
AC_ARG_WITH(freetype-exec-prefix,
|
AC_ARG_WITH(ft-exec-prefix,
|
||||||
[ --with-ft-exec-prefix=PFX Exec prefix where FreeType is installed (optional)],
|
[ --with-ft-exec-prefix=PREFIX
|
||||||
|
Exec prefix where FreeType is installed (optional)],
|
||||||
ft_config_exec_prefix="$withval", ft_config_exec_prefix="")
|
ft_config_exec_prefix="$withval", ft_config_exec_prefix="")
|
||||||
AC_ARG_ENABLE(freetypetest,
|
AC_ARG_ENABLE(freetypetest,
|
||||||
[ --disable-freetypetest Do not try to compile and run
|
[ --disable-freetypetest Do not try to compile and run
|
||||||
a test FreeType program],
|
a test FreeType program],
|
||||||
[], enable_fttest=yes)
|
[], enable_fttest=yes)
|
||||||
|
|
||||||
if test x$ft_config_exec_prefix != x ; then
|
if test x$ft_config_exec_prefix != x ; then
|
||||||
ft_config_args="$ft_config_args --exec-prefix=$ft_config_exec_prefix"
|
ft_config_args="$ft_config_args --exec-prefix=$ft_config_exec_prefix"
|
||||||
|
@ -70,7 +72,7 @@ else
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "x$ft_config_is_lt" = "xyes" ; then
|
if test "x$ft_config_is_lt" = "xno" ; then
|
||||||
ifelse([$3], , :, [$3])
|
ifelse([$3], , :, [$3])
|
||||||
else
|
else
|
||||||
ac_save_CFLAGS="$CFLAGS"
|
ac_save_CFLAGS="$CFLAGS"
|
||||||
|
|
Loading…
Reference in New Issue