]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix check files errors: autoconf 2.59 (Debian 3.1) applies more strict rules for...
authorvsr <vsr@opencascade.com>
Wed, 17 Aug 2005 07:05:07 +0000 (07:05 +0000)
committervsr <vsr@opencascade.com>
Wed, 17 Aug 2005 07:05:07 +0000 (07:05 +0000)
salome_adm/unix/config_files/ac_cxx_bool.m4
salome_adm/unix/config_files/ac_cxx_depend_flag.m4
salome_adm/unix/config_files/ac_cxx_mutable.m4
salome_adm/unix/config_files/ac_cxx_namespaces.m4
salome_adm/unix/config_files/ac_cxx_partial_specialization.m4
salome_adm/unix/config_files/ac_cxx_typename.m4
salome_adm/unix/config_files/check_pthreads.m4
salome_adm/unix/config_files/libtool.m4
salome_adm/unix/config_files/production.m4
salome_adm/unix/config_files/pyembed.m4
salome_adm/unix/config_files/python.m4

index d28ee01dcf152131b2da0efb8e8112f8dea4e5fa..69da63decb78a9da95d20264b702d341446e615c 100644 (file)
@@ -29,7 +29,7 @@ dnl
 dnl @version $Id$
 dnl @author Luc Maisonobe
 dnl
