mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 08:46:58 +08:00
use ':' instead of /bin/true for non-existing programs
This commit is contained in:
10
configure.ac
10
configure.ac
@@ -16,11 +16,11 @@ AM_PROG_CC_C_O
|
||||
if [ test "$GCC" = "yes" ];then
|
||||
CFLAGS="$CFLAGS -Wall"
|
||||
fi
|
||||
AC_PATH_PROG(CTAGS, ctags, /bin/true)
|
||||
AC_PATH_PROG(CSCOPE, cscope, /bin/true)
|
||||
AC_CHECK_PROG([AUTOGEN], [autogen], [autogen], [/bin/true])
|
||||
AC_PATH_PROG(CTAGS, ctags, [:])
|
||||
AC_PATH_PROG(CSCOPE, cscope, [:])
|
||||
AC_CHECK_PROG([AUTOGEN], [autogen], [autogen], [:])
|
||||
|
||||
if test x"$AUTOGEN" = "x/bin/true"; then
|
||||
if test x"$AUTOGEN" = "x:"; then
|
||||
AC_MSG_WARN([[
|
||||
***
|
||||
*** autogen not found. Will not link against libopts.
|
||||
@@ -441,7 +441,7 @@ if test "$NEED_LIBOPTS_DIR" = "true";then
|
||||
cp -f $i $nam
|
||||
fi
|
||||
done
|
||||
AC_SUBST([AUTOGEN], [/bin/true])
|
||||
AC_SUBST([AUTOGEN], [:])
|
||||
enable_local_libopts=yes
|
||||
else
|
||||
enable_local_libopts=no
|
||||
|
||||
Reference in New Issue
Block a user