GRAYBYTE WORDPRESS FILE MANAGER2272

Server IP : 198.54.121.189 / Your IP : 216.73.216.140
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /usr/share/aclocal/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /usr/share/aclocal//libxslt.m4
# Based on:
# Configure paths for LIBXML2
# Toshio Kuratomi 2001-04-21
# Adapted from:
# Configure paths for GLIB
# Owen Taylor     97-11-3
#
# Modified to work with libxslt by Thomas Schraitle 2002/10/25
# Fixed by Edward Rudd 2004/05/12

dnl AM_PATH_XSLT([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]])
dnl Test for XML, and define XML_CFLAGS and XML_LIBS
dnl
AC_DEFUN([AM_PATH_XSLT],[
AC_ARG_WITH(xslt-prefix,
            [  --with-xslt-prefix=PFX   Prefix where libxslt is installed (optional)],
            xslt_config_prefix="$withval", xslt_config_prefix="")
AC_ARG_WITH(xslt-exec-prefix,
            [  --with-xslt-exec-prefix=PFX Exec prefix where libxslt is installed (optional)],
            xslt_config_exec_prefix="$withval", xslt_config_exec_prefix="")
AC_ARG_ENABLE(xslttest,
              [  --disable-xslttest       Do not try to compile and run a test LIBXSLT program],,
              enable_xslttest=yes)

  if test x$xslt_config_exec_prefix != x ; then
     xslt_config_args="$xslt_config_args --exec-prefix=$xslt_config_exec_prefix"
     if test x${XSLT_CONFIG+set} != xset ; then
        XSLT_CONFIG=$xslt_config_exec_prefix/bin/xslt-config
     fi
  fi
  if test x$xslt_config_prefix != x ; then
     xslt_config_args="$xslt_config_args --prefix=$xslt_config_prefix"
     if test x${XSLT_CONFIG+set} != xset ; then
        XSLT_CONFIG=$xslt_config_prefix/bin/xslt-config
     fi
  fi

  AC_PATH_PROG(XSLT_CONFIG, xslt-config, no)
  min_xslt_version=ifelse([$1], ,1.0.0,[$1])
  AC_MSG_CHECKING(for libxslt - version >= $min_xslt_version)
  no_xslt=""
  if test "$XSLT_CONFIG" = "no" ; then
    no_xslt=yes
  else
    XSLT_CFLAGS=`$XSLT_CONFIG $xslt_config_args --cflags`
    XSLT_LIBS=`$XSLT_CONFIG $xslt_config_args --libs`
    xslt_config_major_version=`$XSLT_CONFIG $xslt_config_args --version | \
           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
    xslt_config_minor_version=`$XSLT_CONFIG $xslt_config_args --version | \
           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
    xslt_config_micro_version=`$XSLT_CONFIG $xslt_config_args --version | \
           sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
    if test "x$enable_xslttest" = "xyes" ; then
      ac_save_CFLAGS="$CFLAGS"
      ac_save_LIBS="$LIBS"
      CFLAGS="$CFLAGS $XSLT_CFLAGS"
      LIBS="$XSLT_LIBS $LIBS"
dnl
dnl Now check if the installed libxslt is sufficiently new.
dnl (Also sanity checks the results of xslt-config to some extent)
dnl
      rm -f conf.xslttest
      AC_TRY_RUN([
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <libxslt/xsltconfig.h>
#include <libxslt/xslt.h>
int 
main()
{
  int xslt_major_version, xslt_minor_version, xslt_micro_version;
  int major, minor, micro;
  char *tmp_version;

  system("touch conf.xslttest");

  /* Capture xslt-config output via autoconf/configure variables */
  /* HP/UX 9 (%@#!) writes to sscanf strings */
  tmp_version = (char *)strdup("$min_xslt_version");
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
     printf("%s, bad version string from xslt-config\n", "$min_xslt_version");
     exit(1);
   }
   free(tmp_version);

   /* Capture the version information from the header files */
   tmp_version = (char *)strdup(LIBXSLT_DOTTED_VERSION);
   if (sscanf(tmp_version, "%d.%d.%d", &xslt_major_version, &xslt_minor_version, &xslt_micro_version) != 3) {
     printf("%s, bad version string from libxslt includes\n", "LIBXSLT_DOTTED_VERSION");
     exit(1);
   }
   free(tmp_version);

 /* Compare xslt-config output to the libxslt headers */
  if ((xslt_major_version != $xslt_config_major_version) ||
      (xslt_minor_version != $xslt_config_minor_version) ||
      (xslt_micro_version != $xslt_config_micro_version))
    {
      printf("*** libxslt header files (version %d.%d.%d) do not match\n",
         xslt_major_version, xslt_minor_version, xslt_micro_version);
      printf("*** xslt-config (version %d.%d.%d)\n",
         $xslt_config_major_version, $xslt_config_minor_version, $xslt_config_micro_version);
      return 1;
    } 
/* Compare the headers to the library to make sure we match */
  /* Less than ideal -- doesn't provide us with return value feedback, 
   * only exits if there's a serious mismatch between header and library.
   */
    /* copied from LIBXML_TEST_VERSION; */
    xmlCheckVersion(LIBXML_VERSION);

    /* Test that the library is greater than our minimum version */
    if ((xslt_major_version > major) ||
        ((xslt_major_version == major) && (xslt_minor_version > minor)) ||
        ((xslt_major_version == major) && (xslt_minor_version == minor) &&
        (xslt_micro_version >= micro)))
      {
        return 0;
       }
     else
      {
        printf("\n*** An old version of libxslt (%d.%d.%d) was found.\n",
               xslt_major_version, xslt_minor_version, xslt_micro_version);
        printf("*** You need a version of libxslt newer than %d.%d.%d. The latest version of\n",
           major, minor, micro);
        printf("*** libxslt is always available from ftp://ftp.xmlsoft.org.\n");
        printf("***\n");
        printf("*** If you have already installed a sufficiently new version, this error\n");
        printf("*** probably means that the wrong copy of the xslt-config shell script is\n");
        printf("*** being found. The easiest way to fix this is to remove the old version\n");
        printf("*** of LIBXSLT, but you can also set the XSLT_CONFIG environment to point to the\n");
        printf("*** correct copy of xslt-config. (In this case, you will have to\n");
        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
        printf("*** so that the correct libraries are found at run-time))\n");
    }
  return 1;
}
],, no_xslt=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
       CFLAGS="$ac_save_CFLAGS"
       LIBS="$ac_save_LIBS"
     fi
  fi

  if test "x$no_xslt" = x ; then
     AC_MSG_RESULT(yes (version $xslt_config_major_version.$xslt_config_minor_version.$xslt_config_micro_version))
     ifelse([$2], , :, [$2])     
  else
     AC_MSG_RESULT(no)
     if test "$XSLT_CONFIG" = "no" ; then
       echo "*** The xslt-config script installed by LIBXSLT could not be found"
       echo "*** If libxslt was installed in PREFIX, make sure PREFIX/bin is in"
       echo "*** your path, or set the XSLT_CONFIG environment variable to the"
       echo "*** full path to xslt-config."
     else
       if test -f conf.xslttest ; then
        :
       else
          echo "*** Could not run libxslt test program, checking why..."
          CFLAGS="$CFLAGS $XSLT_CFLAGS"
          LIBS="$LIBS $XSLT_LIBS"
          AC_TRY_LINK([
#include <libxslt/xslt.h>
#include <stdio.h>
],      [ LIBXSLT_TEST_VERSION; return 0;],
        [ echo "*** The test program compiled, but did not run. This usually means"
          echo "*** that the run-time linker is not finding LIBXSLT or finding the wrong"
          echo "*** version of LIBXSLT. If it is not finding LIBXSLT, you'll need to set your"
          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
          echo "*** is required on your system"
          echo "***"
          echo "*** If you have an old version installed, it is best to remove it, although"
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH" ],
        [ echo "*** The test program failed to compile or link. See the file config.log for the"
          echo "*** exact error that occured. This usually means LIBXSLT was incorrectly installed"
          echo "*** or that you have moved LIBXSLT since it was installed. In the latter case, you"
          echo "*** may want to edit the xslt-config script: $XSLT_CONFIG" ])
          CFLAGS="$ac_save_CFLAGS"
          LIBS="$ac_save_LIBS"
       fi
     fi

     XSLT_CFLAGS=""
     XSLT_LIBS=""
     ifelse([$3], , :, [$3])
  fi
  AC_SUBST(XSLT_CFLAGS)
  AC_SUBST(XSLT_LIBS)
  rm -f conf.xslttest
])

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
June 26 2025 08:36:42
root / root
0755
bison-i18n.m4
1.879 KB
October 12 2019 12:28:39
root / root
0644
codeset.m4
0.822 KB
March 20 2016 07:37:53
root / root
0644
extern-inline.m4
4.266 KB
May 28 2016 00:29:03
root / root
0644
fcntl-o.m4
4.559 KB
March 20 2016 07:37:53
root / root
0644
fontutil.m4
13.828 KB
October 09 2021 23:41:50
root / root
0644
freetype2.m4
6.185 KB
April 22 2018 09:41:36
root / root
0644
gettext.m4
15.487 KB
May 28 2016 00:29:03
root / root
0644
glibc2.m4
0.811 KB
March 20 2016 07:37:53
root / root
0644
glibc21.m4
0.886 KB
March 20 2016 07:37:53
root / root
0644
gpg-error.m4
4.646 KB
October 12 2019 12:20:46
root / root
0644
gpgrt.m4
4.606 KB
October 12 2019 12:20:46
root / root
0644
iconv.m4
9.057 KB
March 20 2016 07:37:53
root / root
0644
intdiv0.m4
2.354 KB
May 28 2016 00:29:03
root / root
0644
intl.m4
11.836 KB
March 20 2016 07:37:53
root / root
0644
intldir.m4
0.896 KB
March 20 2016 07:37:53
root / root
0644
intlmacosx.m4
2.474 KB
March 20 2016 07:37:53
root / root
0644
intmax.m4
1.097 KB
March 20 2016 07:37:53
root / root
0644
inttypes-pri.m4
1.224 KB
March 20 2016 07:37:53
root / root
0644
inttypes_h.m4
0.996 KB
March 20 2016 07:37:53
root / root
0644
lcmessage.m4
1.333 KB
March 20 2016 07:37:53
root / root
0644
lib-ld.m4
3.597 KB
June 11 2016 12:59:32
root / root
0644
lib-link.m4
32.284 KB
June 11 2016 12:59:32
root / root
0644
lib-prefix.m4
8.268 KB
June 11 2016 12:59:32
root / root
0644
libcurl.m4
10.905 KB
December 02 2017 23:33:20
root / root
0644
libgcrypt.m4
6.091 KB
June 28 2022 11:54:07
root / root
0644
libtool.m4
298.693 KB
October 11 2019 14:55:28
root / root
0644
libxml.m4
7.696 KB
July 23 2017 05:10:06
root / root
0644
libxslt.m4
7.929 KB
May 12 2009 06:29:34
root / root
0644
lock.m4
1.429 KB
March 20 2016 07:37:53
root / root
0644
longlong.m4
4.628 KB
March 20 2016 07:37:53
root / root
0644
ltargz.m4
2.509 KB
October 11 2019 14:55:28
root / root
0644
ltdl.m4
29.326 KB
October 11 2019 14:55:28
root / root
0644
ltoptions.m4
14.174 KB
October 11 2019 14:55:28
root / root
0644
ltsugar.m4
4.281 KB
October 11 2019 14:55:28
root / root
0644
ltversion.m4
0.683 KB
October 11 2019 14:55:28
root / root
0644
lt~obsolete.m4
5.996 KB
October 11 2019 14:55:28
root / root
0644
mysql.m4
4.122 KB
May 28 2025 17:32:51
root / root
0644
nls.m4
1.194 KB
March 20 2016 07:37:53
root / root
0644
pkg.m4
12.373 KB
March 24 2017 05:16:18
root / root
0644
po.m4
18.524 KB
March 20 2016 07:37:53
root / root
0644
printf-posix.m4
1.542 KB
March 20 2016 07:37:53
root / root
0644
progtest.m4
3.02 KB
March 20 2016 07:37:53
root / root
0644
size_max.m4
2.992 KB
March 20 2016 07:37:53
root / root
0644
stdint_h.m4
0.972 KB
March 20 2016 07:37:53
root / root
0644
threadlib.m4
14.796 KB
March 20 2016 07:37:53
root / root
0644
uintmax_t.m4
1.087 KB
March 20 2016 07:37:53
root / root
0644
visibility.m4
3.272 KB
March 20 2016 07:37:53
root / root
0644
wchar_t.m4
0.799 KB
March 20 2016 07:37:53
root / root
0644
wint_t.m4
1.028 KB
March 20 2016 07:37:53
root / root
0644
xsize.m4
0.396 KB
March 20 2016 07:37:53
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF