1 # Macros to list feature set
6 if test "x$2" = "xmissing" ; then
7 missing_list="${missing_list}
9 if test "x$3" != "x" ; then
10 missing_list="${missing_list} - requires $3"
15 # List features that were not enabled due to some missing dependency
16 AC_DEFUN([FC_MISSING_FEATURES],
18 AC_ARG_WITH([missinglist],
19 AS_HELP_STRING([--with-missinglist], [list missing features after configure]),
20 [list_missing_features=${withval}], [list_missing_features=no])
22 if test "x$list_missing_features" = "xyes" ; then
23 FC_FEATURE([readline], [$feature_readline])
24 FC_FEATURE([sound], [$feature_sound], [SDL_mixer])
25 FC_FEATURE([additional mapimg formats], [$feature_magickwand], [MagickWand])
26 FC_FEATURE([bz2 savegame compression], [$feature_bz2], [libbz2])
27 FC_FEATURE([xz savegame compression], [$feature_xz], [liblzma])
28 FC_FEATURE([threads suitable for threaded ai], [$feature_thr_cond], [pthreads])
29 FC_FEATURE([lua linked from system], [$feature_syslua], [lua-5.2])
30 FC_FEATURE([IPv6 support], [$feature_ipv6], [IPv6 functions])
32 if test "x$missing_list" = "x" ; then
34 ************** No optional features missing ***************])
37 **************** Missing optional features ****************