mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 03:50:57 +01:00
added some final output about compilation
This commit is contained in:
28
configure.ac
28
configure.ac
@@ -278,16 +278,16 @@ AC_RUN_IFELSE([
|
|||||||
AC_LANG_PROGRAM([[]],[[long one= 1; exit(!(*((char *)(&one)))); ]])],
|
AC_LANG_PROGRAM([[]],[[long one= 1; exit(!(*((char *)(&one)))); ]])],
|
||||||
[
|
[
|
||||||
AC_MSG_RESULT([no])
|
AC_MSG_RESULT([no])
|
||||||
bigendian=""
|
bigendian="no"
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
AC_MSG_RESULT([yes])
|
AC_MSG_RESULT([yes])
|
||||||
bigendian=1
|
bigendian="yes"
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -n "$bigendian"; then
|
if test "x$bigendian" = "xyes"; then
|
||||||
CFLAGS="$CFLAGS -D__CPU_IS_BIG_ENDIAN=1"
|
CFLAGS="$CFLAGS -D__CPU_IS_BIG_ENDIAN=1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -316,6 +316,8 @@ if test "x$python" = "xyes"; then
|
|||||||
python="no"
|
python="no"
|
||||||
AC_MSG_ERROR([python or cffi is not installed])
|
AC_MSG_ERROR([python or cffi is not installed])
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
python="no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AM_CONDITIONAL([BUILDPY], [test "x$python" = "xyes"])
|
AM_CONDITIONAL([BUILDPY], [test "x$python" = "xyes"])
|
||||||
@@ -331,5 +333,23 @@ AC_CONFIG_FILES([Makefile include/Makefile libpcp/Makefile src/Makefile man/Make
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
||||||
|
AC_MSG_RESULT([
|
||||||
|
$PACKAGE $VERSION
|
||||||
|
CC: ${CC}
|
||||||
|
CFLAGS: ${CFLAGS}
|
||||||
|
CXX: ${CXX}
|
||||||
|
CXXFLAGS: ${CXXFLAGS}
|
||||||
|
LDFLAGS: ${LDFLAGS}
|
||||||
|
LIBS: ${LIBS}
|
||||||
|
|
||||||
|
prefix: ${prefix}
|
||||||
|
sysconfdir: ${sysconfdir}
|
||||||
|
libdir: ${libdir}
|
||||||
|
includedir: ${includedir}
|
||||||
|
|
||||||
|
bigendian: ${bigendian}
|
||||||
|
|
||||||
|
build python binding: ${python}
|
||||||
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user