diff options
Diffstat (limited to 'm4')
-rw-r--r-- | m4/slibtool.m4 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/m4/slibtool.m4 b/m4/slibtool.m4 index 61a849c..cc33f15 100644 --- a/m4/slibtool.m4 +++ b/m4/slibtool.m4 @@ -534,6 +534,12 @@ AC_CONFIG_COMMANDS_PRE( [${SLIBTOOL:-slibtool} --mkvars=Makefile --config > slibtool.cfg], [rm -f slibtool.cfg || exit 2])) +# optionally create libtool as a symlink to slibtool.sh +AC_CONFIG_COMMANDS_PRE( + [if [[ -s slibtool.sh ]]; then + ln -f -s slibtool.sh libtool || exit 2 + fi]) + # SLIBTOOL_PREREQ(_version_) # -------------------------- |