404

[ Avaa Bypassed ]




Upload:

Command:

elspacio@3.138.137.244: ~ $
# gpg-error.m4 - autoconf macro to detect libgpg-error.
# Copyright (C) 2002, 2003, 2004, 2011, 2014 g10 Code GmbH
#
# This file is free software; as a special exception the author gives
# unlimited permission to copy and/or distribute it, with or without
# modifications, as long as this notice is preserved.
#
# This file is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
#
# Last-changed: 2014-10-02


dnl AM_PATH_GPG_ERROR([MINIMUM-VERSION,
dnl                   [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND ]]])
dnl
dnl Test for libgpg-error and define GPG_ERROR_CFLAGS, GPG_ERROR_LIBS,
dnl GPG_ERROR_MT_CFLAGS, and GPG_ERROR_MT_LIBS.  The _MT_ variants are
dnl used for programs requireing real multi thread support.
dnl
dnl If a prefix option is not used, the config script is first
dnl searched in $SYSROOT/bin and then along $PATH.  If the used
dnl config script does not match the host specification the script
dnl is added to the gpg_config_script_warn variable.
dnl
AC_DEFUN([AM_PATH_GPG_ERROR],
[ AC_REQUIRE([AC_CANONICAL_HOST])
  gpg_error_config_prefix=""
  dnl --with-libgpg-error-prefix=PFX is the preferred name for this option,
  dnl since that is consistent with how our three siblings use the directory/
  dnl package name in --with-$dir_name-prefix=PFX.
  AC_ARG_WITH(libgpg-error-prefix,
              AC_HELP_STRING([--with-libgpg-error-prefix=PFX],
                             [prefix where GPG Error is installed (optional)]),
              [gpg_error_config_prefix="$withval"])

  dnl Accept --with-gpg-error-prefix and make it work the same as
  dnl --with-libgpg-error-prefix above, for backwards compatibility,
  dnl but do not document this old, inconsistently-named option.
  AC_ARG_WITH(gpg-error-prefix,,
              [gpg_error_config_prefix="$withval"])

  if test x"${GPG_ERROR_CONFIG}" = x ; then
     if test x"${gpg_error_config_prefix}" != x ; then
        GPG_ERROR_CONFIG="${gpg_error_config_prefix}/bin/gpg-error-config"
     else
       case "${SYSROOT}" in
         /*)
           if test -x "${SYSROOT}/bin/gpg-error-config" ; then
             GPG_ERROR_CONFIG="${SYSROOT}/bin/gpg-error-config"
           fi
           ;;
         '')
           ;;
          *)
           AC_MSG_WARN([Ignoring \$SYSROOT as it is not an absolute path.])
           ;;
       esac
     fi
  fi

  AC_PATH_PROG(GPG_ERROR_CONFIG, gpg-error-config, no)
  min_gpg_error_version=ifelse([$1], ,0.0,$1)
  AC_MSG_CHECKING(for GPG Error - version >= $min_gpg_error_version)
  ok=no
  if test "$GPG_ERROR_CONFIG" != "no" \
     && test -f "$GPG_ERROR_CONFIG" ; then
    req_major=`echo $min_gpg_error_version | \
               sed 's/\([[0-9]]*\)\.\([[0-9]]*\)/\1/'`
    req_minor=`echo $min_gpg_error_version | \
               sed 's/\([[0-9]]*\)\.\([[0-9]]*\)/\2/'`
    gpg_error_config_version=`$GPG_ERROR_CONFIG $gpg_error_config_args --version`
    major=`echo $gpg_error_config_version | \
               sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'`
    minor=`echo $gpg_error_config_version | \
               sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\2/'`
    if test "$major" -gt "$req_major"; then
        ok=yes
    else
        if test "$major" -eq "$req_major"; then
            if test "$minor" -ge "$req_minor"; then
               ok=yes
            fi
        fi
    fi
  fi
  if test $ok = yes; then
    GPG_ERROR_CFLAGS=`$GPG_ERROR_CONFIG $gpg_error_config_args --cflags`
    GPG_ERROR_LIBS=`$GPG_ERROR_CONFIG $gpg_error_config_args --libs`
    GPG_ERROR_MT_CFLAGS=`$GPG_ERROR_CONFIG $gpg_error_config_args --mt --cflags 2>/dev/null`
    GPG_ERROR_MT_LIBS=`$GPG_ERROR_CONFIG $gpg_error_config_args --mt --libs 2>/dev/null`
    AC_MSG_RESULT([yes ($gpg_error_config_version)])
    ifelse([$2], , :, [$2])
    gpg_error_config_host=`$GPG_ERROR_CONFIG $gpg_error_config_args --host 2>/dev/null || echo none`
    if test x"$gpg_error_config_host" != xnone ; then
      if test x"$gpg_error_config_host" != x"$host" ; then
  AC_MSG_WARN([[
***
*** The config script $GPG_ERROR_CONFIG was
*** built for $gpg_error_config_host and thus may not match the
*** used host $host.
*** You may want to use the configure option --with-libgpg-error-prefix
*** to specify a matching config script or use \$SYSROOT.
***]])
        gpg_config_script_warn="$gpg_config_script_warn libgpg-error"
      fi
    fi
  else
    GPG_ERROR_CFLAGS=""
    GPG_ERROR_LIBS=""
    GPG_ERROR_MT_CFLAGS=""
    GPG_ERROR_MT_LIBS=""
    AC_MSG_RESULT(no)
    ifelse([$3], , :, [$3])
  fi
  AC_SUBST(GPG_ERROR_CFLAGS)
  AC_SUBST(GPG_ERROR_LIBS)
  AC_SUBST(GPG_ERROR_MT_CFLAGS)
  AC_SUBST(GPG_ERROR_MT_LIBS)
])

Filemanager

Name Type Size Permission Actions
bison-i18n.m4 File 1.88 KB 0644
codeset.m4 File 842 B 0644
extern-inline.m4 File 4.27 KB 0644
fcntl-o.m4 File 4.56 KB 0644
fontutil.m4 File 13.83 KB 0644
freetype2.m4 File 6.18 KB 0644
gettext.m4 File 15.49 KB 0644
glibc2.m4 File 830 B 0644
glibc21.m4 File 907 B 0644
gpg-error.m4 File 4.65 KB 0644
gpgrt.m4 File 4.61 KB 0644
iconv.m4 File 9.06 KB 0644
intdiv0.m4 File 2.35 KB 0644
intl.m4 File 11.84 KB 0644
intldir.m4 File 917 B 0644
intlmacosx.m4 File 2.47 KB 0644
intmax.m4 File 1.1 KB 0644
inttypes-pri.m4 File 1.22 KB 0644
inttypes_h.m4 File 1020 B 0644
lcmessage.m4 File 1.33 KB 0644
lib-ld.m4 File 3.6 KB 0644
lib-link.m4 File 32.28 KB 0644
lib-prefix.m4 File 8.27 KB 0644
libgcrypt.m4 File 6.09 KB 0644
libtool.m4 File 298.69 KB 0644
libxml.m4 File 7.7 KB 0644
libxslt.m4 File 7.93 KB 0644
lock.m4 File 1.43 KB 0644
longlong.m4 File 4.63 KB 0644
ltargz.m4 File 2.51 KB 0644
ltdl.m4 File 29.33 KB 0644
ltoptions.m4 File 14.17 KB 0644
ltsugar.m4 File 4.28 KB 0644
ltversion.m4 File 699 B 0644
lt~obsolete.m4 File 6 KB 0644
mysql.m4 File 4.42 KB 0644
nls.m4 File 1.19 KB 0644
pkg.m4 File 12.37 KB 0644
po.m4 File 18.52 KB 0644
printf-posix.m4 File 1.54 KB 0644
progtest.m4 File 3.02 KB 0644
size_max.m4 File 2.99 KB 0644
stdint_h.m4 File 995 B 0644
threadlib.m4 File 14.8 KB 0644
uintmax_t.m4 File 1.09 KB 0644
visibility.m4 File 3.27 KB 0644
wchar_t.m4 File 818 B 0644
wint_t.m4 File 1.03 KB 0644
xsize.m4 File 406 B 0644