]> git.ipfire.org Git - thirdparty/libtool.git/commit
Ensure cwrapper compiles without warnings under -std=c99.
authorCharles Wilson <libtool@cwilson.fastmail.fm>
Sat, 26 Apr 2008 01:08:04 +0000 (21:08 -0400)
committerCharles Wilson <libtool@cwilson.fastmail.fm>
Sun, 11 May 2008 16:41:14 +0000 (12:41 -0400)
commitd34008adff36714b3a593da2377202df0d94bffe
tree7731064cc95e0e571565d92dab5c3d6ea1cbe106
parenta50bd8f5bf1d358353b34f42fa75c43938f26984
Ensure cwrapper compiles without warnings under -std=c99.

* libltdl/config/ltmain.m4sh (func_emit_wrapper_part1):
new function.
(func_emit_wrapper_part2): new function.
(func_emit_wrapper): delegate to new functions.
(func_emit_cwrapperexe_src) [__CYGWIN__ && __STRICT_ANSI__]:
ensure realpath is declared.
(func_emit_cwrapperexe_src): declare two different strings
to each hold part of the wrapper script content. Initialize
using new func_emit_wrapper_partX functions.
(func_emit_cwrapperexe_src) [main]: when emitting wrapper
script content, use both strings.
Reported by Yaakov Selkowitz.
ChangeLog
libltdl/config/ltmain.m4sh