Commit 58f234ef authored by Stezowski Olivier's avatar Stezowski Olivier
Browse files

the cores libraries of GW now compile with root 5 and root 6 ... Watchers to be done

git-svn-id: svn+ssh://anonsvn.in2p3.fr/agata/gammaware/trunk@2032 c3abf467-7ff2-0310-b516-c5fb849bdde0
parent 3e3e2d35
......@@ -19,6 +19,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
message(FATAL_ERROR "[GW] in-source build detected")
endif()
#----------------------------------------------------------------------------
# Globals
#
......@@ -27,6 +28,7 @@ endif()
#
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/Modules)
set(CMAKE_GWMODULES_DIR ${CMAKE_MODULE_PATH})
#
project(GammaWare)
#
......@@ -44,12 +46,36 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin_)
# ROOT MANDATORY
#
find_package(ROOT REQUIRED)
#MESSAGE("ROOT has been found: ${ROOT_INCLUDE_DIRS} ${ROOTVERSION}")
#
# Redirection to the right macro depending on the ROOT version
#
STRING(REGEX REPLACE "^([0-9]+)\\.[0-9][0-9]+\\/[0-9][0-9]+.*" "\\1" found_root_major_vers "${ROOTVERSION}")
STRING(REGEX REPLACE "^[0-9]+\\.([0-9][0-9])+\\/[0-9][0-9]+.*" "\\1" found_root_minor_vers "${ROOTVERSION}")
STRING(REGEX REPLACE "^[0-9]+\\.[0-9][0-9]+\\/([0-9][0-9]+).*" "\\1" found_root_patch_vers "${ROOTVERSION}")
IF (found_root_major_vers LESS 5)
MESSAGE( FATAL_ERROR "Invalid ROOT version \"${ROOTERSION}\", at least major version 4 is required, e.g. \"5.00/00\"")
ENDIF (found_root_major_vers LESS 5)
#
SET(RDICTIONNARY 0)
IF (found_root_major_vers LESS 6)
include(Root5NewMacros)
MESSAGE("[Gw] Dictionary Build using ROOTCINT")
ELSE(found_root_major_vers LESS 6)
include(Root6NewMacros)
SET(RDICTIONNARY 1)
MESSAGE("[Gw] Dictionary Build using ROOTCLING ")
ENDIF(found_root_major_vers LESS 6)
#
# Ckeck compatibilities
#
include(RootNewMacros)
include(CheckCompiler)
include(RootBuildOptions)
MESSAGE("[GW from ROOT] C Compiler ${CMAKE_C_COMPILER}")
MESSAGE("[GW from ROOT] C++ Compiler ${CMAKE_CXX_COMPILER}")
#
#----------------------------------------------------------------------------
# configuration for all modules
......@@ -90,6 +116,7 @@ endif()
#
# options
option(DO_DEV "If ON, the GWDEV library is also built" OFF)
option(DO_ILL "If ON, the GWILL library is also built" OFF)
#
add_subdirectory (src/root/core)
add_subdirectory (src/root/physics)
......@@ -158,3 +185,6 @@ install(PROGRAMS ${CMAKE_BINARY_DIR}/Gw-config.py DESTINATION ${GW_BIN_DIR})
#SET( BUILD_SHARED_LIBS "${BUILD_SHARED_LIBS}" CACHE BOOL "Set to OFF to build static libraries" FORCE )
set(DO_DEV "${DO_DEV}" CACHE BOOL "If ON, the GWDEV library is also built" FORCE)
set(DO_ILL "${DO_ILL}" CACHE BOOL "If ON, the GWILL library is also built" FORCE)
################################################################################
#
# Makefile to built @PACKAGE_NAME@
#
# @PACKAGE_BUGREPORT@
#
################################################################################
# shell related
SHELL = @SHELL@
@SET_MAKE@
INSTALL_DATA = @INSTALL_DATA@
# top directory related
TOPDIR = @abs_top_srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
GWROOTMAP = @abs_top_srcdir@/gw.rootmap
# to built the gammaware package
all: showconf modules end
# one directory for each sub-project
SUBDIRS = @SUBPROJETS@
# targets without dependencies
.PHONY : inc clean rmap doc installdata installdirs showconf end
# process any directory in which compilation is needed
modules: inc depend
@echo " "
@echo " ---> Building all sub-packages "
@{ for dir in $(SUBDIRS); do \
echo " "; cd $(TOPDIR); cd $$dir; $(MAKE); \
done }
@echo " "
# to creat dependencies in each sub-directory
depend: inc
@echo " "
@echo " ---> Building dependancies for all sub-packages "
@{ for dir in $(SUBDIRS); do \
echo " "; cd $(TOPDIR); cd $$dir; $(MAKE) -f Makefile depend; \
done }
@echo " "
rmap:
@rm -f $(GWROOTMAP)
@echo " "
@echo " ---> Creating gw.rootmap " $(GWROOTMAP)
@{ for dir in $(SUBDIRS); do \
cd $(TOPDIR); cd $$dir; $(MAKE) -f Makefile ROOTMAP=$(GWROOTMAP) rmap;\
done }
@echo " "
# install any includes in a single directory
inc:
@echo " "
@echo " ---> Copying all includes in a single directory " $(TOPDIR)/include
@{ for dir in $(SUBDIRS); do \
cd $(TOPDIR); cd $$dir; $(MAKE) -f Makefile inc;\
done }
@echo " "
# to clean up this directory for any files coming from compilation
clean:
@echo " "
@echo " ---> Cleaning all sub-packages "
@echo " "
@{ for dir in $(SUBDIRS); do \
cd $(TOPDIR); cd $$dir; $(MAKE) -f Makefile clean; \
done }
@{ cd $(TOPDIR)/include; rm -f *.h; }
@echo " "
@echo " ---> Cleaning produced documentation in doc "
@{ cd $(TOPDIR)/doc; rm -fr html; }
@echo " "
# To build an html/man/latex doc depending on what is selected in Doxyfile
doc:
@echo " "
@echo " ---> Building doxygen documentation for the gammaware"
@echo " "
@{ cd $(TOPDIR); doxygen Doxyfile; }
@echo " "
@echo " ---> Installing doxygen documentation for the gammaware in " @datadir@/doc/gw
@echo " "
@{ cd $(TOPDIR); ./mkinstalldirs @datadir@/doc/gw; }
@{ cd $(TOPDIR)/doc; $(INSTALL_DATA) * @datadir@/doc/gw; }
@echo " "
# To install any useful read-only architecture independant files
DIRDATA := icons ndb macros demos
installdata:
@echo " "
@echo " ---> Installing data files in " @datadir@/gw
@echo " "
@{ for dir in $(DIRDATA); do \
cd $(TOPDIR); ./mkinstalldirs @datadir@/gw/$$dir; \
cd $(TOPDIR)/$$dir; tar --exclude=.svn --exclude=tmp.tar -cf tmp.tar ./; \
$(INSTALL_DATA) tmp.tar @datadir@/gw/$$dir; rm -rf tmp.tar; \
cd @datadir@/gw/$$dir; tar -xf tmp.tar; rm -rf tmp.tar;\
echo @datadir@/gw/$$dir done; \
done }
@{ $(INSTALL_DATA) README @datadir@/gw; }
@{ $(INSTALL_DATA) INSTALL @datadir@/gw; }
@{ $(INSTALL_DATA) AUTHORS @datadir@/gw;}
@echo " "
# Make sure basic installation directories actually exist by making them if necessary
installdirs:
@echo " "
@echo " ---> Checking if install directories exist"
@{ cd $(TOPDIR); ./mkinstalldirs @bindir@ ;}
@{ cd $(TOPDIR); ./mkinstalldirs @libdir@ ;}
@{ cd $(TOPDIR); ./mkinstalldirs @includedir@ ; }
@echo " "
installinc: inc
@echo " "
@echo " ---> Installing all includes in " @includedir@
@{ cd $(TOPDIR); cd include; $(INSTALL_DATA) *.h @includedir@ ; }
@echo " "
# to get a tarball of the package
dist: inc clean
@echo " "
@echo " ---> Building tarball " ../@PACKAGE_TARNAME@.tar
@ { cd $(TOPDIR); cd ..; tar --exclude=.svn -cf @PACKAGE_TARNAME@.tar gammaware; }
@echo " ---> Compressing ... "
@gzip ../@PACKAGE_TARNAME@.tar
@echo ""
# global install lib, bin, includes and data
install: modules rmap installdirs installinc installdata
@echo " "
@echo " ---> Installing Distribution"
@echo " "
@{ for dir in $(SUBDIRS); do \
cd $(TOPDIR); cd $$dir; $(MAKE) -f Makefile install; \
done }
@$(INSTALL_DATA) $(GWROOTMAP) @libdir@
@$(INSTALL_DATA) .GWVERSIONS @prefix@
@echo " "
# to use only during the development phase
installdev: modules rmap installdirs installinc
@echo " "
@echo " <----------- Development Distribution -----------> "
@echo " "
@{ for dir in $(SUBDIRS); do \
cd $(TOPDIR); cd $$dir; $(MAKE) -f Makefile install; \
done }
$(INSTALL_DATA) $(GWROOTMAP) @libdir@
@echo " "
# to check out the current configuration
showconf:
@echo "-----------------------------------------------------------"
@echo " <<< @PACKAGE_NAME@ [@PACKAGE_VERSION@] >>> "
@echo "-----------------------------------------------------------"
@echo " Informations are available on the web :"
@echo " http://agata.in2p3.fr"
@echo " Informations concerning root could be found here : "
@echo " http://root.cern.ch"
@echo "-----------------------------------------------------------"
@echo ""
@echo " Current ROOT configuration for compiling : "$(PLATFORM)
@echo " Sub-projects to be build:"
@echo " "$(SUBDIRS)
@echo ""
@echo " Installation directories:"
@echo " binaries : " @bindir@
@echo " libraries : " @libdir@
@echo " includes : " @includedir@
@echo " datadir : " @datadir@/gw
@echo " doc[oxygen]: " @datadir@/doc/gw
@echo "-----------------------------------------------------------"
# just a good bye
end:
@echo ""
@echo "-----------------------------------------------------------"
@echo " In case of problems : @PACKAGE_BUGREPORT@"
@echo "-----------------------------------------------------------"
@echo ""
This diff is collapsed.
# This file was generated.
# It contains the lists of macros which have been traced.
# It can be safely removed.
@request = (
bless( [
'0',
1,
[
'/usr/share/autoconf'
],
[
'/usr/share/autoconf/autoconf/autoconf.m4f',
'configure.in'
],
{
'AM_PROG_F77_C_O' => 1,
'_LT_AC_TAGCONFIG' => 1,
'm4_pattern_forbid' => 1,
'AC_CANONICAL_TARGET' => 1,
'AC_CONFIG_LIBOBJ_DIR' => 1,
'AC_C_VOLATILE' => 1,
'AC_TYPE_OFF_T' => 1,
'AC_FUNC_CLOSEDIR_VOID' => 1,
'AC_REPLACE_FNMATCH' => 1,
'AC_PROG_LIBTOOL' => 1,
'AC_FUNC_STAT' => 1,
'AC_FUNC_WAIT3' => 1,
'AC_HEADER_TIME' => 1,
'AC_FUNC_LSTAT' => 1,
'AC_STRUCT_TM' => 1,
'AM_AUTOMAKE_VERSION' => 1,
'AC_FUNC_GETMNTENT' => 1,
'AC_TYPE_MODE_T' => 1,
'AC_CHECK_HEADERS' => 1,
'AC_FUNC_STRTOD' => 1,
'LT_CONFIG_LTDL_DIR' => 1,
'AC_FUNC_STRNLEN' => 1,
'm4_sinclude' => 1,
'AC_PROG_CXX' => 1,
'AC_PATH_X' => 1,
'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK' => 1,
'AC_PROG_AWK' => 1,
'_m4_warn' => 1,
'AC_HEADER_STDC' => 1,
'AC_HEADER_MAJOR' => 1,
'AM_PROG_CXX_C_O' => 1,
'LT_INIT' => 1,
'AC_FUNC_ERROR_AT_LINE' => 1,
'AC_PROG_GCC_TRADITIONAL' => 1,
'AC_LIBSOURCE' => 1,
'AC_FUNC_MBRTOWC' => 1,
'AC_STRUCT_ST_BLOCKS' => 1,
'AC_TYPE_SIGNAL' => 1,
'AC_CANONICAL_BUILD' => 1,
'AM_PROG_FC_C_O' => 1,
'AC_TYPE_UID_T' => 1,
'AC_PROG_MAKE_SET' => 1,
'AC_CONFIG_AUX_DIR' => 1,
'_AM_SUBST_NOTMAKE' => 1,
'm4_pattern_allow' => 1,
'sinclude' => 1,
'AC_DEFINE_TRACE_LITERAL' => 1,
'AC_FUNC_STRERROR_R' => 1,
'AC_PROG_CC' => 1,
'AC_FUNC_FORK' => 1,
'AC_DECL_SYS_SIGLIST' => 1,
'AC_FUNC_STRCOLL' => 1,
'AC_FUNC_VPRINTF' => 1,
'AC_PROG_YACC' => 1,
'AC_SUBST_TRACE' => 1,
'AC_INIT' => 1,
'AC_STRUCT_TIMEZONE' => 1,
'AC_FUNC_CHOWN' => 1,
'AC_SUBST' => 1,
'AC_FUNC_ALLOCA' => 1,
'AC_FC_SRCEXT' => 1,
'AC_CANONICAL_HOST' => 1,
'AC_FUNC_GETPGRP' => 1,
'AC_PROG_RANLIB' => 1,
'AC_FUNC_SETPGRP' => 1,
'AM_INIT_AUTOMAKE' => 1,
'AC_CONFIG_SUBDIRS' => 1,
'AC_FUNC_MMAP' => 1,
'AC_FUNC_REALLOC' => 1,
'AC_TYPE_SIZE_T' => 1,
'AC_CHECK_TYPES' => 1,
'AC_CONFIG_LINKS' => 1,
'AC_REQUIRE_AUX_FILE' => 1,
'LT_SUPPORTED_TAG' => 1,
'AC_CHECK_MEMBERS' => 1,
'AM_MAINTAINER_MODE' => 1,
'AC_FUNC_UTIME_NULL' => 1,
'AC_FUNC_SELECT_ARGTYPES' => 1,
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
'AC_HEADER_STAT' => 1,
'AC_FUNC_STRFTIME' => 1,
'AC_PROG_CPP' => 1,
'AC_C_INLINE' => 1,
'AC_TYPE_PID_T' => 1,
'AC_PROG_LEX' => 1,
'AC_C_CONST' => 1,
'AM_ENABLE_MULTILIB' => 1,
'AC_CONFIG_FILES' => 1,
'include' => 1,
'AC_FUNC_SETVBUF_REVERSED' => 1,
'AC_PROG_INSTALL' => 1,
'AM_GNU_GETTEXT' => 1,
'AC_CHECK_LIB' => 1,
'AC_FUNC_OBSTACK' => 1,
'AC_FUNC_MALLOC' => 1,
'AC_FUNC_GETGROUPS' => 1,
'AC_FUNC_GETLOADAVG' => 1,
'AC_FC_FREEFORM' => 1,
'AH_OUTPUT' => 1,
'AC_FUNC_FSEEKO' => 1,
'AM_PROG_CC_C_O' => 1,
'AC_FUNC_MKTIME' => 1,
'AC_CANONICAL_SYSTEM' => 1,
'AM_CONDITIONAL' => 1,
'AC_CONFIG_HEADERS' => 1,
'AC_HEADER_SYS_WAIT' => 1,
'AC_PROG_LN_S' => 1,
'AC_FUNC_MEMCMP' => 1,
'm4_include' => 1,
'AC_HEADER_DIRENT' => 1,
'AC_CHECK_FUNCS' => 1
}
], 'Autom4te::Request' )
);
m4trace:configure.in:6: -1- AC_INIT([GammaWare], [0.9], [agata(AT)ipnl.in2p3.fr], [GammaWare0.9])
m4trace:configure.in:6: -1- m4_pattern_forbid([^_?A[CHUM]_])
m4trace:configure.in:6: -1- m4_pattern_forbid([_AC_])
m4trace:configure.in:6: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
m4trace:configure.in:6: -1- m4_pattern_allow([^AS_FLAGS$])
m4trace:configure.in:6: -1- m4_pattern_forbid([^_?m4_])
m4trace:configure.in:6: -1- m4_pattern_forbid([^dnl$])
m4trace:configure.in:6: -1- m4_pattern_forbid([^_?AS_])
m4trace:configure.in:6: -1- AC_SUBST([SHELL], [${CONFIG_SHELL-/bin/sh}])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([SHELL])
m4trace:configure.in:6: -1- m4_pattern_allow([^SHELL$])
m4trace:configure.in:6: -1- AC_SUBST([PATH_SEPARATOR])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([PATH_SEPARATOR])
m4trace:configure.in:6: -1- m4_pattern_allow([^PATH_SEPARATOR$])
m4trace:configure.in:6: -1- AC_SUBST([PACKAGE_NAME], [m4_ifdef([AC_PACKAGE_NAME], ['AC_PACKAGE_NAME'])])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([PACKAGE_NAME])
m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_NAME$])
m4trace:configure.in:6: -1- AC_SUBST([PACKAGE_TARNAME], [m4_ifdef([AC_PACKAGE_TARNAME], ['AC_PACKAGE_TARNAME'])])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([PACKAGE_TARNAME])
m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
m4trace:configure.in:6: -1- AC_SUBST([PACKAGE_VERSION], [m4_ifdef([AC_PACKAGE_VERSION], ['AC_PACKAGE_VERSION'])])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([PACKAGE_VERSION])
m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_VERSION$])
m4trace:configure.in:6: -1- AC_SUBST([PACKAGE_STRING], [m4_ifdef([AC_PACKAGE_STRING], ['AC_PACKAGE_STRING'])])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([PACKAGE_STRING])
m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_STRING$])
m4trace:configure.in:6: -1- AC_SUBST([PACKAGE_BUGREPORT], [m4_ifdef([AC_PACKAGE_BUGREPORT], ['AC_PACKAGE_BUGREPORT'])])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([PACKAGE_BUGREPORT])
m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
m4trace:configure.in:6: -1- AC_SUBST([exec_prefix], [NONE])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([exec_prefix])
m4trace:configure.in:6: -1- m4_pattern_allow([^exec_prefix$])
m4trace:configure.in:6: -1- AC_SUBST([prefix], [NONE])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([prefix])
m4trace:configure.in:6: -1- m4_pattern_allow([^prefix$])
m4trace:configure.in:6: -1- AC_SUBST([program_transform_name], [s,x,x,])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([program_transform_name])
m4trace:configure.in:6: -1- m4_pattern_allow([^program_transform_name$])
m4trace:configure.in:6: -1- AC_SUBST([bindir], ['${exec_prefix}/bin'])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([bindir])
m4trace:configure.in:6: -1- m4_pattern_allow([^bindir$])
m4trace:configure.in:6: -1- AC_SUBST([sbindir], ['${exec_prefix}/sbin'])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([sbindir])
m4trace:configure.in:6: -1- m4_pattern_allow([^sbindir$])
m4trace:configure.in:6: -1- AC_SUBST([libexecdir], ['${exec_prefix}/libexec'])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([libexecdir])
m4trace:configure.in:6: -1- m4_pattern_allow([^libexecdir$])
m4trace:configure.in:6: -1- AC_SUBST([datarootdir], ['${prefix}/share'])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([datarootdir])
m4trace:configure.in:6: -1- m4_pattern_allow([^datarootdir$])
m4trace:configure.in:6: -1- AC_SUBST([datadir], ['${datarootdir}'])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([datadir])
m4trace:configure.in:6: -1- m4_pattern_allow([^datadir$])
m4trace:configure.in:6: -1- AC_SUBST([sysconfdir], ['${prefix}/etc'])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([sysconfdir])
m4trace:configure.in:6: -1- m4_pattern_allow([^sysconfdir$])
m4trace:configure.in:6: -1- AC_SUBST([sharedstatedir], ['${prefix}/com'])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([sharedstatedir])
m4trace:configure.in:6: -1- m4_pattern_allow([^sharedstatedir$])
m4trace:configure.in:6: -1- AC_SUBST([localstatedir], ['${prefix}/var'])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([localstatedir])
m4trace:configure.in:6: -1- m4_pattern_allow([^localstatedir$])
m4trace:configure.in:6: -1- AC_SUBST([includedir], ['${prefix}/include'])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([includedir])
m4trace:configure.in:6: -1- m4_pattern_allow([^includedir$])
m4trace:configure.in:6: -1- AC_SUBST([oldincludedir], ['/usr/include'])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([oldincludedir])
m4trace:configure.in:6: -1- m4_pattern_allow([^oldincludedir$])
m4trace:configure.in:6: -1- AC_SUBST([docdir], [m4_ifset([AC_PACKAGE_TARNAME],
['${datarootdir}/doc/${PACKAGE_TARNAME}'],
['${datarootdir}/doc/${PACKAGE}'])])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([docdir])
m4trace:configure.in:6: -1- m4_pattern_allow([^docdir$])
m4trace:configure.in:6: -1- AC_SUBST([infodir], ['${datarootdir}/info'])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([infodir])
m4trace:configure.in:6: -1- m4_pattern_allow([^infodir$])
m4trace:configure.in:6: -1- AC_SUBST([htmldir], ['${docdir}'])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([htmldir])
m4trace:configure.in:6: -1- m4_pattern_allow([^htmldir$])
m4trace:configure.in:6: -1- AC_SUBST([dvidir], ['${docdir}'])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([dvidir])
m4trace:configure.in:6: -1- m4_pattern_allow([^dvidir$])
m4trace:configure.in:6: -1- AC_SUBST([pdfdir], ['${docdir}'])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([pdfdir])
m4trace:configure.in:6: -1- m4_pattern_allow([^pdfdir$])
m4trace:configure.in:6: -1- AC_SUBST([psdir], ['${docdir}'])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([psdir])
m4trace:configure.in:6: -1- m4_pattern_allow([^psdir$])
m4trace:configure.in:6: -1- AC_SUBST([libdir], ['${exec_prefix}/lib'])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([libdir])
m4trace:configure.in:6: -1- m4_pattern_allow([^libdir$])
m4trace:configure.in:6: -1- AC_SUBST([localedir], ['${datarootdir}/locale'])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([localedir])
m4trace:configure.in:6: -1- m4_pattern_allow([^localedir$])
m4trace:configure.in:6: -1- AC_SUBST([mandir], ['${datarootdir}/man'])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([mandir])
m4trace:configure.in:6: -1- m4_pattern_allow([^mandir$])
m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_NAME])
m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_NAME$])
m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_NAME], [/* Define to the full name of this package. */
#undef PACKAGE_NAME])
m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_TARNAME])
m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_TARNAME$])
m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_TARNAME], [/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME])
m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_VERSION])
m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_VERSION$])
m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_VERSION], [/* Define to the version of this package. */
#undef PACKAGE_VERSION])
m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_STRING])
m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_STRING$])
m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_STRING], [/* Define to the full name and version of this package. */
#undef PACKAGE_STRING])
m4trace:configure.in:6: -1- AC_DEFINE_TRACE_LITERAL([PACKAGE_BUGREPORT])
m4trace:configure.in:6: -1- m4_pattern_allow([^PACKAGE_BUGREPORT$])
m4trace:configure.in:6: -1- AH_OUTPUT([PACKAGE_BUGREPORT], [/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT])
m4trace:configure.in:6: -1- AC_SUBST([DEFS])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([DEFS])
m4trace:configure.in:6: -1- m4_pattern_allow([^DEFS$])
m4trace:configure.in:6: -1- AC_SUBST([ECHO_C])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([ECHO_C])
m4trace:configure.in:6: -1- m4_pattern_allow([^ECHO_C$])
m4trace:configure.in:6: -1- AC_SUBST([ECHO_N])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([ECHO_N])
m4trace:configure.in:6: -1- m4_pattern_allow([^ECHO_N$])
m4trace:configure.in:6: -1- AC_SUBST([ECHO_T])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([ECHO_T])
m4trace:configure.in:6: -1- m4_pattern_allow([^ECHO_T$])
m4trace:configure.in:6: -1- AC_SUBST([LIBS])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([LIBS])
m4trace:configure.in:6: -1- m4_pattern_allow([^LIBS$])
m4trace:configure.in:6: -1- AC_SUBST([build_alias])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([build_alias])
m4trace:configure.in:6: -1- m4_pattern_allow([^build_alias$])
m4trace:configure.in:6: -1- AC_SUBST([host_alias])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([host_alias])
m4trace:configure.in:6: -1- m4_pattern_allow([^host_alias$])
m4trace:configure.in:6: -1- AC_SUBST([target_alias])
m4trace:configure.in:6: -1- AC_SUBST_TRACE([target_alias])
m4trace:configure.in:6: -1- m4_pattern_allow([^target_alias$])
m4trace:configure.in:30: -1- AC_SUBST([exec_prefix], [$prefix])
m4trace:configure.in:30: -1- AC_SUBST_TRACE([exec_prefix])
m4trace:configure.in:30: -1- m4_pattern_allow([^exec_prefix$])
m4trace:configure.in:31: -1- AC_SUBST([includedir], [$prefix/include/gw$PACKAGE_VERSION])
m4trace:configure.in:31: -1- AC_SUBST_TRACE([includedir])
m4trace:configure.in:31: -1- m4_pattern_allow([^includedir$])
m4trace:configure.in:32: -1- AC_SUBST([libdir], [$prefix/lib/gw$PACKAGE_VERSION])
m4trace:configure.in:32: -1- AC_SUBST_TRACE([libdir])
m4trace:configure.in:32: -1- m4_pattern_allow([^libdir$])
m4trace:configure.in:33: -1- AC_SUBST([bindir], [$prefix/bin/gw$PACKAGE_VERSION])
m4trace:configure.in:33: -1- AC_SUBST_TRACE([bindir])
m4trace:configure.in:33: -1- m4_pattern_allow([^bindir$])
m4trace:configure.in:34: -1- AC_SUBST([datadir], [$prefix/share])
m4trace:configure.in:34: -1- AC_SUBST_TRACE([datadir])
m4trace:configure.in:34: -1- m4_pattern_allow([^datadir$])
m4trace:configure.in:51: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
You should run autoupdate.], [/var/tmp/autoconf/autoconf-15~401/SRC/autoconf/lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
configure.in:51: the top level])
m4trace:configure.in:56: -2- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
You should run autoupdate.], [/var/tmp/autoconf/autoconf-15~401/SRC/autoconf/lib/autoconf/general.m4:209: AC_HELP_STRING is expanded from...
configure.in:56: the top level])
m4trace:configure.in:61: -1- AC_SUBST([SUBPROJETS], [$sub_projects_dir])
m4trace:configure.in:61: -1- AC_SUBST_TRACE([SUBPROJETS])
m4trace:configure.in:61: -1- m4_pattern_allow([^SUBPROJETS$])
m4trace:configure.in:65: -1- AC_PROG_MAKE_SET([gmake])
m4trace:configure.in:65: -1- AC_SUBST([SET_MAKE])
m4trace:configure.in:65: -1- AC_SUBST_TRACE([SET_MAKE])
m4trace:configure.in:65: -1- m4_pattern_allow([^SET_MAKE$])
m4trace:configure.in:71: -1- AC_SUBST([ROOTCINT_FOUND])
m4trace:configure.in:71: -1- AC_SUBST_TRACE([ROOTCINT_FOUND])
m4trace:configure.in:71: -1- m4_pattern_allow([^ROOTCINT_FOUND$])
m4trace:configure.in:74: -1- AC_SUBST([ROOTCONF_FOUND])
m4trace:configure.in:74: -1- AC_SUBST_TRACE([ROOTCONF_FOUND])
m4trace:configure.in:74: -1- m4_pattern_allow([^ROOTCONF_FOUND$])
m4trace:configure.in:77: -1- AC_SUBST([ROOTMAP_FOUND])
m4trace:configure.in:77: -1- AC_SUBST_TRACE([ROOTMAP_FOUND])
m4trace:configure.in:77: -1- m4_pattern_allow([^ROOTMAP_FOUND$])
m4trace:configure.in:82: -1- AC_SUBST([INSTALL_PROGRAM], ['cp'])
m4trace:configure.in:82: -1- AC_SUBST_TRACE([INSTALL_PROGRAM])
m4trace:configure.in:82: -1- m4_pattern_allow([^INSTALL_PROGRAM$])
m4trace:configure.in:83: -1- AC_SUBST([INSTALL_DATA], ['cp -R -p'])
m4trace:configure.in:83: -1- AC_SUBST_TRACE([INSTALL_DATA])
m4trace:configure.in:83: -1- m4_pattern_allow([^INSTALL_DATA$])
m4trace:configure.in:109: -1- AC_CONFIG_HEADERS([src/adf/ADFConfig.h])
m4trace:configure.in:152: -1- AC_CONFIG_FILES([ Makefile ])
m4trace:configure.in:153: -1- AC_CONFIG_FILES([ Doxyfile ])
m4trace:configure.in:154: -1- AC_CONFIG_FILES([ scripts/GwEnv.C ])
m4trace:configure.in:155: -1- AC_CONFIG_FILES([ src/root/core/Makefile ])
m4trace:configure.in:156: -1- AC_CONFIG_FILES([ src/root/physics/Makefile ])
m4trace:configure.in:157: -1- AC_CONFIG_FILES([ src/root/gem/Makefile ])
m4trace:configure.in:158: -1- AC_CONFIG_FILES([ src/root/tools/Makefile ])
m4trace:configure.in:159: -1- AC_CONFIG_FILES([ src/system/Makefile ])
m4trace:configure.in:160: -1- AC_CONFIG_FILES([ src/root/ganil/Makefile ])
m4trace:configure.in:161: -1- AC_CONFIG_FILES([ demos/gem/rootlogon.C ])
m4trace:configure.in:162: -1- AC_CONFIG_FILES([ demos/tools/rootlogon.C ])
m4trace:configure.in:163: -1- AC_CONFIG_FILES([ src/root/core/GwConfig.h])
m4trace:configure.in:164: -1- AC_CONFIG_FILES([ src/adf/Makefile])
m4trace:configure.in:165: -1- AC_CONFIG_FILES([ src/root/adfe/Makefile])
m4trace:configure.in:166: -1- AC_CONFIG_FILES([ src/deprecated/Makefile])
m4trace:configure.in:168: -1- AC_CONFIG_FILES([ src/dev/Makefile])
m4trace:configure.in:170: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
m4trace:configure.in:170: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
m4trace:configure.in:170: -1- m4_pattern_allow([^LIB@&t@OBJS$])
m4trace:configure.in:170: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
m4trace:configure.in:170: -1- AC_SUBST_TRACE([LTLIBOBJS])
m4trace:configure.in:170: -1- m4_pattern_allow([^LTLIBOBJS$])
m4trace:configure.in:170: -1- AC_SUBST_TRACE([top_builddir])
m4trace:configure.in:170: -1- AC_SUBST_TRACE([srcdir])
m4trace:configure.in:170: -1- AC_SUBST_TRACE([abs_srcdir])
m4trace:configure.in:170: -1- AC_SUBST_TRACE([top_srcdir])
m4trace:configure.in:170: -1- AC_SUBST_TRACE([abs_top_srcdir])
m4trace:configure.in:170: -1- AC_SUBST_TRACE([builddir])
m4trace:configure.in:170: -1- AC_SUBST_TRACE([abs_builddir])
m4trace:configure.in:170: -1- AC_SUBST_TRACE([abs_top_builddir])
#---------------------------------------------------------------------------------------------------
# CheckCompiler.cmake
#---------------------------------------------------------------------------------------------------
#---Enable FORTRAN (unfortunatelly is not not possible in all cases)-------------------------------
if(fortran AND NOT WIN32 AND NOT CMAKE_GENERATOR STREQUAL Xcode AND NOT CMAKE_GENERATOR STREQUAL Ninja)
#--Work-around for CMake issue 0009220
if(DEFINED CMAKE_Fortran_COMPILER AND CMAKE_Fortran_COMPILER MATCHES "^$")
set(CMAKE_Fortran_COMPILER CMAKE_Fortran_COMPILER-NOTFOUND)
endif()
enable_language(Fortran OPTIONAL)
endif()
#----Get the compiler file name (to ensure re-location)---------------------------------------------
get_filename_component(_compiler_name ${CMAKE_CXX_COMPILER} NAME)
get_filename_component(_compiler_path ${CMAKE_CXX_COMPILER} PATH)
if("$ENV{PATH}" MATCHES ${_compiler_path})
set(CXX ${_compiler_name})
else()
set(CXX ${CMAKE_CXX_COMPILER})
endif()
string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE)
#----Test if clang setup works----------------------------------------------------------------------
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")