Changeset 317c14 in git


Ignore:
Timestamp:
Nov 13, 2022, 4:40:19 PM (3 months ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'ad2543eab51733612ba7d118afc77edca719600e')
Children:
4f8fd1dcefd53bad82a4eed1aebb9f8d83ff25775416d13394a558a137ad68ab6bb7241079911448
Parents:
bcbcd26a5761f063a28387eb2c4f1ad0b5b1570e
Message:
AC_LANG_CPLUSPLUS -> AC_LANG([C++])
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • Singular/svd/configure.in

    rbcbcd2 r317c14  
    6262dnl Checks for programs.
    6363dnl
    64 AC_LANG_CPLUSPLUS
     64AC_LANG([C++])
    6565AC_PROG_CXX
    6666AC_REQUIRE_CPP
     
    106106# check whether CXX accepts -fno-rtti
    107107AC_LANG_SAVE
    108 AC_LANG_CPLUSPLUS
     108AC_LANG([C++])
    109109AC_MSG_CHECKING(whether gcc accepts -fno-rtti)
    110110tmp_flags=${CXXFLAGS}
  • m4/ax_cxx_gcc_abi_demangle.m4

    rbcbcd2 r317c14  
    1 # ===========================================================================
    2 #  http://www.gnu.org/software/autoconf-archive/ax_cxx_gcc_abi_demangle.html
    3 # ===========================================================================
     1# ============================================================================
     2#  https://www.gnu.org/software/autoconf-archive/ax_cxx_gcc_abi_demangle.html
     3# ============================================================================
    44#
    55# SYNOPSIS
     
    2424#   warranty.
    2525
    26 #serial 8
     26#serial 10
    2727
    2828AC_DEFUN([AX_CXX_GCC_ABI_DEMANGLE],
    2929[AC_CACHE_CHECK(whether the compiler supports GCC C++ ABI name demangling,
    3030ax_cv_cxx_gcc_abi_demangle,
    31 [AC_LANG_SAVE
    32  AC_LANG_CPLUSPLUS
    33  AC_TRY_COMPILE([#include <typeinfo>
     31[AC_LANG_PUSH([C++])
     32 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <typeinfo>
    3433#include <cxxabi.h>
    3534#include <string>
     
    3736template<typename TYPE>
    3837class A {};
    39 ],[A<int> instance;
     38]], [[A<int> instance;
    4039int status = 0;
    4140char* c_name = 0;
     
    4746
    4847return name == "A<int>";
    49 ],
    50  ax_cv_cxx_gcc_abi_demangle=yes, ax_cv_cxx_gcc_abi_demangle=no)
    51  AC_LANG_RESTORE
     48]])],
     49 [ax_cv_cxx_gcc_abi_demangle=yes], [ax_cv_cxx_gcc_abi_demangle=no])
     50 AC_LANG_POP([C++])
    5251])
    5352if test "$ax_cv_cxx_gcc_abi_demangle" = yes; then
     
    5655fi
    5756])
     57
  • m4/readline-check.m4

    rbcbcd2 r317c14  
    3535if test "$with_readline" != dynamic && test "$with_readline" != no; then
    3636AC_LANG_SAVE
    37 AC_LANG_CPLUSPLUS
     37AC_LANG([C++])
    3838   AC_CHECK_LIB(readline, readline)
    3939   AC_CHECK_HEADERS(readline/readline.h readline/history.h)
Note: See TracChangeset for help on using the changeset viewer.