Differences From Artifact [360209fe98]:
- File configure.ac — part of check-in [84f2ba7fbc] at 2015-05-16 18:32:49 on branch trunk — utils/ofhttp: Get terminal width for progress bar (user: js, size: 28735) [annotate] [blame] [check-ins using]
To Artifact [9383b47e78]:
- File
configure.ac
— part of check-in
[1807f33207]
at
2015-05-16 19:05:58
on branch trunk
— configure: We still need -D_GNU_SOURCE
Using just -std=gnu* is not enough. (user: js, size: 28974) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
176 177 178 179 180 181 182 183 184 185 186 187 188 189 | AC_DEFINE_UNQUOTED(PLUGIN_SUFFIX, "$PLUGIN_SUFFIX", [Suffix for plugins]) AS_IF([test x"$PLUGIN_SUFFIX" != x""], [ AC_SUBST(USE_SRCS_PLUGINS, '${SRCS_PLUGINS}') AC_SUBST(TESTPLUGIN, "plugin") AC_DEFINE(OF_HAVE_PLUGINS, 1, [Whether we have plugin support]) ]) case "$host_os" in solaris*) CPPFLAGS="-D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS $CPPFLAGS" ;; esac | > > > > > > > > > > > > > > | 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 | AC_DEFINE_UNQUOTED(PLUGIN_SUFFIX, "$PLUGIN_SUFFIX", [Suffix for plugins]) AS_IF([test x"$PLUGIN_SUFFIX" != x""], [ AC_SUBST(USE_SRCS_PLUGINS, '${SRCS_PLUGINS}') AC_SUBST(TESTPLUGIN, "plugin") AC_DEFINE(OF_HAVE_PLUGINS, 1, [Whether we have plugin support]) ]) AC_MSG_CHECKING(whether we need -D_GNU_SOURCE) AC_EGREP_CPP(yes, [ #include <stdlib.h> #if defined(__GLIBC__) || defined(__MINGW32__) yes #endif ], [ CPPFLAGS="-D_GNU_SOURCE $CPPFLAGS" AC_MSG_RESULT(yes) ], [ AC_MSG_RESULT(no) ]) case "$host_os" in solaris*) CPPFLAGS="-D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS $CPPFLAGS" ;; esac |
︙ | ︙ |