CVS update: php3
| From: | rasmus | Date: | Mon, 21 Sep 1998 17:02:20 +0000 |
| Subject: | CVS update: php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1330@lists.php.net to get a copy of this message | ||
Date: Monday September 21, 1998 @ 13:02
Author: rasmus
Update of /repository/php3
In directory asf:/u2/tmp/cvs-serv29007
Modified Files:
configure.in
Log Message:
Expand checks for GD
Index: php3/configure.in
diff -c php3/configure.in:1.247 php3/configure.in:1.248
*** php3/configure.in:1.247 Sat Sep 19 16:17:29 1998
--- php3/configure.in Mon Sep 21 13:02:19 1998
***************
*** 1,4 ****
! dnl $Id: configure.in,v 1.247 1998/09/19 20:17:29 zeev Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(main.c)
--- 1,4 ----
! dnl $Id: configure.in,v 1.248 1998/09/21 17:02:19 rasmus Exp $
dnl Process this file with autoconf to produce a configure script.
AC_INIT(main.c)
***************
*** 517,526 ****
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
--- 517,539 ----
ac_cv_lib_gd_gdImageLine=yes
AC_MSG_RESULT(yes) ;;
*)
+ dnl A whole whack of possible places where this might be
+ test -f $withval/include/gd1.3/gd.h &&
GD_INCLUDE="-I$withval/include/gd1.3"
test -f $withval/include/gd/gd.h && GD_INCLUDE="-I$withval/include/gd"
test -f $withval/include/gd.h && GD_INCLUDE="-I$withval/include"
! test -f $withval/gd1.3/gd.h && GD_INCLUDE="-I$withval/gd1.3"
! test -f $withval/gd/gd.h && GD_INCLUDE="-I$withval/gd"
! test -f $withval/gd.h && GD_INCLUDE="-I$withval"
!
! test -f $withval/lib/libgd.a && GD_LIB="$withval/lib"
! test -f $withval/lib/gd/libgd.a && GD_LIB="$withval/lib/gd"
! test -f $withval/lib/gd1.3/libgd.a && GD_LIB="$withval/lib/gd1.3"
! test -f $withval/libgd.a && GD_LIB="$withval"
! test -f $withval/gd/libgd.a && GD_LIB="$withval/gd"
! test -f $withval/gd1.3/libgd.a && GD_LIB="$withval/gd1.3"
!
! if test -n "$GD_INCLUDE" && test -n "$GD_LIB" ; then
! GD_LIBS="-L$GD_LIB -lgd"
AC_DEFINE(HAVE_LIBGD)
AC_CHECK_LIB(gd, gdImageString16, [ AC_DEFINE(HAVE_LIBGD13) ])
ac_cv_lib_gd_gdImageLine=yes
--
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