Changeset 540c4ef for configure.ac


Ignore:
Timestamp:
Feb 15, 2017, 4:18:50 PM (9 years ago)
Author:
Frederik Heber <heber@…>
Children:
3bf29e
Parents:
2d63fb
git-author:
Frederik Heber <heber@…> (02/15/17 16:17:55)
git-committer:
Frederik Heber <heber@…> (02/15/17 16:18:50)
Message:

tempcommit: Fix into standalone package.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r2d63fb r540c4ef  
    1313AC_CONFIG_AUX_DIR([build-aux])
    1414AC_CONFIG_MACRO_DIR([m4])
    15 AC_CONFIG_HEADERS([config.h])
    16 AM_INIT_AUTOMAKE([1.7 -Wall foreign subdir-objects])
     15AC_CONFIG_HEADERS([libvmg_config.h])
     16AM_INIT_AUTOMAKE([1.7 dist-bzip2 1.5 parallel-tests color-tests tar-pax subdir-objects])
    1717
    1818# We use mostly C++, but may need Fortran compiler infos for Lapack.
     
    2020
    2121# Release version switch
    22 AC_MSG_CHECKING(whether to enable release version)
    23 AC_ARG_ENABLE([release],
    24         AS_HELP_STRING([--enable-release], [Compile with release settings]),
    25         enable_release=$enableval,
    26         enable_release="no")
    27 AC_MSG_RESULT($enable_release)
    28 AS_IF([test "$enable_release" = "yes"], [
     22AC_MSG_CHECKING(whether to enable debug version)
     23AC_ARG_ENABLE([debug],
     24        AS_HELP_STRING([--enable-debug], [Compile with debug settings]),
     25        enable_debug=$enableval,
     26        enable_debug="no")
     27AC_MSG_RESULT($enable_debug)
     28AS_IF([test "$enable_debug" = "no"], [
    2929            AC_DEFINE([RELEASE], [1], [Release])
    3030            AC_DEFINE([NDEBUG], [1], [Skip asserts])
     
    183183AM_CONDITIONAL([COND_HAVE_BOOST_UNIT_TEST_LIB], [test x"$boost_cv_lib_unit_test_framework" = xyes])
    184184
    185 AC_PROG_RANLIB
    186 m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
     185# use libtool
     186LT_INIT([static])
     187
     188# superceded by libtool
     189#AC_PROG_RANLIB
     190#4_ifdef([AM_PROG_AR], [AM_PROG_AR])
     191
     192# Define these substitions here to keep all version information in one place.
     193# For information on how to properly maintain the library version information,
     194# refer to the libtool manual, section "Updating library version information":
     195# http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
     196AC_SUBST([VMG_SO_VERSION], [1:0:0])
     197AC_SUBST([VMG_API_VERSION], [1.0.0])
    187198
    188199# Checks for libraries.
     
    239250        doc/Makefile
    240251        test/Makefile])
     252AC_CONFIG_FILES([vmg.pc:vmg.pc.in])
     253
    241254AC_OUTPUT
Note: See TracChangeset for help on using the changeset viewer.