]> git.ipfire.org Git - thirdparty/libtool.git/commit
Support shell tracing inside functions even with ksh.
authorGary V. Vaughan <gary@gnu.org>
Thu, 10 Jun 2010 14:02:48 +0000 (21:02 +0700)
committerGary V. Vaughan <gary@gnu.org>
Thu, 10 Jun 2010 14:02:48 +0000 (21:02 +0700)
commitcd0b95778b73f5101d4e10bda30a24191d8e1eae
tree5da27901b55fd59b612f77ae901cf24b292b8a24
parent90231d3e97cc87fd19872832f57f879e68163380
Support shell tracing inside functions even with ksh.

* libltdl/config/getopt.m4sh: Set $opt_debug to be either `:'
or `set -x' depending on whether --debug was parsed to match
usage in libtoolize.m4sh and ltmain.m4sh.
* clcommit.m4sh, libltdl/config/announce-gen.sh: Instead of
`$opt_debug && ...', use `test "$opt_debug" != ":" && ...'.
* clcommit.m4sh, libltdl/config/announce-gen.m4sh,
libltdl/config/getopt.m4sh, libltdl/connfig/mailnotify.m4sh:
Execute at the start of functions to cater to ksh, which
resets `-x' inside shell functions.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
ChangeLog
clcommit.m4sh
libltdl/config/announce-gen.m4sh
libltdl/config/getopt.m4sh
libltdl/config/mailnotify.m4sh