Source
189
189
190
190
191
191
#
192
192
# process --enable-static and --enable_static-libs flags
193
193
#
194
194
195
195
if test "x$enable_static" = "xyes"; then
196
196
LIBPCRE2_LIBS=" $LIBPCRE2_LIBS -lpthread"
197
197
elif test "x$enable_static_libs" = "xyes"; then
198
198
if test "x$static_linking_support" == "xno"; then
199
-
AC_MSG_WARN([compiler has no direct suppor for static linkage])
199
+
AC_MSG_WARN([compiler has no direct support for static linkage])
200
200
201
201
if test -n "$libpcre2_lib_dir"; then
202
202
if test -f "$libpcre2_lib_dir/libpcre2-8.a"; then
203
203
LIBPCRE2_LIBS="$libpcre2_lib_dir/libpcre2-8.a"
204
204
else
205
205
AC_MSG_ERROR([cannot find $libpcre2_lib_dir/libpcre2-8.a])
206
206
fi
207
207
elif test -n "$libpcre2_dir"; then
208
208
if test -f "$libpcre2_dir/lib/libpcre2-8.a"; then
209
209
LIBPCRE2_LIBS="$libpcre2_dir/lib/libpcre2-8.a"