Commit 2fccc038 authored by Niels Möller's avatar Niels Möller

sftp configure: Recognize --with-include-path. (From 99a23bb9 on lsh-2.0.4 branch)

parent 4e039a24
2013-06-16 Niels Möller <nisse@lysator.liu.se>
From lsh-2.0.4 branch:
* configure.ac: Recognize --with-include-path.
2011-02-25 Niels Möller <nisse@lysator.liu.se> 2011-02-25 Niels Möller <nisse@lysator.liu.se>
* rl.c (lsftp_rl_init): Deleted cast. * rl.c (lsftp_rl_init): Deleted cast.
......
...@@ -26,7 +26,14 @@ AC_ARG_ENABLE(after_opts, ...@@ -26,7 +26,14 @@ AC_ARG_ENABLE(after_opts,
AC_HELP_STRING([--enable-after-opts=OPTS],[set the default options to the SecSH client after the commandline.]), AC_HELP_STRING([--enable-after-opts=OPTS],[set the default options to the SecSH client after the commandline.]),
[after_opts="$withval"]) [after_opts="$withval"])
# Needed only for the nettle/nettle-types.h header.
AC_ARG_WITH(include-path,
AC_HELP_STRING([--with-include-path], [A colon-separated list of directories to search for include files]),,
[with_include_path=''])
if test x$with_include_path != x ; then
CPPFLAGS="$CPPFLAGS -I`echo $with_include_path | sed 's/:/ -I/g'`"
fi
dnl Checks for programs. dnl Checks for programs.
AC_PROG_CC AC_PROG_CC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment