FAQ
Recently, I had problems compiling stuff in sapi/cgi because of the
change between 1.18 and 1.19 of sapi/cgi/config9.m4 which results in
expanding a libtool command line into something like "gcc ''", where gcc
(correctly) complains about the impossibility to compile a file named
''.

I've worked things around with the attached patch, reported below since
it's a one-liner.

p.

--- o --- o --- o ---

Index: sapi/cgi/config9.m4
===================================================================
RCS file: /repository/php-src/sapi/cgi/config9.m4,v
retrieving revision 1.19
diff -u -r1.19 config9.m4
--- sapi/cgi/config9.m4 25 Dec 2005 12:45:01 -0000 1.19
+++ sapi/cgi/config9.m4 29 Dec 2005 13:47:12 -0000
@@ -85,7 +85,7 @@
PHP_TEST_WRITE_STDOUT

INSTALL_IT="@echo \"Installing PHP CGI into: \$(INSTALL_ROOT)\$(bindir)/\"; \$(INSTALL) -m 0755 \$(SAPI_CGI_PATH) \$(INSTALL_ROOT)\$(bindir)/\$(program_prefix)php\$(program_suffix)\$(EXEEXT)"
- PHP_SELECT_SAPI(cgi, program, fastcgi.c cgi_main.c getopt.c, '', '$(SAPI_CGI_PATH)')
+ PHP_SELECT_SAPI(cgi, program, fastcgi.c cgi_main.c getopt.c, , '$(SAPI_CGI_PATH)')

case $host_alias in
*aix*)




Ing. Pierangelo Masarati
Responsabile Open Solution
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office: +39.02.23998309
Mobile: +39.333.4963172
Email: [email protected]
------------------------------------------

Search Discussions

  • Antony Dovgal at Dec 29, 2005 at 2:13 pm

    On 29.12.2005 16:59, Pierangelo Masarati wrote:
    Recently, I had problems compiling stuff in sapi/cgi because of the
    change between 1.18 and 1.19 of sapi/cgi/config9.m4 which results in
    expanding a libtool command line into something like "gcc ''", where gcc
    (correctly) complains about the impossibility to compile a file named
    ''.

    I've worked things around with the attached patch, reported below since
    it's a one-liner.
    Committed, thanks.

    --
    Wbr,
    Antony Dovgal

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedDec 29, '05 at 1:53p
activeDec 29, '05 at 2:13p
posts2
users2
websitephp.net

People

Translate

site design / logo © 2023 Grokbase