|
|
|
|
|
|
|
|
dnl |
|
|
dnl |
|
|
AC_PREREQ(2.52) |
|
|
AC_PREREQ(2.52) |
|
|
|
|
|
|
|
|
AC_INIT(snf-server, 3.0.5) |
|
|
|
|
|
|
|
|
AC_INIT(snf-server, 3.0.6) |
|
|
AC_CONFIG_SRCDIR(SNFMulti/snfCFGmgr.cpp) |
|
|
AC_CONFIG_SRCDIR(SNFMulti/snfCFGmgr.cpp) |
|
|
AC_CONFIG_AUX_DIR(config) |
|
|
AC_CONFIG_AUX_DIR(config) |
|
|
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) |
|
|
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) |
|
|
|
|
|
|
|
|
dnl |
|
|
dnl |
|
|
dnl Additional compile-time and link-time flags. |
|
|
dnl Additional compile-time and link-time flags. |
|
|
dnl |
|
|
dnl |
|
|
SNF_CXXFLAGS='-O3 -Wall -pthread' |
|
|
|
|
|
|
|
|
OTHER_CXXFLAGS='-O3' |
|
|
|
|
|
SNF_CXXFLAGS='$(OTHER_CXXFLAGS) -pthread' |
|
|
SNF_LIBS='' |
|
|
SNF_LIBS='' |
|
|
|
|
|
|
|
|
|
|
|
AC_SUBST(OTHER_CXXFLAGS) |
|
|
AC_SUBST(SNF_CXXFLAGS) |
|
|
AC_SUBST(SNF_CXXFLAGS) |
|
|
AC_SUBST(SNF_LIBS) |
|
|
AC_SUBST(SNF_LIBS) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Type "make SNF_CXXFLAGS='-g -pthread'" to build the system for debugging. |
|
|
Type "make SNF_CXXFLAGS='-g -pthread'" to build the system for debugging. |
|
|
|
|
|
|
|
|
|
|
|
Type "make OTHER_CXXFLAGS=flags" to build the system with compiler |
|
|
|
|
|
flags 'flags'. |
|
|
|
|
|
|
|
|
|
|
|
For example: |
|
|
|
|
|
|
|
|
|
|
|
Type "make OTHER_CXXFLAGS=-g" to build the system for debugging. |
|
|
|
|
|
|
|
|
|
|
|
Type "make OTHER_CXXFLAGS=-Wall" to enable all warnings. |
|
|
|
|
|
|
|
|
|
|
|
Type "make OTHER_CXXFLAGS=-Wall -O3" to enable warnings and O3 |
|
|
|
|
|
optimizations. |
|
|
|
|
|
|
|
|
|
|
|
Default value: $OTHER_CXXFLAGS |
|
|
|
|
|
|
|
|
OS type: $SNF_OSTYPE |
|
|
OS type: $SNF_OSTYPE |
|
|
|
|
|
|
|
|
The software will be installed in $prefix. |
|
|
The software will be installed in $prefix. |