From c44b3160f22e9dff6365cf084c1f3a7428f2cd82 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Thu, 3 Dec 2020 08:44:32 +0000 Subject: [PATCH] fixed configure.ac --- hawk/Makefile.in | 4 ++-- hawk/configure | 2 ++ hawk/configure.ac | 1 + hawk/t/Makefile.in | 1 - 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/hawk/Makefile.in b/hawk/Makefile.in index ebc1974b..c16c8e71 100644 --- a/hawk/Makefile.in +++ b/hawk/Makefile.in @@ -170,8 +170,8 @@ am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/ac/ar-lib \ $(top_srcdir)/ac/config.sub $(top_srcdir)/ac/install-sh \ $(top_srcdir)/ac/ltmain.sh $(top_srcdir)/ac/missing \ $(top_srcdir)/pkgs/hawk.spec.in ac/ar-lib ac/compile \ - ac/config.guess ac/config.sub ac/install-sh ac/ltmain.sh \ - ac/missing + ac/config.guess ac/config.sub ac/depcomp ac/install-sh \ + ac/ltmain.sh ac/missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) diff --git a/hawk/configure b/hawk/configure index 0647b191..4bb25dda 100755 --- a/hawk/configure +++ b/hawk/configure @@ -18681,6 +18681,8 @@ ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + { $as_echo "$as_me:${as_lineno-$LINENO}: checking unsigned int usability as the first parameter type of operator new" >&5 +$as_echo_n "checking unsigned int usability as the first parameter type of operator new... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ void* operator new (unsigned int) { return (void*)0; } diff --git a/hawk/configure.ac b/hawk/configure.ac index 24ff950b..9134d830 100644 --- a/hawk/configure.ac +++ b/hawk/configure.ac @@ -231,6 +231,7 @@ AC_COMPILE_IFELSE( if test "${HAVE_CXX}" = "yes" then AC_LANG_PUSH([C++]) + AC_MSG_CHECKING([unsigned int usability as the first parameter type of operator new]) AC_COMPILE_IFELSE( [AC_LANG_PROGRAM( [[void* operator new (unsigned int) { return (void*)0; }]], [[ ]])], [AC_MSG_RESULT(yes) diff --git a/hawk/t/Makefile.in b/hawk/t/Makefile.in index 67aec334..256a9651 100644 --- a/hawk/t/Makefile.in +++ b/hawk/t/Makefile.in @@ -558,7 +558,6 @@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ -runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@