pike.git/
src/
configure.in
Branch:
Tag:
Non-build tags
All tags
No tags
2017-07-19
2017-07-19 17:17:41 by Bill Welliver <bill@welliver.org>
3a2b52b81e85a656817a0c0750556c8e0ce61543 (
8
lines) (+
4
/-
4
)
[
Show
|
Annotate
]
Branch:
8.1
Build: Attempt to get both Solaris and OSX to build with c99 support.
1620:
if test "x$enable_werror" = "xyes"; then AC_SYS_COMPILER_FLAG(-Werror,error,WARN) fi
-
+
if test "x${GCC-}" = xyes ; then # Do not use -Wall, since that produces a lot of warnings that are not # really interresting (such as the warning for if( ... ) ... if(
1654:
# NB: Both $CPP and $CC need to be configured to support # the same version of the C standard. Otherwise there # will be build failures on eg Solaris.
-
AC_SYS_COMPILER_FLAG(-std=c99, std_c99, CPP)
-
AC_SYS_COMPILER_FLAG(-std=c99, std_c99, CC)
-
+
AC_SYS_
OS_
COMPILER_FLAG(
Solaris,
-std=c99, std_c99, CPP)
+
AC_SYS_
OS_
COMPILER_FLAG(
Solaris,
-std=c99, std_c99, CC)
+
AC_SYS_COMPILER_FLAG(-std=c99, std_c99, CFLAGS)
if test "x$with_gcov" = "xyes"; then # Support for gcov AC_SYS_COMPILER_FLAG(-fprofile-arcs, fprofile_arcs, CFLAGS)