Lines 148-169
Link Here
|
148 |
AC_SUBST(SVN_LIBTOOL) |
148 |
AC_SUBST(SVN_LIBTOOL) |
149 |
|
149 |
|
150 |
dnl Determine if the libtool version supports --tag or not |
150 |
dnl Determine if the libtool version supports --tag or not |
151 |
SVN_LT_CCTAG= |
151 |
SVN_LT_CCTAG="--tag=CC" |
152 |
SVN_LT_CXXTAG= |
152 |
SVN_LT_CXXTAG="--tag=CXX" |
153 |
AC_MSG_CHECKING([whether libtool accepts --tag=XXX]) |
|
|
154 |
|
155 |
AC_LANG_CONFTEST([AC_LANG_PROGRAM()]) |
156 |
if $sh_libtool --tag=CC --mode=compile \ |
157 |
$CC -c $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext >&5 |
158 |
then |
159 |
AC_MSG_RESULT([yes]) |
160 |
SVN_LT_CCTAG="--tag=CC" |
161 |
SVN_LT_CXXTAG="--tag=CXX" |
162 |
else |
163 |
AC_MSG_RESULT([no]) |
164 |
fi |
165 |
rm -rf $lt_cv_objdir |
166 |
rm -f conftest.$ac_ext |
167 |
AC_SUBST(SVN_LT_CCTAG) |
153 |
AC_SUBST(SVN_LT_CCTAG) |
168 |
AC_SUBST(SVN_LT_CXXTAG) |
154 |
AC_SUBST(SVN_LT_CXXTAG) |
169 |
|
155 |
|