diff options
author | Darren Tucker <dtucker@zip.com.au> | 2013-12-05 11:00:16 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2013-12-05 11:00:16 +1100 |
commit | 8369c8e61a3408ec6bb75755fad4ffce29b5fdbe (patch) | |
tree | 7a1fe04e4d9919f9e672106d9e0f4be8b37cd085 | |
parent | 9275df3e0a2a3bc3897f7d664ea86a425c8a092d (diff) |
- (dtucker) [configure.ac] bz#2173: use pkg-config --libs to include correct
-L location for libedit. Patch from Serge van den Boom.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | configure.ac | 6 |
2 files changed, 5 insertions, 3 deletions
@@ -43,6 +43,8 @@ | |||
43 | [sftp-client.c] | 43 | [sftp-client.c] |
44 | bz#2171: don't leak local_fd on error; from Loganaden Velvindron @ | 44 | bz#2171: don't leak local_fd on error; from Loganaden Velvindron @ |
45 | AfriNIC | 45 | AfriNIC |
46 | - (dtucker) [configure.ac] bz#2173: use pkg-config --libs to include correct | ||
47 | -L location for libedit. Patch from Serge van den Boom. | ||
46 | 48 | ||
47 | 20131121 | 49 | 20131121 |
48 | - (djm) OpenBSD CVS Sync | 50 | - (djm) OpenBSD CVS Sync |
diff --git a/configure.ac b/configure.ac index f3fe43d7b..c691200bc 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1,4 +1,4 @@ | |||
1 | # $Id: configure.ac,v 1.543 2013/11/09 11:32:51 dtucker Exp $ | 1 | # $Id: configure.ac,v 1.544 2013/12/05 00:00:16 dtucker Exp $ |
2 | # | 2 | # |
3 | # Copyright (c) 1999-2004 Damien Miller | 3 | # Copyright (c) 1999-2004 Damien Miller |
4 | # | 4 | # |
@@ -15,7 +15,7 @@ | |||
15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
16 | 16 | ||
17 | AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) | 17 | AC_INIT([OpenSSH], [Portable], [openssh-unix-dev@mindrot.org]) |
18 | AC_REVISION($Revision: 1.543 $) | 18 | AC_REVISION($Revision: 1.544 $) |
19 | AC_CONFIG_SRCDIR([ssh.c]) | 19 | AC_CONFIG_SRCDIR([ssh.c]) |
20 | AC_LANG([C]) | 20 | AC_LANG([C]) |
21 | 21 | ||
@@ -1446,7 +1446,7 @@ AC_ARG_WITH([libedit], | |||
1446 | fi | 1446 | fi |
1447 | fi | 1447 | fi |
1448 | if test "x$use_pkgconfig_for_libedit" = "xyes"; then | 1448 | if test "x$use_pkgconfig_for_libedit" = "xyes"; then |
1449 | LIBEDIT=`$PKGCONFIG --libs-only-l libedit` | 1449 | LIBEDIT=`$PKGCONFIG --libs libedit` |
1450 | CPPFLAGS="$CPPFLAGS `$PKGCONFIG --cflags libedit`" | 1450 | CPPFLAGS="$CPPFLAGS `$PKGCONFIG --cflags libedit`" |
1451 | else | 1451 | else |
1452 | LIBEDIT="-ledit -lcurses" | 1452 | LIBEDIT="-ledit -lcurses" |