Guest User

Untitled

a guest
May 25th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.09 KB | None | 0 0
  1. CXX=clang++
  2. PKG_CPPFLAGS= -I/usr/local/include
  3. PKG_LIBS= $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) /usr/local/lib/libsbml-static.a
  4.  
  5. ## Check for non-standard programs: gsl-config(1)
  6. AC_PATH_PROG([GSL_CONFIG], [gsl-config])
  7. ## If gsl-config was found, let's use it
  8. if test "${GSL_CONFIG}" != ""; then
  9. # Use gsl-config for header and linker arguments
  10. GSL_CFLAGS=`${GSL_CONFIG} --cflags`
  11. GSL_LIBS=`${GSL_CONFIG} --libs`
  12. else
  13. AC_MSG_ERROR([gsl-config not found, is GSL installed?])
  14. fi
  15.  
  16. drwxrwxr-x 58 root admin 1856 Aug 1 2016 sbml
  17.  
  18. -rw-r--r-- 1 root wheel 7970584 Aug 2 2016 libsbml-static.a
  19. -rwxr-xr-x 1 arcadmin staff 10453624 Nov 25 2014 libsbml.5.11.0.dylib
  20. -rwxr-xr-x 1 root wheel 3813572 Aug 2 2016 libsbml.5.13.0.dylib
  21. lrwxr-xr-x 1 root wheel 20 Aug 1 2016 libsbml.5.dylib -> libsbml.5.13.0.dylib
  22. -rw-r--r-- 1 root wheel 13907656 Feb 26 2015 libsbml.a
  23. lrwxr-xr-x 1 arcadmin staff 15 Mar 27 2015 libsbml.dylib -> libsbml.5.dylib
  24. -rwxr-xr-x 1 root wheel 828 Feb 26 2015 libsbml.la
  25. -rwxrwxr-x 1 root admin 13362732 Nov 25 2014 libsbmlj.jnilib
  26.  
  27. ## Process this file with autoconf to produce a configure script.
  28. ##
  29. ## Configure.ac for RcppSBML
  30. ##
  31. ## Copyright (C) 2010 Romain Francois and Dirk Eddelbuettel
  32. ## Copyright (C) 2014 - 2015 Dirk Eddelbuettel
  33. ##
  34. ## Licensed under GNU GPL 2 or later
  35.  
  36. # The version set here will propagate to other files from here
  37. AC_INIT([Rcppsbml], 0.1.0)
  38.  
  39. # Checks for common programs using default macros
  40. AC_PROG_CC
  41.  
  42. ## Use gsl-config to find arguments for compiler and linker flags
  43. ##
  44. ## Check for non-standard programs: gsl-config(1)
  45. AC_PATH_PROG([LIB_SBML], [libsbml])
  46. ## If gsl-config was found, let's use it
  47. if test "${LIB_SBML}" != ""; then
  48. # Use gsl-config for header and linker arguments
  49. SBML_CFLAGS=`${LIB_SBML} --cflags`
  50. SBML_LIBS=`${LIB_SBML} --libs`
  51. else
  52. AC_MSG_ERROR([libsbml not found, is SBML installed?])
  53. fi
  54.  
  55. # Now substitute these variables in src/Makevars.in to create src/Makevars
  56. AC_SUBST(LIB_SBML)
  57. AC_SUBST(LIB_SBML)
  58.  
  59. AC_OUTPUT(src/Makevars)
Add Comment
Please, Sign In to add comment