|
|
@@ -13,7 +13,7 @@ dnl |
|
|
|
dnl |
|
|
|
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_AUX_DIR(config) |
|
|
|
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION) |
|
|
@@ -86,9 +86,11 @@ AC_CHECK_LIB(pthread, pthread_create,, |
|
|
|
dnl |
|
|
|
dnl Additional compile-time and link-time flags. |
|
|
|
dnl |
|
|
|
SNF_CXXFLAGS='-O3 -Wall -pthread' |
|
|
|
OTHER_CXXFLAGS='-O3' |
|
|
|
SNF_CXXFLAGS='$(OTHER_CXXFLAGS) -pthread' |
|
|
|
SNF_LIBS='' |
|
|
|
|
|
|
|
AC_SUBST(OTHER_CXXFLAGS) |
|
|
|
AC_SUBST(SNF_CXXFLAGS) |
|
|
|
AC_SUBST(SNF_LIBS) |
|
|
|
|
|
|
@@ -111,6 +113,20 @@ Type "make" to build the system using the default (optimized) parameters. |
|
|
|
|
|
|
|
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 |
|
|
|
|
|
|
|
The software will be installed in $prefix. |