Changeset 7309 in project


Ignore:
Timestamp:
01/08/08 13:41:49 (12 years ago)
Author:
felix winkelmann
Message:

use USE_HOST_PCRE to use host pcre (grumble)

Location:
chicken/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • chicken/trunk/Makefile.linux

    r6829 r7309  
    5252NEEDS_RELINKING = yes
    5353
     54ifneq ($(USE_HOST_PCRE),)
     55LIBRARIES       += -lpcre
     56PCRE_INCLUDES   ?=
     57C_COMPILER_PCRE_OPTIONS ?=
     58PCRE_OBJECTS_1 =
     59endif
     60
     61
    5462# special files
    5563
     
    100108        echo "#define C_HACKED_APPLY" >>$@
    101109endif
     110ifneq ($(USE_HOST_PCRE),)
     111        echo "#define C_USE_HOST_PCRE" >>$@
     112endif
    102113        cat chicken-defaults.h >>$@
    103114
  • chicken/trunk/library.scm

    r7307 r7309  
    31433143                   (if (##sys#fudge 35) " applyhook" "")
    31443144                   (if (##sys#fudge 22) " lockts" "")
     3145                   (if (##sys#fudge 37) " hostpcre" "")
    31453146                   (if (##sys#fudge 39) " cross" "") ) ) )
    31463147        (string-append
  • chicken/trunk/rules.make

    r7228 r7309  
    5757LIBCHICKENGUI_STATIC_OBJECTS = $(LIBCHICKENGUI_OBJECTS_1:=-static$(O))
    5858
    59 PCRE_OBJECTS_1 = \
     59PCRE_OBJECTS_1 ?= \
    6060       pcre/pcre_compile \
    6161       pcre/pcre_config \
  • chicken/trunk/runtime.c

    r7167 r7309  
    41774177    return C_mk_bool(debug_mode);
    41784178
    4179     /* 37 - 38 */
     4179  case C_fix(37):
     4180#ifdef C_USE_HOST_PCRE
     4181    return C_SCHEME_TRUE;
     4182#else
     4183    return C_SCHEME_FALSE;
     4184#endif
     4185
     4186    /* 38 */
    41804187
    41814188  case C_fix(39):
Note: See TracChangeset for help on using the changeset viewer.