MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /proc/self/root/usr/bin/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/usr/bin/tn5250-config
#!/bin/sh
# vi:set sts=2 sw=2 autoindent:
#
# tn5250-config - Shell script for retreiving tn5250/lib5250 configuration
#                 parameters.
#

prefix="/usr"
exec_prefix="/usr"
bindir="/usr/bin"
sbindir="/usr/sbin"
libexecdir="/usr/libexec"
datadir="/usr/share"
sysconfdir="/etc"
sharedstatedir="/usr/com"
localstatedir="/var"
libdir="/usr/lib"
infodir="/usr/share/info"
mandir="/usr/share/man"
includedir="/usr/include"
oldincludedir="/usr/include"
LIBS="-lssl -lcrypto -lnsl -lncurses "
VERSION="0.17.3"

syntax () {
  cat <<EOF
$(basename $0) - shell script to get tn5250/lib5250 config.
Syntax:
  tn5250-config [options]

Options:
  --libs            Print libs and other linker flags necessary for creating
                    a -l5250 based program.
  --cflags          Print C compiler flags necessary for creating a -l5250
                    based program.
  --version         Print the version of the installed library.

EOF
  exit 1
}

case "$1" in
  --cflags)
    echo "-I$includedir";;
  --libs)
    echo "-L$libdir -l5250 $LIBS";;
  --version)
    echo "$VERSION";;
  *)
    syntax;;
esac
exit 0

Anon7 - 2021