[MOAB-dev] commit/MOAB: 3 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Mon Jun 30 13:39:14 CDT 2014


3 new commits in MOAB:

https://bitbucket.org/fathomteam/moab/commits/ec47665edd1f/
Changeset:   ec47665edd1f
Branch:      None
User:        iulian07
Date:        2014-06-30 17:51:34
Summary:     changes for distcheck to work

environment vars could be exported to make distcheck,
we include only CC CXX F90 F77 FC, but we could include more

(LDFLAGS?)

Affected #:  1 file

diff --git a/configure.ac b/configure.ac
index 83d8ea5..0ef0b54 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1205,7 +1205,6 @@ AC_SUBST([AM_CXXFLAGS])
 AC_SUBST([AM_CFLAGS])
   AC_SUBST([AM_FCFLAGS])
   AC_SUBST([AM_FFLAGS])
-AC_SUBST([DISTCHECK_CONFIGURE_FLAGS])
 
 AC_ARG_VAR([FC], [FORTRAN compiler command])
 AC_CONFIG_HEADERS([config.h])
@@ -1261,6 +1260,22 @@ AC_CONFIG_FILES([Makefile
 AC_CONFIG_COMMANDS([src/MOAB_FCDefs.h],
   [sed -e "s/FC_FUNC/MOAB_FC_FUNC/" src/FCDefs.h >src/MOAB_FCDefs.h])
 
+# make distcheck will use this DISTCHECK_CONFIGURE_FLAGS 
+#  variable to be passed to configure line
+# some people include a lot of env vars here
+# I think we need only those; only distcheck is affected by this
+# 
+#  for var in CC CFLAGS CPPFLAGS CXX CXXCPP LDFLAGS LIBS F90 FC F77; do
+for var in CC CXX F90 FC F77; do
+  eval isset=\${$var+set}
+  if test "$isset" = 'set' ; then
+    eval val=$`echo $var`
+    DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS  $var=\"$val\""
+  fi
+done
+
+AC_SUBST([DISTCHECK_CONFIGURE_FLAGS])
+
 AC_OUTPUT
 
 AC_MSG_RESULT([C:   $CC $CFLAGS $CPPFLAGS])


https://bitbucket.org/fathomteam/moab/commits/ed098f038e6d/
Changeset:   ed098f038e6d
Branch:      None
User:        iulian07
Date:        2014-06-30 19:50:38
Summary:     for make distcheck add more env vars

add LIBS and LDFLAGS; the question is if we should
add even more, like CPPFLAGS, CFLAGS, etc?

Affected #:  1 file

diff --git a/configure.ac b/configure.ac
index 0ef0b54..5de30e3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1261,12 +1261,12 @@ AC_CONFIG_COMMANDS([src/MOAB_FCDefs.h],
   [sed -e "s/FC_FUNC/MOAB_FC_FUNC/" src/FCDefs.h >src/MOAB_FCDefs.h])
 
 # make distcheck will use this DISTCHECK_CONFIGURE_FLAGS 
-#  variable to be passed to configure line
+# variable to be passed to configure line
 # some people include a lot of env vars here
 # I think we need only those; only distcheck is affected by this
-# 
-#  for var in CC CFLAGS CPPFLAGS CXX CXXCPP LDFLAGS LIBS F90 FC F77; do
-for var in CC CXX F90 FC F77; do
+## original is commented out below; we use only a few 
+## for var in CC CFLAGS CPPFLAGS CXX CXXCPP LDFLAGS LIBS F90 FC F77; do
+for var in CC CXX F90 FC F77 LDFLAGS LIBS; do
   eval isset=\${$var+set}
   if test "$isset" = 'set' ; then
     eval val=$`echo $var`


https://bitbucket.org/fathomteam/moab/commits/7f4a63db6188/
Changeset:   7f4a63db6188
Branch:      master
User:        iulian07
Date:        2014-06-30 20:36:34
Summary:     Merge branch 'iulian07/distcheck_fix'

Affected #:  1 file

diff --git a/configure.ac b/configure.ac
index 83d8ea5..5de30e3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1205,7 +1205,6 @@ AC_SUBST([AM_CXXFLAGS])
 AC_SUBST([AM_CFLAGS])
   AC_SUBST([AM_FCFLAGS])
   AC_SUBST([AM_FFLAGS])
-AC_SUBST([DISTCHECK_CONFIGURE_FLAGS])
 
 AC_ARG_VAR([FC], [FORTRAN compiler command])
 AC_CONFIG_HEADERS([config.h])
@@ -1261,6 +1260,22 @@ AC_CONFIG_FILES([Makefile
 AC_CONFIG_COMMANDS([src/MOAB_FCDefs.h],
   [sed -e "s/FC_FUNC/MOAB_FC_FUNC/" src/FCDefs.h >src/MOAB_FCDefs.h])
 
+# make distcheck will use this DISTCHECK_CONFIGURE_FLAGS 
+# variable to be passed to configure line
+# some people include a lot of env vars here
+# I think we need only those; only distcheck is affected by this
+## original is commented out below; we use only a few 
+## for var in CC CFLAGS CPPFLAGS CXX CXXCPP LDFLAGS LIBS F90 FC F77; do
+for var in CC CXX F90 FC F77 LDFLAGS LIBS; do
+  eval isset=\${$var+set}
+  if test "$isset" = 'set' ; then
+    eval val=$`echo $var`
+    DISTCHECK_CONFIGURE_FLAGS="$DISTCHECK_CONFIGURE_FLAGS  $var=\"$val\""
+  fi
+done
+
+AC_SUBST([DISTCHECK_CONFIGURE_FLAGS])
+
 AC_OUTPUT
 
 AC_MSG_RESULT([C:   $CC $CFLAGS $CPPFLAGS])

Repository URL: https://bitbucket.org/fathomteam/moab/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the moab-dev mailing list