#!/bin/sh
for i in $*; do
case $i in
--cc)
echo_cc=yes
;;
--cflags)
echo_cflags=yes
;;
--includes)
echo_includes=yes
;;
--ldflags)
echo_ldflags=yes
;;
--libs)
echo_libs=yes
;;
*)
exit 1
;;
esac;
done
if test "$echo_cc" = "yes"; then
echo "/usr/bin/g++"
fi
if test "$echo_cflags" = "yes"; then
echo "-g"
fi
if test "$echo_includes" = "yes"; then
echo "-I@buildroot@/usr/include"
fi
if test "$echo_ldflags" = "yes"; then
echo "-L@buildroot@@libdir@"
fi
if test "$echo_libs" = "yes"; then
echo "-lpolymake -lpolymake-apps -lmpfr -lgmp -lpthread -lxml2 -lz -llzma -lm -ldl"
fi