|
From: Earnie B. <ear...@ya...> - 2002-03-30 16:20:48
|
On 3/29/2002 at 6:34 PM Jean le Roux wrote: > >The problem is, however, with libnetapi32.a. It's not being linked >in. I use the same configure.in and Makefile.am for compiling my >projects in RH Linux 7.1 and Windoze NT. Under Linux the link line >will only need -lcrypto, under windows it needs -lcrypto and >-lnetapi32, due to the extra use of nb30.h. > >Now, as of yet I know no clean cut way (or even a dirty one) of >splitting my Makefile.am and/or configure.in to do different things >under windows and linux. I can't go add -lnetapi32 to my Makefile.am's >isep_config_LDADD = -lcrypto .. this would cause the linux build to >complain. > >Does anyone know how to test for windows and split functionality in a >Makefile.am ? > See the autoconf documentation for AC_CHECK_FUNC. If you can't decipher it's contents then ask on aut...@gn.... Earnie. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |