#! /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.5 (Darwin) "2024-04-30 18:49:04""
      ;;
    -cc)
      echo 'CC="x86_64-apple-darwin13.4.0-clang"'
      ;;
    -cppflags)
      echo 'CPPFLAGS="-I\"/opt/mambaforge/envs/bioconda/conda-bld/genometools-genometools_1714502493628/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include\" -D_FORTIFY_SOURCE=2 -isystem /opt/mambaforge/envs/bioconda/conda-bld/genometools-genometools_1714502493628/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include -mmacosx-version-min=10.9 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_MEMMOVE -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DLUA_DL_DLOPEN -DLUA_USE_MKSTEMP -DWITHOUT_CAIRO -DGT_THREADS_ENABLED -DSQLITE_THREADSAFE=0 -DHAVE_SQLITE"'
      ;;
    -cflags)
      echo 'CFLAGS="-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -fPIE -isystem /opt/mambaforge/envs/bioconda/conda-bld/genometools-genometools_1714502493628/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include -fdebug-prefix-map=/opt/mambaforge/envs/bioconda/conda-bld/genometools-genometools_1714502493628/work=/usr/local/src/conda/genometools-genometools-1.6.5 -fdebug-prefix-map=/opt/mambaforge/envs/bioconda/conda-bld/genometools-genometools_1714502493628/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_=/usr/local/src/conda-prefix"'
      ;;
    -cxx)
      echo 'CXX="x86_64-apple-darwin13.4.0-clang++"'
      ;;
    -cxxflags)
      echo 'CXXFLAGS="-march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -fPIE -isystem /opt/mambaforge/envs/bioconda/conda-bld/genometools-genometools_1714502493628/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include -fdebug-prefix-map=/opt/mambaforge/envs/bioconda/conda-bld/genometools-genometools_1714502493628/work=/usr/local/src/conda/genometools-genometools-1.6.5 -fdebug-prefix-map=/opt/mambaforge/envs/bioconda/conda-bld/genometools-genometools_1714502493628/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_=/usr/local/src/conda-prefix"'
      ;;
    -ldflags)
      echo 'LDFLAGS="-L/opt/mambaforge/envs/bioconda/conda-bld/genometools-genometools_1714502493628/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-pie -Wl,-rpath,/opt/mambaforge/envs/bioconda/conda-bld/genometools-genometools_1714502493628/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib -L/opt/mambaforge/envs/bioconda/conda-bld/genometools-genometools_1714502493628/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/lib -L/usr/local/lib"'
      ;;
    -libs)
      echo 'LIBS=" -lm -ldl -lpthread -lpthread -ldl"'
      ;;
    -all)
      exec $0 $options
      ;;
    *)
      echo "Invalid argument: $arg"
      ;;
  esac
done