Files
PolyORB/support/libtool-tag.m4
Thomas Quinot 5d82113e10 Use portable grep syntax to check for libtool --tag support.
[Imported from Perforce change 8324 at 2006-12-01 20:32:56]

Subversion-branch: /trunk/polyorb
Subversion-revision: 35922
2004-08-04 12:37:52 +00:00

15 lines
317 B
Plaintext

dnl Determine whether libtool supports --tag
dnl $Id$
AC_DEFUN([AC_LIBTOOL_HAS_TAG],[
AC_MSG_CHECKING([whether libtool supports --tag])
if grep "[[-]]-tag" $srcdir/support/ltmain.sh > /dev/null; then
AC_MSG_RESULT([yes])
LIBTOOL_TAG=--tag=CC
else
AC_MSG_RESULT([no])
LIBTOOL_TAG=
fi
AC_SUBST(LIBTOOL_TAG)
])