-AC_DEFUN(AC_CXX_BOOL,
+AC_DEFUN([AC_CXX_BOOL],
 [AC_CACHE_CHECK(whether the compiler recognizes bool as a built-in type,
 ac_cv_cxx_bool,
 [AC_LANG_SAVE
index ee49cd8a3f8653b28bcdec4191d752b7e3bbbcac..9dc8b0fd346038f151796d56dc9c65b10d545638 100644 (file)
@@ -27,7 +27,7 @@ dnl
 dnl @version $Id$
 dnl @author Marc Tajchman
 dnl
-AC_DEFUN(AC_DEPEND_FLAG,
+AC_DEFUN([AC_DEPEND_FLAG],
 [AC_CACHE_CHECK(which flag for dependency information generation,
 ac_cv_depend_flag,
 [AC_LANG_SAVE
index 86f5fa730a9640c0ad569b2c8d58863f2f637802..3d87bacb8637667c22e6b764604ddee059499af8 100644 (file)
@@ -28,7 +28,7 @@ dnl
 dnl @version $Id$
 dnl @author Luc Maisonobe
 dnl
-AC_DEFUN(AC_CXX_MUTABLE,
+AC_DEFUN([AC_CXX_MUTABLE],
 [AC_CACHE_CHECK(whether the compiler supports the mutable keyword,
 ac_cv_cxx_mutable,
 [AC_LANG_SAVE
index 53e9317d6925e85993859a8865e9054bc25de365..76b815ace59e7e892a649479695c0eb24238c958 100644 (file)
@@ -27,7 +27,7 @@ dnl
 dnl @version $Id$
 dnl @author Luc Maisonobe
 dnl
-AC_DEFUN(AC_CXX_NAMESPACES,
+AC_DEFUN([AC_CXX_NAMESPACES],
 [AC_CACHE_CHECK(whether the compiler implements namespaces,
 ac_cv_cxx_namespaces,
 [AC_LANG_SAVE
index 93589ff8061f7457a9eaa1800682914b1f41d3e9..634d3c64097b192eb071e7818eeb58bac4d1773a 100644 (file)
@@ -28,7 +28,7 @@ dnl @version $Id$
 dnl @author Luc Maisonobe
 dnl
 
-AC_DEFUN(AC_CXX_PARTIAL_SPECIALIZATION,
+AC_DEFUN([AC_CXX_PARTIAL_SPECIALIZATION],
 [AC_CACHE_CHECK(whether the compiler supports partial specialization,
 ac_cv_cxx_partial_specialization,
 [AC_LANG_SAVE
index 7ec2ad39e5e314a5fe41a5541b7d319973e42978..bb1424673fd7f5972969685ccb730ff9f97ffff5 100644 (file)
@@ -26,7 +26,7 @@ dnl
 dnl @version $Id$
 dnl @author Luc Maisonobe
 dnl
-AC_DEFUN(AC_CXX_TYPENAME,
+AC_DEFUN([AC_CXX_TYPENAME],
 [AC_CACHE_CHECK(whether the compiler recognizes typename,
 ac_cv_cxx_typename,
 [AC_LANG_SAVE
index 983bfc20076571ef473c0a830d5a919f9e9416e4..80aef2aad184d0e6509be9383e3422b254bf336c 100644 (file)
@@ -29,7 +29,7 @@ dnl@author   (C) Ruslan Shevchenko <Ruslan@Shevchenko.Kiev.UA>, 1998
 dnl@id $Id$
 dnl ----------------------------------------------------------------
 dnl CHECK_PTHREADS
-AC_DEFUN(CHECK_PTHREADS,[
+AC_DEFUN([CHECK_PTHREADS],[
 AC_CXX_OPTION(-pthread,CPPFLAGS,flag=yes,flag=no)
 
 if test $flag = no; then
index 8c5cd7d5aa3678d17803209bef372e0fa282d4ad..f28545379c4630e8c7d38bcff577aa6ba969ed01 100644 (file)
@@ -22,7 +22,7 @@
 ## the same distribution terms that you use for the rest of that program.
 
 # serial 40 AC_PROG_LIBTOOL
-AC_DEFUN(AC_PROG_LIBTOOL,
+AC_DEFUN([AC_PROG_LIBTOOL],
 [AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
 
 # Save cache, so that ltconfig can load it
@@ -52,7 +52,7 @@ AC_SUBST(LIBTOOL)dnl
 exec 5>>./config.log
 ])
 
-AC_DEFUN(AC_LIBTOOL_SETUP,
+AC_DEFUN([AC_LIBTOOL_SETUP],
 [AC_PREREQ(2.13)dnl
 AC_REQUIRE([AC_ENABLE_SHARED])dnl
 AC_REQUIRE([AC_ENABLE_STATIC])dnl
@@ -137,16 +137,16 @@ esac
 ])
 
 # AC_LIBTOOL_DLOPEN - enable checks for dlopen support
-AC_DEFUN(AC_LIBTOOL_DLOPEN, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
+AC_DEFUN([AC_LIBTOOL_DLOPEN], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])])
 
 # AC_LIBTOOL_WIN32_DLL - declare package support for building win32 dll's
-AC_DEFUN(AC_LIBTOOL_WIN32_DLL, [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
+AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [AC_BEFORE([$0], [AC_LIBTOOL_SETUP])])
 
 # AC_ENABLE_SHARED - implement the --enable-shared flag
 # Usage: AC_ENABLE_SHARED[(DEFAULT)]
 #   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
 #   `yes'.
-AC_DEFUN(AC_ENABLE_SHARED, [dnl
+AC_DEFUN([AC_ENABLE_SHARED], [dnl
 define([AC_ENABLE_SHARED_DEFAULT], ifelse($1, no, no, yes))dnl
 AC_ARG_ENABLE(shared,
 changequote(<<, >>)dnl
@@ -172,14 +172,14 @@ enable_shared=AC_ENABLE_SHARED_DEFAULT)dnl
 ])
 
 # AC_DISABLE_SHARED - set the default shared flag to --disable-shared
-AC_DEFUN(AC_DISABLE_SHARED, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+AC_DEFUN([AC_DISABLE_SHARED], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 AC_ENABLE_SHARED(no)])
 
 # AC_ENABLE_STATIC - implement the --enable-static flag
 # Usage: AC_ENABLE_STATIC[(DEFAULT)]
 #   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
 #   `yes'.
-AC_DEFUN(AC_ENABLE_STATIC, [dnl
+AC_DEFUN([AC_ENABLE_STATIC], [dnl
 define([AC_ENABLE_STATIC_DEFAULT], ifelse($1, no, no, yes))dnl
 AC_ARG_ENABLE(static,
 changequote(<<, >>)dnl
@@ -205,7 +205,7 @@ enable_static=AC_ENABLE_STATIC_DEFAULT)dnl
 ])
 
 # AC_DISABLE_STATIC - set the default static flag to --disable-static
-AC_DEFUN(AC_DISABLE_STATIC, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+AC_DEFUN([AC_DISABLE_STATIC], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 AC_ENABLE_STATIC(no)])
 
 
@@ -213,7 +213,7 @@ AC_ENABLE_STATIC(no)])
 # Usage: AC_ENABLE_FAST_INSTALL[(DEFAULT)]
 #   Where DEFAULT is either `yes' or `no'.  If omitted, it defaults to
 #   `yes'.
-AC_DEFUN(AC_ENABLE_FAST_INSTALL, [dnl
+AC_DEFUN([AC_ENABLE_FAST_INSTALL], [dnl
 define([AC_ENABLE_FAST_INSTALL_DEFAULT], ifelse($1, no, no, yes))dnl
 AC_ARG_ENABLE(fast-install,
 changequote(<<, >>)dnl
@@ -239,11 +239,11 @@ enable_fast_install=AC_ENABLE_FAST_INSTALL_DEFAULT)dnl
 ])
 
 # AC_ENABLE_FAST_INSTALL - set the default to --disable-fast-install
-AC_DEFUN(AC_DISABLE_FAST_INSTALL, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+AC_DEFUN([AC_DISABLE_FAST_INSTALL], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 AC_ENABLE_FAST_INSTALL(no)])
 
 # AC_PROG_LD - find the path to the GNU or non-GNU linker
-AC_DEFUN(AC_PROG_LD,
+AC_DEFUN([AC_PROG_LD],
 [AC_ARG_WITH(gnu-ld,
 [  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]],
 test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
@@ -313,7 +313,7 @@ test -z "$LD" && AC_MSG_ERROR([no acceptable ld found in \$PATH])
 AC_PROG_LD_GNU
 ])
 
-AC_DEFUN(AC_PROG_LD_GNU,
+AC_DEFUN([AC_PROG_LD_GNU],
 [AC_CACHE_CHECK([if the linker ($LD) is GNU ld], ac_cv_prog_gnu_ld,
 [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
@@ -324,7 +324,7 @@ fi])
 ])
 
 # AC_PROG_NM - find the path to a BSD-compatible name lister
-AC_DEFUN(AC_PROG_NM,
+AC_DEFUN([AC_PROG_NM],
 [AC_MSG_CHECKING([for BSD-compatible nm])
 AC_CACHE_VAL(ac_cv_path_NM,
 [if test -n "$NM"; then
@@ -358,7 +358,7 @@ AC_MSG_RESULT([$NM])
 ])
 
 # AC_CHECK_LIBM - check for math library
-AC_DEFUN(AC_CHECK_LIBM,
+AC_DEFUN([AC_CHECK_LIBM],
 [AC_REQUIRE([AC_CANONICAL_HOST])dnl
 LIBM=
 case "$lt_target" in
@@ -385,7 +385,7 @@ esac
 # '${top_srcdir}/' (note the single quotes!).  If your package is not
 # flat and you're not using automake, define top_builddir and
 # top_srcdir appropriately in the Makefiles.
-AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+AC_DEFUN([AC_LIBLTDL_CONVENIENCE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
   case "$enable_ltdl_convenience" in
   no) AC_MSG_ERROR([this package needs a convenience libltdl]) ;;
   "") enable_ltdl_convenience=yes
@@ -406,7 +406,7 @@ AC_DEFUN(AC_LIBLTDL_CONVENIENCE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 # not flat and you're not using automake, define top_builddir and
 # top_srcdir appropriately in the Makefiles.
 # In the future, this macro may have to be called after AC_PROG_LIBTOOL.
-AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
+AC_DEFUN([AC_LIBLTDL_INSTALLABLE], [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
   AC_CHECK_LIB(ltdl, main,
   [test x"$enable_ltdl_install" != xyes && enable_ltdl_install=no],
   [if test x"$enable_ltdl_install" = xno; then
@@ -427,13 +427,13 @@ AC_DEFUN(AC_LIBLTDL_INSTALLABLE, [AC_BEFORE([$0],[AC_LIBTOOL_SETUP])dnl
 ])
 
 dnl old names
-AC_DEFUN(AM_PROG_LIBTOOL, [indir([AC_PROG_LIBTOOL])])dnl
-AC_DEFUN(AM_ENABLE_SHARED, [indir([AC_ENABLE_SHARED], $@)])dnl
-AC_DEFUN(AM_ENABLE_STATIC, [indir([AC_ENABLE_STATIC], $@)])dnl
-AC_DEFUN(AM_DISABLE_SHARED, [indir([AC_DISABLE_SHARED], $@)])dnl
-AC_DEFUN(AM_DISABLE_STATIC, [indir([AC_DISABLE_STATIC], $@)])dnl
-AC_DEFUN(AM_PROG_LD, [indir([AC_PROG_LD])])dnl
-AC_DEFUN(AM_PROG_NM, [indir([AC_PROG_NM])])dnl
+AC_DEFUN([AM_PROG_LIBTOOL], [indir([AC_PROG_LIBTOOL])])dnl
+AC_DEFUN([AM_ENABLE_SHARED], [indir([AC_ENABLE_SHARED], $@)])dnl
+AC_DEFUN([AM_ENABLE_STATIC], [indir([AC_ENABLE_STATIC], $@)])dnl
+AC_DEFUN([AM_DISABLE_SHARED], [indir([AC_DISABLE_SHARED], $@)])dnl
+AC_DEFUN([AM_DISABLE_STATIC], [indir([AC_DISABLE_STATIC], $@)])dnl
+AC_DEFUN([AM_PROG_LD], [indir([AC_PROG_LD])])dnl
+AC_DEFUN([AM_PROG_NM], [indir([AC_PROG_NM])])dnl
 
 dnl This is just to silence aclocal about the macro not being used
 ifelse([AC_DISABLE_FAST_INSTALL])dnl
index dfa8b39e9a1f8b56fef844b997792dcbd6a546fd..dd6bce2d1b614879322f5381cb4fe71543f2cbe5 100644 (file)
@@ -29,7 +29,7 @@ dnl author Patrick GOLDBRONN
 dnl
  
 # AC_ENABLE_PRODUCTION
-AC_DEFUN(AC_ENABLE_PRODUCTION, [dnl
+AC_DEFUN([AC_ENABLE_PRODUCTION], [dnl
 define([AC_ENABLE_PRODUCTION_DEFAULT], ifelse($1, no, no, yes))dnl
 AC_ARG_ENABLE(production,
 changequote(<<, >>)dnl
@@ -68,10 +68,10 @@ fi
 ])
 
 # AC_DISABLE_PRODUCTION - set the default flag to --disable-production
-AC_DEFUN(AC_DISABLE_PRODUCTION, [AC_ENABLE_PRODUCTION(no)])
+AC_DEFUN([AC_DISABLE_PRODUCTION], [AC_ENABLE_PRODUCTION(no)])
 
 # AC_ENABLE_DEBUG
-AC_DEFUN(AC_ENABLE_DEBUG, [dnl
+AC_DEFUN([AC_ENABLE_DEBUG], [dnl
 define([AC_ENABLE_DEBUG_DEFAULT], ifelse($1, no, no, yes))dnl
 AC_ARG_ENABLE(debug,
 changequote(<<, >>)dnl
@@ -102,5 +102,5 @@ fi
 ])
 
 # AC_DISABLE_DEBUG - set the default flag to --disable-debug
-AC_DEFUN(AC_DISABLE_DEBUG, [AC_ENABLE_DEBUG(no)])
+AC_DEFUN([AC_DISABLE_DEBUG], [AC_ENABLE_DEBUG(no)])
 
index 78cf7f8d2720e2de208dab6b8733d256752ac259..a1a2a34e620eaf183b52d35f7558aa0db0561c36 100644 (file)
@@ -22,7 +22,7 @@ dnl
 dnl This macro defines the PYTHON_EMBED_{CFLAGS,LDFLAGS,LIBS} substitutions
 dnl that should be used when embedding the python interpreter into a program.
 dnl AM_INIT_PYTHON_EMBED
-AC_DEFUN(AM_INIT_PYTHON_EMBED,
+AC_DEFUN([AM_INIT_PYTHON_EMBED],
 [AC_REQUIRE([AM_PATH_PYTHON])
 AC_REQUIRE([AM_INIT_PYEXEC_MOD])
 
@@ -75,7 +75,7 @@ dnl table for python.  The first argument should be the output filename.
 dnl The second argument gives the names of all the modules you want to build
 dnl into the executable.
 dnl AM_PYTHON_CREATE_CONFIG_C(CONFIG_C, MODULE ...)
-AC_DEFUN(AM_PYTHON_CREATE_CONFIG_C,
+AC_DEFUN([AM_PYTHON_CREATE_CONFIG_C],
 [AC_REQUIRE([AM_INIT_PYTHON_EMBED])
 AC_MSG_CHECKING(for config.c.in)
 changequote(,)dnl
index b99b9d138009e8ac65a713b033aaa5ddb4f5ea78..a8013e2902753a125469f1dfb1c27a2821e49c5f 100644 (file)
@@ -34,7 +34,7 @@ dnl while those distributed as `classes' are installed under PYTHON_SITE
 dnl (eg, ./python1.5/site-packages).  The default is to install as
 dnl a `module'.
 
-AC_DEFUN(CHECK_PYTHON,
+AC_DEFUN([CHECK_PYTHON],
  [
   AC_ARG_WITH(python,
    [  --with-python=DIR root directory path of python installation ],