[CM] cm3 builds on linux

Bill Schottstaedt bil at ccrma.Stanford.EDU
Tue Dec 2 06:10:20 PST 2008


> people can add what they need on linux.

I think sndlib-config is fixed now:

  /home/bil/test/sndlib/ ./sndlib-config --libs
  -L/usr/lib -lm -L/usr/local/lib -lgsl -lgslcblas -lm -lm

but I don't know how that fits with premake.  I borrowed this
style of config script from GSL.  In that context, you'd use
it in your autoconf input file something like:

  SNDLIB_LIBS=`$SNDLIB_CONFIG --libs`

where SNDLIB_CONFIG comes from AC_PATH_PROG:

  AC_PATH_PROG(SNDLIB_CONFIG, sndlib-config, no)

which assumes it's in some directory in the current path.




More information about the Cmdist mailing list