dnl Process this file with autoconf to produce a configure script.
-dnl $Id: configure.in,v 1.15 2007/02/26 02:56:37 mrsam Exp $
+dnl $Id: configure.in,v 1.16 2008/11/27 20:33:44 mrsam Exp $
dnl
dnl Copyright 1998 - 1999 Double Precision, Inc. See COPYING for
dnl distribution information.
AM_CONFIG_HEADER(config.h)
dnl Checks for programs.
+AC_USE_SYSTEM_EXTENSIONS
AC_PROG_CC
-AC_AIX
-AC_MINIX
AC_PROG_AWK
AC_PROG_CXX
AC_ISC_POSIX
AC_LANG_CPLUSPLUS
AC_CACHE_CHECK([if the C++ compiler needs -fhandle-exceptions],
- ac_cxx_need_handlexceptions,
+ ac_cv_need_handlexceptions,
AC_TRY_COMPILE([],
[
throw;
-], ac_cxx_need_handlexceptions=no,
-ac_cxx_need_handlexceptions=yes)
+], ac_cv_need_handlexceptions=no,
+ac_cv_need_handlexceptions=yes)
)
-if test "$ac_cxx_need_handlexceptions" = "yes"
+if test "$ac_cv_need_handlexceptions" = "yes"
then
case "$CXXFLAGS" in
*handle-exceptions*)