| 379 |
# This facilitates -ansi builds under Linux |
# This facilitates -ansi builds under Linux |
| 380 |
dnl AC_DEFINE([_GNU_SOURCE], [], [Enable GNU extensions in glibc]) |
dnl AC_DEFINE([_GNU_SOURCE], [], [Enable GNU extensions in glibc]) |
| 381 |
|
|
| 382 |
|
PCRE_STATIC_CFLAG="" |
| 383 |
if test "x$enable_shared" = "xno" ; then |
if test "x$enable_shared" = "xno" ; then |
| 384 |
AC_DEFINE([PCRE_STATIC], [1], [ |
AC_DEFINE([PCRE_STATIC], [1], [ |
| 385 |
Define if linking statically (TODO: make nice with Libtool)]) |
Define if linking statically (TODO: make nice with Libtool)]) |
| 386 |
|
PCRE_STATIC_CFLAG="-DPCRE_STATIC" |
| 387 |
fi |
fi |
| 388 |
|
AC_SUBST(PCRE_STATIC_CFLAG) |
| 389 |
|
|
| 390 |
# Here is where pcre specific defines are handled |
# Here is where pcre specific defines are handled |
| 391 |
|
|