> Yeah, Thats it all right. I need a host of x libs and the like included.
> The full set needed is "-L/usr/local/lib -lwine -L/usr/X11R6/lib -lSM
> -lICE -lXpm -lXxf86dga -lXxf86vm -lXext -lX11 -lncurses -lm -ldl". How do
> I tell autoconf to put all other libs in while checking for wine?
I would probably use something like
MOREXLIBS="-L/usr/local/lib -lwine -L/usr/X11R6/lib -lSM -lICE -lXpm -lXxf86dga -lXxf86vm -lXext -lX11 -lncurses -lm -ldl"
but this wouldn't be very portable (ncurses, math lib).
You have to put in tests for every single library and -L path you need
to use before testing for the wine lib. You definitely want to use
AC_PATH_XTRA for the X stuff, like:
if test "$no_x" != yes; then
LIBRARIES_FOR_X="$X_LIBS -lX11 $X_EXTRA_LIBS"
[ Define if you are using the X11 window system. ])
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!