version 1.1.1.1.10.2, 2016/05/18 10:49:22 |
version 1.1.1.1.10.3, 2017/02/19 07:28:10 |
Line 25 dnl test. I believe this test will work, |
|
Line 25 dnl test. I believe this test will work, |
|
dnl GNU M4 to test it right now. |
dnl GNU M4 to test it right now. |
define([expat_version], ifdef([__gnu__], |
define([expat_version], ifdef([__gnu__], |
[esyscmd(conftools/get-version.sh lib/expat.h)], |
[esyscmd(conftools/get-version.sh lib/expat.h)], |
[2.1.x])) |
[2.2.x])) |
AC_INIT(expat, expat_version, expat-bugs@libexpat.org) |
AC_INIT(expat, expat_version, expat-bugs@libexpat.org) |
undefine([expat_version]) |
undefine([expat_version]) |
|
|
|
|
dnl If the API changes incompatibly set LIBAGE back to 0 |
dnl If the API changes incompatibly set LIBAGE back to 0 |
dnl |
dnl |
|
|
LIBCURRENT=7 |
LIBCURRENT=7 # sync |
LIBREVISION=0 |
LIBREVISION=2 # with |
LIBAGE=6 |
LIBAGE=6 # CMakeLists.txt! |
|
|
AC_CONFIG_HEADER(expat_config.h) |
AC_CONFIG_HEADER(expat_config.h) |
|
|
Line 77 if test "$GCC" = yes ; then |
|
Line 77 if test "$GCC" = yes ; then |
|
AC_TRY_LINK( , , |
AC_TRY_LINK( , , |
AC_MSG_RESULT(yes), |
AC_MSG_RESULT(yes), |
AC_MSG_RESULT(no); CFLAGS="$OLDCFLAGS") |
AC_MSG_RESULT(no); CFLAGS="$OLDCFLAGS") |
|
if test "x$CXXFLAGS" = x ; then |
CXXFLAGS=`echo "$CFLAGS" | sed 's/ -Wmissing-prototypes -Wstrict-prototypes//'` |
CXXFLAGS=`echo "$CFLAGS" | sed 's/ -Wmissing-prototypes -Wstrict-prototypes//'` |
|
fi |
fi |
fi |
|
|
dnl Checks for header files. |
dnl Checks for header files. |