| 1 |
Descriptionscip-debian debian flam3 3.1.1+v20241231+ds-1 flam3/patches/`007-autoconf.patch`#Description.: Fix autoconf warnings |
| 2 |
Authorscip-debian debian flam3 3.1.1+v20241231+ds-1 flam3/patches/`007-autoconf.patch`#Author.: Peter Blackman <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 3 |
Last-Updatescip-debian debian flam3 3.1.1+v20241231+ds-1 flam3/patches/`007-autoconf.patch`#Last-Update.: 2021-12-16 |
| 4 |
Forwardedscip-debian debian flam3 3.1.1+v20241231+ds-1 flam3/patches/`007-autoconf.patch`#Forwarded.: not-needed |
| 5 |
|
| 6 |
Index: b/configure.acscip-debian debian flam3 3.1.1+v20241231+ds-1 flam3/upstream/`configure.ac`: |
| 7 |
=================================================================== |
| 8 |
--- a/configure.acscip-debian debian flam3 3.1.1+v20241231+ds-1 flam3/upstream/`configure.ac`: |
| 9 |
+++ b/configure.ac |
| 10 |
@@ -1,11 +1,12 @@ |
| 11 |
dnl $Id: configure.in,v 1.42 2008-07-21 18:51:56 spotspot Exp $ |
| 12 |
dnl Process this file with autoconf to produce a configure script. |
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
+AC_INIT([flam3], [3.1.1]) |
| 17 |
+AC_CONFIG_SRCDIR([flam3-animate.c]) |
| 18 |
+AC_CONFIG_HEADERS(config.h) |
| 19 |
AC_ARG_ENABLE(pthread, [ --enable-pthread compile FLAM3 with threads enabled (default=yes)]) |
| 20 |
AC_ARG_ENABLE(atomic_ops, [ --enable-atomic-ops compile FLAM3 with atom ops enabled (default=yes, independently checks for 32 and 64 bit sizes)]) |
| 21 |
|
| 22 |
+AM_INIT_AUTOMAKE |
| 23 |
|
| 24 |
AC_CONFIG_MACRO_DIR([m4]) |
| 25 |
|
| 26 |
@@ -18,12 +19,14 @@ |
| 27 |
|
| 28 |
AC_PROG_INSTALL |
| 29 |
AC_PROG_MAKE_SET |
| 30 |
|
| 31 |
|
| 32 |
|
| 33 |
+AC_DISABLE_SHARED([]) |
| 34 |
+LT_INIT |
| 35 |
+AC_CHECK_INCLUDES_DEFAULT |
| 36 |
+AC_PROG_EGREP |
| 37 |
+ |
| 38 |
AC_C_CONST |
| 39 |
AC_TYPE_SIZE_T |
| 40 |
|
| 41 |
+ |
| 42 |
AC_CHECK_LIB([z],[deflateInit_],,[AC_MSG_ERROR([zlib is required.])]) |
| 43 |
AC_CHECK_LIB([png],[png_write_image],,[AC_MSG_ERROR([The png library is required.])]) |
| 44 |
AC_CHECK_LIB([xml2],[xmlParseFile],,[AC_MSG_ERROR([The xml2 library is required.])]) |
| 45 |
@@ -36,9 +39,9 @@ |
| 46 |
if test "${enable_atomic_ops}" = "yes" ; then |
| 47 |
|
| 48 |
AC_MSG_CHECKING([whether $CC knows 32-bit __sync_bool_compare_and_swap()]) |
| 49 |
|
| 50 |
+ AC_LANG_CONFTEST([AC_LANG_SOURCE[#include <stdint.h> |
| 51 |
int main() { uint32_t a = 4; |
| 52 |
|
| 53 |
+ __sync_bool_compare_and_swap(&a, 4, 5); }]]) |
| 54 |
$CC conftest.c $CFLAGS -o conftest > /dev/null 2> /dev/null |
| 55 |
ret=$? |
| 56 |
rm -f conftest.o conftest |
| 57 |
@@ -50,8 +53,8 @@ |
| 58 |
fi |
| 59 |
|
| 60 |
AC_MSG_CHECKING([whether $CC knows 64-bit __sync_bool_compare_and_swap()]) |
| 61 |
|
| 62 |
|
| 63 |
+ AC_LANG_CONFTEST([AC_LANG_SOURCE[#include <stdint.h> |
| 64 |
+ int main() { uint64_t a = 4; __sync_bool_compare_and_swap(&a, 4, 5); }]]) |
| 65 |
$CC conftest.c $CFLAGS -o conftest > /dev/null 2> /dev/null |
| 66 |
ret=$? |
| 67 |
rm -f conftest.o conftest |
| 68 |
@@ -76,7 +79,8 @@ |
| 69 |
PKG_CHECK_MODULES(XML, libxml-2.0) |
| 70 |
#CPPFLAGS+=" -I${includedir}/libxml2" |
| 71 |
|
| 72 |
|
| 73 |
+AC_CONFIG_FILES([ |
| 74 |
Makefile |
| 75 |
flam3.pc |
| 76 |
]) |
| 77 |
+AC_OUTPUT |