a/configure.ac b/configure.ac
...
...
6
AC_CONFIG_HEADERS([src/config.h])
6
AC_CONFIG_HEADERS([src/config.h])
7
AH_BOTTOM([#include "src/conf_post.h"])
7
AH_BOTTOM([#include "src/conf_post.h"])
8
8
9
AM_INIT_AUTOMAKE([1.10 no-define subdir-objects foreign])
9
AM_INIT_AUTOMAKE([1.10 no-define subdir-objects foreign])
10
10
11
if test X$CXXFLAGS = X;then
12
   CXXFLAGS="-std=c++11 -g -O2"
13
fi
11
AC_PROG_CXX
14
AC_PROG_CXX
12
15
13
# ! Not sure that this is needed for upmpdcli and not only libupnpp
16
# ! Not sure that this is needed for upmpdcli and not only libupnpp
14
# libupnp is configured with large file support, and we need to do the same,
17
# libupnp is configured with large file support, and we need to do the same,
15
# else a difference in off_t size impacts struct File_Info and prevents the
18
# else a difference in off_t size impacts struct File_Info and prevents the