/usr/bin/libIDL-config-2 is in libidl-dev 0.8.14-0.4+b1.
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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | #! /bin/sh
usage()
{
cat <<EOF
Usage: libIDL-config [OPTIONS]
Options:
[--prefix]
[--exec-prefix]
[--version]
[--libs]
[--cflags]
EOF
exit $1
}
if test $# -eq 0; then
usage 1 1>&2
fi
call_pkgconfig=no
pkgconfig_flags=
while test $# -gt 0; do
case "$1" in
-*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
*) optarg= ;;
esac
case $1 in
--prefix)
pkg-config --variable=prefix libIDL-2.0
;;
--exec-prefix)
pkg-config --variable=exec_prefix libIDL-2.0
;;
--version)
pkg-config --modversion libIDL-2.0
exit 0
;;
--cflags)
call_pkgconfig=yes
pkgconfig_flags="$pkgconfig_flags --cflags"
;;
--libs)
call_pkgconfig=yes
pkgconfig_flags="$pkgconfig_flags --libs"
;;
*)
usage 1 1>&2
;;
esac
shift
done
if test "$call_pkgconfig" = "yes"; then
exec pkg-config $pkgconfig_flags libIDL-2.0
fi
exit 0
|