libtoolize.at: Update checks based on linker used If mklink is used for symlinking files, the expout will not match, so stdout is used instead. * tests/libtoolize.at: Use stdout for checks instead of expout on MSVC.
diff --git a/tests/libtoolize.at b/tests/libtoolize.at index 43f7e72..4e9d428 100644 --- a/tests/libtoolize.at +++ b/tests/libtoolize.at
@@ -521,7 +521,12 @@ _LT_AT_LTDL_SETUP -LT_AT_CHECK_LIBTOOLIZE([--ltdl], 0, expout) +case $LN_S in +*mklink*) + LT_AT_CHECK_LIBTOOLIZE([--ltdl], 0, stdout) ;; +*) + LT_AT_CHECK_LIBTOOLIZE([--ltdl], 0, expout) ;; +esac AT_CLEANUP @@ -533,7 +538,12 @@ _LT_AT_LTDL_SETUP -LT_AT_CHECK_LIBTOOLIZE([], 0, expout) +case $LN_S in +*mklink*) + LT_AT_CHECK_LIBTOOLIZE([], 0, stdout) ;; +*) + LT_AT_CHECK_LIBTOOLIZE([], 0, expout) ;; +esac AT_CLEANUP @@ -1082,7 +1092,12 @@ ]]) chmod a+x ./no-m4 -AT_CHECK([PATH=`pwd`:$PATH M4=`pwd`/no-m4 $LIBTOOLIZE --ltdl=ltdl], 0, expout) +case $LN_S in +*mklink*) + AT_CHECK([PATH=`pwd`:$PATH M4=`pwd`/no-m4 $LIBTOOLIZE --ltdl=ltdl], 0, stdout) ;; +*) + AT_CHECK([PATH=`pwd`:$PATH M4=`pwd`/no-m4 $LIBTOOLIZE --ltdl=ltdl], 0, expout) ;; +esac AT_CLEANUP