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
Upload Files :
Command :
Current File : /opt/cpanel/libmcrypt/bin//libmcrypt-config
#!/bin/sh
prefix=/opt/cpanel/libmcrypt
exec_prefix=${prefix}
exec_prefix_set=no
mcrypt_libs=" -L/opt/cpanel/libmcrypt/lib64 -lmcrypt "
mcrypt_cflags="-I${prefix}/include"
usage()
{
cat <<EOF
Usage: libmcrypt-config [OPTIONS]
Options:
[--prefix[=DIR]]
[--exec-prefix[=DIR]]
[--version]
[--libs]
[--cflags]
EOF
exit $1
}
if test $# -eq 0; then
usage 1 1>&2
fi
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg= ;;
esac
case $1 in
--prefix=*)
prefix=$optarg
if test $exec_prefix_set = no ; then
exec_prefix=$optarg
fi
;;
--prefix)
echo_prefix=yes
;;
--exec-prefix=*)
exec_prefix=$optarg
exec_prefix_set=yes
;;
--exec-prefix)
echo_exec_prefix=yes
;;
--version)
echo "2.5.8"
exit 0
;;
--cflags)
echo_cflags=yes
;;
--libs)
echo_libs=yes
;;
*)
usage 1 1>&2
;;
esac
shift
done
if test "$echo_prefix" = "yes"; then
echo $prefix
fi
if test "$echo_exec_prefix" = "yes"; then
echo $exec_prefix
fi
if test "$echo_cflags" = "yes"; then
if test "${prefix}/include" != "/usr/include" ; then
includes="-I${prefix}/include"
for i in $mcrypt_cflags ; do
if test "$i" = "-I${prefix}/include" ; then
includes=""
fi
done
fi
echo $includes $mcrypt_cflags
fi
if test "$echo_libs" = "yes"; then
echo ${mcrypt_libs}
fi
Name |
Size |
Last Modified |
Owner / Group |
Permissions |
Options |
.. | -- | March 03 2024 20:38:36 | root / root | 0755 | |
| | | | | |
libmcrypt-config | 1.446 KB | October 10 2020 18:25:22 | root / root | 0755 | |