Back to home page

sPhenix code displayed by LXR

 
 

    


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

0001 AC_INIT(tpc, [1.00])
0002 AC_CONFIG_SRCDIR([configure.ac])
0003 
0004 AM_INIT_AUTOMAKE
0005 
0006 AC_PROG_CXX(CC g++)
0007 LT_INIT([disable-static])
0008 
0009 dnl   no point in suppressing warnings people should 
0010 dnl   at least see them, so here we go for g++: -Wall
0011 if test $ac_cv_prog_gxx = yes; then
0012    CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wshadow -Werror"
0013 fi
0014 
0015 CINTDEFS=" -noIncludePaths  -inlineInputHeader "
0016 AC_SUBST(CINTDEFS)
0017 
0018 AC_ARG_ENABLE(online,
0019         [  --enable-online      build using for online [default=no]],
0020         [case "${enableval}" in
0021                 yes) online=true ;;
0022                 no)  online=false ;;
0023                 *) AC_MSG_ERROR(bad value ${enableval} for --enable-online) ;;
0024                 esac],
0025         online=false)
0026 AM_CONDITIONAL(USE_ONLINE, test "x$online" = xtrue)
0027 
0028 AC_CONFIG_FILES([Makefile])
0029 AC_OUTPUT