@@ -189,21 +189,14 @@ strl_h_found="no"
189
189
190
190
AC_CHECK_HEADERS ( [ bsd/string.h] , [ bsdstrl_h_found="yes"] )
191
191
192
- AC_CHECK_FUNCS ( [ strlcat strlcpy] , [ strl_found="yes"] ,
193
- [
194
- saved_LIBS="$LIBS"
195
- LIBS="$outer_LIBS"
196
- AC_SEARCH_LIBS ( [ strlcat] ,
197
- [ bsd strl] ,
198
- [ libstrl_found="yes"] ,
199
- [ strl_found="no"] )
200
- AC_SEARCH_LIBS ( [ strlcpy] ,
201
- [ bsd strl] ,
202
- [ libstrl_found="yes"] ,
203
- [ strl_found="no"] )
204
- STRL_LIBS="$LIBS"
205
- LIBS="$saved_LIBS"
206
- ] )
192
+ AC_CHECK_FUNCS ( [ strlcat strlcpy] , [ strl_found="yes"] , [
193
+ saved_LIBS="$LIBS"
194
+ LIBS="$outer_LIBS"
195
+ AC_SEARCH_LIBS ( [ strlcat] , [ bsd strl] , [ libstrl_found="yes"] , [ strl_found="no"] )
196
+ AC_SEARCH_LIBS ( [ strlcpy] , [ bsd strl] , [ libstrl_found="yes"] , [ strl_found="no"] )
197
+ STRL_LIBS="$LIBS"
198
+ LIBS="$saved_LIBS"
199
+ ] )
207
200
208
201
AS_IF ( [ test "x$libstrl_found" = xyes] , [ LIBS="$LIBS $STRL_LIBS"] )
209
202
@@ -357,23 +350,20 @@ AC_SUBST(LIBMILTER_LIBS)
357
350
358
351
AC_ARG_WITH ( [ libjansson] , AS_HELP_STRING ( [ --with-libjansson] , [ use Jansson for header field checks] ) )
359
352
360
- AS_IF (
361
- [ test "x$enable_filter" != xno -a "x$with_libjansson" != xno] ,
362
- [
363
- PKG_CHECK_MODULES(
364
- [ LIBJANSSON] ,
365
- [ jansson >= 2.2.1] ,
366
- [ AC_DEFINE ( [ USE_JANSSON] , [ 1] , [ use Jansson for header field checks] ) ]
367
- )
368
- ]
369
- )
353
+ AS_IF ( [ test "x$enable_filter" != xno -a "x$with_libjansson" != xno] , [
354
+ PKG_CHECK_MODULES(
355
+ [ LIBJANSSON] ,
356
+ [ jansson >= 2.2.1] ,
357
+ [ AC_DEFINE ( [ USE_JANSSON] , [ 1] , [ use Jansson for header field checks] ) ]
358
+ )
359
+ ] )
370
360
371
361
AC_SUBST ( LIBJANSSON_CFLAGS )
372
362
AC_SUBST ( LIBJANSSON_LIBS )
373
363
374
364
375
365
AC_DEFINE_UNQUOTED ( [ LIBOPENARC_FEATURE_STRING] , "$LIBOPENARC_FEATURE_STRING" ,
376
- [ Feature string for printing] )
366
+ [ Feature string for printing] )
377
367
378
368
#
379
369
# final command line tweaks
0 commit comments