Back to home page

sPhenix code displayed by LXR

 
 

    


Warning, /analysis/TPC/groot/configure.in is written in an unsupported language. File is not indexed.

0001 AC_INIT(configure.in)
0002 
0003 AC_PROG_CXX(CC g++)
0004 AC_PROG_CC(cc gcc)
0005 
0006 AC_CANONICAL_HOST
0007 
0008 case "$host" in
0009   *-*-solaris*)
0010     CFLAGS="$CFLAGS -mt -fast -xO5"
0011     CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS"
0012     LIBS="-lposix4 -lresolv -lsocket -lnsl -lresolv -ldl -lm"
0013   ;;
0014   *-*-linux*)
0015     CPPFLAGS="$CPPFLAGS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DMUTEX_NOSHARE"
0016     LIBS="-lpthread -ldl" 
0017     CXXFLAGS="-O0 -g -std=c++11"
0018   ;;
0019   *)
0020     AC_MSG_ERROR([default compiler unknown for this system!])
0021   ;;
0022 esac
0023 
0024 dnl init automake (package,version)
0025 AM_INIT_AUTOMAKE(groot,8.00)
0026 
0027 dnl no static libraries
0028 AC_ENABLE_STATIC(no)
0029 
0030 dnl Checks for programs.
0031 AC_PROG_LIBTOOL
0032 
0033 dnl finally we want the following makefiles written out
0034 AC_OUTPUT(Makefile)