#!/bin/sh

case $1 in
  --version)
    echo 3.0.0;;
  --prefix)
    echo /mt/home/dreichelt/batch/workspace/LH23-VBF/branch-223/sherpa/../install;;
  --libs)
    echo -L/mt/home/dreichelt/batch/workspace/LH23-VBF/branch-223/sherpa/../install/lib/SHERPA-MC -lSherpaMain  -L/mt/home/dreichelt/hepsoftware/lib -R/mt/home/dreichelt/hepsoftware/lib -L/mt/home/dreichelt/hepsoftware/lib64 -R/mt/home/dreichelt/hepsoftware/lib64 -lHepMC3 -L/mt/home/dreichelt/hepsoftware/lib -L/mt/home/dreichelt/hepsoftware/lib64 -lHepMC3 -lHepMC3search -L/mt/home/dreichelt/hepsoftware/lib64 -lYODA -Wl,-rpath,/mt/home/dreichelt/hepsoftware/lib -L/mt/home/dreichelt/hepsoftware/lib -lfastjettools -lfastjet -lm -lfastjetplugins -lsiscone_spherical -lsiscone -lfastjetcontribfragile -lfastjettools -lRivet @CONDITIONAL_FASTJETLIBS@  -L/mt/home/dreichelt/hepsoftware/lib -lLHAPDF;;
  --python-libs)
    echo ;;
  --load-mpi4py)
    echo ;;
  --incdir)
    echo /mt/home/dreichelt/batch/workspace/LH23-VBF/branch-223/sherpa/../install/include/SHERPA-MC;;
  --libdir)
    echo /mt/home/dreichelt/batch/workspace/LH23-VBF/branch-223/sherpa/../install/lib/SHERPA-MC;;
  --datadir)
    echo /mt/home/dreichelt/batch/workspace/LH23-VBF/branch-223/sherpa/../install/share/SHERPA-MC;;
  --ldflags)
    echo -L/mt/home/dreichelt/batch/workspace/LH23-VBF/branch-223/sherpa/../install/lib/SHERPA-MC -lSherpaMain  -L/mt/home/dreichelt/hepsoftware/lib -R/mt/home/dreichelt/hepsoftware/lib -L/mt/home/dreichelt/hepsoftware/lib64 -R/mt/home/dreichelt/hepsoftware/lib64 -lHepMC3 -L/mt/home/dreichelt/hepsoftware/lib -L/mt/home/dreichelt/hepsoftware/lib64 -lHepMC3 -lHepMC3search -L/mt/home/dreichelt/hepsoftware/lib64 -lYODA -Wl,-rpath,/mt/home/dreichelt/hepsoftware/lib -L/mt/home/dreichelt/hepsoftware/lib -lfastjettools -lfastjet -lm -lfastjetplugins -lsiscone_spherical -lsiscone -lfastjetcontribfragile -lfastjettools -lRivet @CONDITIONAL_FASTJETLIBS@  -L/mt/home/dreichelt/hepsoftware/lib -lLHAPDF;;
  --cppflags)
    echo -I/mt/home/dreichelt/batch/workspace/LH23-VBF/branch-223/sherpa/../install/include/SHERPA-MC  -I/mt/home/dreichelt/hepsoftware/include -I/mt/home/dreichelt/hepsoftware/include -I/mt/home/dreichelt/hepsoftware/include -I/mt/home/dreichelt/hepsoftware/include -I/mt/home/dreichelt/hepsoftware/include @CONDITIONAL_FASTJETINCS@  -O3 -I/mt/home/dreichelt/hepsoftware/include;;
  --cxx)
    echo g++ -Wl,--no-as-needed;;
  --fc)
    echo /opt/rh/devtoolset-8/root/bin/gfortran;;
  *)
    echo "Sherpa-config: configuration tool for the Monte Carlo";
    echo "               event generator Sherpa: http://sherpa.hepforge.org";
    echo "Options:";
    echo "  Sherpa-config --version     : returns Sherpa version";
    echo "  Sherpa-config --prefix      : returns the installation path";
    echo "  Sherpa-config --incdir      : returns the path of Sherpa headers";
    echo "  Sherpa-config --libs        : returns the linker line to link with Sherpa";
    echo "  Sherpa-config --datadir     : returns the path of Sherpa data (like Decaydata, PDFs)";
    echo "  Sherpa-config --ldflags     : returns the LDFLAGS used for Sherpa";
    echo "  Sherpa-config --cppflags    : returns the preprocessor FLAGS needed for Sherpa headers";
    echo "  Sherpa-config --cxx         : returns the C++ compiler used";
    echo "  Sherpa-config --fc          : returns the FORTRAN compiler used";
    echo "  Sherpa-config --python-libs : returns the installation path of python libraries";;
esac

