Commit 8f057b55439695653541fe0b76c235f0997e5a57

Authored by Jürgen Knödlseder
1 parent f894613b

Use AM_CONFIG_HEADER instead of AC_CONFIG_HEADERS and add AC_SUBST(OPENMP_CXXFLAGS)

Showing 1 changed file with 2 additions and 1 deletions
configure.ac
... ... @@ -33,7 +33,7 @@ AC_INIT([ctools], [0.4.0], [jurgen.knodlseder@irap.omp.eu], [ctools])
33 33 AC_CONFIG_SRCDIR([src/ctselect/ctselect.cpp])
34 34 AC_CONFIG_MACRO_DIR([m4])
35 35 AM_INIT_AUTOMAKE([gnu no-dependencies])
36   -AC_CONFIG_HEADERS([config.h])
  36 +AM_CONFIG_HEADER([config.h])
37 37  
38 38  
39 39 #############################################################################
... ... @@ -782,6 +782,7 @@ else
782 782 enable_openmp=no
783 783 AC_MSG_RESULT(no)
784 784 fi
  785 +AC_SUBST(OPENMP_CXXFLAGS)
785 786  
786 787 # Set system specific settings
787 788 OPENMP_LIB_LDFLAGS=
... ...