mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +08:00
delete libopts generated files if system libopts is being used
This commit is contained in:
@@ -124,6 +124,11 @@ LIBS="$oldlibs"
|
||||
AM_CONDITIONAL(PCL, test "$pcl_enabled" = yes)
|
||||
|
||||
LIBOPTS_CHECK([libopts])
|
||||
if [ test "$NEED_LIBOPTS_DIR" != "true" ];then
|
||||
dnl delete libopts-generated files
|
||||
rm -f src/ocserv-args.c src/ocserv-args.h
|
||||
rm -f src/ocpasswd-args.c src/ocpasswd-args.h
|
||||
fi
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
|
||||
Reference in New Issue
Block a user