Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
--- libassuan-2.4.3.orig/configure	2016-07-14 10:11:48.000000000 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
+++ libassuan-2.4.3/configure	2016-10-18 22:20:05.511896688 +0200
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
@@ -14171,187 +14171,8 @@
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
 
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
 # Checking for libgpg-error.
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
 
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  gpg_error_config_prefix=""
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-# Check whether --with-libgpg-error-prefix was given.
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-if test "${with_libgpg_error_prefix+set}" = set; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  withval=$with_libgpg_error_prefix; gpg_error_config_prefix="$withval"
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-fi
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-# Check whether --with-gpg-error-prefix was given.
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-if test "${with_gpg_error_prefix+set}" = set; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  withval=$with_gpg_error_prefix; gpg_error_config_prefix="$withval"
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-fi
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  if test x$gpg_error_config_prefix != x ; then
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-     if test x${GPG_ERROR_CONFIG+set} != xset ; then
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-        GPG_ERROR_CONFIG=$gpg_error_config_prefix/bin/gpg-error-config
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-     fi
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  fi
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  if test -n "$ac_tool_prefix"; then
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  # Extract the first word of "${ac_tool_prefix}gpg-error-config", so it can be a program name with args.
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-set dummy ${ac_tool_prefix}gpg-error-config; ac_word=$2
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-$as_echo_n "checking for $ac_word... " >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-if ${ac_cv_path_GPG_ERROR_CONFIG+:} false; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  $as_echo_n "(cached) " >&6
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-else
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  case $GPG_ERROR_CONFIG in
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  [\\/]* | ?:[\\/]*)
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  ac_cv_path_GPG_ERROR_CONFIG="$GPG_ERROR_CONFIG" # Let the user override the test with a path.
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  *)
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-for as_dir in $PATH
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-do
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  IFS=$as_save_IFS
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  test -z "$as_dir" && as_dir=.
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    for ac_exec_ext in '' $ac_executable_extensions; do
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    ac_cv_path_GPG_ERROR_CONFIG="$as_dir/$ac_word$ac_exec_ext"
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    break 2
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  fi
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-done
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  done
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-IFS=$as_save_IFS
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-esac
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-fi
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-GPG_ERROR_CONFIG=$ac_cv_path_GPG_ERROR_CONFIG
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-if test -n "$GPG_ERROR_CONFIG"; then
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GPG_ERROR_CONFIG" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-$as_echo "$GPG_ERROR_CONFIG" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-else
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-$as_echo "no" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-fi
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-fi
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-if test -z "$ac_cv_path_GPG_ERROR_CONFIG"; then
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  ac_pt_GPG_ERROR_CONFIG=$GPG_ERROR_CONFIG
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  # Extract the first word of "gpg-error-config", so it can be a program name with args.
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-set dummy gpg-error-config; ac_word=$2
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-$as_echo_n "checking for $ac_word... " >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-if ${ac_cv_path_ac_pt_GPG_ERROR_CONFIG+:} false; then :
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  $as_echo_n "(cached) " >&6
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-else
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  case $ac_pt_GPG_ERROR_CONFIG in
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  [\\/]* | ?:[\\/]*)
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  ac_cv_path_ac_pt_GPG_ERROR_CONFIG="$ac_pt_GPG_ERROR_CONFIG" # Let the user override the test with a path.
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  *)
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-for as_dir in $PATH
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-do
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  IFS=$as_save_IFS
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  test -z "$as_dir" && as_dir=.
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    for ac_exec_ext in '' $ac_executable_extensions; do
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    ac_cv_path_ac_pt_GPG_ERROR_CONFIG="$as_dir/$ac_word$ac_exec_ext"
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    break 2
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  fi
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-done
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  done
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-IFS=$as_save_IFS
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-esac
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-fi
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-ac_pt_GPG_ERROR_CONFIG=$ac_cv_path_ac_pt_GPG_ERROR_CONFIG
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-if test -n "$ac_pt_GPG_ERROR_CONFIG"; then
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_GPG_ERROR_CONFIG" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-$as_echo "$ac_pt_GPG_ERROR_CONFIG" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-else
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-$as_echo "no" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-fi
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  if test "x$ac_pt_GPG_ERROR_CONFIG" = x; then
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    GPG_ERROR_CONFIG="no"
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  else
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    case $cross_compiling:$ac_tool_warned in
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-yes:)
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-ac_tool_warned=yes ;;
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-esac
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    GPG_ERROR_CONFIG=$ac_pt_GPG_ERROR_CONFIG
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  fi
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-else
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  GPG_ERROR_CONFIG="$ac_cv_path_GPG_ERROR_CONFIG"
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-fi
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  min_gpg_error_version=1.17
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GPG Error - version >= $min_gpg_error_version" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-$as_echo_n "checking for GPG Error - version >= $min_gpg_error_version... " >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  ok=no
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  if test "$GPG_ERROR_CONFIG" != "no" \
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-     && test -f "$GPG_ERROR_CONFIG" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    req_major=`echo $min_gpg_error_version | \
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-               sed 's/\([0-9]*\)\.\([0-9]*\)/\1/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    req_minor=`echo $min_gpg_error_version | \
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-               sed 's/\([0-9]*\)\.\([0-9]*\)/\2/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    gpg_error_config_version=`$GPG_ERROR_CONFIG $gpg_error_config_args --version`
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    major=`echo $gpg_error_config_version | \
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-               sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    minor=`echo $gpg_error_config_version | \
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-               sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    if test "$major" -gt "$req_major"; then
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-        ok=yes
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    else
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-        if test "$major" -eq "$req_major"; then
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-            if test "$minor" -ge "$req_minor"; then
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-               ok=yes
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-            fi
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-        fi
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    fi
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  fi
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  if test $ok = yes; then
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    GPG_ERROR_CFLAGS=`$GPG_ERROR_CONFIG $gpg_error_config_args --cflags`
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    GPG_ERROR_LIBS=`$GPG_ERROR_CONFIG $gpg_error_config_args --libs`
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($gpg_error_config_version)" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-$as_echo "yes ($gpg_error_config_version)" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    :
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    gpg_error_config_host=`$GPG_ERROR_CONFIG $gpg_error_config_args --host 2>/dev/null || echo none`
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    if test x"$gpg_error_config_host" != xnone ; then
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-      if test x"$gpg_error_config_host" != x"$host" ; then
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-***
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-*** The config script $GPG_ERROR_CONFIG was
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-*** built for $gpg_error_config_host and thus may not match the
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-*** used host $host.
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-*** You may want to use the configure option --with-gpg-error-prefix
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-*** to specify a matching config script.
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-***" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-$as_echo "$as_me: WARNING:
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-***
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-*** The config script $GPG_ERROR_CONFIG was
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-*** built for $gpg_error_config_host and thus may not match the
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-*** used host $host.
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-*** You may want to use the configure option --with-gpg-error-prefix
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-*** to specify a matching config script.
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-***" >&2;}
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-      fi
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    fi
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  else
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    GPG_ERROR_CFLAGS=""
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    GPG_ERROR_LIBS=""
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-$as_echo "no" >&6; }
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-    as_fn_error $? "libgpg-error was not found" "$LINENO" 5
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-  fi
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
-
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
+#Overcomplicated useless checking for gpg-error, use CFLAGS and LDFLAGS! >:(
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
+    GPG_ERROR_LIBS="-lgpg-error"
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
 
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
 #
Lucio Andrés Illanes Albornoz (arab, vxp) 79884d
 # Checks for library functions.