#! /bin/sh options="-version -cc -cppflags -cflags -ldflags -cxx -cxxflags -libs" if [ "$#" -eq 0 -o "$1" = '-h' -o "$1" = -help ]; then echo "usage: $0 OPT..." echo " where OPT is one or more from the following list:" echo "$options" -all exit 1 fi for arg in "$@"; do case "$arg" in -version) echo "genometools 1.6.2 (Linux) "2022-02-21 20:50:49"" ;; -cc) echo 'CC="/opt/conda/conda-bld/genometools-genometools_1645475465028/_build_env/bin/x86_64-conda-linux-gnu-cc"' ;; -cppflags) echo 'CPPFLAGS="-I\"/home/passala/miniconda3/envs/py39/include\" -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/passala/miniconda3/envs/py39/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_MEMMOVE -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DLUA_DL_DLOPEN -DLUA_USE_MKSTEMP -DGT_THREADS_ENABLED -DSQLITE_THREADSAFE=0 -DHAVE_SQLITE"' ;; -cflags) echo 'CFLAGS="-march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/passala/miniconda3/envs/py39/include -fdebug-prefix-map=/opt/conda/conda-bld/genometools-genometools_1645475465028/work=/usr/local/src/conda/genometools-genometools-1.6.2 -fdebug-prefix-map=/home/passala/miniconda3/envs/py39=/usr/local/src/conda-prefix"' ;; -cxx) echo 'CXX="/opt/conda/conda-bld/genometools-genometools_1645475465028/_build_env/bin/x86_64-conda-linux-gnu-c++"' ;; -cxxflags) echo 'CXXFLAGS="-fvisibility-inlines-hidden -std=c++17 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/passala/miniconda3/envs/py39/include -fdebug-prefix-map=/opt/conda/conda-bld/genometools-genometools_1645475465028/work=/usr/local/src/conda/genometools-genometools-1.6.2 -fdebug-prefix-map=/home/passala/miniconda3/envs/py39=/usr/local/src/conda-prefix"' ;; -ldflags) echo 'LDFLAGS="-L/home/passala/miniconda3/envs/py39/lib -Wl,-O2 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,--disable-new-dtags -Wl,--gc-sections -Wl,--allow-shlib-undefined -Wl,-rpath,/home/passala/miniconda3/envs/py39/lib -Wl,-rpath-link,/home/passala/miniconda3/envs/py39/lib -L/home/passala/miniconda3/envs/py39/lib -L/usr/local/lib"' ;; -libs) echo 'LIBS=" -lm -ldl -L/home/passala/miniconda3/envs/py39/lib -lpango-1.0 -lgobject-2.0 -lharfbuzz -lglib-2.0 -L/home/passala/miniconda3/envs/py39/lib -lcairo -L/home/passala/miniconda3/envs/py39/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lharfbuzz -lglib-2.0 -lpthread -lpthread -ldl"' ;; -all) exec $0 $options ;; *) echo "Invalid argument: $arg" ;; esac done