>>> "Mark" == Mark Brand <[EMAIL PROTECTED]> writes:
[...]
Mark> "my_old_LIBS" and "my_ac_save_LIBS" were meant to be the same variable,
Mark> right?
Yep. Bits of this code were stolen from Curl's configure.ac.
Mark> Thanks. Even though "./configure --with-msw --target=i586-mingw32msvc
Mar
Alexandre Duret-Lutz wrote:
"Mark" == Mark Brand <[EMAIL PROTECTED]> writes:
>
>[...]
>
> Mark>
> Mark> if test x$target_os == xmingw32; then
> Mark> WINSOCK=-lws2_32
> Mark> fi
> Mark> AC_SUBST(WINSOCK)
> Mark>
>
>Eww. That would be $host, not $target, and anyway testing the
>h
"Mark" == Mark Brand <[EMAIL PROTECTED]> writes:
>
>[...]
>
> Mark>
> Mark> if test x$target_os == xmingw32; then
> Mark> WINSOCK=-lws2_32
> Mark> fi
> Mark> AC_SUBST(WINSOCK)
> Mark>
>
>Eww. That would be $host, not $target, and anyway testing the
>host type should always be y
Hi,
On Wed, Jun 01, 2005 at 09:43:22PM +0200, Alexandre Duret-Lutz wrote:
> Why not test for
> the presence of the ws2_32 library and use it if it's there ?
...
> AC_SEARCH_LIBS([gethostbyname], [nsl socket], [], [
> dnl Can't search ws2_32 for gethostbyname using AC_SEARCH_LIBS, because
> dnl it
>>> "Mark" == Mark Brand <[EMAIL PROTECTED]> writes:
[...]
Mark>
Mark> if test x$target_os == xmingw32; then
Mark> WINSOCK=-lws2_32
Mark> fi
Mark> AC_SUBST(WINSOCK)
Mark>
Eww. That would be $host, not $target, and anyway testing the
host type should always be your last resort. Why not
On Wed, Jun 01, 2005 at 04:44:39PM +0200, Mark Brand wrote:
[I'm too dumb to answer that, but...]
> Would you please elaborate on the difference between "make variables"
> and "substituted values" here? I'm still very new to this.
This one I can answer: the "make variables" are those $FOO thing
Hello,
On Wed, Jun 01, 2005 at 02:41:58PM +0200, Mark Brand wrote:
> touch stamp-h
why do you need this? It looks wrong.
> ./configure --with-msw --target=i586-mingw32msvc
> --host=i586-mingw32msvc --build=i386-linux
Are you cross compiling?
--build=i386-linux says you are building on
>>to my situation, but I'm getting stuck. I have:
>>
>>
>> if test x$target_os == xmingw32; then
>>
>
>Don't use the test operator `==' , it's unportable and completely
>superfluous, as `=' does string comparison just fine.
>
>
>>WINSOCK=-lws2_32
>> fi
>> AC_SUBST(WINSOCK)
>>
>>
>>
>> my
Hi Mark,
* Mark Brand wrote on Wed, Jun 01, 2005 at 02:41:58PM CEST:
>
> to my situation, but I'm getting stuck. I have:
>
>
> if test x$target_os == xmingw32; then
Don't use the test operator `==' , it's unportable and completely
superfluous, as `=' does string comparison just fine.
> WI
I'm not very experienced with the GNU build tools, but I've managed to
get a couple simple autoconf/automake configurations to work. My goal
now is to build for Linux or Mingw32 starting with the same configure.ac
and Makefile.am files. My generate/configure/make steps are:
autoheader
touc
10 matches
Mail list logo