diff options
Diffstat (limited to 'net/ocserv/files/patch-configure.ac')
| -rw-r--r-- | net/ocserv/files/patch-configure.ac | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/net/ocserv/files/patch-configure.ac b/net/ocserv/files/patch-configure.ac new file mode 100644 index 000000000000..22a9a5f447bc --- /dev/null +++ b/net/ocserv/files/patch-configure.ac @@ -0,0 +1,36 @@ +--- configure.ac.orig 2015-08-06 16:43:09 UTC ++++ 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, /usr/bin/true) ++AC_PATH_PROG(CSCOPE, cscope, /usr/bin/true) ++AC_CHECK_PROG([AUTOGEN], [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. +@@ -124,7 +124,7 @@ if test "$test_for_libnl" = yes;then + fi + + have_readline=no +-AC_LIB_HAVE_LINKFLAGS(readline,, [ ++AC_LIB_HAVE_LINKFLAGS(readline,ncurses, [ + #include <stdio.h> + #include <readline/readline.h>], [rl_replace_line(0,0);]) + if test x$ac_cv_libreadline = xyes; then +@@ -441,7 +441,7 @@ if test "$NEED_LIBOPTS_DIR" = "true";the + cp -f $i $nam + fi + done +- AC_SUBST([AUTOGEN], [/bin/true]) ++ AC_SUBST([AUTOGEN], [autogen]) + enable_local_libopts=yes + else + enable_local_libopts=no |
