--- dx-4.4.4/acinclude.m4~ 2006-05-26 01:34:52.000000000 +0200 +++ dx-4.4.4/acinclude.m4 2008-11-16 14:10:05.000000000 +0100 @@ -47,7 +47,7 @@ if AC_TRY_EVAL(ac_link); then for file in conftest.*; do case $file in - *.c | *.o | *.obj | *.ilk | *.pdb) ;; + *.c | *.cpp | *.o | *.obj | *.ilk | *.pdb) ;; *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; esac done --- dx-4.4.4/configure.ac.orig 2006-08-21 23:56:08.000000000 +0200 +++ dx-4.4.4/configure.ac 2008-11-13 12:11:34.000000000 +0100 @@ -5,6 +5,7 @@ AC_INIT([dx],[4.4.4]) dnl Process this file with autoconf to produce a configure script. +AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_SRCDIR([include/dx/arch.h]) AC_CONFIG_HEADERS([include/dxconfig.h]) AM_INIT_AUTOMAKE @@ -218,9 +219,9 @@ dnl End of command line options configuration dnl Start DX configuration -AC_LANG([C++]) AC_CHECK_HEADERS(stdlib.h) AC_LANG([C]) +AC_LANG([C++]) # # Check for large file support @@ -871,7 +873,6 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[]], [[int a = false;]])], [AC_DEFINE(CXX_HAS_FALSE, 1, [Define to 1 if c++ compiler defines false])], [AC_DEFINE(CXX_HAS_FALSE, 0)]) -AC_CHECK_FUNCS(getdtablesize) AC_LANG([C]) @@ -882,7 +883,7 @@ pipe _pipe _popen popen _pclose pclose random rand srandom \ shmat getopt srand opendir _findfirst strrstr strcasecmp \ stricmp getpid _getpid unlink _unlink getlogin isatty _isatty \ - setsockopt isnan finite ) + setsockopt isnan finite getdtablesize) AC_MSG_CHECKING(if RAND_MAX defined) AC_COMPILE_IFELSE(