Changeset 718

Show
Ignore:
Timestamp:
11/10/08 07:29:27 (2 months ago)
Author:
weyrick
Message:

mingw patch from Jean-Francois

Location:
trunk/pcc
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/pcc/configure.in

    r706 r718  
    345345# report compatibility for time and flock to compile 
    346346#   in the profiler 
    347     WINDOWS_TIME_SUPPORT = windows-time 
     347    WINDOWS_TIME_SUPPORT="windows-time" 
    348348#   in the runtime 
    349     WINDOWS_C_SUPPORT = windows-time windows-flock 
     349    WINDOWS_C_SUPPORT="windows-time windows-flock" 
    350350#jfcouic 2008-11-01 end 
    351351#-future version with the SU SUV selection 
  • trunk/pcc/runtime/php-ext/Makefile

    r450 r718  
    22# build,clean,check all extensions 
    33# 
     4#jfcouic 2008-11-05 : quotes PHP_EXT_LIST to have a good shell code, if to test if there is something to do before loop. 
    45 
    56PCC_ROOT = ../.. 
     
    1718 
    1819all-run: 
    19         @for d in $(PHP_EXT_LIST); do \ 
     20        @if ["$(PHP_EXT_LIST)" = ""]; then echo "nothing to be done (all-run)."; else for d in "$(PHP_EXT_LIST)"; do \ 
    2021           if [ -d $$d ]; then \ 
    21              export UNSAFE; \ 
     22             export UNSAFE; \ 
    2223             echo "making extension $$d ..."; \ 
    2324             (cd $$d && $(MAKE) all-run); \ 
    24            fi \ 
    25         done 
     25           fi; \ 
     26        done; \ 
     27      fi 
    2628# -- don't have any yet --         
    2729#ifeq ($(PCC_OS),PCC_MINGW) 
     
    3638 
    3739tags: 
    38         @for d in $(PHP_EXT_LIST); do \ 
     40        @if ["$(PHP_EXT_LIST)" = ""]; then echo "no tags to be done (tags)."; else for d in "$(PHP_EXT_LIST)"; do \ 
    3941           if [ -d $$d ]; then \ 
    4042             echo "tagging extension $$d ..."; \ 
    4143             (cd $$d && $(MAKE) tags); \ 
    42            fi \ 
    43         done 
     44           fi; \ 
     45        done; \ 
     46      fi 
    4447#ifeq ($(PCC_OS),PCC_MINGW) 
    4548#       @for d in $(WIN_PHP_EXT_LIST); do \ 
     
    5255 
    5356apidocs: 
    54         @for d in $(PHP_EXT_LIST); do \ 
     57        @if ["$(PHP_EXT_LIST)" = ""]; then echo "no docs to be done (apidocs)."; else for d in "$(PHP_EXT_LIST)"; do \ 
    5558           if [ -d $$d ]; then \ 
    5659             echo "apidoc'ing extension $$d ..."; \ 
    5760             (cd $$d && $(MAKE) apidocs); \ 
    58            fi \ 
    59         done 
     61           fi; \ 
     62        done; \ 
     63      fi 
    6064#       @for d in $(WIN_PHP_EXT_LIST); do \ 
    6165#           if [ -d $$d ]; then \ 
     
    6670 
    6771clean: 
    68         @for d in $(PHP_EXT_LIST); do \ 
     72        @if ["$(PHP_EXT_LIST)" = ""]; then echo "no cleaning to be done (clean)."; else for d in "$(PHP_EXT_LIST)"; do \ 
    6973           if [ -d $$d ]; then \ 
    7074             echo "cleaning extension $$d ..."; \ 
    7175             (cd $$d && $(MAKE) clean); \ 
    72            fi \ 
    73         done 
     76           fi; \ 
     77        done; \ 
     78      fi 
    7479#ifeq ($(PCC_OS),PCC_MINGW) 
    7580#       @for d in $(WIN_PHP_EXT_LIST); do \ 
     
    8287 
    8388check: 
    84         @for d in $(PHP_EXT_LIST); do \ 
     89        @if ["$(PHP_EXT_LIST)" = ""]; then echo "no checking to be done (check)."; else for d in "$(PHP_EXT_LIST)"; do \ 
    8590           if [ -d $$d ]; then \ 
    8691             echo "checking extension $$d ..."; \ 
    8792             (cd $$d && $(MAKE) check); \ 
    88            fi \ 
    89         done 
     93           fi; \ 
     94        done; \ 
     95      fi