Lars Hecking <[EMAIL PROTECTED]> [2002-10-30 10:36:09 +0000]: > Well, I'm using AC_PATH_X but I don't know how to use this in the > Makefile.am , I have tried to get it to work with : > > LDADD = -lX11 -lm -L$(x_libraries)
For one thing you need to place all of your -L options before your -l options. The list is scanned left to right. You need to tell it the directories to look in first and then the libraries to link with second. Bob