Changeset 2093


Ignore:
Timestamp:
Oct 24, 2009, 2:56:17 AM (12 years ago)
Author:
Peter
Message:

adding AC_PREREQs in autoconf macros

Location:
trunk/m4
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/m4/yat.m4

    r2024 r2093  
    111111AC_DEFUN([YAT_CHECK_YAT],
    112112[
     113AC_PREREQ([2.58]) dnl we use AC_FIND_YAT
    113114ac_yat_check_yat_res="yes"
    114115AC_REQUIRE([YAT_FIND_YAT])  dnl
     
    124125AC_DEFUN([YAT_FIND_YAT],
    125126[
     127  AC_PREREQ([2.58]) dnl we use AS_HELP_STRING
    126128  AC_ARG_WITH([yat],
    127129     [AS_HELP_STRING([--with-yat=DIR],
     
    169171AC_DEFUN([YAT_CHECK_VERSION],
    170172[
     173  AC_PREREQ([2.58]) dnl we use YAT_FIND_YAT
    171174  AC_REQUIRE([YAT_FIND_YAT])  dnl
    172175  if test "$yat_config" != "no"; then
     
    194197AC_DEFUN([YAT_CHECK_HEADER],
    195198[
     199  AC_PREREQ([2.58]) dnl we use YAT_FIND_YAT
    196200  AC_REQUIRE([YAT_FIND_YAT])  dnl
    197201  if test "$yat_config" != "no"; then
     
    249253AC_DEFUN([YAT_CHECK_LIB],
    250254[
     255  AC_PREREQ([2.58]) dnl we use YAT_FIND_YAT
    251256  AC_REQUIRE([YAT_FIND_YAT])  dnl
    252257  if test "$yat_config" != "no"; then
  • trunk/m4/yat_add_flag.m4

    r2088 r2093  
    4646AC_DEFUN([YAT_CPP_ADD_FLAG],
    4747[
     48  AC_PREREQ([2.63]) dnl we use AS_VAR_IF
    4849  AC_REQUIRE([AC_PROG_SED])
    4950  for yat_flag in $2; do
     
    7273AC_DEFUN([YAT_CXX_ADD_FLAG],
    7374[
     75  AC_PREREQ([2.61]) dnl we use AX_CXX_CHECK_FLAG
    7476  for yat_flag in $2; do
    7577    YAT_FIND_STR([$1], [$yat_flag], ,
     
    8082AC_DEFUN([YAT_LD_ADD_FLAG],
    8183[
     84  AC_PREREQ([2.61]) dnl we use AX_LD_CHECK_FLAG
    8285  for yat_flag in $2; do
    8386    # ignore flag if
  • trunk/m4/yat_cblas.m4

    r2044 r2093  
    4444
    4545AC_DEFUN([YAT_LIB_CBLAS], [
     46AC_PREREQ([2.60]) dnl we use AS_CASE
    4647yat_cblas_ok=no;
    4748save_LIBS=$LIBS;
  • trunk/m4/yat_gsl.m4

    r2016 r2093  
    3030AC_DEFUN([YAT_CHECK_GSL],
    3131[
     32  AC_PREREQ([2.63]) dnl we use YAT_CHECK_GSL_HEADER
    3233  yat_gsl_status="ok"
    3334  AX_PATH_GSL([$1],,[yat_gsl_status="no"])
     
    5556AC_DEFUN([YAT_CHECK_GSL_HEADER],
    5657[
    57   save_CPPFLAGS=$CPPFLAGS
     58  AC_PREREQ([2.63]) dnl we use YAT_CPP_ADD_FLAG
    5859  YAT_CPP_ADD_FLAG([CPPFLAGS],[`$GSL_CONFIG --cflags`])
    5960  AC_CHECK_HEADER([$1], [$2], [$3])
Note: See TracChangeset for help on using the changeset viewer.