gambas-source-code/gb.gsl/configure.ac
Laurent Carlier 3045e50490 [GB.GSL]
* BUG: Properly fix library detection.



git-svn-id: svn://localhost/gambas/trunk@4921 867c0c6c-44f3-4631-809d-bfa615b0a4ec
2012-07-09 12:47:55 +00:00

16 lines
481 B
Text

dnl ---- configure.ac for gb.gsl
AC_INIT(configure.ac)
AC_CONFIG_MACRO_DIR([m4])
GB_INIT(gb.gsl)
AC_PROG_LIBTOOL
GB_COMPONENT_SEARCH(
gsl, GSL, gb.gsl, [src],
gsl,
[GB_FIND(gsl/gsl_cblas.h gsl/gsl_math.h, /usr /usr/local `gsl-config --prefix`, include include/gsl)],
[GB_FIND(libgslcblas.$SHLIBEXT libgsl.$SHLIBEXT, /usr/lib /usr/local /usr/local/lib `gsl-config --prefix`, lib)],
[$X_LIBS -llibgsl -llibgslcblas])
AC_OUTPUT( Makefile src/Makefile )
GB_PRINT_MESSAGES