ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/ac-tools/configure.in
(Generate patch)

Comparing trunk/ac-tools/configure.in (file contents):
Revision 1225 by gezelter, Fri Feb 8 21:33:46 2008 UTC vs.
Revision 1226 by gezelter, Mon Feb 11 23:05:00 2008 UTC

# Line 106 | Line 106 | AC_PROG_RANLIB
106   AC_PROG_LN_S
107   AC_PROG_MAKE_SET
108   AC_PROG_RANLIB
109 AC_PROG_YACC
110 AC_PROG_LEX
109   AX_SYS_PERLSHARPBANG
110   AC_PROG_INSTALL
111   case "x$INSTALL" in
# Line 194 | Line 192 | AC_HEADER_STDC
192  
193   # Checks for header files.
194   AC_HEADER_STDC
195 < AC_CHECK_HEADERS([conio.h dlfcn.h fstream.h iostream.h libintl.h limits.h machine/hal_sysinfo.h math.h stddef.h stdio.h stdlib.h string.h strings.h strstream.h sys/param.h sys/pstat.h sys/sysmp.h sys/sysctl.h sys/sysinfo.h sys/systemcfg.h sys/table.h sys/time.h time.h unistd.h zlib.h])
195 > AC_CHECK_HEADERS([libintl.h limits.h machine/hal_sysinfo.h stdlib.h string.h strings.h sys/param.h sys/pstat.h sys/sysctl.h sys/sysinfo.h sys/sysmp.h sys/systemcfg.h sys/table.h sys/time.h unistd.h])
196  
197   # Checks for typedefs, structures, and compiler characteristics.
198   AC_HEADER_STDBOOL
199   AC_C_CONST
200   AC_C_INLINE
203 AC_C_RESTRICT
201   AC_TYPE_SIZE_T
202   AC_HEADER_TIME
206 AC_CHECK_TYPES(clock_t)
207 AC_C_CONST
208 AC_C_INLINE
203  
204   # Checks for library functions.
205   AC_FUNC_MALLOC
212 AC_FUNC_MEMCMP
206   AC_FUNC_REALLOC
207   AC_FUNC_SELECT_ARGTYPES
215 AC_FUNC_STRFTIME
208   AC_FUNC_STRTOD
209 < AC_CHECK_FUNCS([floor getpagesize gettimeofday memchr memmove memset pow pstat_getdynamic pstat_getstatic rint select snprintf sranddev sqrt strcasecmp strchr strdup stricmp strncasecmp strnicmp strrchr strstr strtol sysmp getsysinfo sysctl table])
209 > AC_CHECK_FUNCS([floor getpagesize gettimeofday memset pow pstat_getdynamic pstat_getstatic select sqrt strcasecmp strchr strdup stricmp strncasecmp strnicmp strstr strtol sysmp getsysinfo sysctl table])
210  
211   # special check for _system_configuration because AIX <4.3.2 do not
212   # contain the `physmem' member.
# Line 225 | Line 217 | AC_TRY_COMPILE([#include <sys/systemcfg.h>],
217    AC_DEFINE(HAVE__SYSTEM_CONFIGURATION, 1,
218              [Define if you have the _system_configuration variable.])],
219    [AC_MSG_RESULT([no])])
228
229 dnl check for system getopt
230 adl_FUNC_GETOPT_LONG
231
232 AC_LANG_CPLUSPLUS
233 AC_CXX_NAMESPACES
234 AC_CXX_STD
235 AC_CHECK_HEADERS([ctype.h iostream fstream sstream strstream])
236 # AC_CPP_FUNC
237 # ------------------ #
238 # Checks to see if ANSI C99 CPP variable __func__ works.
239 # If not, perhaps __FUNCTION__ works instead.
240 # If not, we'll just define __func__ to "".
241 AC_DEFUN([AC_CPP_FUNC],
242 [AC_REQUIRE([AC_PROG_CC_STDC])dnl
243 AC_CACHE_CHECK([for an ANSI C99-conforming __func__], ac_cv_cpp_func,
244 [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],
245 [[const char *foo = __func__;]])],
246  [ac_cv_cpp_func=yes],
247  [AC_COMPILE_IFELSE([AC_LANG_PROGRAM([],
248 [[const char *foo = __FUNCTION__;]])],
249  [ac_cv_cpp_func=__FUNCTION__],
250  [ac_cv_cpp_func=no])])])
251 if test $ac_cv_cpp_func = __FUNCTION__; then
252  AC_DEFINE(__func__,__FUNCTION__,
253            [Define to __FUNCTION__ or "" if `__func__' does not conform to
254 ANSI C.])
255 elif test $ac_cv_cpp_func = no; then
256  AC_DEFINE(__func__,"",
257            [Define to __FUNCTION__ or "" if `__func__' does not conform to
258 ANSI C.])
259 fi
260 ])# AC_CPP_FUNC
220  
262 AC_CPP_FUNC
263 AC_SUBST(__func__)
264
265
221   dnl check for strong optimization options
222  
223   case $debug in
# Line 275 | Line 230 | esac
230       ;;
231   esac
232  
278 dnl OpenBabel needs this:
279 AC_DEFINE([OBAPI], [], [Used to export symbols for DLL / shared library builds])
280
233   dnl check for CGAL library
234   ACX_CGAL
235   USE_CGAL=no

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines