CVS update: php31/sapi

From: Date: Sat, 22 Aug 1998 15:52:04 +0000
Subject: CVS update: php31/sapi
Groups: php.dev 
Request: Send a blank email to php-dev+get-481@lists.php.net to get a copy of this message
Date: Saturday August 22, 1998 @ 11:52 Author: rasmus Update of /repository/php31/sapi In directory asf:/export/home/rasmus/php31/sapi Modified Files: apache_sapi.c php3_apache.h Log Message: Well, it compiles now, but the automake stuff tries to make a standalone executable out of it which of course fails miserably. It needs some magic to tell it to just make a library. Index: php31/sapi/apache_sapi.c diff -c php31/sapi/apache_sapi.c:2.9 php31/sapi/apache_sapi.c:2.10 *** php31/sapi/apache_sapi.c:2.9 Sat Aug 22 11:08:29 1998 --- php31/sapi/apache_sapi.c Sat Aug 22 11:52:04 1998 *************** *** 7,16 **** #include "ext/standard/php3_string.h" #include "ext/standard/info.h" #include "php3_ini.h" static CookieList *top = NULL; - char *empty_string = ""; - char *undefined_variable_string = "\0"; /*temporary */ #define module_info NULL --- 7,15 ---- #include "ext/standard/php3_string.h" #include "ext/standard/info.h" #include "php3_ini.h" + #include "build-defs.h" static CookieList *top = NULL; /*temporary */ #define module_info NULL Index: php31/sapi/php3_apache.h diff -c php31/sapi/php3_apache.h:2.2 php31/sapi/php3_apache.h:2.3 *** php31/sapi/php3_apache.h:2.2 Sat Aug 22 11:08:29 1998 --- php31/sapi/php3_apache.h Sat Aug 22 11:52:04 1998 *************** *** 51,57 **** --- 51,61 ---- struct sapi_request_info *sapi_info=(struct sapi_request_info *)php3_globals->sapi_rqst;\ request_rec *php3_rqst=(request_rec *)sapi_info->scid; #else + extern int php3_PrintHeader; + extern int php3_HeaderPrinted; + extern int header_called; #define SAPI_FUNC_VARS + struct sapi_request_info *sapi_rqst; /* for non-thread safe static compiles */ #endif /* -- 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

« previous php.dev (#481) next »