Lucio Andrés Illanes Albornoz (arab, vxp) 49b460
--- SmallBASIC/configure.orig	2017-11-20 01:35:25.276000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) 49b460
+++ SmallBASIC/configure	2017-11-20 01:37:03.332000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) 49b460
@@ -5171,7 +5171,7 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 49b460
 
Lucio Andrés Illanes Albornoz (arab, vxp) 49b460
 $as_echo "#define USE_PCRE 1" >>confdefs.h
Lucio Andrés Illanes Albornoz (arab, vxp) 49b460
 
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) 500e0f
--- SmallBASIC/src/platform/console/main.c.orig	2017-12-19 08:54:21.692000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) 500e0f
+++ SmallBASIC/src/platform/console/main.c	2017-12-19 13:53:21.540000000 +0000
Lucio Andrés Illanes Albornoz (arab, vxp) 500e0f
@@ -253,7 +253,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) 500e0f
-#if defined(__GNUC__)
Lucio Andrés Illanes Albornoz (arab, vxp) 500e0f
+#if defined(__GLIBC__)
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) 500e0f
 void* malloc (size_t size) {