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(WINS
>>>>"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>
>
>
>>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
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