Candidate_v1.6.1
        Candidate_v1.7.0
        stable
      
      
        
          | 
            Last change
 on this file since ca2880 was             4e8108, checked in by Frederik Heber <heber@…>, 9 years ago           | 
        
        
          | 
             
Libtool consolidates and updates itself through LIBTOOL_DEPS for all packages. 
 
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            1.5 KB
           | 
        
      
      
| Rev | Line |   | 
|---|
| [8ce1a9] | 1 | #                                               -*- Autoconf -*-
 | 
|---|
 | 2 | # Process this file with autoconf to produce a configure script.
 | 
|---|
 | 3 | 
 | 
|---|
 | 4 | AC_PREREQ(2.59)
 | 
|---|
 | 5 | AC_INIT(levmar, 1.0.0, [foo@molecuilder.de], [levmar], [http://www.molecuilder.de/])
 | 
|---|
 | 6 | AC_CONFIG_AUX_DIR([build-aux])
 | 
|---|
 | 7 | AC_CONFIG_HEADER([liblevmar_config.h])
 | 
|---|
 | 8 | AC_CONFIG_SRCDIR([src/lm.c])
 | 
|---|
 | 9 | AC_CONFIG_MACRO_DIR([m4])
 | 
|---|
 | 10 | 
 | 
|---|
 | 11 | # parallel-tests: use parallel test druver
 | 
|---|
 | 12 | # color-tests: us coloring to indicate success/failure when available
 | 
|---|
 | 13 | # tar-pax: use newer tar implementation with longer filename (>99 chars)
 | 
|---|
| [c129d2] | 14 | AM_INIT_AUTOMAKE([dist-bzip2 1.5 tar-pax subdir-objects])
 | 
|---|
| [8ce1a9] | 15 | 
 | 
|---|
 | 16 | # Checks for programs.
 | 
|---|
 | 17 | AC_PROG_CC
 | 
|---|
 | 18 | AC_PROG_INSTALL
 | 
|---|
 | 19 | 
 | 
|---|
 | 20 | # check for lapack
 | 
|---|
 | 21 | AX_LAPACK
 | 
|---|
 | 22 | 
 | 
|---|
 | 23 | # check for blas
 | 
|---|
 | 24 | AX_BLAS
 | 
|---|
 | 25 | 
 | 
|---|
 | 26 | # check for math library
 | 
|---|
 | 27 | AC_CHECK_LIB(m, sqrt, , AC_MSG_ERROR([compatible libc math library not found]))
 | 
|---|
 | 28 | 
 | 
|---|
 | 29 | # check for f2c
 | 
|---|
 | 30 | #AC_CHECK_LIB(libf2c, c_cos, [
 | 
|---|
 | 31 | #       ], [
 | 
|---|
 | 32 | #       AC_MSG_ERROR(["Could not find libf2c"])
 | 
|---|
 | 33 | #])
 | 
|---|
 | 34 | 
 | 
|---|
 | 35 | # use libtool
 | 
|---|
 | 36 | LT_INIT([static])
 | 
|---|
| [4e8108] | 37 | AC_SUBST([LIBTOOL_DEPS])
 | 
|---|
| [8ce1a9] | 38 | 
 | 
|---|
 | 39 | # Define these substitions here to keep all version information in one place.
 | 
|---|
 | 40 | # For information on how to properly maintain the library version information,
 | 
|---|
 | 41 | # refer to the libtool manual, section "Updating library version information":
 | 
|---|
 | 42 | # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
 | 
|---|
 | 43 | AC_SUBST([LEVMAR_SO_VERSION], [1:0:0])
 | 
|---|
 | 44 | AC_SUBST([LEVMAR_API_VERSION], [1.0.0])
 | 
|---|
 | 45 | 
 | 
|---|
 | 46 | # create output files
 | 
|---|
 | 47 | AC_CONFIG_FILES([
 | 
|---|
 | 48 |         Makefile
 | 
|---|
 | 49 |         src/Makefile
 | 
|---|
 | 50 | ])
 | 
|---|
 | 51 | AC_CONFIG_FILES([levmar.pc:levmar.pc.in])
 | 
|---|
 | 52 | 
 | 
|---|
 | 53 | AC_OUTPUT
 | 
|---|
 | 54 |  
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.