Back to home page

sPhenix code displayed by LXR

 
 

    


Warning, /coresoftware/offline/QA/EventDisplay/configure.ac is written in an unsupported language. File is not indexed.

0001 AC_INIT(EventDisplay,[1.00])
0002 AC_CONFIG_SRCDIR([configure.ac])
0003 
0004 AM_INIT_AUTOMAKE
0005 AC_PROG_CXX(CC g++)
0006 LT_INIT([disable-static])
0007 
0008 dnl leaving this here in case we want to play with different compiler 
0009 dnl specific flags
0010 dnl case $CXX in
0011 dnl  clang++)
0012 dnl   CXXFLAGS="$CXXFLAGS -Wall -Werror"
0013 dnl  ;;
0014 dnl  *g++)
0015 dnl   CXXFLAGS="$CXXFLAGS -Wall -Werror"
0016 dnl  ;;
0017 dnl esac
0018 
0019 if test $ac_cv_prog_gxx = yes; then
0020      CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wshadow -Werror"
0021 fi
0022 
0023 case $CXX in
0024  clang++)
0025    CXXFLAGS="$CXXFLAGS -Wno-dangling -fopenmp"
0026  ;;
0027 esac
0028 
0029 
0030 AC_CONFIG_FILES([Makefile])
0031 AC_OUTPUT