Put CAN_HARDLINK_SYMLINK info into --version output.

This commit is contained in:
Wayne Davison
2020-09-21 13:17:15 -07:00
parent fd6839b746
commit b990d97d35

19
usage.c
View File

@@ -53,6 +53,16 @@ static void print_info_flags(enum logcode f)
#endif #endif
"socketpairs", "socketpairs",
#ifndef SUPPORT_LINKS
"no "
#endif
"symlinks",
#ifndef CAN_SET_SYMLINK_TIMES
"no "
#endif
"symtimes",
#ifndef SUPPORT_HARD_LINKS #ifndef SUPPORT_HARD_LINKS
"no " "no "
#endif #endif
@@ -63,10 +73,10 @@ static void print_info_flags(enum logcode f)
#endif #endif
"hardlink-specials", "hardlink-specials",
#ifndef SUPPORT_LINKS #ifndef CAN_HARDLINK_SYMLINK
"no " "no "
#endif #endif
"symlinks", "hardlink-symlinks",
#ifndef INET6 #ifndef INET6
"no " "no "
@@ -112,11 +122,6 @@ static void print_info_flags(enum logcode f)
#endif #endif
"iconv", "iconv",
#ifndef CAN_SET_SYMLINK_TIMES
"no "
#endif
"symtimes",
#ifndef SUPPORT_PREALLOCATION #ifndef SUPPORT_PREALLOCATION
"no " "no "
#endif #endif