]> git.pld-linux.org Git - packages/dx.git/blame - dx-ac.patch
- build at most in C++14 mode; release 25
[packages/dx.git] / dx-ac.patch
CommitLineData
d99b7717
JR
1--- dx-4.4.4/acinclude.m4~ 2006-05-26 01:34:52.000000000 +0200
2+++ dx-4.4.4/acinclude.m4 2008-11-16 14:10:05.000000000 +0100
3@@ -47,7 +47,7 @@
4 if AC_TRY_EVAL(ac_link); then
5 for file in conftest.*; do
6 case $file in
7- *.c | *.o | *.obj | *.ilk | *.pdb) ;;
8+ *.c | *.cpp | *.o | *.obj | *.ilk | *.pdb) ;;
9 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
10 esac
11 done
94e0de40
JR
12--- dx-4.4.4/configure.ac.orig 2006-08-21 23:56:08.000000000 +0200
13+++ dx-4.4.4/configure.ac 2008-11-13 12:11:34.000000000 +0100
14@@ -5,6 +5,7 @@
15 AC_INIT([dx],[4.4.4])
16
17 dnl Process this file with autoconf to produce a configure script.
18+AC_CONFIG_MACRO_DIR([m4])
19 AC_CONFIG_SRCDIR([include/dx/arch.h])
20 AC_CONFIG_HEADERS([include/dxconfig.h])
21 AM_INIT_AUTOMAKE
22@@ -218,9 +219,9 @@
23 dnl End of command line options configuration
24
25 dnl Start DX configuration
26-AC_LANG([C++])
27 AC_CHECK_HEADERS(stdlib.h)
28 AC_LANG([C])
29+AC_LANG([C++])
30
31 #
32 # Check for large file support
33@@ -871,7 +873,6 @@
34 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[int a = false;]])],
35 [AC_DEFINE(CXX_HAS_FALSE, 1, [Define to 1 if c++ compiler defines false])],
36 [AC_DEFINE(CXX_HAS_FALSE, 0)])
37-AC_CHECK_FUNCS(getdtablesize)
38
39 AC_LANG([C])
40
41@@ -882,7 +883,7 @@
42 pipe _pipe _popen popen _pclose pclose random rand srandom \
43 shmat getopt srand opendir _findfirst strrstr strcasecmp \
44 stricmp getpid _getpid unlink _unlink getlogin isatty _isatty \
45- setsockopt isnan finite )
46+ setsockopt isnan finite getdtablesize)
47
48 AC_MSG_CHECKING(if RAND_MAX defined)
49 AC_COMPILE_IFELSE(
This page took 0.105139 seconds and 4 git commands to generate.