workaround for broken libIDL-config in libIDL 0.6.7 and lower (so we don't have to force people to upgrade so quickly)

This commit is contained in:
alecf%netscape.com 1999-04-19 22:07:12 +00:00
parent 69a603c8a9
commit 99ecfeb9bb

View File

@ -38,6 +38,10 @@ AC_ARG_ENABLE(libIDLtest, [ --disable-libIDLtest Do not try to compile an
else
LIBIDL_CFLAGS=`$LIBIDL_CONFIG $libIDL_config_args --cflags`
LIBIDL_LIBS=`$LIBIDL_CONFIG $libIDL_config_args --libs`
# hack to allow us to keep using libIDL 0.6.3-0.6.7. Anyone may remove
# this after we start requiring libIDL 0.6.8 or anything higher
LIBIDL_CFLAGS='$GLIB_CFLAGS $LIBIDL_CFLAGS'
LIBIDL_LIBS='$GLIB_LIBS $LIBIDL_LIBS'
libIDL_config_major_version=`$LIBIDL_CONFIG $libIDL_config_args --version | \
sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
libIDL_config_minor_version=`$LIBIDL_CONFIG $libIDL_config_args --version | \