ocserv: use getopt for command line parsing

The complexity of its command line options didn't require
the use of libopts, and by eliminating that dependency for cmd
parsing, we can chose another parser for config file parsing.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
This commit is contained in:
Nikos Mavrogiannopoulos
2018-01-13 18:46:51 +01:00
parent 6b7d09485e
commit 533677bd73
8 changed files with 88 additions and 1280 deletions

View File

@@ -536,8 +536,6 @@ AC_SUBST([ROOTGID], [$gid])
LIBOPTS_CHECK([libopts])
if test "$NEED_LIBOPTS_DIR" = "true";then
dnl create libopts-generated files
AC_CONFIG_LINKS([src/ocserv-args.c:src/ocserv-args.c.in
src/ocserv-args.h:src/ocserv-args.h.in])
AC_SUBST([AUTOGEN], [:])
enable_local_libopts=yes
else