Commit d1ac5621 authored by Jeremy C. Reed's avatar Jeremy C. Reed
Browse files

For the linker test (for checking flags) make sure it has

some code to link with.

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent 88441f68
......@@ -195,14 +195,15 @@ fi
# specify the default warning flags in CXXFLAGS and let specific modules
# "override" the default.
# This may be used to try compiler flags.
# This may be used to try linker flags.
AC_MSG_CHECKING([whether $CXX supports $1])
AC_LINK_IFELSE([ ], [bind10_cxx_flag=yes], [bind10_cxx_flag=no])
AC_LINK_IFELSE([int main(void){ return 0;} ],
[bind10_cxx_flag=yes], [bind10_cxx_flag=no])
if test "x$bind10_cxx_flag" = "xyes"; then
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment