Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,11 @@ AC_CHECK_LIB([crypt], [crypt], [LIBCRYPT=-lcrypt],
[AC_MSG_ERROR([crypt() not found])])
AC_SUBST([LIBCRYPT])

AC_CHECK_LIB([a2i], [str2si], [LIBA2I=-la2i],
[AC_MSG_ERROR([str2si() not found])])
AC_SUBST([LIBA2I])


AC_SUBST([LIBBSD])
if test "$with_libbsd" != "no"; then
AC_SEARCH_LIBS([readpassphrase], [bsd], [], [
Expand Down
24 changes: 1 addition & 23 deletions lib/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ libshadow_la_CPPFLAGS += -DVENDORDIR=\"$(VENDORDIR)\"
endif

libshadow_la_CPPFLAGS += -I$(top_srcdir)
libshadow_la_CFLAGS = $(LIBBSD_CFLAGS) $(LIBCRYPT_PAM) $(LIBSYSTEMD)
libshadow_la_CFLAGS = $(LIBBSD_CFLAGS) $(LIBA2I) $(LIBCRYPT_PAM) $(LIBSYSTEMD)
libshadow_la_LIBADD = $(LIBADD_DLOPEN)

libshadow_la_SOURCES = \
Expand All @@ -37,30 +37,8 @@ libshadow_la_SOURCES = \
alloc/realloc.h \
alloc/reallocf.c \
alloc/reallocf.h \
atoi/a2i/a2i.c \
atoi/a2i/a2i.h \
atoi/a2i/a2s.c \
atoi/a2i/a2s.h \
atoi/a2i/a2s_c.c \
atoi/a2i/a2s_c.h \
atoi/a2i/a2s_nc.c \
atoi/a2i/a2s_nc.h \
atoi/a2i/a2u.c \
atoi/a2i/a2u.h \
atoi/a2i/a2u_c.c \
atoi/a2i/a2u_c.h \
atoi/a2i/a2u_nc.c \
atoi/a2i/a2u_nc.h \
atoi/getnum.c \
atoi/getnum.h \
atoi/str2i.c \
atoi/str2i.h \
atoi/strtoi/strtoi.c \
atoi/strtoi/strtoi.h \
atoi/strtoi/strtou.c \
atoi/strtoi/strtou.h \
atoi/strtoi/strtou_noneg.c \
atoi/strtoi/strtou_noneg.h \
attr.h \
audit_help.c \
basename.c \
Expand Down
7 changes: 0 additions & 7 deletions lib/atoi/a2i/a2i.c

This file was deleted.

62 changes: 0 additions & 62 deletions lib/atoi/a2i/a2i.h

This file was deleted.

7 changes: 0 additions & 7 deletions lib/atoi/a2i/a2s.c

This file was deleted.

20 changes: 0 additions & 20 deletions lib/atoi/a2i/a2s.h

This file was deleted.

17 changes: 0 additions & 17 deletions lib/atoi/a2i/a2s_c.c

This file was deleted.

64 changes: 0 additions & 64 deletions lib/atoi/a2i/a2s_c.h

This file was deleted.

17 changes: 0 additions & 17 deletions lib/atoi/a2i/a2s_nc.c

This file was deleted.

91 changes: 0 additions & 91 deletions lib/atoi/a2i/a2s_nc.h

This file was deleted.

7 changes: 0 additions & 7 deletions lib/atoi/a2i/a2u.c

This file was deleted.

20 changes: 0 additions & 20 deletions lib/atoi/a2i/a2u.h

This file was deleted.

19 changes: 0 additions & 19 deletions lib/atoi/a2i/a2u_c.c

This file was deleted.

Loading
Loading