Lucio Andrés Illanes Albornoz (arab, vxp) b02f21
--- SmallBASIC/configure.ac.orig	2018-02-04 10:05:56.100000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) b02f21
+++ SmallBASIC/configure.ac	2018-02-08 11:39:39.740000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) b02f21
@@ -117,7 +117,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 49b460
 
Lucio Andrés Illanes Albornoz (arab, vxp) b02f21
    if test "${have_pcre}" = "yes" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) b02f21
      AC_DEFINE(USE_PCRE, 1, [match.c used with libpcre.])
Lucio Andrés Illanes Albornoz (arab, vxp) 49b460
-     PACKAGE_LIBS="${PACKAGE_LIBS} `pcre-config --libs`"
Lucio Andrés Illanes Albornoz (arab, vxp) 49b460
+     PACKAGE_LIBS="${PACKAGE_LIBS} ${PCRE_LIBS}"
Lucio Andrés Illanes Albornoz (arab, vxp) 49b460
    fi
Lucio Andrés Illanes Albornoz (arab, vxp) 49b460
 }
Lucio Andrés Illanes Albornoz (arab, vxp) 49b460
 
Lucio Andrés Illanes Albornoz (arab, vxp) b02f21
--- SmallBASIC/src/platform/console/main.c.orig	2018-02-04 10:05:56.108000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) b02f21
+++ SmallBASIC/src/platform/console/main.c	2018-02-08 11:39:11.172000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) b02f21
@@ -262,7 +262,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 500e0f
   return 1;
Lucio Andrés Illanes Albornoz (arab, vxp) 500e0f
 }
Lucio Andrés Illanes Albornoz (arab, vxp) 500e0f
 
Lucio Andrés Illanes Albornoz (arab, vxp) b02f21
-#if defined(__GNUC__) && !defined(__MACH__) && !defined(_Win32)
Lucio Andrés Illanes Albornoz (arab, vxp) b02f21
+#if defined(__GLIBC__) && !defined(__MACH__) && !defined(_Win32)
Lucio Andrés Illanes Albornoz (arab, vxp) 500e0f
 // for analysing excessive malloc calls using kdbg
Lucio Andrés Illanes Albornoz (arab, vxp) 500e0f
 extern void *__libc_malloc(size_t size);
Lucio Andrés Illanes Albornoz (arab, vxp) b02f21
 void *malloc(size_t size) {