Date: 07/30/98
- Next message: rasmus: "[PHP-DEV] CVS update: php3"
- Previous message: wheelman <email protected>: "[PHP-DEV] Bug #599: imap_qprint documentation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
If you configure --with-gd=/usr/lib, configure never tests for libttf,
as it does if you configure --with-gd=yes or just --with-gd.
This patch (with extra context to show why) fixes that:
===========================================================================
# diff -U10 configure.in.~1~ configure.in
--- configure.in.~1~ Thu Jul 30 12:48:30 1998
+++ configure.in Thu Jul 30 12:48:45 1998
@@ -477,20 +477,21 @@
AC_CHECK_LIB(gd, gdImageString16, [ AC_DEFINE(HAVE_LIBGD13) ])
ac_cv_lib_gd_gdImageLine=yes
AC_MSG_RESULT(yes) ;;
*)
test -f $withval/include/gd/gd.h && GD_INCLUDE="-I$withval/include/gd"
test -f $withval/include/gd.h && GD_INCLUDE="-I$withval/include"
if test -n "$GD_INCLUDE" ; then
GD_LIBS="-L$withval/lib -lgd"
AC_DEFINE(HAVE_LIBGD)
AC_CHECK_LIB(gd, gdImageString16, [ AC_DEFINE(HAVE_LIBGD13) ])
+ ac_cv_lib_gd_gdImageLine=yes
AC_MSG_RESULT(yes)
else
AC_MSG_RESULT(no)
fi ;;
esac
],[
AC_CHECK_LIB(gd, gdImageLine)
AC_CHECK_LIB(gd, gdImageString16, [ AC_DEFINE(HAVE_LIBGD13) ])
])
AC_SUBST(GD_LIBS)
===========================================================================
-JimC
-- James H. Cloos, Jr. <cloos <email protected>> PGP KeyId=0xB84D7D6F <http://www.jhcloos.com/cloos/pgp_public_key.txt> Fingerprint20 = F265 CF1F 1951 A103 E287 1350 1A0D 598D B84D 7D6F
- Next message: rasmus: "[PHP-DEV] CVS update: php3"
- Previous message: wheelman <email protected>: "[PHP-DEV] Bug #599: imap_qprint documentation"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

