Changeset 11877


Ignore:
Timestamp:
04/03/12 15:12:05 (13 years ago)
Author:
Mathieu Morlighem
Message:

Improved configure.ac

Location:
issm/trunk-jpl
Files:
9 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/configure.ac

    r11863 r11877  
    1 AC_INIT(ISSM,4.0,issm@jpl.nasa.gov)
    2 AM_CONFIG_HEADER(config.h)
    3 #AC_PROG_LIBTOOL
    4 #LT_INIT
    5 AC_CANONICAL_TARGET
    6 AM_INIT_AUTOMAKE
    7 AM_SILENT_RULES([yes])
    8 AC_PROG_RANLIB
     1# Process this file with autoconf to produce a configure script.
     2
     3#AUTOCONF
     4AC_INIT([ISSM],[4.0],[issm@jpl.nasa.gov]) #Initializing configure
     5AC_CONFIG_AUX_DIR([./aux-config])         #Put config files in aux-config
     6AC_CONFIG_MACRO_DIR([m4])                 #m4 macros are located in m4
     7AC_CANONICAL_TARGET                       #Determine the system type
     8#Compilers
    99AC_PROG_CC([cccl cl icl gcc])
    1010AC_PROG_CPP
    1111AC_PROG_CXX([cccl cl icl g++])
    1212AC_PROG_F77([ifort g77 gfortran])
     13#Libraries and linking
     14AC_PROG_RANLIB
     15AM_PROG_AR
    1316AC_F77_LIBRARY_LDFLAGS
     17AC_PATH_XTRA      #figure out X library and include paths
     18
     19#AUTOMAKE
     20#Initialize automake and declare foreign so that we don't need a ChangeLog, INSTALL, etc
     21AM_INIT_AUTOMAKE([foreign])
     22AM_CONFIG_HEADER([./config.h])   #Config file must be config.h
     23AM_SILENT_RULES([yes])           #Do not show compilation command by default
    1424AM_PROG_CC_C_O
    15 AC_PATH_XTRA
     25
     26##LIBTOOL?
     27#AC_PROG_LIBTOOL
     28#LT_INIT
     29
     30#Run issm_options.m4
    1631ISSM_OPTIONS
    17 AM_PROG_AR
    1832AC_CONFIG_FILES([Makefile
    1933                        src/Makefile
Note: See TracChangeset for help on using the changeset viewer.