/usr/bin/ecl-config is in ecl 16.1.2-3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | #!/bin/sh
# bin/ecl-config.pre. Generated from ecl-config by configure.
usage()
{
cat <<EOF
Usage: $0 [OPTIONS] [LIBS]
Options:
[--cflags]
[--libs|--ldflags]
Libs:
cmp
EOF
}
LDFLAGS="-lecl"
for i in $*; do
case $i in
--cflags|-c)
echo_cflags=yes
;;
--libs|--ldflags|-l)
echo_ldflags=yes
;;
cmp)
LDFLAGS="$LDFLAGS -lcmp"
;;
*)
usage 1 >&2
;;
esac;
done
if test "$echo_cflags" = "yes"; then
echo "-Dlinux -I/usr/include/"
fi
if test "$echo_ldflags" = "yes"; then
echo " -L/usr/lib/ $LDFLAGS -lgc -lgc -lpthread -ldl -lm "
fi
|