CVS update: php3
| From: | jah | Date: | Sun, 30 May 1999 09:26:59 +0000 |
| Subject: | CVS update: php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6295@lists.php.net to get a copy of this message | ||
Date: Sunday May 30, 1999 @ 5:26
Author: jah
Update of /repository/php3
In directory php:/tmp/cvs-serv17584
Modified Files:
configure.in
Log Message:
Final touches. This one is ready for the world.
Index: php3/configure.in
diff -u php3/configure.in:1.379 php3/configure.in:1.380
--- php3/configure.in:1.379 Sat May 29 11:54:16 1999
+++ php3/configure.in Sun May 30 05:26:59 1999
@@ -1,4 +1,4 @@
-dnl $Id: configure.in,v 1.379 1999/05/29 15:54:16 jah Exp $
+dnl $Id: configure.in,v 1.380 1999/05/30 09:26:59 jah Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(main.c)
@@ -758,9 +758,28 @@
AC_SUBST(GD_INCLUDE)
if test "$ac_cv_lib_gd_gdImageLine" = "yes"; then
AC_CHECK_LIB(ttf, TT_Open_Face)
-dnl AC_CHECK_LIB(t1, T1_InitLib)
-dnl AC_CHECK_LIB(t1, T1_GetCharOutline, [ AC_DEFINE(HAVE_LIBT1_OUTLINE) ])
fi
+
+AC_MSG_CHECKING(whether to enable t1lib support with GD)
+AC_ARG_ENABLE(t1lib,
+[ --enable-t1lib Compile GD with t1lib support.],[
+ if test "$ac_cv_lib_gd_gdImageLine" = "yes"; then
+ if test "$enableval" = "yes"; then
+ AC_CHECK_LIB(t1, T1_InitLib)
+ AC_CHECK_LIB(t1, T1_GetCharOutline, [ AC_DEFINE(HAVE_LIBT1_OUTLINE) ])
+ AC_MSG_RESULT(yes)
+ else
+ AC_DEFINE(HAVE_LIBT1, 0)
+ AC_MSG_RESULT(no)
+ fi
+ else
+ AC_DEFINE(HAVE_LIBT1, 0)
+ AC_MSG_RESULT(no)
+ fi
+],[
+ AC_DEFINE(HAVE_LIBT1, 1)
+ AC_MSG_RESULT(no)
+])
AC_MSG_CHECKING(whether to include GNU gettext support)
AC_ARG_WITH(gettext,
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net