From f507ee56b04bd299f7675cb559109d3f69feb090 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sun, 17 Sep 2023 08:01:54 -0400 Subject: [PATCH] Fix warning in configure sc_main compile. (#4499) --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c530489f3..6ad04c29c 100644 --- a/configure.ac +++ b/configure.ac @@ -573,7 +573,7 @@ ACO_SAVE_LIBS="$LIBS" LIBS="$LIBS -lsystemc" AC_LINK_IFELSE( [AC_LANG_PROGRAM([[#include - extern "C" int sc_main(int argc, char* argv[]) {} + extern "C" int sc_main(int argc, char* argv[]) { return 0; } ]],[[sc_version()]])], [_my_result=yes AC_DEFINE([HAVE_SYSTEMC],[1],[Defined if have SystemC library])],