[Gauche-devel-jp] Re: SHLIB_SO_SUFFIX on Cygwin

アーカイブの一覧に戻る

Kimura Fuyuki fuyuk****@nigre*****
2003年 11月 21日 (金) 09:40:14 JST


At Thu, 20 Nov 2003 21:02:07 +0900,
"K.Sasada" <ko1****@namik*****> wrote:
> 
> examples/spigot/Makefile には、
> 
> ----
> # NB: this should also be set by configure
> OBJEXT   = o
> DSOEXT   = so
> ----
> 
>  とあって、まぁそのまんまでした。これをコピーしたのではまった、と。
> 
> 
> DSOEXT    = @SHLIB_SO_SUFFIX@
> 
>  Makefile.in をこんなふうにすればいいんですかね。

と、思うんですが、NBがわざわざつけられているのが気になります。パラメー
タ化しない理由があるんでしょうか。

*

個人的にspigotをテンプレートとして有効に使えるようにしたくてチマチマ手
を入れています。こういう問題がほかにもあったら教えてください。

ちなみに「最大限のポータビリティのためにはinstall -dでなく
mkinstalldirsを使え」というのはとりあえず放置しています。これは
autoconfの問題だと思うので。

(みんなしてinstall-shとmkinstalldirs を持つのはあまりにまぬけ)

いちおう問題としては認識されているようなんですけどね…

---- from autoconf/TODO
** AC_PROG_INSTALL
This test should be extended to check that install supports the GNU
Install syntax: install FILES... DIR.  This will relieve everybody
form having to use mkinstalldirs to create the directories, as install
does it itself.  install-sh is already handling this case.  This also
makes it simple not to create the directories where nothing will be
installed because of configuration options, which is next to
impossible using the current setting.

In other words: everything is ready (install-sh and Automake), we just
need a good reimplementation of AC_PROG_INSTALL.
----

あれ、よく読み直したら、install FILES... DIR が勝手にディレクトリを掘っ
てくれるようなこと書いてるな。変。

-- 
木村 冬樹



Gauche-devel-jp メーリングリストの案内
アーカイブの一覧に戻る