1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-10 14:10:46 +01:00

Merge pull request #277 from mmphys/bugfix/grid-config

Bugfix/grid config
This commit is contained in:
Peter Boyle 2020-04-23 10:26:54 -04:00 committed by GitHub
commit dae820aa96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -547,6 +547,7 @@ DX_INIT_DOXYGEN([$PACKAGE_NAME], [doxygen.cfg])
############### Ouput
cwd=`pwd -P`; cd ${srcdir}; abs_srcdir=`pwd -P`; cd ${cwd}
GRID_CXX="$CXX"
GRID_CXXLD="$CXXLD"
GRID_CXXFLAGS="$AM_CXXFLAGS $CXXFLAGS"
GRID_LDFLAGS="$AM_LDFLAGS $LDFLAGS"
GRID_LIBS=$LIBS
@ -561,6 +562,7 @@ AC_SUBST([AM_CFLAGS])
AC_SUBST([AM_CXXFLAGS])
AC_SUBST([AM_LDFLAGS])
AC_SUBST([GRID_CXX])
AC_SUBST([GRID_CXXLD])
AC_SUBST([GRID_CXXFLAGS])
AC_SUBST([GRID_LDFLAGS])
AC_SUBST([GRID_LIBS])

View File

@ -19,6 +19,8 @@ Known values for OPTION are:
--help display this help and exit
--version output version information
--git print git revision
--cxx print c++ compiler (may include some flags and spaces)
--cxxld print c++ linker (may include some flags and spaces)
EOF
@ -65,6 +67,10 @@ while test $# -gt 0; do
echo @GRID_CXX@
;;
--cxxld)
echo @GRID_CXXLD@
;;
--ldflags)
echo @GRID_LDFLAGS@
;;