Imported Upstream version 0.63.0
[hcoop/debian/courier-authlib.git] / bdbobj / configure.in
index 3afa90e..4cb4af5 100644 (file)
@@ -1,5 +1,5 @@
 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.
@@ -13,9 +13,8 @@ AM_INIT_AUTOMAKE([foreign no-define])
 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
@@ -50,16 +49,16 @@ AC_TYPE_SIZE_T
 
 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*)