Skip to content
Snippets Groups Projects
Commit 426376d4 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Merge branch 'v2.1'

Conflicts:
	configure
parents fe4c64e1 c9c49973
No related branches found
No related tags found
No related merge requests found
...@@ -624,10 +624,7 @@ build_dir ...@@ -624,10 +624,7 @@ build_dir
xxd xxd
dot dot
doxygen doxygen
STATIC_LIBS
LDSO
LD LD
SOEXT
OPENMP_CXXFLAGS OPENMP_CXXFLAGS
EGREP EGREP
GREP GREP
...@@ -645,6 +642,9 @@ CPPFLAGS ...@@ -645,6 +642,9 @@ CPPFLAGS
LDFLAGS LDFLAGS
CXXFLAGS CXXFLAGS
CXX CXX
LDSO
STATIC_LIBS
SOEXT
target_alias target_alias
host_alias host_alias
build_alias build_alias
...@@ -712,6 +712,9 @@ enable_xdrfile ...@@ -712,6 +712,9 @@ enable_xdrfile
ac_precious_vars='build_alias ac_precious_vars='build_alias
host_alias host_alias
target_alias target_alias
SOEXT
STATIC_LIBS
LDSO
CXX CXX
CXXFLAGS CXXFLAGS
LDFLAGS LDFLAGS
...@@ -1362,6 +1365,11 @@ Optional Features: ...@@ -1362,6 +1365,11 @@ Optional Features:
--disable-openmp do not use OpenMP --disable-openmp do not use OpenMP
Some influential environment variables: Some influential environment variables:
SOEXT extension of dynamic libraries (so/dylib)
STATIC_LIBS variables that should be linked statically directly to MD code -
configure will add here -ldl if necessary
LDSO command for linking shared library - configure will use CXX plus
the proper flags
CXX C++ compiler command CXX C++ compiler command
CXXFLAGS C++ compiler flags CXXFLAGS C++ compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
...@@ -2655,6 +2663,10 @@ fi ...@@ -2655,6 +2663,10 @@ fi
# by default use -O flag # by default use -O flag
# we override the autoconf default (-g) because in release build we do not want to # we override the autoconf default (-g) because in release build we do not want to
# include symbol information (obj files are huge) # include symbol information (obj files are huge)
...@@ -3951,22 +3963,24 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu ...@@ -3951,22 +3963,24 @@ ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
# log the initial flags # log the initial flags
LD="$CXX" LD="$CXX"
LDSO="$CXX" LDSO="$CXX"
{ $as_echo "$as_me:${as_lineno-$LINENO}: Initial CXX: $CXX" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: Initial CXX: $CXX" >&5
$as_echo "$as_me: Initial CXX: $CXX" >&6;} $as_echo "$as_me: Initial CXX: $CXX" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: Initial CXXFLAGS: $CXXFLAGS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: Initial CXXFLAGS: $CXXFLAGS" >&5
$as_echo "$as_me: Initial CXXFLAGS: $CXXFLAGS" >&6;} $as_echo "$as_me: Initial CXXFLAGS: $CXXFLAGS" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: Initial CPPFLAGS: $CPPFLAGS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: Initial CPPFLAGS: $CPPFLAGS" >&5
$as_echo "$as_me: Initial CPPFLAGS: $CPPFLAGS" >&6;} $as_echo "$as_me: Initial CPPFLAGS: $CPPFLAGS" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: Initial LDFLAGS: $LDFLAGS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: Initial LDFLAGS: $LDFLAGS" >&5
$as_echo "$as_me: Initial LDFLAGS: $LDFLAGS" >&6;} $as_echo "$as_me: Initial LDFLAGS: $LDFLAGS" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: Initial LIBS: $LDFLAGS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: Initial LIBS: $LDFLAGS" >&5
$as_echo "$as_me: Initial LIBS: $LDFLAGS" >&6;} $as_echo "$as_me: Initial LIBS: $LDFLAGS" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: Initial LD: $LD" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: Initial STATIC_LIBS: $LDFLAGS" >&5
$as_echo "$as_me: Initial LD: $LD" >&6;} $as_echo "$as_me: Initial STATIC_LIBS: $LDFLAGS" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: Initial LDSO: $LDSO" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: Initial LD: $LD" >&5
$as_echo "$as_me: Initial LDSO: $LDSO" >&6;} $as_echo "$as_me: Initial LD: $LD" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: Initial SOEXT: $SOEXT" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: Initial LDSO: $LDSO" >&5
$as_echo "$as_me: Initial SOEXT: $SOEXT" >&6;} $as_echo "$as_me: Initial LDSO: $LDSO" >&6;}
{ $as_echo "$as_me:${as_lineno-$LINENO}: Initial SOEXT: $SOEXT" >&5
$as_echo "$as_me: Initial SOEXT: $SOEXT" >&6;}
# check C++ flags # check C++ flags
if test $shared == true if test $shared == true
......
...@@ -106,6 +106,10 @@ PLUMED_CONFIG_ENABLE([almost],[almost],[search for almost],[no]) ...@@ -106,6 +106,10 @@ PLUMED_CONFIG_ENABLE([almost],[almost],[search for almost],[no])
PLUMED_CONFIG_ENABLE([gsl],[gsl],[search for gsl],[no]) PLUMED_CONFIG_ENABLE([gsl],[gsl],[search for gsl],[no])
PLUMED_CONFIG_ENABLE([xdrfile],[xdrfile],[search for xdrfile],[yes]) PLUMED_CONFIG_ENABLE([xdrfile],[xdrfile],[search for xdrfile],[yes])
AC_ARG_VAR(SOEXT,[extension of dynamic libraries (so/dylib)])
AC_ARG_VAR(STATIC_LIBS,[variables that should be linked statically directly to MD code - configure will add here -ldl if necessary ])
AC_ARG_VAR(LDSO,[command for linking shared library - configure will use CXX plus the proper flags ])
# by default use -O flag # by default use -O flag
# we override the autoconf default (-g) because in release build we do not want to # we override the autoconf default (-g) because in release build we do not want to
...@@ -144,14 +148,15 @@ AC_LANG(C++) ...@@ -144,14 +148,15 @@ AC_LANG(C++)
# log the initial flags # log the initial flags
LD="$CXX" LD="$CXX"
LDSO="$CXX" LDSO="$CXX"
AC_MSG_NOTICE([Initial CXX: $CXX]) AC_MSG_NOTICE([Initial CXX: $CXX])
AC_MSG_NOTICE([Initial CXXFLAGS: $CXXFLAGS]) AC_MSG_NOTICE([Initial CXXFLAGS: $CXXFLAGS])
AC_MSG_NOTICE([Initial CPPFLAGS: $CPPFLAGS]) AC_MSG_NOTICE([Initial CPPFLAGS: $CPPFLAGS])
AC_MSG_NOTICE([Initial LDFLAGS: $LDFLAGS]) AC_MSG_NOTICE([Initial LDFLAGS: $LDFLAGS])
AC_MSG_NOTICE([Initial LIBS: $LDFLAGS]) AC_MSG_NOTICE([Initial LIBS: $LDFLAGS])
AC_MSG_NOTICE([Initial LD: $LD]) AC_MSG_NOTICE([Initial STATIC_LIBS: $LDFLAGS])
AC_MSG_NOTICE([Initial LDSO: $LDSO]) AC_MSG_NOTICE([Initial LD: $LD])
AC_MSG_NOTICE([Initial SOEXT: $SOEXT]) AC_MSG_NOTICE([Initial LDSO: $LDSO])
AC_MSG_NOTICE([Initial SOEXT: $SOEXT])
# check C++ flags # check C++ flags
if test $shared == true if test $shared == true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment