confused about libtool and LIBADD

2010-09-23 Thread Martin Kalbfuss
Hi, I try to use libtool for my project, It runs fine as long as libSDL is added as dependency to the program directly. But I thought, I could add a library as dependency of a library. But it isn't working. my wrapping library is libsk.la which depends on libSDL.la which is in my path. If I do my

my first autoconf macro

2010-09-22 Thread Martin Kalbfuss
Hi, I currently write my first atuoconf macro to detect the gm2 Modula-2 compiler for my sdl wrapper. I'm unsure about some details. And some comments from advanced autoconf users would be nice. Here's the code: AC_DEFUN([ACX_PROG_GM2], [ # Get the gm2 compiler path and check for the rquired ver