~ubuntu-branches/ubuntu/vivid/gnupg/vivid

« back to all changes in this revision

Viewing changes to m4/readline.m4

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-12-04 22:26:16 UTC
  • mfrom: (1.1.18 sid)
  • Revision ID: package-import@ubuntu.com-20121204222616-cr0fow26geq90l3y
Tags: 1.4.12-6ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Disable mlock() test since it fails with ulimit 0 (on buildds).
  - Set gpg (or gpg2) and gpgsm to use a passphrase agent by default.
  - Only suggest gnupg-curl and libldap; recommendations are pulled into
    minimal, and we don't need the keyserver utilities in a minimal Ubuntu
    system.
  - Remove the Win32 build.
  - Update config.guess/config.sub for aarch64.
* Dropped patches:
  - Fix udeb build failure on powerpc, building with -O2 instead of -Os.
    (No longer seems to be necessary.)
* Simplify removal of Win32 build, to make this easier to merge in future.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
        AC_MSG_CHECKING([whether readline via \"$_combo\" is present and sane])
32
32
 
33
 
        AC_LINK_IFELSE(AC_LANG_PROGRAM([
 
33
        AC_LINK_IFELSE([AC_LANG_PROGRAM([[
34
34
#include <stdio.h>
35
35
#include <readline/readline.h>
36
36
#include <readline/history.h>
37
 
],[
 
37
]],[[
38
38
rl_completion_func_t *completer;
39
39
add_history("foobar");
40
40
rl_catch_signals=0;
41
41
rl_inhibit_completion=0;
42
42
rl_attempted_completion_function=NULL;
43
43
rl_completion_matches(NULL,NULL);
44
 
]),_found_readline=yes,_found_readline=no)
 
44
]])],_found_readline=yes,_found_readline=no)
45
45
 
46
46
        AC_MSG_RESULT([$_found_readline])
47
47