These three lines contain the and operator (-a) which is not
    followed by an expression:

    if test "$PHP_JPEG_DIR" != "no" -a "$PHP_JPEG_DIR"; then
    if test "$PHP_PNG_DIR" != "no" -a "$PHP_PNG_DIR"; then
    if test "$PHP_XPM_DIR" != "no" -a "$PHP_XPM_DIR"; then

    I don't see the relevance of the -a ... part here.
    PHP_FOO_DIR is either no or has a usable value.

    Another issue is that png config code assumes that the user
    has enabled zlib and executes


    unconditionally, even though PHP_ZLIB_DIR is set to 'no'.
    That causes a

    ./configure: no: No such file or directory

    because PHP_EXPAND_PATH will try to expand the path 'no/lib'.
    The same problem exists in pdflib's config.m4:

    checking for zlib (needed by pdflib)... checking for deflate in -lz... yes
    ./configure: no: No such file or directory

    - Sascha                                     Experience IRCG      

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to