Update the AC_PYTHON_DEVEL macro to support also Python 3.0.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@1336 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
97ae368042
commit
0ff989f891
4 changed files with 53 additions and 34 deletions
|
@ -85,12 +85,12 @@ AC_ARG_ENABLE([visibility-support],
|
|||
[enable_gcc_visibility="$enableval"],
|
||||
[enable_gcc_visibility="no"])
|
||||
AC_MSG_CHECKING([whether to use new GCC visibility attributes])
|
||||
AC_MSG_RESULT([$enable_gcc_visibility])
|
||||
if test "x$enable_gcc_visibility" = "xno"; then
|
||||
CPPFLAGS="${CPPFLAGS} -DDISABLE_VISIBILITY_SUPPORT"
|
||||
else
|
||||
AC_CHECK_CXXFLAG([CXXFLAGS], [fvisibility-inlines-hidden])
|
||||
fi
|
||||
AC_MSG_RESULT([$enable_gcc_visibility])
|
||||
|
||||
|
||||
AC_PROG_INSTALL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue