Hello Dan,

* Dan Nicholson wrote on Sat, Nov 01, 2008 at 09:48:28PM CET:
> Add an option, --no-la-files, which skips installing the .la files. When
> used with --mode=uninstall, libtool tries to use the .lai file from the
> build directory.
> 
> Signed-off-by: Dan Nicholson <[EMAIL PROTECTED]>
> ---
>  Does this seem reasonable? I've checked that this doesn't break
>  uninstall or distcheck.

It does break third-party packages that would like to link against your
library.  So we should not encourage it.

Sorry,
Ralf

> +     if ! $opt_no_la_files; then

FWIW, 'if !' is not portable, 'if $opt; then :; else ...' would be.

> +     if $opt_no_la_files; then
> +       file=.libs/"$name"i
> +       test -f "$file" || file=`find . -type f -name "$name"i`

Not safe when files with whitespace in the name are present.

> +       test -n "$file" || file=.libs/"$name"i
> +       func_dirname "$file" "" "."
> +       dir="$func_dirname_result"


_______________________________________________
http://lists.gnu.org/mailman/listinfo/libtool

Reply via email to